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
  %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
  %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* @eax, align 8
  store i32 %v0_5, i32* %ebx.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_a = add i32 %arg1, 48
  %v2_a = inttoptr i32 %v1_a to i32*
  %v3_a = load i32, i32* %v2_a, align 4
  store i32 %v3_a, i32* %esi.global-to-local, align 4
  %v0_d = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v3_d = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_d = fpext double %v3_d to x86_fp80
  store x86_fp80 %v4_d, x86_fp80* %st7.global-to-local, align 4
  %v3_f = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_f = fpext double %v3_f to x86_fp80
  store x86_fp80 %v4_f, x86_fp80* %st6.global-to-local, align 4
  %v3_11 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_11 = fpext double %v3_11 to x86_fp80
  %v5_11 = add i3 %v0_d, -3
  store i3 %v5_11, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_14 = fsub x86_fp80 0xK80000000000000000000, %v4_11
  store x86_fp80 %v2_14, x86_fp80* %st5.global-to-local, align 4
  %v0_18 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_18 = call i16 @__asm_fnstsw(i32 %v0_18)
  %v2_18 = sext i16 %v1_18 to i32
  %v3_18 = load i32, i32* @eax, align 8
  %v4_18 = and i32 %v3_18, -65536
  %tmp246 = udiv i32 %v2_18, 2
  %v12_1a = and i32 %tmp246, 32512
  %v2_18.masked = and i32 %v2_18, -65281
  %v13_1a = or i32 %v4_18, %v2_18.masked
  %v14_1a = or i32 %v13_1a, %v12_1a
  store i32 %v14_1a, i32* @eax, align 8
  %v15_1a13 = and i32 %v2_18, 256
  %v16_1a = icmp eq i32 %v15_1a13, 0
  br i1 %v16_1a, label %dec_label_pc_1e, label %dec_label_pc_20

dec_label_pc_1e:                                  ; preds = %dec_label_pc_0
  %v2_1e = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_1e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v3_1e, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v2_1e, x86_fp80* %st6.global-to-local, align 4
  br label %dec_label_pc_20

dec_label_pc_20:                                  ; preds = %dec_label_pc_0, %dec_label_pc_1e
  %v0_22 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_22 = call i16 @__asm_fnstsw(i32 %v0_22)
  %v2_22 = sext i16 %v1_22 to i32
  %v3_22 = load i32, i32* @eax, align 8
  %v4_22 = and i32 %v3_22, -65536
  %tmp247 = udiv i32 %v2_22, 2
  %v12_24 = and i32 %tmp247, 32512
  %v2_22.masked = and i32 %v2_22, -65281
  %v13_24 = or i32 %v4_22, %v2_22.masked
  %v14_24 = or i32 %v13_24, %v12_24
  store i32 %v14_24, i32* @eax, align 8
  %v0_32 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_32 = call i16 @__asm_fnstsw(i32 %v0_32)
  %v2_32 = sext i16 %v1_32 to i32
  %v3_32 = load i32, i32* @eax, align 8
  %v4_32 = and i32 %v3_32, -65536
  %tmp248 = udiv i32 %v2_32, 2
  %v12_34 = and i32 %tmp248, 32512
  %v2_32.masked = and i32 %v2_32, -65281
  %v13_34 = or i32 %v4_32, %v2_32.masked
  %v14_34 = or i32 %v13_34, %v12_34
  store i32 %v14_34, i32* @eax, align 8
  %v1_3a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_3a = fsub x86_fp80 0xK80000000000000000000, %v1_3a
  store x86_fp80 %v2_3a, x86_fp80* %st7.global-to-local, align 4
  %v0_3f = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  %v1_3f = load i32, i32* %esi.global-to-local, align 4
  %v2_3f = add i32 %v1_3f, -48
  %v3_3f = inttoptr i32 %v2_3f to double*
  %v4_3f = load double, double* %v3_3f, align 4
  %v5_3f = fpext double %v4_3f to x86_fp80
  %v4_42 = fsub x86_fp80 %v5_3f, %v1_3a
  store x86_fp80 %v4_42, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v5_3f, x86_fp80* %st6.global-to-local, align 4
  %v2_46 = add i32 %v1_3f, -56
  %v3_46 = inttoptr i32 %v2_46 to double*
  %v4_46 = load double, double* %v3_46, align 4
  %v5_46 = fpext double %v4_46 to x86_fp80
  store x86_fp80 %v5_46, x86_fp80* %st6.global-to-local, align 4
  %v4_49 = fadd x86_fp80 %v4_42, %v5_46
  store x86_fp80 %v4_49, x86_fp80* %st7.global-to-local, align 4
  %v2_4d = add i32 %v1_3f, -64
  %v3_4d = inttoptr i32 %v2_4d to double*
  %v4_4d = load double, double* %v3_4d, align 4
  %v5_4d = fpext double %v4_4d to x86_fp80
  %v4_50 = fadd x86_fp80 %v5_4d, %v5_4d
  store x86_fp80 %v4_50, x86_fp80* %st7.global-to-local, align 4
  %v3_57 = add i32 %v1_3f, -92
  %v4_57 = inttoptr i32 %v3_57 to float*
  %v5_57 = load float, float* %v4_57, align 4
  %v6_57 = fpext float %v5_57 to x86_fp80
  %v7_57 = fmul x86_fp80 %v4_50, %v6_57
  store x86_fp80 %v7_57, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v7_57, x86_fp80* %st6.global-to-local, align 4
  %v3_5c = add i32 %v1_3f, -96
  %v4_5c = inttoptr i32 %v3_5c to float*
  %v5_5c = load float, float* %v4_5c, align 4
  %v6_5c = fpext float %v5_5c to x86_fp80
  %v7_5c = fmul x86_fp80 %v7_57, %v6_5c
  %v4_5f = fadd x86_fp80 %v7_57, %v7_5c
  store x86_fp80 %v4_5f, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_5f, x86_fp80* %st6.global-to-local, align 4
  %v3_63 = add i32 %v1_3f, -100
  %v4_63 = inttoptr i32 %v3_63 to float*
  %v5_63 = load float, float* %v4_63, align 4
  %v6_63 = fpext float %v5_63 to x86_fp80
  %v7_63 = fmul x86_fp80 %v4_5f, %v6_63
  %v4_66 = fadd x86_fp80 %v4_5f, %v7_63
  store x86_fp80 %v4_66, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_66, x86_fp80* %st6.global-to-local, align 4
  %v3_6a = add i32 %v1_3f, -68
  %v4_6a = inttoptr i32 %v3_6a to float*
  %v5_6a = load float, float* %v4_6a, align 4
  %v6_6a = fpext float %v5_6a to x86_fp80
  %v7_6a = fmul x86_fp80 %v4_66, %v6_6a
  store x86_fp80 %v7_6a, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_66, x86_fp80* %st5.global-to-local, align 4
  %v3_6f = add i32 %v1_3f, -72
  %v4_6f = inttoptr i32 %v3_6f to float*
  %v5_6f = load float, float* %v4_6f, align 4
  %v6_6f = fpext float %v5_6f to x86_fp80
  %v7_6f = fmul x86_fp80 %v4_66, %v6_6f
  %v4_72 = fadd x86_fp80 %v7_6a, %v7_6f
  store x86_fp80 %v4_72, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_66, x86_fp80* %st5.global-to-local, align 4
  %v3_76 = add i32 %v1_3f, -76
  %v4_76 = inttoptr i32 %v3_76 to float*
  %v5_76 = load float, float* %v4_76, align 4
  %v6_76 = fpext float %v5_76 to x86_fp80
  %v7_76 = fmul x86_fp80 %v4_66, %v6_76
  store x86_fp80 %v7_76, x86_fp80* %st5.global-to-local, align 4
  %v4_79 = fadd x86_fp80 %v4_72, %v7_76
  store x86_fp80 %v4_66, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_79, x86_fp80* %st7.global-to-local, align 4
  %v3_7d = add i32 %v1_3f, -80
  %v4_7d = inttoptr i32 %v3_7d to float*
  %v5_7d = load float, float* %v4_7d, align 4
  %v6_7d = fpext float %v5_7d to x86_fp80
  %v7_7d = fmul x86_fp80 %v4_79, %v6_7d
  store x86_fp80 %v7_7d, x86_fp80* %st7.global-to-local, align 4
  %v3_82 = add i32 %v1_3f, -84
  %v4_82 = inttoptr i32 %v3_82 to float*
  %v5_82 = load float, float* %v4_82, align 4
  %v6_82 = fpext float %v5_82 to x86_fp80
  %v7_82 = fmul x86_fp80 %v7_7d, %v6_82
  %v4_85 = fadd x86_fp80 %v7_82, %v7_82
  store x86_fp80 %v4_85, x86_fp80* %st7.global-to-local, align 4
  %v3_89 = add i32 %v1_3f, -88
  %v4_89 = inttoptr i32 %v3_89 to float*
  %v5_89 = load float, float* %v4_89, align 4
  %v6_89 = fpext float %v5_89 to x86_fp80
  %v7_89 = fmul x86_fp80 %v4_85, %v6_89
  %v4_8c = fadd x86_fp80 %v7_89, %v7_89
  store x86_fp80 %v4_8c, x86_fp80* %st7.global-to-local, align 4
  %v4_8f = load double, double* %v3_3f, align 4
  %v5_8f = fpext double %v4_8f to x86_fp80
  %v4_92 = fsub x86_fp80 %v5_8f, %v5_8f
  store x86_fp80 %v4_92, x86_fp80* %st7.global-to-local, align 4
  %v4_96 = load double, double* %v3_46, align 4
  %v5_96 = fpext double %v4_96 to x86_fp80
  %v4_99 = fsub x86_fp80 %v5_96, %v5_96
  store x86_fp80 %v4_99, x86_fp80* %st7.global-to-local, align 4
  %v4_9d = load double, double* %v3_4d, align 4
  %v5_9d = fpext double %v4_9d to x86_fp80
  %v4_a0 = fsub x86_fp80 %v5_9d, %v5_9d
  store x86_fp80 %v4_a0, x86_fp80* %st7.global-to-local, align 4
  %v2_a5 = add i32 %v1_3f, -16
  %v3_a5 = inttoptr i32 %v2_a5 to double*
  %v4_a5 = load double, double* %v3_a5, align 4
  %v5_a5 = fpext double %v4_a5 to x86_fp80
  store x86_fp80 %v5_a5, x86_fp80* %st7.global-to-local, align 4
  %v1_a8 = load i32, i32* @ecx, align 8
  %v2_a8 = add i32 %v1_a8, 8
  %v3_a8 = inttoptr i32 %v2_a8 to double*
  %v4_a8 = load double, double* %v3_a8, align 4
  %v5_a8 = fpext double %v4_a8 to x86_fp80
  %v4_ab = fmul x86_fp80 %v5_a5, %v5_a8
  %v4_ad = fptrunc x86_fp80 %v4_ab to double
  store double %v4_ad, double* %v3_a8, align 4
  %v2_b0 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_b0 = fmul x86_fp80 %v2_b0, %v2_b0
  %v4_b2 = fmul x86_fp80 %v4_b0, %v4_b0
  %v4_b4 = fmul x86_fp80 %v4_b2, %v4_b2
  %v4_b8 = fadd x86_fp80 %v4_b4, 0xKBFFF8000000000000000
  store x86_fp80 %v4_b8, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_b8, x86_fp80* %st6.global-to-local, align 4
  %v3_bc = add i32 %v1_3f, -40
  %v4_bc = inttoptr i32 %v3_bc to double*
  %v5_bc = load double, double* %v4_bc, align 4
  %v6_bc = fpext double %v5_bc to x86_fp80
  %v7_bc = fmul x86_fp80 %v4_b8, %v6_bc
  %v4_bf = fsub x86_fp80 %v4_b8, %v7_bc
  store x86_fp80 %v4_bf, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_bf, x86_fp80* %st6.global-to-local, align 4
  %v3_c3 = add i32 %v1_3f, -32
  %v4_c3 = inttoptr i32 %v3_c3 to double*
  %v5_c3 = load double, double* %v4_c3, align 4
  %v6_c3 = fpext double %v5_c3 to x86_fp80
  %v7_c3 = fmul x86_fp80 %v4_bf, %v6_c3
  store x86_fp80 %v7_c3, x86_fp80* %st6.global-to-local, align 4
  %v4_c6 = fsub x86_fp80 %v4_bf, %v7_c3
  store x86_fp80 %v4_c6, x86_fp80* %st7.global-to-local, align 4
  %v3_c8 = add i32 %v1_3f, -24
  %v4_c8 = inttoptr i32 %v3_c8 to double*
  %v5_c8 = load double, double* %v4_c8, align 4
  %v6_c8 = fpext double %v5_c8 to x86_fp80
  %v7_c8 = fmul x86_fp80 %v4_c6, %v6_c8
  %v4_cb = fsub x86_fp80 %v7_c8, %v7_c8
  store x86_fp80 %v4_cb, x86_fp80* %st7.global-to-local, align 4
  %v2_cd = load i32, i32* %ebx.global-to-local, align 4
  %v3_cd = fptrunc x86_fp80 %v4_cb to double
  %v4_cd = inttoptr i32 %v2_cd to double*
  store double %v3_cd, double* %v4_cd, align 4
  %v1_cf = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_cf = load i32, i32* @edx, align 8
  %v3_cf = fptrunc x86_fp80 %v1_cf to double
  %v4_cf = inttoptr i32 %v2_cf to double*
  store double %v3_cf, double* %v4_cf, align 4
  %v1_d1 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_d1 = load i32, i32* @ecx, align 8
  %v3_d1 = fptrunc x86_fp80 %v1_d1 to double
  %v4_d1 = inttoptr i32 %v2_d1 to double*
  store double %v3_d1, double* %v4_d1, align 4
  %v5_d1 = add i3 %v0_3f, 3
  store i3 %v5_d1, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_cd, i32* @eax, align 8
  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_cd
}

declare i16 @__asm_fnstsw(i32) local_unnamed_addr
