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

@fpu_stat_TOP = internal unnamed_addr global i3 0
@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
@ebx = internal unnamed_addr global i32 0, align 8
@ebp = internal unnamed_addr global i32 0
@edi = internal unnamed_addr global i32 0, align 8
@0 = external global i32
@global_var_1.1 = constant i8 -117

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %fpsw.global-to-local = alloca i32, align 4
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st7.global-to-local = alloca x86_fp80, align 4
  %v1_f = add i32 %arg1, 48
  %v2_f = inttoptr i32 %v1_f to i32*
  %v3_f = load i32, i32* %v2_f, align 4
  store i32 %v3_f, i32* @edi, align 8
  %v0_12 = load i32, i32* @eax, align 8
  store i32 %v0_12, i32* @ebx, align 8
  %v0_16 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_21 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_21 = fpext double %v3_21 to x86_fp80
  %v4_23 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_23 = fpext double %v4_23 to x86_fp80
  %v6_23 = fadd x86_fp80 %v4_21, %v5_23
  store x86_fp80 %v6_23, x86_fp80* %st7.global-to-local, align 4
  %v8_27 = add i3 %v0_16, add (i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 2), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)))
  store i3 %v8_27, i3* @fpu_stat_TOP, align 1
  %v0_2a = load i32, i32* %fpsw.global-to-local, align 4
  %v1_2a = call i16 @__asm_fnstsw(i32 %v0_2a)
  %v2_2a = sext i16 %v1_2a to i32
  %v3_2a = load i32, i32* @eax, align 8
  %v4_2a = and i32 %v3_2a, -65536
  %tmp270 = udiv i32 %v2_2a, 2
  %v12_2c = and i32 %tmp270, 32512
  %v2_2a.masked = and i32 %v2_2a, -65281
  %v13_2c = or i32 %v4_2a, %v2_2a.masked
  %v14_2c = or i32 %v13_2c, %v12_2c
  store i32 %v14_2c, i32* @eax, align 8
  %v15_2c17 = and i32 %v2_2a, 256
  %v16_2c = icmp eq i32 %v15_2c17, 0
  br i1 %v16_2c, label %dec_label_pc_30, label %dec_label_pc_41

dec_label_pc_30:                                  ; preds = %dec_label_pc_0
  %v3_30 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_30 = fpext double %v3_30 to x86_fp80
  %v2_32 = fsub x86_fp80 0xK80000000000000000000, %v4_30
  store x86_fp80 %v2_32, x86_fp80* %st7.global-to-local, align 4
  %v3_34 = load double, double* bitcast (i32* @edx to double*), align 8
  %v2_38 = load i32, i32* @ebx, align 8
  %v3_38 = fsub double -0.000000e+00, %v3_34
  %v4_38 = inttoptr i32 %v2_38 to double*
  store double %v3_38, double* %v4_38, align 4
  %v1_3a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_3a = load i32, i32* @edx, align 8
  %v3_3a = fptrunc x86_fp80 %v1_3a to double
  %v4_3a = inttoptr i32 %v2_3a to double*
  store double %v3_3a, double* %v4_3a, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_41

dec_label_pc_41:                                  ; preds = %dec_label_pc_0, %dec_label_pc_30
  %v3_41 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_41 = fpext double %v3_41 to x86_fp80
  %v4_43 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_43 = fpext double %v4_43 to x86_fp80
  %v6_43 = fadd x86_fp80 %v4_41, %v5_43
  store x86_fp80 %v6_43, x86_fp80* %st7.global-to-local, align 4
  %v0_4a = load i32, i32* %fpsw.global-to-local, align 4
  %v1_4a = call i16 @__asm_fnstsw(i32 %v0_4a)
  %v2_4a = sext i16 %v1_4a to i32
  %v3_4a = load i32, i32* @eax, align 8
  %v4_4a = and i32 %v3_4a, -65536
  %tmp271 = udiv i32 %v2_4a, 2
  %v12_4c = and i32 %tmp271, 32512
  %v2_4a.masked = and i32 %v2_4a, -65281
  %v13_4c = or i32 %v4_4a, %v2_4a.masked
  %v14_4c = or i32 %v13_4c, %v12_4c
  store i32 %v14_4c, i32* @eax, align 8
  %v15_4c18 = and i32 %v2_4a, 256
  %v16_4c = icmp eq i32 %v15_4c18, 0
  br i1 %v16_4c, label %dec_label_pc_50, label %dec_label_pc_61

dec_label_pc_50:                                  ; preds = %dec_label_pc_41
  %v3_50 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_50 = fpext double %v3_50 to x86_fp80
  %v2_52 = fsub x86_fp80 0xK80000000000000000000, %v4_50
  store x86_fp80 %v2_52, x86_fp80* %st7.global-to-local, align 4
  %v3_54 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v2_58 = load i32, i32* @ebx, align 8
  %v3_58 = fsub double -0.000000e+00, %v3_54
  %v4_58 = inttoptr i32 %v2_58 to double*
  store double %v3_58, double* %v4_58, align 4
  %v1_5a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_5a = load i32, i32* @ecx, align 8
  %v3_5a = fptrunc x86_fp80 %v1_5a to double
  %v4_5a = inttoptr i32 %v2_5a to double*
  store double %v3_5a, double* %v4_5a, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_61

dec_label_pc_61:                                  ; preds = %dec_label_pc_41, %dec_label_pc_50
  %v3_61 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_61 = fpext double %v3_61 to x86_fp80
  %v4_63 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_63 = fpext double %v4_63 to x86_fp80
  %v6_63 = fadd x86_fp80 %v4_61, %v5_63
  store x86_fp80 %v6_63, x86_fp80* %st7.global-to-local, align 4
  %v0_6a = load i32, i32* %fpsw.global-to-local, align 4
  %v1_6a = call i16 @__asm_fnstsw(i32 %v0_6a)
  %v2_6a = sext i16 %v1_6a to i32
  %v3_6a = load i32, i32* @eax, align 8
  %v4_6a = and i32 %v3_6a, -65536
  %tmp272 = udiv i32 %v2_6a, 2
  %v12_6c = and i32 %tmp272, 32512
  %v2_6a.masked = and i32 %v2_6a, -65281
  %v13_6c = or i32 %v4_6a, %v2_6a.masked
  %v14_6c = or i32 %v13_6c, %v12_6c
  store i32 %v14_6c, i32* @eax, align 8
  %v15_6c19 = and i32 %v2_6a, 256
  %v16_6c = icmp eq i32 %v15_6c19, 0
  br i1 %v16_6c, label %dec_label_pc_70, label %dec_label_pc_81

dec_label_pc_70:                                  ; preds = %dec_label_pc_61
  %v3_70 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_70 = fpext double %v3_70 to x86_fp80
  %v2_72 = fsub x86_fp80 0xK80000000000000000000, %v4_70
  store x86_fp80 %v2_72, x86_fp80* %st7.global-to-local, align 4
  %v3_74 = load double, double* bitcast (i32* @edx to double*), align 8
  %tmp263 = bitcast double %v3_70 to i64
  %tmp264 = trunc i64 %tmp263 to i32
  %v3_78 = fsub double -0.000000e+00, %v3_74
  %v4_78 = inttoptr i32 %tmp264 to double*
  store double %v3_78, double* %v4_78, align 4
  %v1_7a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_7a = load i32, i32* @edx, align 8
  %v3_7a = fptrunc x86_fp80 %v1_7a to double
  %v4_7a = inttoptr i32 %v2_7a to double*
  store double %v3_7a, double* %v4_7a, align 4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_81

dec_label_pc_81:                                  ; preds = %dec_label_pc_61, %dec_label_pc_70
  %v0_81 = load i32, i32* @edi, align 8
  %v1_81 = add i32 %v0_81, -20
  %v2_81 = inttoptr i32 %v1_81 to i32*
  %v3_81 = load i32, i32* %v2_81, align 4
  %v10_81 = icmp eq i32 %v3_81, 0
  br i1 %v10_81, label %dec_label_pc_8c, label %dec_label_pc_87

dec_label_pc_87:                                  ; preds = %dec_label_pc_81
  %v0_87 = call x86_fp80 @function_c2()
  store x86_fp80 %v0_87, x86_fp80* %st7.global-to-local, align 4
  %v1_87 = fptrunc x86_fp80 %v0_87 to float
  %v2_87 = bitcast float %v1_87 to i32
  store i32 %v2_87, i32* @eax, align 8
  %v1_97.pre = load i32, i32* @edi, align 8
  br label %dec_label_pc_8c

dec_label_pc_8c:                                  ; preds = %dec_label_pc_87, %dec_label_pc_81
  %v1_97 = phi i32 [ %v1_97.pre, %dec_label_pc_87 ], [ %v0_81, %dec_label_pc_81 ]
  %v0_8c = load i3, i3* @fpu_stat_TOP, align 1
  %v3_8c = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_8c = fpext double %v3_8c to x86_fp80
  %v3_8e = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_8e = fpext double %v3_8e to x86_fp80
  %v5_8e = add i3 %v0_8c, add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)))
  %v4_90 = fadd x86_fp80 %v4_8c, %v4_8e
  %v3_92 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_92 = fpext double %v3_92 to x86_fp80
  %v4_95 = fadd x86_fp80 %v4_90, %v4_92
  store x86_fp80 %v4_95, x86_fp80* %st7.global-to-local, align 4
  %v2_97 = add i32 %v1_97, -16
  %v3_97 = inttoptr i32 %v2_97 to double*
  %v4_97 = load double, double* %v3_97, align 4
  %v5_97 = fpext double %v4_97 to x86_fp80
  %v4_9a = fsub x86_fp80 %v4_95, %v5_97
  store x86_fp80 %v4_9a, x86_fp80* %st7.global-to-local, align 4
  store i3 %v5_8e, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_a1 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_a1 = call i16 @__asm_fnstsw(i32 %v0_a1)
  %v2_a1 = sext i16 %v1_a1 to i32
  %v3_a1 = load i32, i32* @eax, align 8
  %v4_a1 = and i32 %v3_a1, -65536
  %v5_a1 = or i32 %v4_a1, %v2_a1
  store i32 %v5_a1, i32* @eax, align 8
  %tmp265 = and i32 %v2_a1, 256
  %v4_a3 = icmp eq i32 %tmp265, 0
  %v0_a4 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_a4 = add i3 %v0_a4, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v4_a4, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v4_a3, label %dec_label_pc_a8, label %dec_label_pc_bc

dec_label_pc_a8:                                  ; preds = %dec_label_pc_8c
  %v1_a8 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_a8 = load i32, i32* @edi, align 8
  %v3_a8 = inttoptr i32 %v2_a8 to double*
  %v4_a8 = load double, double* %v3_a8, align 4
  %v5_a8 = fpext double %v4_a8 to x86_fp80
  %v6_a8 = fmul x86_fp80 %v1_a8, %v5_a8
  store x86_fp80 %v6_a8, x86_fp80* %st7.global-to-local, align 4
  %v3_aa = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_aa = fpext double %v3_aa to x86_fp80
  %v4_ac = fsub x86_fp80 %v4_aa, %v6_a8
  %v2_ae = load i32, i32* @ebx, align 8
  %v3_ae = fptrunc x86_fp80 %v4_ac to double
  %v4_ae = inttoptr i32 %v2_ae to double*
  store double %v3_ae, double* %v4_ae, align 4
  %v3_b0 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_b0 = fpext double %v3_b0 to x86_fp80
  %v3_b2 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_b2 = fsub x86_fp80 %v4_b0, %v3_b2
  %tmp266 = bitcast double %v3_b0 to i64
  %tmp267 = trunc i64 %tmp266 to i32
  %v3_b4 = fptrunc x86_fp80 %v4_b2 to double
  %v4_b4 = inttoptr i32 %tmp267 to double*
  store double %v3_b4, double* %v4_b4, align 4
  %v5_b4 = add i3 %v0_a4, 1
  %v3_b6 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_b6 = fpext double %v3_b6 to x86_fp80
  %v3_b8 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_b8 = fsub x86_fp80 %v4_b6, %v3_b8
  %tmp268 = bitcast double %v3_b6 to i64
  %tmp269 = trunc i64 %tmp268 to i32
  %v3_ba = fptrunc x86_fp80 %v4_b8 to double
  %v4_ba = inttoptr i32 %tmp269 to double*
  store double %v3_ba, double* %v4_ba, align 4
  store i3 %v5_b4, i3* %fpu_stat_TOP.global-to-local, align 1
  br label %dec_label_pc_bc

dec_label_pc_bc:                                  ; preds = %dec_label_pc_8c, %dec_label_pc_a8
  %v0_bc = phi i3 [ %v5_b4, %dec_label_pc_a8 ], [ %v4_a4, %dec_label_pc_8c ]
  %v4_bc = add i3 %v0_bc, 1
  store i3 %v4_bc, i3* @fpu_stat_TOP, align 1
  %v3_be = call i32 @function_eb(i32 ptrtoint (i32* @0 to i32), i32 ptrtoint (i32* @0 to i32), i32 ptrtoint (i32* @0 to i32))
  store i32 %v3_be, i32* @eax, align 8
  ret i32 %v3_be
}

define x86_fp80 @function_c2() local_unnamed_addr {
dec_label_pc_c2:
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_c2 = load i3, i3* @fpu_stat_TOP, align 1
  %v3_c2 = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_c2 = fpext double %v3_c2 to x86_fp80
  %v3_c4 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_c4 = fpext double %v3_c4 to x86_fp80
  %v4_c6 = fadd x86_fp80 %v4_c2, %v4_c4
  %v3_c8 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_c8 = fpext double %v3_c8 to x86_fp80
  %v4_ca = fadd x86_fp80 %v4_c6, %v4_c8
  %v4_cc = load double, double* bitcast (i32* @edi to double*), align 8
  %v5_cc = fpext double %v4_cc to x86_fp80
  %v6_cc = fmul x86_fp80 %v4_ca, %v5_cc
  %v2_ce = fsub x86_fp80 0xK80000000000000000000, %v6_cc
  store x86_fp80 %v2_ce, x86_fp80* %st7.global-to-local, align 4
  %v4_d2 = fsub x86_fp80 %v4_c2, %v6_cc
  %tmp = bitcast double %v3_c2 to i64
  %tmp1 = trunc i64 %tmp to i32
  %tmp2 = fptrunc x86_fp80 %v4_d2 to double
  %v3_d6 = fsub double -0.000000e+00, %tmp2
  %v4_d6 = inttoptr i32 %tmp1 to double*
  store double %v3_d6, double* %v4_d6, align 4
  %v3_d8 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_d8 = fpext double %v3_d8 to x86_fp80
  %v3_da = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_da = fadd x86_fp80 %v3_da, %v4_d8
  %tmp3 = bitcast double %v3_d8 to i64
  %tmp4 = trunc i64 %tmp3 to i32
  %tmp5 = fptrunc x86_fp80 %v4_da to double
  %v3_de = fsub double -0.000000e+00, %tmp5
  %v4_de = inttoptr i32 %tmp4 to double*
  store double %v3_de, double* %v4_de, align 4
  %v3_e0 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_e0 = fpext double %v3_e0 to x86_fp80
  %v3_e2 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_e2 = fadd x86_fp80 %v3_e2, %v4_e0
  %tmp6 = bitcast double %v3_e0 to i64
  %tmp7 = trunc i64 %tmp6 to i32
  %tmp8 = fptrunc x86_fp80 %v4_e2 to double
  %v3_e6 = fsub double -0.000000e+00, %tmp8
  %v4_e6 = inttoptr i32 %tmp7 to double*
  store double %v3_e6, double* %v4_e6, align 4
  %v1_e8 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_e8 = add i3 %v0_c2, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3))))
  store i3 %v4_e8, i3* @fpu_stat_TOP, align 1
  ret x86_fp80 %v1_e8
}

define i32 @function_eb(i32 %arg1, i32 %arg2, i32 %arg3) local_unnamed_addr {
dec_label_pc_eb:
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_eb = load i32, i32* @edi, align 8
  %v1_eb = add i32 %v0_eb, -24
  %v2_eb = inttoptr i32 %v1_eb to i32*
  %v3_eb = load i32, i32* %v2_eb, align 4
  %v10_eb = icmp eq i32 %v3_eb, 0
  br i1 %v10_eb, label %dec_label_pc_129, label %dec_label_pc_f1

dec_label_pc_f1:                                  ; preds = %dec_label_pc_eb
  %v0_f1 = load i32, i32* @ebp, align 4
  %v1_f1 = add i32 %v0_f1, -12
  %v2_f1 = inttoptr i32 %v1_f1 to i32*
  %v3_f1 = load i32, i32* %v2_f1, align 4
  %v10_f1 = icmp eq i32 %v3_f1, 0
  %v1_f5 = icmp eq i1 %v10_f1, false
  br i1 %v1_f5, label %dec_label_pc_103, label %dec_label_pc_f7

dec_label_pc_f7:                                  ; preds = %dec_label_pc_f1
  %v0_f7 = load i3, i3* @fpu_stat_TOP, align 1
  %v3_f7 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_f7 = fpext double %v3_f7 to x86_fp80
  %v2_f9 = fsub x86_fp80 0xK80000000000000000000, %v4_f7
  store x86_fp80 %v2_f9, x86_fp80* %st7.global-to-local, align 4
  %v3_fb = load double, double* bitcast (i32* @edx to double*), align 8
  %tmp4 = bitcast double %v3_f7 to i64
  %tmp5 = trunc i64 %tmp4 to i32
  %v3_ff = fsub double -0.000000e+00, %v3_fb
  %v4_ff = inttoptr i32 %tmp5 to double*
  store double %v3_ff, double* %v4_ff, align 4
  %v1_101 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_101 = load i32, i32* @edx, align 8
  %v3_101 = fptrunc x86_fp80 %v1_101 to double
  %v4_101 = inttoptr i32 %v2_101 to double*
  store double %v3_101, double* %v4_101, align 4
  %v5_101 = add i3 %v0_f7, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3))))
  store i3 %v5_101, i3* @fpu_stat_TOP, align 1
  br label %dec_label_pc_103

dec_label_pc_103:                                 ; preds = %dec_label_pc_f7, %dec_label_pc_f1
  %v1_103 = add i32 %v0_f1, -8
  %v2_103 = inttoptr i32 %v1_103 to i32*
  %v3_103 = load i32, i32* %v2_103, align 4
  %v10_103 = icmp eq i32 %v3_103, 0
  %v1_107 = icmp eq i1 %v10_103, false
  br i1 %v1_107, label %dec_label_pc_115, label %dec_label_pc_109

dec_label_pc_109:                                 ; preds = %dec_label_pc_103
  %v0_109 = load i3, i3* @fpu_stat_TOP, align 1
  %v3_109 = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_109 = fpext double %v3_109 to x86_fp80
  %v2_10b = fsub x86_fp80 0xK80000000000000000000, %v4_109
  store x86_fp80 %v2_10b, x86_fp80* %st7.global-to-local, align 4
  %v3_10d = load double, double* bitcast (i32* @ecx to double*), align 8
  %tmp6 = bitcast double %v3_109 to i64
  %tmp7 = trunc i64 %tmp6 to i32
  %v3_111 = fsub double -0.000000e+00, %v3_10d
  %v4_111 = inttoptr i32 %tmp7 to double*
  store double %v3_111, double* %v4_111, align 4
  %v1_113 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_113 = load i32, i32* @ecx, align 8
  %v3_113 = fptrunc x86_fp80 %v1_113 to double
  %v4_113 = inttoptr i32 %v2_113 to double*
  store double %v3_113, double* %v4_113, align 4
  %v5_113 = add i3 %v0_109, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 add (i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 sub (i3 0, i3 ptrtoint (i8* @global_var_1.1 to i3))))
  store i3 %v5_113, i3* @fpu_stat_TOP, align 1
  br label %dec_label_pc_115

dec_label_pc_115:                                 ; preds = %dec_label_pc_109, %dec_label_pc_103
  %v1_115 = add i32 %v0_f1, -4
  %v2_115 = inttoptr i32 %v1_115 to i32*
  %v3_115 = load i32, i32* %v2_115, align 4
  %v10_115 = icmp eq i32 %v3_115, 0
  %v1_119 = icmp eq i1 %v10_115, false
  br i1 %v1_119, label %dec_label_pc_129, label %dec_label_pc_11b

dec_label_pc_11b:                                 ; preds = %dec_label_pc_115
  %v3_11b = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_11b = fpext double %v3_11b to x86_fp80
  %v2_11d = fsub x86_fp80 0xK80000000000000000000, %v4_11b
  store x86_fp80 %v2_11d, x86_fp80* %st7.global-to-local, align 4
  %v3_11f = load double, double* bitcast (i32* @edx to double*), align 8
  %tmp8 = bitcast double %v3_11b to i64
  %tmp9 = trunc i64 %tmp8 to i32
  %v3_123 = fsub double -0.000000e+00, %v3_11f
  %v4_123 = inttoptr i32 %tmp9 to double*
  store double %v3_123, double* %v4_123, align 4
  %v1_125 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_125 = load i32, i32* @edx, align 8
  %v3_125 = fptrunc x86_fp80 %v1_125 to double
  %v4_125 = inttoptr i32 %v2_125 to double*
  store double %v3_125, double* %v4_125, align 4
  br label %dec_label_pc_129

dec_label_pc_129:                                 ; preds = %dec_label_pc_115, %dec_label_pc_11b, %dec_label_pc_eb
  %v0_129 = load i32, i32* @ebx, align 8
  store i32 %v0_129, i32* @eax, align 8
  store i32 %arg1, i32* @edi, align 8
  store i32 %arg3, i32* @ebx, align 8
  ret i32 %v0_129
}

declare i16 @__asm_fnstsw(i32) local_unnamed_addr
