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
@fpsw = internal unnamed_addr global i32 0
@eax = internal unnamed_addr global i32 0
@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
@0 = external global i32
@global_var_1.1 = constant i8 -117
@global_var_5.2 = constant i1 false

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %eax.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %v0_9 = load i32, i32* @ebx, align 8
  %v0_a = load i32, i32* %esi.global-to-local, align 4
  %v0_b = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, 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 4
  %v0_12 = load i32, i32* %eax.global-to-local, align 4
  store i32 %v0_12, i32* @ebx, align 8
  %v3_16 = call i32 @function_a7(i32 %v0_b, i32 %v0_a, i32 %v0_9)
  store i32 %v3_16, i32* %eax.global-to-local, align 4
  ret i32 %v3_16
}

define i32 @function_1c() local_unnamed_addr {
dec_label_pc_1c:
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_1c = load i3, i3* @fpu_stat_TOP, align 1
  %v3_1c = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_1c = fpext double %v3_1c to x86_fp80
  store x86_fp80 %v4_1c, x86_fp80* %st7.global-to-local, align 4
  %v2_1e = load i32, i32* @ebp, align 4
  %v3_1e = add i32 %v2_1e, -8
  %v4_1e = inttoptr i32 %v3_1e to double*
  %v5_1e = load double, double* %v4_1e, align 4
  %v6_1e = fpext double %v5_1e to x86_fp80
  %v7_1e = fmul x86_fp80 %v4_1c, %v6_1e
  store x86_fp80 %v7_1e, x86_fp80* %st7.global-to-local, align 4
  %v3_21 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_21 = fpext double %v3_21 to x86_fp80
  %v3_23 = add i32 %v2_1e, -16
  %v4_23 = inttoptr i32 %v3_23 to double*
  %v5_23 = load double, double* %v4_23, align 4
  %v6_23 = fpext double %v5_23 to x86_fp80
  %v7_23 = fmul x86_fp80 %v4_21, %v6_23
  %v3_26 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_26 = fpext double %v3_26 to x86_fp80
  %v3_28 = add i32 %v2_1e, -24
  %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 %v4_26, %v6_28
  %v4_2b = fadd x86_fp80 %v7_23, %v7_28
  %v4_2d = fadd x86_fp80 %v7_1e, %v4_2b
  store x86_fp80 %v4_2d, x86_fp80* %st7.global-to-local, align 4
  %v7_2d = add i3 %v0_1c, 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 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 %v7_2d, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_31 = load i32, i32* @fpsw, align 4
  %v1_31 = call i16 @__asm_fnstsw(i32 %v0_31)
  %v2_31 = sext i16 %v1_31 to i32
  %v3_31 = load i32, i32* @eax, align 4
  %v4_31 = and i32 %v3_31, -65536
  %v4_331 = udiv i32 %v2_31, 512
  %tmp = trunc i32 %v4_331 to i8
  %tmp11 = urem i8 %tmp, -128
  %v5_33 = icmp eq i8 %tmp11, 0
  %v10_33 = zext i8 %tmp11 to i32
  %v12_33 = mul i32 %v10_33, 256
  %v2_31.masked = and i32 %v2_31, -65281
  %v13_33 = or i32 %v4_31, %v2_31.masked
  %v14_33 = or i32 %v13_33, %v12_33
  %v15_334 = and i32 %v2_31, 256
  %v16_33 = icmp ne i32 %v15_334, 0
  %v2_35 = or i1 %v16_33, %v5_33
  br i1 %v2_35, label %dec_label_pc_3b, label %dec_label_pc_37

dec_label_pc_37:                                  ; preds = %dec_label_pc_1c
  %v0_37 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_37 = add i3 %v0_37, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v4_37, i3* @fpu_stat_TOP, align 1
  ret i32 %v14_33

dec_label_pc_3b:                                  ; preds = %dec_label_pc_1c
  %v1_3b = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_3b = fadd x86_fp80 %v1_3b, %v1_3b
  %v2_3d = fsub x86_fp80 0xK80000000000000000000, %v3_3b
  store x86_fp80 %v2_3d, x86_fp80* %st7.global-to-local, align 4
  %v0_3f = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_41 = load i32, i32* @ebp, align 4
  %v3_41 = add i32 %v2_41, -8
  %v4_41 = inttoptr i32 %v3_41 to double*
  %v5_41 = load double, double* %v4_41, align 4
  %v6_41 = fpext double %v5_41 to x86_fp80
  %v7_41 = fmul x86_fp80 %v2_3d, %v6_41
  %v4_44 = load double, double* bitcast (i32* @ebx to double*), align 8
  %v5_44 = fpext double %v4_44 to x86_fp80
  %v6_44 = fadd x86_fp80 %v7_41, %v5_44
  %tmp5 = bitcast double %v4_44 to i64
  %tmp6 = trunc i64 %tmp5 to i32
  %v3_46 = fptrunc x86_fp80 %v6_44 to double
  %v4_46 = inttoptr i32 %tmp6 to double*
  store double %v3_46, double* %v4_46, align 4
  %v1_48 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_4a = add i32 %v2_41, -16
  %v4_4a = inttoptr i32 %v3_4a to double*
  %v5_4a = load double, double* %v4_4a, align 4
  %v6_4a = fpext double %v5_4a to x86_fp80
  %v7_4a = fmul x86_fp80 %v1_48, %v6_4a
  %v4_4d = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_4d = fpext double %v4_4d to x86_fp80
  %v6_4d = fadd x86_fp80 %v7_4a, %v5_4d
  %tmp7 = bitcast double %v4_4d to i64
  %tmp8 = trunc i64 %tmp7 to i32
  %v3_4f = fptrunc x86_fp80 %v6_4d to double
  %v4_4f = inttoptr i32 %tmp8 to double*
  store double %v3_4f, double* %v4_4f, align 4
  %v1_51 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_51 = add i32 %v2_41, -24
  %v4_51 = inttoptr i32 %v3_51 to double*
  %v5_51 = load double, double* %v4_51, align 4
  %v6_51 = fpext double %v5_51 to x86_fp80
  %v7_51 = fmul x86_fp80 %v1_51, %v6_51
  %v4_54 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_54 = fpext double %v4_54 to x86_fp80
  %v6_54 = fadd x86_fp80 %v7_51, %v5_54
  store x86_fp80 %v6_54, x86_fp80* %st7.global-to-local, align 4
  %tmp9 = bitcast double %v4_54 to i64
  %tmp10 = trunc i64 %tmp9 to i32
  %v3_56 = fptrunc x86_fp80 %v6_54 to double
  %v4_56 = inttoptr i32 %tmp10 to double*
  store double %v3_56, double* %v4_56, align 4
  %v5_56 = add i3 %v0_3f, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v5_56, i3* @fpu_stat_TOP, align 1
  ret i32 %v14_33
}

define x86_fp80 @function_5a() local_unnamed_addr {
dec_label_pc_5a:
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_5a = load i3, i3* @fpu_stat_TOP, align 1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  %v2_5c = load i32, i32* @edi, align 4
  %v3_5c = add i32 %v2_5c, -120
  %v4_5c = inttoptr i32 %v3_5c to double*
  %v5_5c = load double, double* %v4_5c, align 4
  %v6_5c = fpext double %v5_5c to x86_fp80
  %v7_5c = fsub x86_fp80 0xK3FFF8000000000000000, %v6_5c
  %v2_5f = fsub x86_fp80 0xK80000000000000000000, %v7_5c
  store x86_fp80 %v2_5f, x86_fp80* %st7.global-to-local, align 4
  %v2_61 = load i32, i32* @ebp, align 4
  %v3_61 = add i32 %v2_61, -8
  %v4_61 = fptrunc x86_fp80 %v2_5f to double
  %v5_61 = inttoptr i32 %v3_61 to double*
  store double %v4_61, double* %v5_61, align 4
  %v3_66 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_66 = fdiv x86_fp80 0xK3FFF8000000000000000, %v3_66
  %v3_68 = add i32 %v2_61, -16
  %v4_68 = fptrunc x86_fp80 %v4_66 to double
  %v5_68 = inttoptr i32 %v3_68 to double*
  store double %v4_68, double* %v5_68, align 4
  store x86_fp80 0xKBFFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  %v3_6f = add i32 %v2_61, -24
  %v5_6f = inttoptr i32 %v3_6f to double*
  store double -1.000000e+00, double* %v5_6f, align 4
  %v4_72 = load double, double* %v5_61, align 4
  %v5_72 = fpext double %v4_72 to x86_fp80
  %v3_75 = fmul x86_fp80 %v5_72, %v5_72
  store x86_fp80 %v3_75, x86_fp80* %st7.global-to-local, align 4
  %v4_77 = load double, double* %v5_68, align 4
  %v5_77 = fpext double %v4_77 to x86_fp80
  %v3_7a = fmul x86_fp80 %v5_77, %v5_77
  %v4_7c = load double, double* %v5_6f, align 4
  %v5_7c = fpext double %v4_7c to x86_fp80
  %v3_7f = fmul x86_fp80 %v5_7c, %v5_7c
  %v4_81 = fadd x86_fp80 %v3_7a, %v3_7f
  %v4_83 = fadd x86_fp80 %v3_75, %v4_81
  %v2_85 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_83)
  %v4_89 = fdiv x86_fp80 0xK3FFF8000000000000000, %v2_85
  store x86_fp80 %v4_89, x86_fp80* %st7.global-to-local, align 4
  %v4_8b = load double, double* %v5_61, align 4
  %v5_8b = fpext double %v4_8b to x86_fp80
  %v4_8e = fmul x86_fp80 %v4_89, %v5_8b
  %v4_90 = fptrunc x86_fp80 %v4_8e to double
  store double %v4_90, double* %v5_61, align 4
  %v4_93 = load double, double* %v5_68, align 4
  %v5_93 = fpext double %v4_93 to x86_fp80
  %v3_96 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_96 = fmul x86_fp80 %v3_96, %v5_93
  %v4_98 = fptrunc x86_fp80 %v4_96 to double
  store double %v4_98, double* %v5_68, align 4
  %v4_9b = load double, double* %v5_6f, align 4
  %v5_9b = fpext double %v4_9b to x86_fp80
  %v3_9e = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_9e = fmul x86_fp80 %v3_9e, %v5_9b
  %v4_a0 = fptrunc x86_fp80 %v4_9e to double
  store double %v4_a0, double* %v5_6f, align 4
  %v1_a3 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_a3 = add i3 %v0_5a, add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), i3 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 add (i3 sub (i3 0, 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_a3, i3* @fpu_stat_TOP, align 1
  ret x86_fp80 %v1_a3
}

define i32 @function_a7(i32 %arg1, i32 %arg2, i32 %arg3) local_unnamed_addr {
dec_label_pc_a7:
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_a7 = load i3, i3* @fpu_stat_TOP, align 1
  %v3_a7 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_a7 = fpext double %v3_a7 to x86_fp80
  store x86_fp80 %v4_a7, x86_fp80* %st7.global-to-local, align 4
  %v3_a9 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_a9 = fpext double %v3_a9 to x86_fp80
  store x86_fp80 %v4_a9, x86_fp80* %st6.global-to-local, align 4
  %v3_ab = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_ab = fpext double %v3_ab to x86_fp80
  %v2_af = load i32, i32* @edi, align 4
  %v3_af = add i32 %v2_af, -68
  %v4_af = inttoptr i32 %v3_af to float*
  %v5_af = load float, float* %v4_af, align 4
  %v6_af = fpext float %v5_af to x86_fp80
  %v7_af = fmul x86_fp80 %v4_ab, %v6_af
  %v3_b4 = add i32 %v2_af, -72
  %v4_b4 = inttoptr i32 %v3_b4 to float*
  %v5_b4 = load float, float* %v4_b4, align 4
  %v6_b4 = fpext float %v5_b4 to x86_fp80
  %v7_b4 = fmul x86_fp80 %v4_a9, %v6_b4
  %v4_b7 = fadd x86_fp80 %v7_af, %v7_b4
  %v3_bb = add i32 %v2_af, -76
  %v4_bb = inttoptr i32 %v3_bb to float*
  %v5_bb = load float, float* %v4_bb, align 4
  %v6_bb = fpext float %v5_bb to x86_fp80
  %v7_bb = fmul x86_fp80 %v4_a7, %v6_bb
  %v4_be = fadd x86_fp80 %v4_b7, %v7_bb
  %v3_c4 = add i32 %v2_af, -44
  %v4_c4 = inttoptr i32 %v3_c4 to float*
  %v5_c4 = load float, float* %v4_c4, align 4
  %v6_c4 = fpext float %v5_c4 to x86_fp80
  %v7_c4 = fmul x86_fp80 %v4_ab, %v6_c4
  %v3_c9 = add i32 %v2_af, -48
  %v4_c9 = inttoptr i32 %v3_c9 to float*
  %v5_c9 = load float, float* %v4_c9, align 4
  %v6_c9 = fpext float %v5_c9 to x86_fp80
  %v7_c9 = fmul x86_fp80 %v4_a9, %v6_c9
  %v4_cc = fadd x86_fp80 %v7_c4, %v7_c9
  %v3_d0 = add i32 %v2_af, -52
  %v4_d0 = inttoptr i32 %v3_d0 to float*
  %v5_d0 = load float, float* %v4_d0, align 4
  %v6_d0 = fpext float %v5_d0 to x86_fp80
  %v7_d0 = fmul x86_fp80 %v4_a7, %v6_d0
  %v4_d3 = fadd x86_fp80 %v4_cc, %v7_d0
  %v3_d9 = add i32 %v2_af, -56
  %v4_d9 = inttoptr i32 %v3_d9 to float*
  %v5_d9 = load float, float* %v4_d9, align 4
  %v6_d9 = fpext float %v5_d9 to x86_fp80
  %v7_d9 = fmul x86_fp80 %v4_ab, %v6_d9
  store x86_fp80 %v7_d9, x86_fp80* %st6.global-to-local, align 4
  %v3_de = add i32 %v2_af, -60
  %v4_de = inttoptr i32 %v3_de to float*
  %v5_de = load float, float* %v4_de, align 4
  %v6_de = fpext float %v5_de to x86_fp80
  %v7_de = fmul x86_fp80 %v4_a9, %v6_de
  %v4_e1 = fadd x86_fp80 %v7_d9, %v7_de
  store x86_fp80 %v4_e1, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_be, x86_fp80* %st7.global-to-local, align 4
  %v3_e5 = add i32 %v2_af, -64
  %v4_e5 = inttoptr i32 %v3_e5 to float*
  %v5_e5 = load float, float* %v4_e5, align 4
  %v6_e5 = fpext float %v5_e5 to x86_fp80
  %v7_e5 = fmul x86_fp80 %v4_a7, %v6_e5
  %v4_e8 = fadd x86_fp80 %v4_e1, %v7_e5
  store x86_fp80 %v4_e8, x86_fp80* %st6.global-to-local, align 4
  %tmp = bitcast double %v3_ab to i64
  %tmp1 = trunc i64 %tmp to i32
  %v3_ea = fptrunc x86_fp80 %v4_d3 to double
  %v4_ea = inttoptr i32 %tmp1 to double*
  store double %v3_ea, double* %v4_ea, align 4
  %v1_ec = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_ec = load i32, i32* @edx, align 8
  %v3_ec = fptrunc x86_fp80 %v1_ec to double
  %v4_ec = inttoptr i32 %v2_ec to double*
  store double %v3_ec, double* %v4_ec, align 4
  %v1_ee = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_ee = load i32, i32* @ecx, align 8
  %v3_ee = fptrunc x86_fp80 %v1_ee to double
  %v4_ee = inttoptr i32 %v2_ee to double*
  store double %v3_ee, double* %v4_ee, align 4
  %v5_ee = add i3 %v0_a7, add (i3 add (i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), 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 add (i3 sub (i3 0, 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_ee, i3* @fpu_stat_TOP, align 1
  %v0_f0 = call x86_fp80 @function_5a()
  store x86_fp80 %v0_f0, x86_fp80* %st7.global-to-local, align 4
  %v1_f0 = fptrunc x86_fp80 %v0_f0 to float
  %v2_f0 = bitcast float %v1_f0 to i32
  store i32 %v2_f0, i32* @eax, align 4
  %v0_f5 = call i32 @function_1c()
  store i32 %v0_f5, i32* @eax, align 4
  %v0_fa = load i32, i32* @edi, align 4
  %v1_fa = add i32 %v0_fa, -124
  %v2_fa = inttoptr i32 %v1_fa to i32*
  %v3_fa = load i32, i32* %v2_fa, align 4
  %v10_fa = icmp eq i32 %v3_fa, 0
  %v1_fe = icmp eq i1 %v10_fa, false
  br i1 %v1_fe, label %dec_label_pc_105, label %dec_label_pc_100

dec_label_pc_100:                                 ; preds = %dec_label_pc_a7
  %v0_100 = call i32 @function_11f()
  store i32 %v0_100, i32* @eax, align 4
  br label %dec_label_pc_105

dec_label_pc_105:                                 ; preds = %dec_label_pc_100, %dec_label_pc_a7
  %v3_105 = call i32 @function_166(i32 ptrtoint (i32* @0 to i32), i32 ptrtoint (i32* @0 to i32), i32 ptrtoint (i32* @0 to i32))
  ret i32 %v3_105
}

define i32 @function_107() local_unnamed_addr {
dec_label_pc_107:
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v1_107 = load i32, i32* @ebp, align 4
  %v2_107 = add i32 %v1_107, -8
  %v3_107 = inttoptr i32 %v2_107 to double*
  %v4_107 = load double, double* %v3_107, align 4
  %v5_107 = fpext double %v4_107 to x86_fp80
  store x86_fp80 %v5_107, x86_fp80* %st7.global-to-local, align 4
  %v2_10a = add i32 %v1_107, -16
  %v3_10a = inttoptr i32 %v2_10a to double*
  %v4_10a = load double, double* %v3_10a, align 4
  %v5_10a = fpext double %v4_10a to x86_fp80
  store x86_fp80 %v5_10a, x86_fp80* %st6.global-to-local, align 4
  %v2_10d = add i32 %v1_107, -24
  %v3_10d = inttoptr i32 %v2_10d to double*
  %v4_10d = load double, double* %v3_10d, align 4
  store double %v4_10d, double* %v3_107, align 4
  %v1_113 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_113 = fptrunc x86_fp80 %v1_113 to double
  store double %v4_113, double* %v3_10d, align 4
  %v1_116 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_116 = fptrunc x86_fp80 %v1_116 to double
  store double %v4_116, double* %v3_10a, align 4
  %v0_119 = call i32 @function_1c()
  ret i32 %v0_119
}

define i32 @function_11f() local_unnamed_addr {
dec_label_pc_11f:
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_11f = load i3, i3* @fpu_stat_TOP, align 1
  %v3_11f = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_11f = fpext double %v3_11f to x86_fp80
  store x86_fp80 %v4_11f, x86_fp80* %st7.global-to-local, align 4
  %v3_121 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_121 = fpext double %v3_121 to x86_fp80
  store x86_fp80 %v4_121, x86_fp80* %st6.global-to-local, align 4
  %v3_123 = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_123 = fpext double %v3_123 to x86_fp80
  %v2_127 = load i32, i32* @edi, align 4
  %v3_127 = add i32 %v2_127, -104
  %v4_127 = inttoptr i32 %v3_127 to float*
  %v5_127 = load float, float* %v4_127, align 4
  %v6_127 = fpext float %v5_127 to x86_fp80
  %v7_127 = fmul x86_fp80 %v4_121, %v6_127
  %v3_12c = add i32 %v2_127, -108
  %v4_12c = inttoptr i32 %v3_12c to float*
  %v5_12c = load float, float* %v4_12c, align 4
  %v6_12c = fpext float %v5_12c to x86_fp80
  %v7_12c = fmul x86_fp80 %v4_123, %v6_12c
  %v4_12f = fadd x86_fp80 %v7_127, %v7_12c
  %v3_133 = add i32 %v2_127, -112
  %v4_133 = inttoptr i32 %v3_133 to float*
  %v5_133 = load float, float* %v4_133, align 4
  %v6_133 = fpext float %v5_133 to x86_fp80
  %v7_133 = fmul x86_fp80 %v4_11f, %v6_133
  %v4_136 = fadd x86_fp80 %v4_12f, %v7_133
  %v3_13a = add i32 %v2_127, -80
  %v4_13a = inttoptr i32 %v3_13a to float*
  %v5_13a = load float, float* %v4_13a, align 4
  %v6_13a = fpext float %v5_13a to x86_fp80
  %v7_13a = fmul x86_fp80 %v4_121, %v6_13a
  %v3_13f = add i32 %v2_127, -84
  %v4_13f = inttoptr i32 %v3_13f to float*
  %v5_13f = load float, float* %v4_13f, align 4
  %v6_13f = fpext float %v5_13f to x86_fp80
  %v7_13f = fmul x86_fp80 %v4_123, %v6_13f
  %v4_142 = fadd x86_fp80 %v7_13a, %v7_13f
  %v3_146 = add i32 %v2_127, -88
  %v4_146 = inttoptr i32 %v3_146 to float*
  %v5_146 = load float, float* %v4_146, align 4
  %v6_146 = fpext float %v5_146 to x86_fp80
  %v7_146 = fmul x86_fp80 %v4_11f, %v6_146
  %v4_149 = fadd x86_fp80 %v4_142, %v7_146
  store x86_fp80 %v4_149, x86_fp80* %st6.global-to-local, align 4
  %v3_14d = add i32 %v2_127, -92
  %v4_14d = inttoptr i32 %v3_14d to float*
  %v5_14d = load float, float* %v4_14d, align 4
  %v6_14d = fpext float %v5_14d to x86_fp80
  %v7_14d = fmul x86_fp80 %v4_121, %v6_14d
  %v3_152 = add i32 %v2_127, -96
  %v4_152 = inttoptr i32 %v3_152 to float*
  %v5_152 = load float, float* %v4_152, align 4
  %v6_152 = fpext float %v5_152 to x86_fp80
  %v7_152 = fmul x86_fp80 %v4_123, %v6_152
  %v4_155 = fadd x86_fp80 %v7_14d, %v7_152
  store x86_fp80 %v4_136, x86_fp80* %st7.global-to-local, align 4
  %v3_159 = add i32 %v2_127, -100
  %v4_159 = inttoptr i32 %v3_159 to float*
  %v5_159 = load float, float* %v4_159, align 4
  %v6_159 = fpext float %v5_159 to x86_fp80
  %v7_159 = fmul x86_fp80 %v4_11f, %v6_159
  %v4_15c = fadd x86_fp80 %v4_155, %v7_159
  %tmp = bitcast double %v3_123 to i64
  %tmp1 = trunc i64 %tmp to i32
  %v3_15e = fptrunc x86_fp80 %v4_15c to double
  %v4_15e = inttoptr i32 %tmp1 to double*
  store double %v3_15e, double* %v4_15e, align 4
  %v1_160 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_160 = load i32, i32* @edx, align 8
  %v3_160 = fptrunc x86_fp80 %v1_160 to double
  %v4_160 = inttoptr i32 %v2_160 to double*
  store double %v3_160, double* %v4_160, align 4
  %v1_162 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_162 = load i32, i32* @ecx, align 8
  %v3_162 = fptrunc x86_fp80 %v1_162 to double
  %v4_162 = inttoptr i32 %v2_162 to double*
  store double %v3_162, double* %v4_162, align 4
  %v5_162 = add i3 %v0_11f, add (i3 add (i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), 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 add (i3 sub (i3 0, 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_162, i3* @fpu_stat_TOP, align 1
  %v0_164 = load i32, i32* @eax, align 4
  ret i32 %v0_164
}

define i32 @function_166(i32 %arg1, i32 %arg2, i32 %arg3) local_unnamed_addr {
dec_label_pc_166:
  %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_166 = call i32 @function_107()
  store i32 %v0_166, i32* @eax, align 4
  %v0_16b = load i32, i32* @edi, align 4
  %v1_16b = add i32 %v0_16b, -124
  %v2_16b = inttoptr i32 %v1_16b to i32*
  %v3_16b = load i32, i32* %v2_16b, align 4
  %v13_16b = icmp eq i32 %v3_16b, ptrtoint (i8* @global_var_1.1 to i32)
  %v1_16f = icmp eq i1 %v13_16b, false
  br i1 %v1_16f, label %dec_label_pc_176, label %dec_label_pc_171

dec_label_pc_171:                                 ; preds = %dec_label_pc_166
  %v0_171 = call i32 @function_11f()
  store i32 %v0_171, i32* @eax, align 4
  br label %dec_label_pc_176

dec_label_pc_176:                                 ; preds = %dec_label_pc_171, %dec_label_pc_166
  %v0_176 = call i32 @function_107()
  store i32 %v0_176, i32* @eax, align 4
  %v0_17b = load i32, i32* @edi, align 4
  %v1_17b = add i32 %v0_17b, -124
  %v2_17b = inttoptr i32 %v1_17b to i32*
  %v3_17b = load i32, i32* %v2_17b, align 4
  %v13_17b = icmp eq i32 %v3_17b, 2
  %v1_17f = icmp eq i1 %v13_17b, false
  br i1 %v1_17f, label %dec_label_pc_186, label %dec_label_pc_181

dec_label_pc_181:                                 ; preds = %dec_label_pc_176
  %v0_181 = call i32 @function_11f()
  store i32 %v0_181, i32* @eax, align 4
  br label %dec_label_pc_186

dec_label_pc_186:                                 ; preds = %dec_label_pc_181, %dec_label_pc_176
  %v0_186 = call i32 @function_107()
  store i32 %v0_186, i32* @eax, align 4
  %v0_18b = load i32, i32* @edi, align 4
  %v1_18b = add i32 %v0_18b, -124
  %v2_18b = inttoptr i32 %v1_18b to i32*
  %v3_18b = load i32, i32* %v2_18b, align 4
  %v13_18b = icmp eq i32 %v3_18b, 3
  %v1_18f = icmp eq i1 %v13_18b, false
  br i1 %v1_18f, label %dec_label_pc_196, label %dec_label_pc_191

dec_label_pc_191:                                 ; preds = %dec_label_pc_186
  %v0_191 = call i32 @function_11f()
  store i32 %v0_191, i32* @eax, align 4
  br label %dec_label_pc_196

dec_label_pc_196:                                 ; preds = %dec_label_pc_191, %dec_label_pc_186
  %v0_196 = call i32 @function_107()
  store i32 %v0_196, i32* @eax, align 4
  %v0_19b = load i32, i32* @edi, align 4
  %v1_19b = add i32 %v0_19b, -124
  %v2_19b = inttoptr i32 %v1_19b to i32*
  %v3_19b = load i32, i32* %v2_19b, align 4
  %v13_19b = icmp eq i32 %v3_19b, 4
  %v1_19f = icmp eq i1 %v13_19b, false
  br i1 %v1_19f, label %dec_label_pc_1a6, label %dec_label_pc_1a1

dec_label_pc_1a1:                                 ; preds = %dec_label_pc_196
  %v0_1a1 = call i32 @function_11f()
  store i32 %v0_1a1, i32* @eax, align 4
  br label %dec_label_pc_1a6

dec_label_pc_1a6:                                 ; preds = %dec_label_pc_1a1, %dec_label_pc_196
  %v0_1a6 = call i32 @function_107()
  store i32 %v0_1a6, i32* @eax, align 4
  %v0_1ab = load i32, i32* @edi, align 4
  %v1_1ab = add i32 %v0_1ab, -124
  %v2_1ab = inttoptr i32 %v1_1ab to i32*
  %v3_1ab = load i32, i32* %v2_1ab, align 4
  %v13_1ab = icmp eq i32 %v3_1ab, ptrtoint (i1* @global_var_5.2 to i32)
  %v1_1af = icmp eq i1 %v13_1ab, false
  br i1 %v1_1af, label %dec_label_pc_1b6, label %dec_label_pc_1b1

dec_label_pc_1b1:                                 ; preds = %dec_label_pc_1a6
  %v0_1b1 = call i32 @function_11f()
  store i32 %v0_1b1, i32* @eax, align 4
  br label %dec_label_pc_1b6

dec_label_pc_1b6:                                 ; preds = %dec_label_pc_1b1, %dec_label_pc_1a6
  %v0_1b6 = call i32 @function_107()
  store i32 %v0_1b6, i32* @eax, align 4
  %v0_1bb = load i32, i32* @edi, align 4
  %v1_1bb = add i32 %v0_1bb, -124
  %v2_1bb = inttoptr i32 %v1_1bb to i32*
  %v3_1bb = load i32, i32* %v2_1bb, align 4
  %v13_1bb = icmp eq i32 %v3_1bb, 6
  %v1_1bf = icmp eq i1 %v13_1bb, false
  br i1 %v1_1bf, label %dec_label_pc_1c6, label %dec_label_pc_1c1

dec_label_pc_1c1:                                 ; preds = %dec_label_pc_1b6
  %v0_1c1 = call i32 @function_11f()
  store i32 %v0_1c1, i32* @eax, align 4
  %v1_1cc.pre = load i32, i32* @edi, align 4
  %.pre = add i32 %v1_1cc.pre, -124
  %.pre7 = inttoptr i32 %.pre to i32*
  br label %dec_label_pc_1c6

dec_label_pc_1c6:                                 ; preds = %dec_label_pc_1c1, %dec_label_pc_1b6
  %v2_1fa.pre-phi = phi i32* [ %.pre7, %dec_label_pc_1c1 ], [ %v2_1bb, %dec_label_pc_1b6 ]
  %v0_1fa = phi i32 [ %v1_1cc.pre, %dec_label_pc_1c1 ], [ %v0_1bb, %dec_label_pc_1b6 ]
  %v0_1c6 = load i3, i3* @fpu_stat_TOP, align 1
  %v3_1c6 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1c6 = fpext double %v3_1c6 to x86_fp80
  store x86_fp80 %v4_1c6, x86_fp80* %st7.global-to-local, align 4
  %v3_1c8 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1c8 = fpext double %v3_1c8 to x86_fp80
  store x86_fp80 %v4_1c8, x86_fp80* %st6.global-to-local, align 4
  %v3_1ca = load double, double* bitcast (i32* @ebx to double*), align 8
  %v4_1ca = fpext double %v3_1ca to x86_fp80
  store x86_fp80 %v4_1ca, x86_fp80* %st5.global-to-local, align 4
  %v2_1cc = add i32 %v0_1fa, -16
  %v3_1cc = inttoptr i32 %v2_1cc to double*
  %v4_1cc = load double, double* %v3_1cc, align 4
  %v5_1cc = fpext double %v4_1cc to x86_fp80
  store x86_fp80 %v5_1cc, x86_fp80* %st4.global-to-local, align 4
  %tmp5 = bitcast double %v3_1c6 to i64
  %tmp6 = trunc i64 %tmp5 to i32
  %v2_1cf = add i32 %tmp6, 8
  %v3_1cf = inttoptr i32 %v2_1cf to double*
  %v4_1cf = load double, double* %v3_1cf, align 4
  %v5_1cf = fpext double %v4_1cf to x86_fp80
  %v4_1d2 = fmul x86_fp80 %v5_1cc, %v5_1cf
  %v4_1d4 = fptrunc x86_fp80 %v4_1d2 to double
  store double %v4_1d4, double* %v3_1cf, align 4
  %v2_1d7 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_1d7 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_1d7 = fmul x86_fp80 %v2_1d7, %v3_1d7
  store x86_fp80 %v4_1d7, x86_fp80* %st7.global-to-local, align 4
  %v2_1d9 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_1d9 = fmul x86_fp80 %v3_1d7, %v2_1d9
  store x86_fp80 %v4_1d9, x86_fp80* %st6.global-to-local, align 4
  %v2_1db = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_1db = fmul x86_fp80 %v3_1d7, %v2_1db
  store x86_fp80 %v4_1db, x86_fp80* %st5.global-to-local, align 4
  %v4_1df = fadd x86_fp80 %v3_1d7, 0xKBFFF8000000000000000
  store x86_fp80 %v4_1df, x86_fp80* %st4.global-to-local, align 4
  %v3_1e5 = add i32 %v0_1fa, -24
  %v4_1e5 = inttoptr i32 %v3_1e5 to double*
  %v5_1e5 = load double, double* %v4_1e5, align 4
  %v6_1e5 = fpext double %v5_1e5 to x86_fp80
  %v7_1e5 = fmul x86_fp80 %v4_1df, %v6_1e5
  %v4_1e8 = fsub x86_fp80 %v4_1d9, %v7_1e5
  store x86_fp80 %v4_1e8, x86_fp80* %st6.global-to-local, align 4
  %v3_1ea = add i32 %v0_1fa, -32
  %v4_1ea = inttoptr i32 %v3_1ea to double*
  %v5_1ea = load double, double* %v4_1ea, align 4
  %v6_1ea = fpext double %v5_1ea to x86_fp80
  %v7_1ea = fmul x86_fp80 %v4_1df, %v6_1ea
  %v4_1ed = fsub x86_fp80 %v4_1db, %v7_1ea
  store x86_fp80 %v4_1ed, x86_fp80* %st5.global-to-local, align 4
  %v3_1ef = add i32 %v0_1fa, -40
  %v4_1ef = inttoptr i32 %v3_1ef to double*
  %v5_1ef = load double, double* %v4_1ef, align 4
  %v6_1ef = fpext double %v5_1ef to x86_fp80
  %v7_1ef = fmul x86_fp80 %v4_1df, %v6_1ef
  store x86_fp80 %v7_1ef, x86_fp80* %st4.global-to-local, align 4
  %v4_1f2 = fsub x86_fp80 %v4_1d7, %v7_1ef
  store x86_fp80 %v4_1f2, x86_fp80* %st7.global-to-local, align 4
  %v2_1f4 = load i32, i32* @ebx, align 8
  %v3_1f4 = fptrunc x86_fp80 %v4_1ed to double
  %v4_1f4 = inttoptr i32 %v2_1f4 to double*
  store double %v3_1f4, double* %v4_1f4, align 4
  %v1_1f6 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_1f6 = load i32, i32* @edx, align 8
  %v3_1f6 = fptrunc x86_fp80 %v1_1f6 to double
  %v4_1f6 = inttoptr i32 %v2_1f6 to double*
  store double %v3_1f6, double* %v4_1f6, align 4
  %v1_1f8 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_1f8 = load i32, i32* @ecx, align 8
  %v3_1f8 = fptrunc x86_fp80 %v1_1f8 to double
  %v4_1f8 = inttoptr i32 %v2_1f8 to double*
  store double %v3_1f8, double* %v4_1f8, align 4
  %v5_1f8 = add i3 %v0_1c6, add (i3 add (i3 add (i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)), 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 add (i3 sub (i3 0, 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_1f8, i3* @fpu_stat_TOP, align 1
  %v3_1fa = load i32, i32* %v2_1fa.pre-phi, align 4
  %v13_1fa = icmp eq i32 %v3_1fa, 7
  %v1_1fe = icmp eq i1 %v13_1fa, false
  br i1 %v1_1fe, label %dec_label_pc_205, label %dec_label_pc_200

dec_label_pc_200:                                 ; preds = %dec_label_pc_1c6
  %v0_200 = call i32 @function_11f()
  br label %dec_label_pc_205

dec_label_pc_205:                                 ; preds = %dec_label_pc_200, %dec_label_pc_1c6
  %v0_207 = load i32, i32* @ebx, align 8
  store i32 %arg3, i32* @ebx, align 8
  ret i32 %v0_207
}

declare i16 @__asm_fnstsw(i32) local_unnamed_addr

; Function Attrs: nounwind readnone speculatable
declare x86_fp80 @llvm.sqrt.f80(x86_fp80) #0

attributes #0 = { nounwind readnone speculatable }
