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_1.1 = constant i8 -117

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %ebx.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %fpsw.global-to-local = alloca i32, align 4
  %fpu_stat_TOP.global-to-local = alloca i3, align 1
  %st2.global-to-local = alloca x86_fp80, align 4
  %st3.global-to-local = alloca x86_fp80, align 4
  %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_9 = load i32, i32* %ebx.global-to-local, align 4
  %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.global-to-local, align 4
  %v0_12 = load i32, i32* @eax, align 8
  store i32 %v0_12, i32* %ebx.global-to-local, align 4
  %v0_16 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_16 = add i32 %v3_f, -32
  %v3_16 = inttoptr i32 %v2_16 to double*
  %v4_16 = load double, double* %v3_16, align 4
  %v5_16 = fpext double %v4_16 to x86_fp80
  store x86_fp80 %v5_16, x86_fp80* %st7.global-to-local, align 4
  %v2_1e = add i32 %v3_f, -16
  %v3_1e = inttoptr i32 %v2_1e to double*
  %v4_1e = load double, double* %v3_1e, align 4
  %v5_1e = fpext double %v4_1e to x86_fp80
  store x86_fp80 %v5_1e, x86_fp80* %st7.global-to-local, align 4
  %v3_21 = add i32 %v3_f, -24
  %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 %v5_1e, %v6_21
  %v3_29 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_29 = fpext double %v3_29 to x86_fp80
  %v3_2b = fmul x86_fp80 %v4_29, %v4_29
  %v3_2d = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_2d = fpext double %v3_2d to x86_fp80
  %v3_2f = fmul x86_fp80 %v4_2d, %v4_2d
  %v3_31 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_31 = fpext double %v3_31 to x86_fp80
  %v3_33 = fmul x86_fp80 %v4_31, %v4_31
  store x86_fp80 %v3_33, x86_fp80* %st5.global-to-local, align 4
  %v4_35 = fadd x86_fp80 %v3_2f, %v3_33
  %v4_37 = fadd x86_fp80 %v3_2b, %v4_35
  %v2_3c = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_37)
  store x86_fp80 %v2_3c, x86_fp80* %st7.global-to-local, align 4
  %v7_42 = fmul x86_fp80 %v3_2b, %v5_16
  %v11_45 = fadd x86_fp80 %v7_42, %v4_37
  %v2_48 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v11_45)
  %v4_4a = fptrunc x86_fp80 %v2_48 to double
  %v7_51 = fmul x86_fp80 %v3_2f, %v5_16
  %v11_54 = fadd x86_fp80 %v7_51, %v4_37
  %v2_57 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v11_54)
  %v4_59 = fptrunc x86_fp80 %v2_57 to double
  %v7_60 = fmul x86_fp80 %v3_33, %v5_16
  %v11_63 = fadd x86_fp80 %v7_60, %v4_37
  %v2_66 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v11_63)
  store x86_fp80 %v2_66, x86_fp80* %st6.global-to-local, align 4
  %v4_68 = fptrunc x86_fp80 %v2_66 to double
  %v4_6d = load double, double* %v3_1e, align 4
  %v5_6d = fpext double %v4_6d to x86_fp80
  store x86_fp80 %v5_6d, x86_fp80* %st6.global-to-local, align 4
  %v6_70 = add i3 %v0_16, 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 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 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)))))))
  store i3 %v6_70, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp278 = call double @llvm.fabs.f64(double %v4_4a)
  %v2_73 = fpext double %tmp278 to x86_fp80
  store x86_fp80 %v2_73, x86_fp80* %st5.global-to-local, align 4
  %v1_75 = call i32 @__asm_fyl2x(i32 %v0_b)
  store i32 %v1_75, i32* @eax, align 8
  %v0_77 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st4.global-to-local, align 4
  %v3_79 = add i3 %v0_77, 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 %v3_79, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_73, x86_fp80* %st3.global-to-local, align 4
  %v0_7b = call i32 @__asm_fprem()
  store i32 %v0_7b, i32* @eax, align 8
  %v0_7d = call i32 @__asm_f2xm1()
  store i32 %v0_7d, i32* @eax, align 8
  %v0_7f = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_7f = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_7f = fadd x86_fp80 %v3_7f, %v2_73
  store x86_fp80 %v4_7f, x86_fp80* %st4.global-to-local, align 4
  %v7_7f = add i3 %v0_7f, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v7_7f, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_81 = call i32 @__asm_fscale()
  store i32 %v0_81, i32* @eax, align 8
  %v3_83 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_7f, x86_fp80* %st5.global-to-local, align 4
  %v0_85 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v3_83, x86_fp80* %st4.global-to-local, align 4
  %v1_8c = load i32, i32* %edi.global-to-local, align 4
  %v2_8c = add i32 %v1_8c, -16
  %v3_8c = inttoptr i32 %v2_8c to double*
  %v4_8c = load double, double* %v3_8c, align 4
  %v5_8c = fpext double %v4_8c to x86_fp80
  store x86_fp80 %v5_8c, x86_fp80* %st5.global-to-local, align 4
  %v6_8f = add i3 %v0_85, 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 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3))))
  store i3 %v6_8f, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp279 = call double @llvm.fabs.f64(double %v4_59)
  %v2_92 = fpext double %tmp279 to x86_fp80
  store x86_fp80 %v2_92, x86_fp80* %st4.global-to-local, align 4
  %tmp287 = fptrunc x86_fp80 %v4_7f to float
  %v2_94 = bitcast float %tmp287 to i32
  %v3_94 = call i32 @__asm_fyl2x(i32 %v2_94)
  store i32 %v3_94, i32* @eax, align 8
  %v0_96 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st3.global-to-local, align 4
  %v2_98 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_98 = add i3 %v0_96, 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 %v3_98, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_98, x86_fp80* %st2.global-to-local, align 4
  %v0_9a = call i32 @__asm_fprem()
  store i32 %v0_9a, i32* @eax, align 8
  %v0_9c = call i32 @__asm_f2xm1()
  store i32 %v0_9c, i32* @eax, align 8
  %v0_9e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_9e = load x86_fp80, x86_fp80* %st3.global-to-local, align 4
  %v4_9e = fadd x86_fp80 %v2_98, %v3_9e
  store x86_fp80 %v4_9e, x86_fp80* %st3.global-to-local, align 4
  %v7_9e = add i3 %v0_9e, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v7_9e, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_a0 = call i32 @__asm_fscale()
  store i32 %v0_a0, i32* @eax, align 8
  %v3_a2 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v4_9e, x86_fp80* %st4.global-to-local, align 4
  %v0_a4 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v3_a2, x86_fp80* %st3.global-to-local, align 4
  %v1_ab = load i32, i32* %edi.global-to-local, align 4
  %v2_ab = add i32 %v1_ab, -16
  %v3_ab = inttoptr i32 %v2_ab to double*
  %v4_ab = load double, double* %v3_ab, align 4
  %v5_ab = fpext double %v4_ab to x86_fp80
  store x86_fp80 %v5_ab, x86_fp80* %st4.global-to-local, align 4
  %v6_ae = add i3 %v0_a4, 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 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3))))
  store i3 %v6_ae, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp280 = call double @llvm.fabs.f64(double %v4_68)
  %v2_b1 = fpext double %tmp280 to x86_fp80
  store x86_fp80 %v2_b1, x86_fp80* %st3.global-to-local, align 4
  %tmp288 = fptrunc x86_fp80 %v4_9e to float
  %v2_b3 = bitcast float %tmp288 to i32
  %v3_b3 = call i32 @__asm_fyl2x(i32 %v2_b3)
  store i32 %v3_b3, i32* @eax, align 8
  %v0_b5 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st2.global-to-local, align 4
  %v2_b7 = load x86_fp80, x86_fp80* %st3.global-to-local, align 4
  %v3_b7 = add i3 %v0_b5, 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 %v3_b7, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_b9 = call i32 @__asm_fprem()
  store i32 %v0_b9, i32* @eax, align 8
  %v0_bb = call i32 @__asm_f2xm1()
  store i32 %v0_bb, i32* @eax, align 8
  %v0_bd = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_bd = load x86_fp80, x86_fp80* %st2.global-to-local, align 4
  %v4_bd = fadd x86_fp80 %v2_b7, %v3_bd
  store x86_fp80 %v4_bd, x86_fp80* %st2.global-to-local, align 4
  %v7_bd = add i3 %v0_bd, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v7_bd, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_bf = call i32 @__asm_fscale()
  store i32 %v0_bf, i32* @eax, align 8
  %v0_c3 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_cf = load double, double* bitcast (i32* @eax to double*), align 8
  %tmp281 = call double @llvm.fabs.f64(double %v3_cf)
  %v2_d1 = fpext double %tmp281 to x86_fp80
  %v7_d3 = fmul x86_fp80 %v7_21, %v2_d1
  %v2_d6 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_d6 = add i3 %v0_c3, 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 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3))))
  store i3 %v3_d6, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v7_d3, x86_fp80* %st2.global-to-local, align 4
  store x86_fp80 %v2_d6, x86_fp80* %st3.global-to-local, align 4
  %v2_da = call i32 @__asm_fpatan(x86_fp80 %v4_bd)
  store i32 %v2_da, i32* @eax, align 8
  %v0_dc = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_e1 = load double, double* bitcast (i32* @edx to double*), align 8
  %tmp282 = call double @llvm.fabs.f64(double %v3_e1)
  %v2_e3 = fpext double %tmp282 to x86_fp80
  %v7_e5 = fmul x86_fp80 %v7_21, %v2_e3
  %v2_e8 = load x86_fp80, x86_fp80* %st3.global-to-local, align 4
  %v3_e8 = sub i3 %v0_dc, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v3_e8, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_e8, x86_fp80* %st2.global-to-local, align 4
  %v2_ec = call i32 @__asm_fpatan(x86_fp80 %v7_d3)
  store i32 %v2_ec, i32* @eax, align 8
  %v0_ee = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_f3 = load double, double* bitcast (i32* @ecx to double*), align 8
  %tmp283 = call double @llvm.fabs.f64(double %v3_f3)
  %v2_f5 = fpext double %tmp283 to x86_fp80
  %v7_f7 = fmul x86_fp80 %v7_21, %v2_f5
  %v3_fa = sub i3 %v0_ee, ptrtoint (i8* @global_var_1.1 to i3)
  store i3 %v3_fa, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_fe = call i32 @__asm_fpatan(x86_fp80 %v7_e5)
  store i32 %v2_fe, i32* @eax, align 8
  %v2_108 = load i32, i32* %edi.global-to-local, align 4
  %v3_10b = add i32 %v2_108, -40
  %v4_10b = inttoptr i32 %v3_10b to double*
  %v0_113 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_113 = load i32, i32* %esi.global-to-local, align 4
  %v2_113 = add i32 %v1_113, 24
  %v3_113 = inttoptr i32 %v2_113 to double*
  %v4_113 = load double, double* %v3_113, align 4
  %v5_113 = fpext double %v4_113 to x86_fp80
  %v6_113 = sub i3 %v0_113, ptrtoint (i8* @global_var_1.1 to i3)
  store x86_fp80 %v5_113, x86_fp80* %st7.global-to-local, align 4
  %v5_116 = load double, double* %v4_10b, align 4
  %v6_116 = fpext double %v5_116 to x86_fp80
  %v7_116 = fmul x86_fp80 %v5_113, %v6_116
  store x86_fp80 %v7_116, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st6.global-to-local, align 4
  store i3 %v6_113, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_11d = load i32, i32* %fpsw.global-to-local, align 4
  %v1_11d = call i16 @__asm_fnstsw(i32 %v0_11d)
  %v2_11d = sext i16 %v1_11d to i32
  %v3_11d = load i32, i32* @eax, align 8
  %v4_11d = and i32 %v3_11d, -65536
  %v1_11f = udiv i32 %v2_11d, 256
  %v2_11f = trunc i32 %v1_11f to i8
  %v3_11f = and i8 %v2_11f, 65
  %v4_11f = icmp eq i8 %v3_11f, 0
  %v9_11f = zext i8 %v3_11f to i32
  %v11_11f = mul i32 %v9_11f, 256
  %v2_11d.masked = and i32 %v2_11d, -65281
  %v12_11f = or i32 %v4_11d, %v2_11d.masked
  %v13_11f = or i32 %v12_11f, %v11_11f
  store i32 %v13_11f, i32* @eax, align 8
  %v1_122 = icmp eq i1 %v4_11f, false
  %v2_128 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %tmp284 = fsub x86_fp80 0xK80000000000000000000, %v2_128
  %storemerge13.in.in.p = select i1 %v1_122, x86_fp80 %tmp284, x86_fp80 %v2_128
  %storemerge13.in.in = fadd x86_fp80 %v2_128, %storemerge13.in.in.p
  %v2_12a = load i32, i32* %ebx.global-to-local, align 4
  %v3_12a = fptrunc x86_fp80 %storemerge13.in.in to double
  %v4_12a = inttoptr i32 %v2_12a to double*
  store double %v3_12a, double* %v4_12a, align 4
  store x86_fp80 %v7_e5, x86_fp80* %st7.global-to-local, align 4
  %v2_132 = load i32, i32* %edi.global-to-local, align 4
  %v3_132 = add i32 %v2_132, -24
  %v4_132 = inttoptr i32 %v3_132 to double*
  %v5_132 = load double, double* %v4_132, align 4
  %v6_132 = fpext double %v5_132 to x86_fp80
  %v7_132 = fmul x86_fp80 %v7_e5, %v6_132
  store x86_fp80 %v7_132, x86_fp80* %st7.global-to-local, align 4
  %v3_135 = add i32 %v2_132, -40
  %v4_135 = inttoptr i32 %v3_135 to double*
  %v5_135 = load double, double* %v4_135, align 4
  %v6_135 = fpext double %v5_135 to x86_fp80
  %v7_135 = fadd x86_fp80 %v7_132, %v6_135
  %v2_138 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_135)
  %v3_138 = fcmp olt x86_fp80 %v2_138, 0xK403E8000000000000000
  %v4_138 = call x86_fp80 @llvm.cos.f80(x86_fp80 %v7_135)
  %storemerge19 = select i1 %v3_138, x86_fp80 %v4_138, x86_fp80 %v7_135
  %v7_13a = fmul x86_fp80 %storemerge19, %v4_9e
  store x86_fp80 %v7_13a, x86_fp80* %st7.global-to-local, align 4
  %v1_13d = load i32, i32* %esi.global-to-local, align 4
  %v2_13d = add i32 %v1_13d, 32
  %v3_13d = inttoptr i32 %v2_13d to double*
  %v4_13d = load double, double* %v3_13d, align 4
  %v5_13d = fpext double %v4_13d to x86_fp80
  store x86_fp80 %v5_13d, x86_fp80* %st6.global-to-local, align 4
  %v3_140 = add i32 %v2_132, -48
  %v4_140 = inttoptr i32 %v3_140 to double*
  %v5_140 = load double, double* %v4_140, align 4
  %v6_140 = fpext double %v5_140 to x86_fp80
  %v7_140 = fmul x86_fp80 %v5_13d, %v6_140
  store x86_fp80 %v7_140, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st5.global-to-local, align 4
  %v0_147 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_147 = call i16 @__asm_fnstsw(i32 %v0_147)
  %v2_147 = sext i16 %v1_147 to i32
  %v3_147 = load i32, i32* @eax, align 8
  %v4_147 = and i32 %v3_147, -65536
  %v1_149 = udiv i32 %v2_147, 256
  %v2_149 = trunc i32 %v1_149 to i8
  %v3_149 = and i8 %v2_149, 65
  %v4_149 = icmp eq i8 %v3_149, 0
  %v9_149 = zext i8 %v3_149 to i32
  %v11_149 = mul i32 %v9_149, 256
  %v2_147.masked = and i32 %v2_147, -65281
  %v12_149 = or i32 %v4_147, %v2_147.masked
  %v13_149 = or i32 %v12_149, %v11_149
  store i32 %v13_149, i32* @eax, align 8
  %v1_14c = icmp eq i1 %v4_149, false
  %v2_152 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_152 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %tmp285 = fsub x86_fp80 0xK80000000000000000000, %v2_152
  %storemerge14.in.in.p = select i1 %v1_14c, x86_fp80 %tmp285, x86_fp80 %v2_152
  %storemerge14.in.in = fadd x86_fp80 %v3_152, %storemerge14.in.in.p
  %v2_154 = load i32, i32* @edx, align 8
  %v3_154 = fptrunc x86_fp80 %storemerge14.in.in to double
  %v4_154 = inttoptr i32 %v2_154 to double*
  store double %v3_154, double* %v4_154, align 4
  store x86_fp80 %v7_f7, x86_fp80* %st7.global-to-local, align 4
  %v2_15c = load i32, i32* %edi.global-to-local, align 4
  %v3_15c = add i32 %v2_15c, -24
  %v4_15c = inttoptr i32 %v3_15c to double*
  %v5_15c = load double, double* %v4_15c, align 4
  %v6_15c = fpext double %v5_15c to x86_fp80
  %v7_15c = fmul x86_fp80 %v7_f7, %v6_15c
  store x86_fp80 %v7_15c, x86_fp80* %st7.global-to-local, align 4
  %v3_15f = add i32 %v2_15c, -40
  %v4_15f = inttoptr i32 %v3_15f to double*
  %v5_15f = load double, double* %v4_15f, align 4
  %v6_15f = fpext double %v5_15f to x86_fp80
  %v7_15f = fadd x86_fp80 %v7_15c, %v6_15f
  %v2_162 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_15f)
  %v3_162 = fcmp olt x86_fp80 %v2_162, 0xK403E8000000000000000
  %v4_162 = call x86_fp80 @llvm.cos.f80(x86_fp80 %v7_15f)
  %storemerge18 = select i1 %v3_162, x86_fp80 %v4_162, x86_fp80 %v7_15f
  %v7_164 = fmul x86_fp80 %storemerge18, %v4_bd
  store x86_fp80 %v7_164, x86_fp80* %st7.global-to-local, align 4
  %v1_167 = load i32, i32* %esi.global-to-local, align 4
  %v2_167 = add i32 %v1_167, 40
  %v3_167 = inttoptr i32 %v2_167 to double*
  %v4_167 = load double, double* %v3_167, align 4
  %v5_167 = fpext double %v4_167 to x86_fp80
  store x86_fp80 %v5_167, x86_fp80* %st6.global-to-local, align 4
  %v3_16a = add i32 %v2_15c, -56
  %v4_16a = inttoptr i32 %v3_16a to double*
  %v5_16a = load double, double* %v4_16a, align 4
  %v6_16a = fpext double %v5_16a to x86_fp80
  %v7_16a = fmul x86_fp80 %v5_167, %v6_16a
  store x86_fp80 %v7_16a, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 0xK00000000000000000000, x86_fp80* %st5.global-to-local, align 4
  %v0_171 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_171 = call i16 @__asm_fnstsw(i32 %v0_171)
  %v3_17322 = and i16 %v1_171, 16640
  %v4_173 = icmp eq i16 %v3_17322, 0
  %v1_176 = icmp eq i1 %v4_173, false
  %v2_17c = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_17c = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %tmp286 = fsub x86_fp80 0xK80000000000000000000, %v2_17c
  %storemerge15.in.in.p = select i1 %v1_176, x86_fp80 %tmp286, x86_fp80 %v2_17c
  %storemerge15.in.in = fadd x86_fp80 %v3_17c, %storemerge15.in.in.p
  %storemerge.in = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %storemerge15.in.in, x86_fp80* %st7.global-to-local, align 4
  %v2_17e = load i32, i32* @ecx, align 8
  %v3_17e = fptrunc x86_fp80 %storemerge15.in.in to double
  %v4_17e = inttoptr i32 %v2_17e to double*
  store double %v3_17e, double* %v4_17e, align 4
  %v4_182 = add i3 %storemerge.in, add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 add (i3 ptrtoint (i8* @global_var_1.1 to i3), i3 ptrtoint (i8* @global_var_1.1 to i3)))
  store i3 %v4_182, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_184 = load i32, i32* %ebx.global-to-local, align 4
  store i32 %v0_184, i32* @eax, align 8
  store i32 %v0_b, i32* %edi.global-to-local, align 4
  store i32 %v0_a, i32* %esi.global-to-local, align 4
  store i32 %v0_9, i32* %ebx.global-to-local, align 4
  ret i32 %v0_184
}

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

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

declare i32 @__asm_fyl2x(i32) local_unnamed_addr

declare i32 @__asm_fprem() local_unnamed_addr

declare i32 @__asm_f2xm1() local_unnamed_addr

declare i32 @__asm_fscale() local_unnamed_addr

declare i32 @__asm_fpatan(x86_fp80) local_unnamed_addr

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

declare i16 @__asm_fnstsw(i32) local_unnamed_addr

; Function Attrs: nounwind readnone speculatable
declare double @llvm.fabs.f64(double) #0

attributes #0 = { nounwind readnone speculatable }
