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

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
  %st4.global-to-local = alloca x86_fp80, align 4
  %st5.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %ebx.global-to-local, align 4
  %v0_4 = load i32, i32* %esi.global-to-local, align 4
  %v0_5 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_9 = add i32 %arg1, 48
  %v2_9 = inttoptr i32 %v1_9 to i32*
  %v3_9 = load i32, i32* %v2_9, align 4
  store i32 %v3_9, i32* %edi.global-to-local, align 4
  %v0_c = load i32, i32* @eax, align 8
  store i32 %v0_c, i32* %ebx.global-to-local, align 4
  %v0_e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_e = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  %v4_10 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_10 = fpext double %v4_10 to x86_fp80
  %v6_10 = fmul x86_fp80 %v4_e, %v5_10
  store x86_fp80 %v6_10, x86_fp80* %st7.global-to-local, align 4
  %v3_12 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %tmp263 = bitcast double %v4_10 to i64
  %tmp264 = trunc i64 %tmp263 to i32
  %v3_14 = add i32 %tmp264, 8
  %v4_14 = inttoptr i32 %v3_14 to double*
  %v5_14 = load double, double* %v4_14, align 4
  %v6_14 = fpext double %v5_14 to x86_fp80
  %v7_14 = fmul x86_fp80 %v4_12, %v6_14
  %v4_17 = fsub x86_fp80 %v6_10, %v7_14
  %v3_19 = fadd x86_fp80 %v4_17, %v4_17
  store x86_fp80 %v3_19, x86_fp80* %st7.global-to-local, align 4
  %v3_2c = fmul x86_fp80 %v4_e, %v4_e
  %v5_2e = xor i3 %v0_e, -4
  %v3_30 = fmul x86_fp80 %v4_12, %v4_12
  %v4_32 = fadd x86_fp80 %v3_2c, %v3_30
  store x86_fp80 %v4_32, x86_fp80* %st5.global-to-local, align 4
  %v3_36 = fmul x86_fp80 %v5_10, %v5_10
  store x86_fp80 %v3_36, x86_fp80* %st4.global-to-local, align 4
  %v4_38 = load double, double* %v4_14, align 4
  %v5_38 = fpext double %v4_38 to x86_fp80
  %v3_3b = fmul x86_fp80 %v5_38, %v5_38
  %v4_3d = fadd x86_fp80 %v3_36, %v3_3b
  store x86_fp80 %v4_3d, x86_fp80* %st4.global-to-local, align 4
  store i3 %v5_2e, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_41 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_41 = call i16 @__asm_fnstsw(i32 %v0_41)
  %v2_41 = sext i16 %v1_41 to i32
  %v3_41 = load i32, i32* @eax, align 8
  %v4_41 = and i32 %v3_41, -65536
  %tmp265 = udiv i32 %v2_41, 2
  %v12_43 = and i32 %tmp265, 32512
  %v2_41.masked = and i32 %v2_41, -65281
  %v13_43 = or i32 %v4_41, %v2_41.masked
  %v14_43 = or i32 %v13_43, %v12_43
  store i32 %v14_43, i32* @eax, align 8
  %v15_4320 = and i32 %v2_41, 256
  %v16_43 = icmp ne i32 %v15_4320, 0
  %v1_45 = icmp eq i1 %v16_43, false
  %v0_6c = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_6c = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_6c = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  br i1 %v1_45, label %dec_label_pc_6c, label %dec_label_pc_47

dec_label_pc_47:                                  ; preds = %dec_label_pc_0
  %v4_47 = fdiv x86_fp80 %v2_6c, %v3_6c
  %v4_4d = fsub x86_fp80 0xK3FFF8000000000000000, %v4_47
  store x86_fp80 %v4_4d, x86_fp80* %st5.global-to-local, align 4
  %v3_4f = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_4f = fpext double %v3_4f to x86_fp80
  %v3_51 = fmul x86_fp80 %v4_4f, %v4_4f
  %v3_53 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_53 = fpext double %v3_53 to x86_fp80
  %v5_53 = add i3 %v0_6c, -1
  %v3_55 = fmul x86_fp80 %v4_53, %v4_53
  %v4_57 = fsub x86_fp80 %v3_51, %v3_55
  %v4_59 = fmul x86_fp80 %v4_4d, %v4_57
  store x86_fp80 %v4_59, x86_fp80* %st4.global-to-local, align 4
  store i3 %v5_53, i3* %fpu_stat_TOP.global-to-local, align 1
  %v6_5e = fmul x86_fp80 %v4_4f, %v4_53
  %tmp266 = bitcast double %v3_53 to i64
  %tmp267 = trunc i64 %tmp266 to i32
  br label %dec_label_pc_60

dec_label_pc_60:                                  ; preds = %dec_label_pc_6c, %dec_label_pc_47
  %v2_64 = phi i32 [ %tmp267, %dec_label_pc_47 ], [ %v2_64.pre, %dec_label_pc_6c ]
  %v0_64 = phi i3 [ %v5_53, %dec_label_pc_47 ], [ %v6_78, %dec_label_pc_6c ]
  %v3_62 = phi x86_fp80 [ %v4_4d, %dec_label_pc_47 ], [ %v4_72, %dec_label_pc_6c ]
  %storemerge13.in.in = phi x86_fp80 [ %v6_5e, %dec_label_pc_47 ], [ %v7_83, %dec_label_pc_6c ]
  %v3_60 = fadd x86_fp80 %storemerge13.in.in, %storemerge13.in.in
  %v4_62 = fmul x86_fp80 %v3_62, %v3_60
  %v3_64 = fptrunc x86_fp80 %v4_62 to double
  %v4_64 = inttoptr i32 %v2_64 to double*
  store double %v3_64, double* %v4_64, align 4
  %v1_66 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v2_66 = load i32, i32* %ebx.global-to-local, align 4
  %v3_66 = fptrunc x86_fp80 %v1_66 to double
  %v4_66 = inttoptr i32 %v2_66 to double*
  store double %v3_66, double* %v4_66, align 4
  %v1_88 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_88 = load i32, i32* @ecx, align 8
  %v3_88 = add i32 %v2_88, 8
  %v4_88 = fptrunc x86_fp80 %v1_88 to double
  %v5_88 = inttoptr i32 %v3_88 to double*
  store double %v4_88, double* %v5_88, align 4
  %v1_8b = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_8b = load i32, i32* @ecx, align 8
  %v3_8b = fptrunc x86_fp80 %v1_8b to double
  %v4_8b = inttoptr i32 %v2_8b to double*
  store double %v3_8b, double* %v4_8b, align 4
  %v3_8d = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_8d = fpext double %v3_8d to x86_fp80
  %v4_8f = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_8f = fpext double %v4_8f to x86_fp80
  %v6_8f = fmul x86_fp80 %v4_8d, %v5_8f
  store x86_fp80 %v6_8f, x86_fp80* %st7.global-to-local, align 4
  %v3_91 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_91 = fpext double %v3_91 to x86_fp80
  %tmp268 = bitcast double %v4_8f to i64
  %tmp269 = trunc i64 %tmp268 to i32
  %v3_93 = add i32 %tmp269, 8
  %v4_93 = inttoptr i32 %v3_93 to double*
  %v5_93 = load double, double* %v4_93, align 4
  %v6_93 = fpext double %v5_93 to x86_fp80
  %v7_93 = fmul x86_fp80 %v4_91, %v6_93
  %v4_96 = fsub x86_fp80 %v6_8f, %v7_93
  %v3_98 = fadd x86_fp80 %v4_96, %v4_96
  store x86_fp80 %v3_98, x86_fp80* %st7.global-to-local, align 4
  %v3_ab = fmul x86_fp80 %v4_8d, %v4_8d
  %v5_ad = add i3 %v0_64, 1
  %v3_af = fmul x86_fp80 %v4_91, %v4_91
  %v4_b1 = fadd x86_fp80 %v3_ab, %v3_af
  store x86_fp80 %v4_b1, x86_fp80* %st5.global-to-local, align 4
  %v3_b5 = fmul x86_fp80 %v5_8f, %v5_8f
  store x86_fp80 %v3_b5, x86_fp80* %st4.global-to-local, align 4
  %v4_b7 = load double, double* %v4_93, align 4
  %v5_b7 = fpext double %v4_b7 to x86_fp80
  %v3_ba = fmul x86_fp80 %v5_b7, %v5_b7
  %v4_bc = fadd x86_fp80 %v3_b5, %v3_ba
  store x86_fp80 %v4_bc, x86_fp80* %st4.global-to-local, align 4
  store i3 %v5_ad, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_c0 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_c0 = call i16 @__asm_fnstsw(i32 %v0_c0)
  %v2_c0 = sext i16 %v1_c0 to i32
  %v3_c0 = load i32, i32* @eax, align 8
  %v4_c0 = and i32 %v3_c0, -65536
  %tmp270 = udiv i32 %v2_c0, 2
  %v12_c2 = and i32 %tmp270, 32512
  %v2_c0.masked = and i32 %v2_c0, -65281
  %v13_c2 = or i32 %v4_c0, %v2_c0.masked
  %v14_c2 = or i32 %v13_c2, %v12_c2
  store i32 %v14_c2, i32* @eax, align 8
  %v15_c221 = and i32 %v2_c0, 256
  %v16_c2 = icmp ne i32 %v15_c221, 0
  %v1_c4 = icmp eq i1 %v16_c2, false
  %v0_eb = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_eb = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_eb = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  br i1 %v1_c4, label %dec_label_pc_eb, label %dec_label_pc_c6

dec_label_pc_6c:                                  ; preds = %dec_label_pc_0
  %v4_6c = fdiv x86_fp80 %v3_6c, %v2_6c
  %v4_72 = fadd x86_fp80 %v4_6c, 0xKBFFF8000000000000000
  store x86_fp80 %v4_72, x86_fp80* %st5.global-to-local, align 4
  %v3_74 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_74 = fpext double %v3_74 to x86_fp80
  %v3_76 = fmul x86_fp80 %v4_74, %v4_74
  store x86_fp80 %v3_76, x86_fp80* %st4.global-to-local, align 4
  %tmp271 = bitcast double %v3_74 to i64
  %tmp272 = trunc i64 %tmp271 to i32
  %v2_78 = add i32 %tmp272, 8
  %v3_78 = inttoptr i32 %v2_78 to double*
  %v4_78 = load double, double* %v3_78, align 4
  %v5_78 = fpext double %v4_78 to x86_fp80
  %v6_78 = add i3 %v0_6c, -1
  %v3_7b = fmul x86_fp80 %v5_78, %v5_78
  %v4_7d = fsub x86_fp80 %v3_76, %v3_7b
  %v4_7f = fmul x86_fp80 %v4_72, %v4_7d
  store x86_fp80 %v4_7f, x86_fp80* %st4.global-to-local, align 4
  store i3 %v6_78, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_83 = load double, double* %v3_78, align 4
  %v6_83 = fpext double %v5_83 to x86_fp80
  %v7_83 = fmul x86_fp80 %v4_74, %v6_83
  %v2_64.pre = load i32, i32* @edx, align 8
  br label %dec_label_pc_60

dec_label_pc_c6:                                  ; preds = %dec_label_pc_60
  %v4_c6 = fdiv x86_fp80 %v2_eb, %v3_eb
  %v4_cc = fsub x86_fp80 0xK3FFF8000000000000000, %v4_c6
  store x86_fp80 %v4_cc, x86_fp80* %st5.global-to-local, align 4
  %v3_ce = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_ce = fpext double %v3_ce to x86_fp80
  %v3_d0 = fmul x86_fp80 %v4_ce, %v4_ce
  %v3_d2 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_d2 = fpext double %v3_d2 to x86_fp80
  %v5_d2 = add i3 %v0_eb, -1
  %v3_d4 = fmul x86_fp80 %v4_d2, %v4_d2
  %v4_d6 = fsub x86_fp80 %v3_d0, %v3_d4
  %v4_d8 = fmul x86_fp80 %v4_cc, %v4_d6
  store x86_fp80 %v4_d8, x86_fp80* %st4.global-to-local, align 4
  store i3 %v5_d2, i3* %fpu_stat_TOP.global-to-local, align 1
  %v6_dd = fmul x86_fp80 %v4_ce, %v4_d2
  %tmp273 = bitcast double %v3_d2 to i64
  %tmp274 = trunc i64 %tmp273 to i32
  br label %dec_label_pc_df

dec_label_pc_df:                                  ; preds = %dec_label_pc_eb, %dec_label_pc_c6
  %v2_e3 = phi i32 [ %tmp274, %dec_label_pc_c6 ], [ %v2_e3.pre, %dec_label_pc_eb ]
  %v0_e3 = phi i3 [ %v5_d2, %dec_label_pc_c6 ], [ %v6_f7, %dec_label_pc_eb ]
  %v3_e1 = phi x86_fp80 [ %v4_cc, %dec_label_pc_c6 ], [ %v4_f1, %dec_label_pc_eb ]
  %storemerge15.in.in = phi x86_fp80 [ %v6_dd, %dec_label_pc_c6 ], [ %v7_102, %dec_label_pc_eb ]
  %v3_df = fadd x86_fp80 %storemerge15.in.in, %storemerge15.in.in
  %v4_e1 = fmul x86_fp80 %v3_e1, %v3_df
  %v3_e3 = fptrunc x86_fp80 %v4_e1 to double
  %v4_e3 = inttoptr i32 %v2_e3 to double*
  store double %v3_e3, double* %v4_e3, align 4
  %v1_e5 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v2_e5 = load i32, i32* %ebx.global-to-local, align 4
  %v3_e5 = fptrunc x86_fp80 %v1_e5 to double
  %v4_e5 = inttoptr i32 %v2_e5 to double*
  store double %v3_e5, double* %v4_e5, align 4
  %v1_107 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_107 = load i32, i32* @ecx, align 8
  %v3_107 = add i32 %v2_107, 8
  %v4_107 = fptrunc x86_fp80 %v1_107 to double
  %v5_107 = inttoptr i32 %v3_107 to double*
  store double %v4_107, double* %v5_107, align 4
  %v1_10a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_10a = load i32, i32* @ecx, align 8
  %v3_10a = fptrunc x86_fp80 %v1_10a to double
  %v4_10a = inttoptr i32 %v2_10a to double*
  store double %v3_10a, double* %v4_10a, align 4
  %v3_10c = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_10c = fpext double %v3_10c to x86_fp80
  %v4_10e = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_10e = fpext double %v4_10e to x86_fp80
  %v6_10e = fmul x86_fp80 %v4_10c, %v5_10e
  store x86_fp80 %v6_10e, x86_fp80* %st7.global-to-local, align 4
  %v3_110 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_110 = fpext double %v3_110 to x86_fp80
  %tmp275 = bitcast double %v4_10e to i64
  %tmp276 = trunc i64 %tmp275 to i32
  %v3_112 = add i32 %tmp276, 8
  %v4_112 = inttoptr i32 %v3_112 to double*
  %v5_112 = load double, double* %v4_112, align 4
  %v6_112 = fpext double %v5_112 to x86_fp80
  %v7_112 = fmul x86_fp80 %v4_110, %v6_112
  %v4_115 = fsub x86_fp80 %v6_10e, %v7_112
  %v3_117 = fadd x86_fp80 %v4_115, %v4_115
  store x86_fp80 %v3_117, x86_fp80* %st7.global-to-local, align 4
  %v3_12a = fmul x86_fp80 %v4_10c, %v4_10c
  %v5_12c = add i3 %v0_e3, 1
  %v3_12e = fmul x86_fp80 %v4_110, %v4_110
  %v4_130 = fadd x86_fp80 %v3_12a, %v3_12e
  store x86_fp80 %v4_130, x86_fp80* %st5.global-to-local, align 4
  %v3_134 = fmul x86_fp80 %v5_10e, %v5_10e
  store x86_fp80 %v3_134, x86_fp80* %st4.global-to-local, align 4
  %v4_136 = load double, double* %v4_112, align 4
  %v5_136 = fpext double %v4_136 to x86_fp80
  %v3_139 = fmul x86_fp80 %v5_136, %v5_136
  %v4_13b = fadd x86_fp80 %v3_134, %v3_139
  store x86_fp80 %v4_13b, x86_fp80* %st4.global-to-local, align 4
  store i3 %v5_12c, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_13f = load i32, i32* %fpsw.global-to-local, align 4
  %v1_13f = call i16 @__asm_fnstsw(i32 %v0_13f)
  %v2_13f = sext i16 %v1_13f to i32
  %v3_13f = load i32, i32* @eax, align 8
  %v4_13f = and i32 %v3_13f, -65536
  %tmp277 = udiv i32 %v2_13f, 2
  %v12_141 = and i32 %tmp277, 32512
  %v2_13f.masked = and i32 %v2_13f, -65281
  %v13_141 = or i32 %v4_13f, %v2_13f.masked
  %v14_141 = or i32 %v13_141, %v12_141
  store i32 %v14_141, i32* @eax, align 8
  %v15_14122 = and i32 %v2_13f, 256
  %v16_141 = icmp ne i32 %v15_14122, 0
  %v1_143 = icmp eq i1 %v16_141, false
  %v0_16a = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_16a = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_16a = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  br i1 %v1_143, label %dec_label_pc_16a, label %dec_label_pc_145

dec_label_pc_eb:                                  ; preds = %dec_label_pc_60
  %v4_eb = fdiv x86_fp80 %v3_eb, %v2_eb
  %v4_f1 = fadd x86_fp80 %v4_eb, 0xKBFFF8000000000000000
  store x86_fp80 %v4_f1, x86_fp80* %st5.global-to-local, align 4
  %v3_f3 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_f3 = fpext double %v3_f3 to x86_fp80
  %v3_f5 = fmul x86_fp80 %v4_f3, %v4_f3
  store x86_fp80 %v3_f5, x86_fp80* %st4.global-to-local, align 4
  %tmp278 = bitcast double %v3_f3 to i64
  %tmp279 = trunc i64 %tmp278 to i32
  %v2_f7 = add i32 %tmp279, 8
  %v3_f7 = inttoptr i32 %v2_f7 to double*
  %v4_f7 = load double, double* %v3_f7, align 4
  %v5_f7 = fpext double %v4_f7 to x86_fp80
  %v6_f7 = add i3 %v0_eb, -1
  %v3_fa = fmul x86_fp80 %v5_f7, %v5_f7
  %v4_fc = fsub x86_fp80 %v3_f5, %v3_fa
  %v4_fe = fmul x86_fp80 %v4_f1, %v4_fc
  store x86_fp80 %v4_fe, x86_fp80* %st4.global-to-local, align 4
  store i3 %v6_f7, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_102 = load double, double* %v3_f7, align 4
  %v6_102 = fpext double %v5_102 to x86_fp80
  %v7_102 = fmul x86_fp80 %v4_f3, %v6_102
  %v2_e3.pre = load i32, i32* @edx, align 8
  br label %dec_label_pc_df

dec_label_pc_145:                                 ; preds = %dec_label_pc_df
  %v4_145 = fdiv x86_fp80 %v2_16a, %v3_16a
  %v4_14b = fsub x86_fp80 0xK3FFF8000000000000000, %v4_145
  store x86_fp80 %v4_14b, x86_fp80* %st5.global-to-local, align 4
  %v3_14d = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_14d = fpext double %v3_14d to x86_fp80
  %v3_14f = fmul x86_fp80 %v4_14d, %v4_14d
  %v3_151 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_151 = fpext double %v3_151 to x86_fp80
  %v5_151 = add i3 %v0_16a, -1
  %v3_153 = fmul x86_fp80 %v4_151, %v4_151
  %v4_155 = fsub x86_fp80 %v3_14f, %v3_153
  %v4_157 = fmul x86_fp80 %v4_14b, %v4_155
  store x86_fp80 %v4_157, x86_fp80* %st4.global-to-local, align 4
  store i3 %v5_151, i3* %fpu_stat_TOP.global-to-local, align 1
  %v6_15c = fmul x86_fp80 %v4_14d, %v4_151
  %tmp280 = bitcast double %v3_151 to i64
  %tmp281 = trunc i64 %tmp280 to i32
  br label %dec_label_pc_15e

dec_label_pc_15e:                                 ; preds = %dec_label_pc_16a, %dec_label_pc_145
  %v2_162 = phi i32 [ %tmp281, %dec_label_pc_145 ], [ %v2_162.pre, %dec_label_pc_16a ]
  %v0_162 = phi i3 [ %v5_151, %dec_label_pc_145 ], [ %v6_176, %dec_label_pc_16a ]
  %v3_160 = phi x86_fp80 [ %v4_14b, %dec_label_pc_145 ], [ %v4_170, %dec_label_pc_16a ]
  %storemerge17.in.in = phi x86_fp80 [ %v6_15c, %dec_label_pc_145 ], [ %v7_181, %dec_label_pc_16a ]
  %v3_15e = fadd x86_fp80 %storemerge17.in.in, %storemerge17.in.in
  %v4_160 = fmul x86_fp80 %v3_160, %v3_15e
  %v3_162 = fptrunc x86_fp80 %v4_160 to double
  %v4_162 = inttoptr i32 %v2_162 to double*
  store double %v3_162, double* %v4_162, align 4
  %v1_164 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v2_164 = load i32, i32* %ebx.global-to-local, align 4
  %v3_164 = fptrunc x86_fp80 %v1_164 to double
  %v4_164 = inttoptr i32 %v2_164 to double*
  store double %v3_164, double* %v4_164, align 4
  %v1_186 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_186 = load i32, i32* @ecx, align 8
  %v3_186 = add i32 %v2_186, 8
  %v4_186 = fptrunc x86_fp80 %v1_186 to double
  %v5_186 = inttoptr i32 %v3_186 to double*
  store double %v4_186, double* %v5_186, align 4
  %v1_189 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_189 = load i32, i32* @ecx, align 8
  %v3_189 = fptrunc x86_fp80 %v1_189 to double
  %v4_189 = inttoptr i32 %v2_189 to double*
  store double %v3_189, double* %v4_189, align 4
  %v1_18b = load i32, i32* %esi.global-to-local, align 4
  %v2_18b = add i32 %v1_18b, 24
  %v3_18b = inttoptr i32 %v2_18b to double*
  %v4_18b = load double, double* %v3_18b, align 4
  %v5_18b = fpext double %v4_18b to x86_fp80
  %v4_18e = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_18e = fpext double %v4_18e to x86_fp80
  %v6_18e = fadd x86_fp80 %v5_18b, %v5_18e
  store x86_fp80 %v6_18e, x86_fp80* %st7.global-to-local, align 4
  %v3_190 = fptrunc x86_fp80 %v6_18e to double
  store double %v3_190, double* %v4_164, align 4
  %v2_192 = add i32 %v1_18b, 32
  %v3_192 = inttoptr i32 %v2_192 to double*
  %v4_192 = load double, double* %v3_192, align 4
  %v5_192 = fpext double %v4_192 to x86_fp80
  %v4_195 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_195 = fpext double %v4_195 to x86_fp80
  %v6_195 = fadd x86_fp80 %v5_192, %v5_195
  store x86_fp80 %v6_195, x86_fp80* %st7.global-to-local, align 4
  %tmp282 = bitcast double %v4_195 to i64
  %tmp283 = trunc i64 %tmp282 to i32
  %v3_197 = fptrunc x86_fp80 %v6_195 to double
  %v4_197 = inttoptr i32 %tmp283 to double*
  store double %v3_197, double* %v4_197, align 4
  %v2_199 = add i32 %v1_18b, 40
  %v3_199 = inttoptr i32 %v2_199 to double*
  %v4_199 = load double, double* %v3_199, align 4
  %v5_199 = fpext double %v4_199 to x86_fp80
  %v4_19c = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_19c = fpext double %v4_19c to x86_fp80
  %v6_19c = fadd x86_fp80 %v5_199, %v5_19c
  store x86_fp80 %v6_19c, x86_fp80* %st7.global-to-local, align 4
  %tmp284 = bitcast double %v4_19c to i64
  %tmp285 = trunc i64 %tmp284 to i32
  %v3_19e = fptrunc x86_fp80 %v6_19c to double
  %v4_19e = inttoptr i32 %tmp285 to double*
  store double %v3_19e, double* %v4_19e, align 4
  %v2_1a0 = add i32 %v1_18b, -56
  %v3_1a0 = inttoptr i32 %v2_1a0 to double*
  %v4_1a0 = load double, double* %v3_1a0, align 4
  %v5_1a0 = fpext double %v4_1a0 to x86_fp80
  store x86_fp80 %v5_1a0, x86_fp80* %st7.global-to-local, align 4
  %v2_1a3 = load i32, i32* %edi.global-to-local, align 4
  %v3_1a3 = add i32 %v2_1a3, -16
  %v4_1a3 = inttoptr i32 %v3_1a3 to double*
  %v5_1a3 = load double, double* %v4_1a3, align 4
  %v6_1a3 = fpext double %v5_1a3 to x86_fp80
  %v7_1a3 = fadd x86_fp80 %v5_1a0, %v6_1a3
  store x86_fp80 %v7_1a3, x86_fp80* %st7.global-to-local, align 4
  %v2_1a6 = load i32, i32* @ecx, align 8
  %v3_1a6 = add i32 %v2_1a6, 8
  %v4_1a6 = inttoptr i32 %v3_1a6 to double*
  %v5_1a6 = load double, double* %v4_1a6, align 4
  %v6_1a6 = fpext double %v5_1a6 to x86_fp80
  %v7_1a6 = fadd x86_fp80 %v7_1a3, %v6_1a6
  store x86_fp80 %v7_1a6, x86_fp80* %st7.global-to-local, align 4
  %v4_1a9 = fptrunc x86_fp80 %v7_1a6 to double
  store double %v4_1a9, double* %v4_1a6, align 4
  %v6_1a9 = add i3 %v0_162, -3
  store i3 %v6_1a9, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_164, i32* @eax, align 8
  store i32 %v0_5, i32* %edi.global-to-local, align 4
  store i32 %v0_4, i32* %esi.global-to-local, align 4
  store i32 %v0_3, i32* %ebx.global-to-local, align 4
  ret i32 %v2_164

dec_label_pc_16a:                                 ; preds = %dec_label_pc_df
  %v4_16a = fdiv x86_fp80 %v3_16a, %v2_16a
  %v4_170 = fadd x86_fp80 %v4_16a, 0xKBFFF8000000000000000
  store x86_fp80 %v4_170, x86_fp80* %st5.global-to-local, align 4
  %v3_172 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_172 = fpext double %v3_172 to x86_fp80
  %v3_174 = fmul x86_fp80 %v4_172, %v4_172
  store x86_fp80 %v3_174, x86_fp80* %st4.global-to-local, align 4
  %tmp286 = bitcast double %v3_172 to i64
  %tmp287 = trunc i64 %tmp286 to i32
  %v2_176 = add i32 %tmp287, 8
  %v3_176 = inttoptr i32 %v2_176 to double*
  %v4_176 = load double, double* %v3_176, align 4
  %v5_176 = fpext double %v4_176 to x86_fp80
  %v6_176 = add i3 %v0_16a, -1
  %v3_179 = fmul x86_fp80 %v5_176, %v5_176
  %v4_17b = fsub x86_fp80 %v3_174, %v3_179
  %v4_17d = fmul x86_fp80 %v4_170, %v4_17b
  store x86_fp80 %v4_17d, x86_fp80* %st4.global-to-local, align 4
  store i3 %v6_176, i3* %fpu_stat_TOP.global-to-local, align 1
  %v5_181 = load double, double* %v3_176, align 4
  %v6_181 = fpext double %v5_181 to x86_fp80
  %v7_181 = fmul x86_fp80 %v4_172, %v6_181
  %v2_162.pre = load i32, i32* @edx, align 8
  br label %dec_label_pc_15e
}

declare i16 @__asm_fnstsw(i32) local_unnamed_addr
