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

define i32 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %ebx.global-to-local = alloca i32, align 4
  %ecx.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %edx.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
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  %v0_5 = load i32, i32* %ebx.global-to-local, align 4
  store i32 %arg1, i32* %edi.global-to-local, align 4
  %v0_9 = load i32, i32* @eax, align 8
  store i32 %v0_9, i32* %ebx.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* %esi.global-to-local, align 4
  %v1_e = add i32 %arg1, 128
  store i32 %v1_e, i32* %edi.global-to-local, align 4
  %v1_14 = add i32 %arg1, 208
  %v2_14 = inttoptr i32 %v1_14 to i32*
  %v3_14 = load i32, i32* %v2_14, align 4
  %v10_14 = icmp eq i32 %v3_14, 0
  %v11_14 = icmp slt i32 %v3_14, 0
  %v3_18 = icmp eq i1 %v11_14, false
  %v4_18 = icmp eq i1 %v10_14, false
  %v5_18 = icmp eq i1 %v3_18, %v4_18
  br i1 %v5_18, label %dec_label_pc_0.dec_label_pc_23_crit_edge, label %dec_label_pc_1a

dec_label_pc_0.dec_label_pc_23_crit_edge:         ; preds = %dec_label_pc_0
  %v0_23.pre = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %.pre = add i32 %arg1, 200
  %.pre14 = inttoptr i32 %.pre to double*
  %v4_23.pre = load double, double* %.pre14, align 4
  %.pre263 = fpext double %v4_23.pre to x86_fp80
  br label %dec_label_pc_23

dec_label_pc_1a:                                  ; preds = %dec_label_pc_0
  %v4_1a = add i32 %v3_14, 1
  store i32 %v4_1a, i32* %v2_14, align 4
  %v0_1d = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_1d = load i32, i32* %esi.global-to-local, align 4
  %v2_1d = add i32 %v1_1d, -16
  %v3_1d = inttoptr i32 %v2_1d to double*
  %v4_1d = load double, double* %v3_1d, align 4
  %v5_1d = fpext double %v4_1d to x86_fp80
  store x86_fp80 %v5_1d, x86_fp80* %st7.global-to-local, align 4
  %v2_20 = load i32, i32* %edi.global-to-local, align 4
  %v3_20 = add i32 %v2_20, 72
  %v5_20 = inttoptr i32 %v3_20 to double*
  store double %v4_1d, double* %v5_20, align 4
  br label %dec_label_pc_23

dec_label_pc_23:                                  ; preds = %dec_label_pc_0.dec_label_pc_23_crit_edge, %dec_label_pc_1a
  %v5_23.pre-phi = phi x86_fp80 [ %.pre263, %dec_label_pc_0.dec_label_pc_23_crit_edge ], [ %v5_1d, %dec_label_pc_1a ]
  %v3_23.pre-phi = phi double* [ %.pre14, %dec_label_pc_0.dec_label_pc_23_crit_edge ], [ %v5_20, %dec_label_pc_1a ]
  %v1_62 = phi i32 [ %v3_b, %dec_label_pc_0.dec_label_pc_23_crit_edge ], [ %v1_1d, %dec_label_pc_1a ]
  %v0_23 = phi i3 [ %v0_23.pre, %dec_label_pc_0.dec_label_pc_23_crit_edge ], [ %v0_1d, %dec_label_pc_1a ]
  store x86_fp80 %v5_23.pre-phi, x86_fp80* %st7.global-to-local, align 4
  %v2_2a = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v5_23.pre-phi)
  %v4_2c = fadd x86_fp80 %v2_2a, 0xKBFFF8000000000000000
  %v3_2e = add i32 %v1_62, -48
  %v4_2e = inttoptr i32 %v3_2e to double*
  %v5_2e = load double, double* %v4_2e, align 4
  %v6_2e = fpext double %v5_2e to x86_fp80
  %v7_2e = fmul x86_fp80 %v4_2c, %v6_2e
  %v4_31 = fadd x86_fp80 %v7_2e, %v5_23.pre-phi
  store x86_fp80 %v4_31, x86_fp80* %st7.global-to-local, align 4
  %v4_33 = fptrunc x86_fp80 %v4_31 to double
  store double %v4_33, double* %v3_23.pre-phi, align 4
  %v2_36 = add i32 %v1_62, -40
  %v3_36 = inttoptr i32 %v2_36 to double*
  %v4_36 = load double, double* %v3_36, align 4
  %v5_36 = fpext double %v4_36 to x86_fp80
  store x86_fp80 %v5_36, x86_fp80* %st7.global-to-local, align 4
  %v3_39 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_39 = fpext double %v3_39 to x86_fp80
  %v3_3b = add i32 %v1_62, -56
  %v4_3b = inttoptr i32 %v3_3b to double*
  %v5_3b = load double, double* %v4_3b, align 4
  %v6_3b = fpext double %v5_3b to x86_fp80
  %v7_3b = fadd x86_fp80 %v4_39, %v6_3b
  %v2_3e = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_3b)
  %v4_40 = fsub x86_fp80 %v2_3e, %v5_36
  %v2_43 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_40)
  %v4_47 = fsub x86_fp80 %v5_36, %v2_43
  %tmp255 = call double @llvm.fabs.f64(double %v5_3b)
  %v2_4c = fpext double %tmp255 to x86_fp80
  %v4_50 = fsub x86_fp80 %v4_47, %v2_4c
  %v6_62 = xor i3 %v0_23, -4
  store x86_fp80 %v4_50, x86_fp80* %st7.global-to-local, align 4
  store i3 %v6_62, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_89 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_89 = call i16 @__asm_fnstsw(i32 %v0_89)
  %v2_89 = sext i16 %v1_89 to i32
  %v3_89 = load i32, i32* @eax, align 8
  %v4_89 = and i32 %v3_89, -65536
  %tmp264 = udiv i32 %v2_89, 2
  %v12_8b = and i32 %tmp264, 32512
  %v2_89.masked = and i32 %v2_89, -65281
  %v13_8b = or i32 %v4_89, %v2_89.masked
  %v14_8b = or i32 %v13_8b, %v12_8b
  store i32 %v14_8b, i32* @eax, align 8
  %v15_8b259 = and i32 %v2_89, 256
  %v16_8b = icmp ne i32 %v15_8b259, 0
  %v1_8d = icmp eq i1 %v16_8b, false
  %v0_96 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  br i1 %v1_8d, label %dec_label_pc_96, label %dec_label_pc_8f

dec_label_pc_8f:                                  ; preds = %dec_label_pc_23
  %v1_91 = load i32, i32* %esi.global-to-local, align 4
  %v2_91 = add i32 %v1_91, -24
  %v3_91 = inttoptr i32 %v2_91 to double*
  %v4_91 = load double, double* %v3_91, align 4
  %v5_91 = fpext double %v4_91 to x86_fp80
  store x86_fp80 %v5_91, x86_fp80* %st7.global-to-local, align 4
  %v2_f4.pre = load i32, i32* %edi.global-to-local, align 4
  br label %dec_label_pc_ac

dec_label_pc_96:                                  ; preds = %dec_label_pc_23
  %v1_96 = add i3 %v0_96, -1
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st7.global-to-local, align 4
  store i3 %v1_96, i3* %fpu_stat_TOP.global-to-local, align 1
  %v0_9a = load i32, i32* %fpsw.global-to-local, align 4
  %v1_9a = call i16 @__asm_fnstsw(i32 %v0_9a)
  %v2_9a = sext i16 %v1_9a to i32
  %v3_9a = load i32, i32* @eax, align 8
  %v4_9a = and i32 %v3_9a, -65536
  %tmp265 = udiv i32 %v2_9a, 2
  %v12_9c = and i32 %tmp265, 32512
  %v2_9a.masked = and i32 %v2_9a, -65281
  %v13_9c = or i32 %v4_9a, %v2_9a.masked
  %v14_9c = or i32 %v13_9c, %v12_9c
  store i32 %v14_9c, i32* @eax, align 8
  %v15_9c260 = and i32 %v2_9a, 256
  %v16_9c = icmp eq i32 %v15_9c260, 0
  %v0_a7 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v4_a0 = add i3 %v0_a7, 1
  br i1 %v16_9c, label %dec_label_pc_a0, label %dec_label_pc_a7

dec_label_pc_a0:                                  ; preds = %dec_label_pc_96
  %v2_a7 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store i3 %v4_a0, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_a2 = load i32, i32* %edi.global-to-local, align 4
  %v3_a2 = add i32 %v2_a2, 72
  %v4_a2 = inttoptr i32 %v3_a2 to double*
  %v5_a2 = load double, double* %v4_a2, align 4
  %v6_a2 = fpext double %v5_a2 to x86_fp80
  %v7_a2 = fdiv x86_fp80 %v6_a2, %v2_a7
  store x86_fp80 %v7_a2, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_ac

dec_label_pc_a7:                                  ; preds = %dec_label_pc_96
  %v1_a9 = load i32, i32* %edi.global-to-local, align 4
  %v2_a9 = add i32 %v1_a9, 72
  %v3_a9 = inttoptr i32 %v2_a9 to double*
  %v4_a9 = load double, double* %v3_a9, align 4
  %v5_a9 = fpext double %v4_a9 to x86_fp80
  store i3 %v4_a0, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v5_a9, x86_fp80* %st7.global-to-local, align 4
  br label %dec_label_pc_ac

dec_label_pc_ac:                                  ; preds = %dec_label_pc_a7, %dec_label_pc_a0, %dec_label_pc_8f
  %v2_f4 = phi i32 [ %v1_a9, %dec_label_pc_a7 ], [ %v2_a2, %dec_label_pc_a0 ], [ %v2_f4.pre, %dec_label_pc_8f ]
  %v3_af = phi x86_fp80 [ %v5_a9, %dec_label_pc_a7 ], [ %v7_a2, %dec_label_pc_a0 ], [ %v5_91, %dec_label_pc_8f ]
  %v0_ac = phi i3 [ %v4_a0, %dec_label_pc_a7 ], [ %v4_a0, %dec_label_pc_a0 ], [ %v0_96, %dec_label_pc_8f ]
  %v1_ac = load i32, i32* %ecx.global-to-local, align 8
  %v2_ac = add i32 %v1_ac, 8
  %v3_ac = inttoptr i32 %v2_ac to double*
  %v4_ac = load double, double* %v3_ac, align 4
  %v5_ac = fpext double %v4_ac to x86_fp80
  %v4_af = fmul x86_fp80 %v3_af, %v5_ac
  %v4_b1 = fptrunc x86_fp80 %v4_af to double
  store double %v4_b1, double* %v3_ac, align 4
  %v2_b4 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_b4 = fmul x86_fp80 %v2_b4, %v2_b4
  %v4_b6 = fmul x86_fp80 %v4_b4, %v4_b4
  %v4_b8 = fmul x86_fp80 %v4_b6, %v4_b6
  store x86_fp80 %v4_b8, x86_fp80* %st7.global-to-local, align 4
  %v2_bc = load i32, i32* %esi.global-to-local, align 4
  %v3_bc = add i32 %v2_bc, -100
  %v4_bc = inttoptr i32 %v3_bc to float*
  %v5_bc = load float, float* %v4_bc, align 4
  %v6_bc = fpext float %v5_bc to x86_fp80
  %v7_bc = fmul x86_fp80 %v4_b8, %v6_bc
  store x86_fp80 %v7_bc, x86_fp80* %st7.global-to-local, align 4
  %v3_c1 = add i32 %v2_bc, -104
  %v4_c1 = inttoptr i32 %v3_c1 to float*
  %v5_c1 = load float, float* %v4_c1, align 4
  %v6_c1 = fpext float %v5_c1 to x86_fp80
  %v7_c1 = fmul x86_fp80 %v7_bc, %v6_c1
  %v4_c4 = fadd x86_fp80 %v7_bc, %v7_c1
  store x86_fp80 %v4_c4, x86_fp80* %st7.global-to-local, align 4
  %v3_c8 = add i32 %v2_bc, -108
  %v4_c8 = inttoptr i32 %v3_c8 to float*
  %v5_c8 = load float, float* %v4_c8, align 4
  %v6_c8 = fpext float %v5_c8 to x86_fp80
  %v7_c8 = fmul x86_fp80 %v4_c4, %v6_c8
  %v4_cb = fadd x86_fp80 %v4_c4, %v7_c8
  store x86_fp80 %v4_cb, x86_fp80* %st7.global-to-local, align 4
  %v3_cf = add i32 %v2_bc, -76
  %v4_cf = inttoptr i32 %v3_cf to float*
  %v5_cf = load float, float* %v4_cf, align 4
  %v6_cf = fpext float %v5_cf to x86_fp80
  %v7_cf = fmul x86_fp80 %v4_cb, %v6_cf
  %v3_d4 = add i32 %v2_bc, -80
  %v4_d4 = inttoptr i32 %v3_d4 to float*
  %v5_d4 = load float, float* %v4_d4, align 4
  %v6_d4 = fpext float %v5_d4 to x86_fp80
  %v7_d4 = fmul x86_fp80 %v4_cb, %v6_d4
  %v4_d7 = fadd x86_fp80 %v7_cf, %v7_d4
  %v3_db = add i32 %v2_bc, -84
  %v4_db = inttoptr i32 %v3_db to float*
  %v5_db = load float, float* %v4_db, align 4
  %v6_db = fpext float %v5_db to x86_fp80
  %v7_db = fmul x86_fp80 %v4_cb, %v6_db
  %v4_de = fadd x86_fp80 %v7_db, %v4_d7
  store x86_fp80 %v4_de, x86_fp80* %st7.global-to-local, align 4
  %v3_e2 = add i32 %v2_bc, -88
  %v4_e2 = inttoptr i32 %v3_e2 to float*
  %v5_e2 = load float, float* %v4_e2, align 4
  %v6_e2 = fpext float %v5_e2 to x86_fp80
  %v7_e2 = fmul x86_fp80 %v4_de, %v6_e2
  store x86_fp80 %v7_e2, x86_fp80* %st7.global-to-local, align 4
  %v3_e7 = add i32 %v2_bc, -92
  %v4_e7 = inttoptr i32 %v3_e7 to float*
  %v5_e7 = load float, float* %v4_e7, align 4
  %v6_e7 = fpext float %v5_e7 to x86_fp80
  %v7_e7 = fmul x86_fp80 %v7_e2, %v6_e7
  %v4_ea = fadd x86_fp80 %v7_e7, %v7_e7
  store x86_fp80 %v4_ea, x86_fp80* %st7.global-to-local, align 4
  %v3_ee = add i32 %v2_bc, -96
  %v4_ee = inttoptr i32 %v3_ee to float*
  %v5_ee = load float, float* %v4_ee, align 4
  %v6_ee = fpext float %v5_ee to x86_fp80
  %v7_ee = fmul x86_fp80 %v4_ea, %v6_ee
  %v4_f1 = fadd x86_fp80 %v7_ee, %v7_ee
  store x86_fp80 %v4_f1, x86_fp80* %st7.global-to-local, align 4
  %v3_f4 = add i32 %v2_f4, -88
  %v4_f4 = inttoptr i32 %v3_f4 to double*
  %v5_f4 = load double, double* %v4_f4, align 4
  %v6_f4 = fpext double %v5_f4 to x86_fp80
  %v7_f4 = fadd x86_fp80 %v4_f1, %v6_f4
  store x86_fp80 %v7_f4, x86_fp80* %st7.global-to-local, align 4
  %v2_f7 = load i32, i32* %ecx.global-to-local, align 8
  %v3_f7 = fptrunc x86_fp80 %v7_f4 to double
  %v4_f7 = inttoptr i32 %v2_f7 to double*
  store double %v3_f7, double* %v4_f7, align 4
  %v1_f9 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_f9 = add i32 %v2_f4, -104
  %v4_f9 = inttoptr i32 %v3_f9 to double*
  %v5_f9 = load double, double* %v4_f9, align 4
  %v6_f9 = fpext double %v5_f9 to x86_fp80
  %v7_f9 = fadd x86_fp80 %v1_f9, %v6_f9
  store x86_fp80 %v7_f9, x86_fp80* %st7.global-to-local, align 4
  %v2_fc = load i32, i32* %edx.global-to-local, align 8
  %v3_fc = fptrunc x86_fp80 %v7_f9 to double
  %v4_fc = inttoptr i32 %v2_fc to double*
  store double %v3_fc, double* %v4_fc, align 4
  %v1_fe = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_fe = add i32 %v2_f4, -96
  %v4_fe = inttoptr i32 %v3_fe to double*
  %v5_fe = load double, double* %v4_fe, align 4
  %v6_fe = fpext double %v5_fe to x86_fp80
  %v7_fe = fadd x86_fp80 %v1_fe, %v6_fe
  store x86_fp80 %v7_fe, x86_fp80* %st7.global-to-local, align 4
  %v2_101 = load i32, i32* %ebx.global-to-local, align 4
  %v3_101 = fptrunc x86_fp80 %v7_fe to double
  %v4_101 = inttoptr i32 %v2_101 to double*
  store double %v3_101, double* %v4_101, align 4
  %v5_101 = xor i3 %v0_ac, -4
  store i3 %v5_101, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_101, i32* @eax, align 8
  store i32 %v0_5, i32* %ebx.global-to-local, align 4
  store i32 %v0_4, i32* %edi.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  ret i32 %v2_101
}

; 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 }
