source_filename = "test"
target datalayout = "e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"

@eax = internal unnamed_addr global i32 0, align 8
@ecx = internal unnamed_addr global i32 0, align 8
@edx = internal unnamed_addr global i32 0, align 8
@global_var_98 = external constant i32

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st4.global-to-local = alloca x86_fp80, align 4
  %st5.global-to-local = alloca x86_fp80, align 4
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_8 = add i32 %arg1, 48
  %v2_8 = inttoptr i32 %v1_8 to i32*
  %v3_8 = load i32, i32* %v2_8, align 4
  store i32 %v3_8, i32* %edi.global-to-local, align 4
  %v0_b = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_b = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_b = fpext double %v3_b to x86_fp80
  store x86_fp80 %v4_b, x86_fp80* %st7.global-to-local, align 4
  %v3_d = add i32 %v3_8, -40
  %v4_d = inttoptr i32 %v3_d to double*
  %v5_d = load double, double* %v4_d, align 4
  %v6_d = fpext double %v5_d to x86_fp80
  %v7_d = fadd x86_fp80 %v4_b, %v6_d
  store x86_fp80 %v7_d, x86_fp80* %st7.global-to-local, align 4
  %v3_10 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_10 = fpext double %v3_10 to x86_fp80
  store x86_fp80 %v4_10, x86_fp80* %st6.global-to-local, align 4
  %v3_12 = add i32 %v3_8, -32
  %v4_12 = inttoptr i32 %v3_12 to double*
  %v5_12 = load double, double* %v4_12, align 4
  %v6_12 = fpext double %v5_12 to x86_fp80
  %v7_12 = fadd x86_fp80 %v4_10, %v6_12
  store x86_fp80 %v7_12, x86_fp80* %st6.global-to-local, align 4
  %v3_15 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_15 = fpext double %v3_15 to x86_fp80
  %v5_15 = add i3 %v0_b, -3
  store x86_fp80 %v4_15, x86_fp80* %st5.global-to-local, align 4
  %v3_17 = add i32 %v3_8, -24
  %v4_17 = inttoptr i32 %v3_17 to double*
  %v5_17 = load double, double* %v4_17, align 4
  %v6_17 = fpext double %v5_17 to x86_fp80
  %v7_17 = fadd x86_fp80 %v4_15, %v6_17
  store x86_fp80 %v7_17, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v7_17, x86_fp80* %st4.global-to-local, align 4
  %v3_1c = add i32 %v3_8, -96
  %v4_1c = inttoptr i32 %v3_1c to double*
  %v5_1c = load double, double* %v4_1c, align 4
  %v6_1c = fpext double %v5_1c to x86_fp80
  %v7_1c = fmul x86_fp80 %v7_17, %v6_1c
  store x86_fp80 %v7_1c, x86_fp80* %st4.global-to-local, align 4
  %v3_21 = add i32 %v3_8, -104
  %v4_21 = inttoptr i32 %v3_21 to double*
  %v5_21 = load double, double* %v4_21, align 4
  %v6_21 = fpext double %v5_21 to x86_fp80
  %v7_21 = fmul x86_fp80 %v7_12, %v6_21
  %v4_24 = fadd x86_fp80 %v7_1c, %v7_21
  store x86_fp80 %v4_24, x86_fp80* %st4.global-to-local, align 4
  %v3_28 = add i32 %v3_8, -112
  %v4_28 = inttoptr i32 %v3_28 to double*
  %v5_28 = load double, double* %v4_28, align 4
  %v6_28 = fpext double %v5_28 to x86_fp80
  %v7_28 = fmul x86_fp80 %v7_d, %v6_28
  %v4_2b = fadd x86_fp80 %v4_24, %v7_28
  store x86_fp80 %v4_2b, x86_fp80* %st4.global-to-local, align 4
  %v3_2f = add i32 %v3_8, -48
  %v4_2f = inttoptr i32 %v3_2f to double*
  %v5_2f = load double, double* %v4_2f, align 4
  %v6_2f = fpext double %v5_2f to x86_fp80
  %v7_2f = fmul x86_fp80 %v7_17, %v6_2f
  %v3_34 = add i32 %v3_8, -56
  %v4_34 = inttoptr i32 %v3_34 to double*
  %v5_34 = load double, double* %v4_34, align 4
  %v6_34 = fpext double %v5_34 to x86_fp80
  %v7_34 = fmul x86_fp80 %v7_12, %v6_34
  %v4_37 = fadd x86_fp80 %v7_2f, %v7_34
  %v3_3b = add i32 %v3_8, -64
  %v4_3b = inttoptr i32 %v3_3b to double*
  %v5_3b = load double, double* %v4_3b, align 4
  %v6_3b = fpext double %v5_3b to x86_fp80
  %v7_3b = fmul x86_fp80 %v7_d, %v6_3b
  %v4_3e = fadd x86_fp80 %v7_3b, %v4_37
  store x86_fp80 %v4_3e, x86_fp80* %st5.global-to-local, align 4
  %v3_42 = add i32 %v3_8, -72
  %v4_42 = inttoptr i32 %v3_42 to double*
  %v5_42 = load double, double* %v4_42, align 4
  %v6_42 = fpext double %v5_42 to x86_fp80
  %v7_42 = fmul x86_fp80 %v7_17, %v6_42
  store x86_fp80 %v7_42, x86_fp80* %st6.global-to-local, align 4
  %v3_47 = add i32 %v3_8, -80
  %v4_47 = inttoptr i32 %v3_47 to double*
  %v5_47 = load double, double* %v4_47, align 4
  %v6_47 = fpext double %v5_47 to x86_fp80
  %v7_47 = fmul x86_fp80 %v7_12, %v6_47
  %v4_4a = fadd x86_fp80 %v7_42, %v7_47
  store x86_fp80 %v4_4a, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v7_d, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v4_2b, x86_fp80* %st7.global-to-local, align 4
  %v3_4e = add i32 %v3_8, -88
  %v4_4e = inttoptr i32 %v3_4e to double*
  %v5_4e = load double, double* %v4_4e, align 4
  %v6_4e = fpext double %v5_4e to x86_fp80
  %v7_4e = fmul x86_fp80 %v7_d, %v6_4e
  store x86_fp80 %v7_4e, x86_fp80* %st4.global-to-local, align 4
  %v4_51 = fadd x86_fp80 %v4_4a, %v7_4e
  store x86_fp80 %v4_51, x86_fp80* %st6.global-to-local, align 4
  %tmp232 = bitcast double %v3_b to i64
  %tmp233 = trunc i64 %tmp232 to i32
  %v2_53 = add i32 %tmp233, 8
  %v3_53 = inttoptr i32 %v2_53 to double*
  %v4_53 = load double, double* %v3_53, align 4
  %v5_53 = fpext double %v4_53 to x86_fp80
  store x86_fp80 %v5_53, x86_fp80* %st4.global-to-local, align 4
  %v1_56 = load i32, i32* %esi.global-to-local, align 4
  %v2_56 = add i32 %v1_56, 232
  %v3_56 = inttoptr i32 %v2_56 to double*
  %v4_56 = load double, double* %v3_56, align 4
  %v5_56 = fpext double %v4_56 to x86_fp80
  %v2_5c = add i32 %v3_8, -16
  %v3_5c = inttoptr i32 %v2_5c to double*
  %v4_5c = load double, double* %v3_5c, align 4
  %v5_5c = fpext double %v4_5c to x86_fp80
  %v4_5f = fmul x86_fp80 %v4_2b, %v5_5c
  store x86_fp80 %v4_5f, x86_fp80* %st7.global-to-local, align 4
  %v4_61 = fmul x86_fp80 %v4_51, %v5_5c
  store x86_fp80 %v4_61, x86_fp80* %st6.global-to-local, align 4
  %v4_63 = fmul x86_fp80 %v4_3e, %v5_5c
  store x86_fp80 %v4_63, x86_fp80* %st5.global-to-local, align 4
  %v4_65 = fmul x86_fp80 %v5_53, %v5_5c
  store x86_fp80 %v4_65, x86_fp80* %st4.global-to-local, align 4
  %v4_67 = fmul x86_fp80 %v5_56, %v5_5c
  %v4_69 = fptrunc x86_fp80 %v4_67 to double
  store double %v4_69, double* %v3_56, align 4
  %v1_6f = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v2_6f = load i32, i32* @ecx, align 8
  %v3_6f = add i32 %v2_6f, 8
  %v4_6f = fptrunc x86_fp80 %v1_6f to double
  %v5_6f = inttoptr i32 %v3_6f to double*
  store double %v4_6f, double* %v5_6f, align 4
  store i3 %v5_15, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_72 = add i32 %v1_56, ptrtoint (i32* @global_var_98 to i32)
  %v2_72 = inttoptr i32 %v1_72 to i32*
  %v3_72 = load i32, i32* %v2_72, align 4
  %v10_72 = icmp eq i32 %v3_72, 0
  %v1_79 = icmp eq i1 %v10_72, false
  br i1 %v1_79, label %dec_label_pc_8e, label %dec_label_pc_7b

dec_label_pc_7b:                                  ; preds = %dec_label_pc_0
  %v1_7b = add i32 %v3_8, -116
  %v2_7b = inttoptr i32 %v1_7b to i32*
  %v3_7b = load i32, i32* %v2_7b, align 4
  %v10_7b = icmp eq i32 %v3_7b, 0
  br i1 %v10_7b, label %dec_label_pc_8e, label %dec_label_pc_81

dec_label_pc_81:                                  ; preds = %dec_label_pc_7b
  %v1_81 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_81 = add i32 %v1_56, 24
  %v4_81 = fptrunc x86_fp80 %v1_81 to double
  %v5_81 = inttoptr i32 %v3_81 to double*
  store double %v4_81, double* %v5_81, align 4
  %v2_84 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_86 = add i32 %v1_56, 32
  %v4_86 = fptrunc x86_fp80 %v2_84 to double
  %v5_86 = inttoptr i32 %v3_86 to double*
  store double %v4_86, double* %v5_86, align 4
  %v2_89 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v2_89, x86_fp80* %st6.global-to-local, align 4
  %v3_8b = add i32 %v1_56, 40
  %v4_8b = fptrunc x86_fp80 %v2_89 to double
  %v5_8b = inttoptr i32 %v3_8b to double*
  store double %v4_8b, double* %v5_8b, align 4
  store i3 %v5_15, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_8e

dec_label_pc_8e:                                  ; preds = %dec_label_pc_81, %dec_label_pc_7b, %dec_label_pc_0
  %v1_8e = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_8e = load i32, i32* @eax, align 8
  %v3_8e = fptrunc x86_fp80 %v1_8e to double
  %v4_8e = inttoptr i32 %v2_8e to double*
  store double %v3_8e, double* %v4_8e, align 4
  %v1_90 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_90 = load i32, i32* @edx, align 8
  %v3_90 = fptrunc x86_fp80 %v1_90 to double
  %v4_90 = inttoptr i32 %v2_90 to double*
  store double %v3_90, double* %v4_90, align 4
  %v1_92 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_92 = load i32, i32* @ecx, align 8
  %v3_92 = fptrunc x86_fp80 %v1_92 to double
  %v4_92 = inttoptr i32 %v2_92 to double*
  store double %v3_92, double* %v4_92, align 4
  store i3 %v0_b, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v0_4, i32* %edi.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  %v0_97 = load i32, i32* @eax, align 8
  ret i32 %v0_97
}
