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
  %st6.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
  %v0_6 = load i32, i32* @eax, align 8
  store i32 %v0_6, i32* %ebx.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_b = add i32 %arg1, 48
  %v2_b = inttoptr i32 %v1_b to i32*
  %v3_b = load i32, i32* %v2_b, align 4
  store i32 %v3_b, i32* %edi.global-to-local, align 4
  %v0_e = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_e = load i32, i32* @ecx, align 8
  %v2_e = add i32 %v1_e, 8
  %v3_e = inttoptr i32 %v2_e to double*
  %v4_e = load double, double* %v3_e, align 4
  %tmp267 = call double @llvm.fabs.f64(double %v4_e)
  %v2_11 = fpext double %tmp267 to x86_fp80
  store x86_fp80 %v2_11, x86_fp80* %st7.global-to-local, align 4
  %v3_13 = load double, double* bitcast (i32* @ecx to double*), align 8
  %tmp268 = call double @llvm.fabs.f64(double %v3_13)
  %v2_15 = fpext double %tmp268 to x86_fp80
  store x86_fp80 %v2_15, x86_fp80* %st6.global-to-local, align 4
  %v3_17 = load double, double* bitcast (i32* @edx to double*), align 8
  %tmp269 = call double @llvm.fabs.f64(double %v3_17)
  %v2_19 = fpext double %tmp269 to x86_fp80
  store x86_fp80 %v2_19, x86_fp80* %st5.global-to-local, align 4
  %v3_1b = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_1b = xor i3 %v0_e, -4
  store i3 %v5_1b, i3* %fpu_stat_TOP.global-to-local, align 1
  %tmp270 = call double @llvm.fabs.f64(double %v3_1b)
  %v2_1d = fpext double %tmp270 to x86_fp80
  store x86_fp80 %v2_1d, x86_fp80* %st4.global-to-local, align 4
  %v0_21 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_21 = call i16 @__asm_fnstsw(i32 %v0_21)
  %v2_21 = sext i16 %v1_21 to i32
  %v3_21 = load i32, i32* @eax, align 8
  %v4_21 = and i32 %v3_21, -65536
  %tmp271 = udiv i32 %v2_21, 2
  %v12_23 = and i32 %tmp271, 32512
  %v2_21.masked = and i32 %v2_21, -65281
  %v13_23 = or i32 %v4_21, %v2_21.masked
  %v14_23 = or i32 %v13_23, %v12_23
  store i32 %v14_23, i32* @eax, align 8
  %v15_2325 = and i32 %v2_21, 256
  %v16_23 = icmp ne i32 %v15_2325, 0
  %v1_25 = icmp eq i1 %v16_23, false
  br i1 %v1_25, label %dec_label_pc_29, label %dec_label_pc_27

dec_label_pc_27:                                  ; preds = %dec_label_pc_0
  %v2_27 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_27 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v3_27, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v2_27, x86_fp80* %st5.global-to-local, align 4
  br label %dec_label_pc_29

dec_label_pc_29:                                  ; preds = %dec_label_pc_27, %dec_label_pc_0
  %v0_2b = load i32, i32* %fpsw.global-to-local, align 4
  %v1_2b = call i16 @__asm_fnstsw(i32 %v0_2b)
  %v2_2b = sext i16 %v1_2b to i32
  %v3_2b = load i32, i32* @eax, align 8
  %v4_2b = and i32 %v3_2b, -65536
  %tmp272 = udiv i32 %v2_2b, 2
  %v12_2d = and i32 %tmp272, 32512
  %v2_2b.masked = and i32 %v2_2b, -65281
  %v13_2d = or i32 %v4_2b, %v2_2b.masked
  %v14_2d = or i32 %v13_2d, %v12_2d
  store i32 %v14_2d, i32* @eax, align 8
  %v0_37 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_37 = call i16 @__asm_fnstsw(i32 %v0_37)
  %v2_37 = sext i16 %v1_37 to i32
  %v3_37 = load i32, i32* @eax, align 8
  %v4_37 = and i32 %v3_37, -65536
  %tmp273 = udiv i32 %v2_37, 2
  %v12_39 = and i32 %tmp273, 32512
  %v2_37.masked = and i32 %v2_37, -65281
  %v13_39 = or i32 %v4_37, %v2_37.masked
  %v14_39 = or i32 %v13_39, %v12_39
  store i32 %v14_39, i32* @eax, align 8
  %v0_44 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_44 = call i16 @__asm_fnstsw(i32 %v0_44)
  %v2_44 = sext i16 %v1_44 to i32
  %v3_44 = load i32, i32* @eax, align 8
  %v4_44 = and i32 %v3_44, -65536
  %tmp274 = udiv i32 %v2_44, 2
  %v12_46 = and i32 %tmp274, 32512
  %v2_44.masked = and i32 %v2_44, -65281
  %v13_46 = or i32 %v4_44, %v2_44.masked
  %v14_46 = or i32 %v13_46, %v12_46
  store i32 %v14_46, i32* @eax, align 8
  %v0_54 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_54 = call i16 @__asm_fnstsw(i32 %v0_54)
  %v2_54 = sext i16 %v1_54 to i32
  %v3_54 = load i32, i32* @eax, align 8
  %v4_54 = and i32 %v3_54, -65536
  %tmp275 = udiv i32 %v2_54, 2
  %v12_56 = and i32 %tmp275, 32512
  %v2_54.masked = and i32 %v2_54, -65281
  %v13_56 = or i32 %v4_54, %v2_54.masked
  %v14_56 = or i32 %v13_56, %v12_56
  store i32 %v14_56, i32* @eax, align 8
  %v0_66 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_66 = call i16 @__asm_fnstsw(i32 %v0_66)
  %v2_66 = sext i16 %v1_66 to i32
  %v3_66 = load i32, i32* @eax, align 8
  %v4_66 = and i32 %v3_66, -65536
  %tmp276 = udiv i32 %v2_66, 2
  %v12_68 = and i32 %tmp276, 32512
  %v2_66.masked = and i32 %v2_66, -65281
  %v13_68 = or i32 %v4_66, %v2_66.masked
  %v14_68 = or i32 %v13_68, %v12_68
  store i32 %v14_68, i32* @eax, align 8
  %v0_72 = load i32, i32* %edi.global-to-local, align 4
  %v1_72 = add i32 %v0_72, -40
  store i32 %v1_72, i32* %edi.global-to-local, align 4
  %v0_75 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_75 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_75, x86_fp80* %st6.global-to-local, align 4
  %v3_77 = add i32 %v0_72, -52
  %v4_77 = inttoptr i32 %v3_77 to float*
  %v5_77 = load float, float* %v4_77, align 4
  %v6_77 = fpext float %v5_77 to x86_fp80
  %v7_77 = fmul x86_fp80 %v1_75, %v6_77
  store x86_fp80 %v7_77, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_75, x86_fp80* %st5.global-to-local, align 4
  %v3_7c = add i32 %v0_72, -56
  %v4_7c = inttoptr i32 %v3_7c to float*
  %v5_7c = load float, float* %v4_7c, align 4
  %v6_7c = fpext float %v5_7c to x86_fp80
  %v7_7c = fmul x86_fp80 %v1_75, %v6_7c
  %v4_7f = fadd x86_fp80 %v7_77, %v7_7c
  store x86_fp80 %v4_7f, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_75, x86_fp80* %st5.global-to-local, align 4
  %v3_83 = add i32 %v0_72, -60
  %v4_83 = inttoptr i32 %v3_83 to float*
  %v5_83 = load float, float* %v4_83, align 4
  %v6_83 = fpext float %v5_83 to x86_fp80
  %v7_83 = fmul x86_fp80 %v1_75, %v6_83
  %v4_86 = fadd x86_fp80 %v4_7f, %v7_83
  store x86_fp80 %v4_86, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_75, x86_fp80* %st5.global-to-local, align 4
  %v3_8a = add i32 %v0_72, -64
  %v4_8a = inttoptr i32 %v3_8a to float*
  %v5_8a = load float, float* %v4_8a, align 4
  %v6_8a = fpext float %v5_8a to x86_fp80
  %v7_8a = fmul x86_fp80 %v1_75, %v6_8a
  store x86_fp80 %v7_8a, x86_fp80* %st5.global-to-local, align 4
  %v4_8d = fadd x86_fp80 %v4_86, %v7_8a
  %v2_8f = load i32, i32* %ebx.global-to-local, align 4
  %v3_8f = fptrunc x86_fp80 %v4_8d to double
  %v4_8f = inttoptr i32 %v2_8f to double*
  store double %v3_8f, double* %v4_8f, align 4
  %v1_91 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_91, x86_fp80* %st6.global-to-local, align 4
  %v3_93 = add i32 %v0_72, -68
  %v4_93 = inttoptr i32 %v3_93 to float*
  %v5_93 = load float, float* %v4_93, align 4
  %v6_93 = fpext float %v5_93 to x86_fp80
  %v7_93 = fmul x86_fp80 %v1_91, %v6_93
  store x86_fp80 %v7_93, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_91, x86_fp80* %st5.global-to-local, align 4
  %v3_98 = add i32 %v0_72, -72
  %v4_98 = inttoptr i32 %v3_98 to float*
  %v5_98 = load float, float* %v4_98, align 4
  %v6_98 = fpext float %v5_98 to x86_fp80
  %v7_98 = fmul x86_fp80 %v1_91, %v6_98
  %v4_9b = fadd x86_fp80 %v7_93, %v7_98
  store x86_fp80 %v4_9b, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_91, x86_fp80* %st5.global-to-local, align 4
  %v3_9f = add i32 %v0_72, -76
  %v4_9f = inttoptr i32 %v3_9f to float*
  %v5_9f = load float, float* %v4_9f, align 4
  %v6_9f = fpext float %v5_9f to x86_fp80
  %v7_9f = fmul x86_fp80 %v1_91, %v6_9f
  %v4_a2 = fadd x86_fp80 %v4_9b, %v7_9f
  store x86_fp80 %v4_a2, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_91, x86_fp80* %st5.global-to-local, align 4
  %v3_a6 = add i32 %v0_72, -80
  %v4_a6 = inttoptr i32 %v3_a6 to float*
  %v5_a6 = load float, float* %v4_a6, align 4
  %v6_a6 = fpext float %v5_a6 to x86_fp80
  %v7_a6 = fmul x86_fp80 %v1_91, %v6_a6
  store x86_fp80 %v7_a6, x86_fp80* %st5.global-to-local, align 4
  %v4_a9 = fadd x86_fp80 %v4_a2, %v7_a6
  %v2_ab = load i32, i32* @edx, align 8
  %v3_ab = fptrunc x86_fp80 %v4_a9 to double
  %v4_ab = inttoptr i32 %v2_ab to double*
  store double %v3_ab, double* %v4_ab, align 4
  %v1_ad = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_ad, x86_fp80* %st6.global-to-local, align 4
  %v3_af = add i32 %v0_72, -84
  %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 %v1_ad, %v6_af
  store x86_fp80 %v7_af, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_ad, x86_fp80* %st5.global-to-local, align 4
  %v3_b4 = add i32 %v0_72, -88
  %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 %v1_ad, %v6_b4
  %v4_b7 = fadd x86_fp80 %v7_af, %v7_b4
  store x86_fp80 %v4_b7, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_ad, x86_fp80* %st5.global-to-local, align 4
  %v3_bb = add i32 %v0_72, -92
  %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 %v1_ad, %v6_bb
  %v4_be = fadd x86_fp80 %v4_b7, %v7_bb
  store x86_fp80 %v4_be, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_ad, x86_fp80* %st5.global-to-local, align 4
  %v3_c2 = add i32 %v0_72, -96
  %v4_c2 = inttoptr i32 %v3_c2 to float*
  %v5_c2 = load float, float* %v4_c2, align 4
  %v6_c2 = fpext float %v5_c2 to x86_fp80
  %v7_c2 = fmul x86_fp80 %v1_ad, %v6_c2
  store x86_fp80 %v7_c2, x86_fp80* %st5.global-to-local, align 4
  %v4_c5 = fadd x86_fp80 %v4_be, %v7_c2
  store x86_fp80 %v4_c5, x86_fp80* %st6.global-to-local, align 4
  %v2_c7 = load i32, i32* @ecx, align 8
  %v3_c7 = fptrunc x86_fp80 %v4_c5 to double
  %v4_c7 = inttoptr i32 %v2_c7 to double*
  store double %v3_c7, double* %v4_c7, align 4
  %v1_c9 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_c9 = add i32 %v0_72, -100
  %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 %v1_c9, %v6_c9
  store x86_fp80 %v7_c9, x86_fp80* %st7.global-to-local, align 4
  %v3_ce = add i32 %v0_72, -104
  %v4_ce = inttoptr i32 %v3_ce to float*
  %v5_ce = load float, float* %v4_ce, align 4
  %v6_ce = fpext float %v5_ce to x86_fp80
  %v7_ce = fmul x86_fp80 %v7_c9, %v6_ce
  %v4_d1 = fadd x86_fp80 %v7_ce, %v7_ce
  store x86_fp80 %v4_d1, x86_fp80* %st7.global-to-local, align 4
  %v3_d5 = add i32 %v0_72, -108
  %v4_d5 = inttoptr i32 %v3_d5 to float*
  %v5_d5 = load float, float* %v4_d5, align 4
  %v6_d5 = fpext float %v5_d5 to x86_fp80
  %v7_d5 = fmul x86_fp80 %v4_d1, %v6_d5
  %v4_d8 = fadd x86_fp80 %v7_d5, %v7_d5
  store x86_fp80 %v4_d8, x86_fp80* %st7.global-to-local, align 4
  %v3_dc = add i32 %v0_72, -112
  %v4_dc = inttoptr i32 %v3_dc to float*
  %v5_dc = load float, float* %v4_dc, align 4
  %v6_dc = fpext float %v5_dc to x86_fp80
  %v7_dc = fmul x86_fp80 %v4_d8, %v6_dc
  %v4_df = fadd x86_fp80 %v7_dc, %v7_dc
  store x86_fp80 %v4_df, x86_fp80* %st7.global-to-local, align 4
  %v2_e4 = add i32 %v0_72, -16
  %v3_e4 = inttoptr i32 %v2_e4 to double*
  %v4_e4 = load double, double* %v3_e4, align 4
  %v5_e4 = fpext double %v4_e4 to x86_fp80
  %v4_e7 = fmul x86_fp80 %v5_e4, %v5_e4
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v4_eb = fadd x86_fp80 %v4_e7, 0xKBFFF8000000000000000
  store x86_fp80 %v4_eb, x86_fp80* %st7.global-to-local, align 4
  %v3_ed = add i32 %v0_72, -48
  %v4_ed = inttoptr i32 %v3_ed to double*
  %v5_ed = load double, double* %v4_ed, align 4
  %v6_ed = fpext double %v5_ed to x86_fp80
  %v7_ed = fmul x86_fp80 %v4_eb, %v6_ed
  %v4_f0 = fsub x86_fp80 %v7_ed, %v7_ed
  %v2_f2 = load i32, i32* @ecx, align 8
  %v3_f2 = add i32 %v2_f2, 8
  %v4_f2 = fptrunc x86_fp80 %v4_f0 to double
  %v5_f2 = inttoptr i32 %v3_f2 to double*
  store double %v4_f2, double* %v5_f2, align 4
  %v3_f5 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_f5 = fpext double %v3_f5 to x86_fp80
  store x86_fp80 %v4_f5, x86_fp80* %st7.global-to-local, align 4
  %v3_f7 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_f7 = fpext double %v3_f7 to x86_fp80
  store x86_fp80 %v4_f7, x86_fp80* %st6.global-to-local, align 4
  %v3_f9 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_f9 = fpext double %v3_f9 to x86_fp80
  store x86_fp80 %v4_f9, x86_fp80* %st5.global-to-local, align 4
  %v4_fb = load double, double* %v3_e4, align 4
  %v5_fb = fpext double %v4_fb to x86_fp80
  store x86_fp80 %v5_fb, x86_fp80* %st4.global-to-local, align 4
  %v1_fe = load i32, i32* %esi.global-to-local, align 4
  %v2_fe = add i32 %v1_fe, 232
  %v3_fe = inttoptr i32 %v2_fe to double*
  %v4_fe = load double, double* %v3_fe, align 4
  %v5_fe = fpext double %v4_fe to x86_fp80
  %v4_104 = fmul x86_fp80 %v5_fb, %v5_fe
  %v4_106 = fptrunc x86_fp80 %v4_104 to double
  store double %v4_106, double* %v3_fe, align 4
  %v2_10e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_10e = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_10e = fmul x86_fp80 %v2_10e, %v3_10e
  store x86_fp80 %v4_10e, x86_fp80* %st6.global-to-local, align 4
  %v2_110 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_110 = fmul x86_fp80 %v3_10e, %v2_110
  store x86_fp80 %v4_110, x86_fp80* %st5.global-to-local, align 4
  %v4_116 = fadd x86_fp80 %v3_10e, 0xKBFFF8000000000000000
  %v3_11c = add i32 %v0_72, -24
  %v4_11c = inttoptr i32 %v3_11c to double*
  %v5_11c = load double, double* %v4_11c, align 4
  %v6_11c = fpext double %v5_11c to x86_fp80
  %v7_11c = fmul x86_fp80 %v4_116, %v6_11c
  %v4_11f = fsub x86_fp80 %v4_10e, %v7_11c
  store x86_fp80 %v4_11f, x86_fp80* %st6.global-to-local, align 4
  %v3_121 = add i32 %v0_72, -32
  %v4_121 = inttoptr i32 %v3_121 to double*
  %v5_121 = load double, double* %v4_121, align 4
  %v6_121 = fpext double %v5_121 to x86_fp80
  %v7_121 = fmul x86_fp80 %v4_116, %v6_121
  %v4_124 = fsub x86_fp80 %v4_110, %v7_121
  store x86_fp80 %v4_124, x86_fp80* %st5.global-to-local, align 4
  %v4_126 = fdiv x86_fp80 %v4_116, %v3_10e
  %v4_128 = inttoptr i32 %v1_72 to double*
  %v5_128 = load double, double* %v4_128, align 4
  %v6_128 = fpext double %v5_128 to x86_fp80
  %v7_128 = fmul x86_fp80 %v4_126, %v6_128
  %v2_12b = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_12b = fsub x86_fp80 %v2_12b, %v7_128
  %v2_12f = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_12b)
  %v4_131 = fsub x86_fp80 %v7_128, %v2_12f
  %v4_133 = fmul x86_fp80 %v3_10e, %v4_131
  store x86_fp80 %v4_133, x86_fp80* %st7.global-to-local, align 4
  %v2_135 = load i32, i32* @edx, align 8
  %v3_135 = fptrunc x86_fp80 %v4_124 to double
  %v4_135 = inttoptr i32 %v2_135 to double*
  store double %v3_135, double* %v4_135, align 4
  %v1_137 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_137 = load i32, i32* %ebx.global-to-local, align 4
  %v3_137 = fptrunc x86_fp80 %v1_137 to double
  %v4_137 = inttoptr i32 %v2_137 to double*
  store double %v3_137, double* %v4_137, align 4
  %v1_139 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_139 = load i32, i32* @ecx, align 8
  %v3_139 = fptrunc x86_fp80 %v1_139 to double
  %v4_139 = inttoptr i32 %v2_139 to double*
  store double %v3_139, double* %v4_139, align 4
  %v5_139 = xor i3 %v0_75, -4
  store i3 %v5_139, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_137, 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_137
}

; Function Attrs: nounwind readnone speculatable
declare x86_fp80 @llvm.fabs.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 }
