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
  store x86_fp80 %v4_11, x86_fp80* %st5.global-to-local, align 4
  %v3_15 = add i32 %v3_a, -68
  %v4_15 = inttoptr i32 %v3_15 to float*
  %v5_15 = load float, float* %v4_15, align 4
  %v6_15 = fpext float %v5_15 to x86_fp80
  %v7_15 = fmul x86_fp80 %v4_11, %v6_15
  %v3_1a = add i32 %v3_a, -72
  %v4_1a = inttoptr i32 %v3_1a to float*
  %v5_1a = load float, float* %v4_1a, align 4
  %v6_1a = fpext float %v5_1a to x86_fp80
  %v7_1a = fmul x86_fp80 %v4_f, %v6_1a
  %v4_1d = fadd x86_fp80 %v7_15, %v7_1a
  %v3_21 = add i32 %v3_a, -76
  %v4_21 = inttoptr i32 %v3_21 to float*
  %v5_21 = load float, float* %v4_21, align 4
  %v6_21 = fpext float %v5_21 to x86_fp80
  %v7_21 = fmul x86_fp80 %v4_d, %v6_21
  %v4_24 = fadd x86_fp80 %v7_21, %v4_1d
  %v3_28 = add i32 %v3_a, -44
  %v4_28 = inttoptr i32 %v3_28 to float*
  %v5_28 = load float, float* %v4_28, align 4
  %v6_28 = fpext float %v5_28 to x86_fp80
  %v7_28 = fmul x86_fp80 %v4_11, %v6_28
  %v3_2d = add i32 %v3_a, -48
  %v4_2d = inttoptr i32 %v3_2d to float*
  %v5_2d = load float, float* %v4_2d, align 4
  %v6_2d = fpext float %v5_2d to x86_fp80
  %v7_2d = fmul x86_fp80 %v4_f, %v6_2d
  %v4_30 = fadd x86_fp80 %v7_28, %v7_2d
  %v3_34 = add i32 %v3_a, -52
  %v4_34 = inttoptr i32 %v3_34 to float*
  %v5_34 = load float, float* %v4_34, align 4
  %v6_34 = fpext float %v5_34 to x86_fp80
  %v7_34 = fmul x86_fp80 %v4_d, %v6_34
  %v4_37 = fadd x86_fp80 %v4_30, %v7_34
  store x86_fp80 %v4_37, x86_fp80* %st5.global-to-local, align 4
  %v3_3b = add i32 %v3_a, -56
  %v4_3b = inttoptr i32 %v3_3b to float*
  %v5_3b = load float, float* %v4_3b, align 4
  %v6_3b = fpext float %v5_3b to x86_fp80
  %v7_3b = fmul x86_fp80 %v4_11, %v6_3b
  store x86_fp80 %v7_3b, x86_fp80* %st6.global-to-local, align 4
  %v3_40 = add i32 %v3_a, -60
  %v4_40 = inttoptr i32 %v3_40 to float*
  %v5_40 = load float, float* %v4_40, align 4
  %v6_40 = fpext float %v5_40 to x86_fp80
  %v7_40 = fmul x86_fp80 %v4_f, %v6_40
  %v4_43 = fadd x86_fp80 %v7_3b, %v7_40
  store x86_fp80 %v4_43, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_24, x86_fp80* %st7.global-to-local, align 4
  %v3_47 = add i32 %v3_a, -64
  %v4_47 = inttoptr i32 %v3_47 to float*
  %v5_47 = load float, float* %v4_47, align 4
  %v6_47 = fpext float %v5_47 to x86_fp80
  %v7_47 = fmul x86_fp80 %v4_d, %v6_47
  %v4_4a = fadd x86_fp80 %v4_43, %v7_47
  store x86_fp80 %v4_4a, x86_fp80* %st6.global-to-local, align 4
  %v7_4a = add i3 %v0_d, -3
  store i3 %v7_4a, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_4c = fsub x86_fp80 0xK80000000000000000000, %v4_37
  store x86_fp80 %v2_4c, x86_fp80* %st5.global-to-local, align 4
  %v0_50 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_50 = call i16 @__asm_fnstsw(i32 %v0_50)
  %v2_50 = sext i16 %v1_50 to i32
  %v3_50 = load i32, i32* @eax, align 8
  %v4_50 = and i32 %v3_50, -65536
  %tmp246 = udiv i32 %v2_50, 2
  %v12_52 = and i32 %tmp246, 32512
  %v2_50.masked = and i32 %v2_50, -65281
  %v13_52 = or i32 %v4_50, %v2_50.masked
  %v14_52 = or i32 %v13_52, %v12_52
  store i32 %v14_52, i32* @eax, align 8
  %v15_5213 = and i32 %v2_50, 256
  %v16_52 = icmp eq i32 %v15_5213, 0
  br i1 %v16_52, label %dec_label_pc_56, label %dec_label_pc_58

dec_label_pc_56:                                  ; preds = %dec_label_pc_0
  %v2_56 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_56 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v3_56, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v2_56, x86_fp80* %st6.global-to-local, align 4
  br label %dec_label_pc_58

dec_label_pc_58:                                  ; preds = %dec_label_pc_0, %dec_label_pc_56
  %v0_5a = load i32, i32* %fpsw.global-to-local, align 4
  %v1_5a = call i16 @__asm_fnstsw(i32 %v0_5a)
  %v2_5a = sext i16 %v1_5a to i32
  %v3_5a = load i32, i32* @eax, align 8
  %v4_5a = and i32 %v3_5a, -65536
  %tmp247 = udiv i32 %v2_5a, 2
  %v12_5c = and i32 %tmp247, 32512
  %v2_5a.masked = and i32 %v2_5a, -65281
  %v13_5c = or i32 %v4_5a, %v2_5a.masked
  %v14_5c = or i32 %v13_5c, %v12_5c
  store i32 %v14_5c, i32* @eax, align 8
  %v0_6a = load i32, i32* %fpsw.global-to-local, align 4
  %v1_6a = call i16 @__asm_fnstsw(i32 %v0_6a)
  %v2_6a = sext i16 %v1_6a to i32
  %v3_6a = load i32, i32* @eax, align 8
  %v4_6a = and i32 %v3_6a, -65536
  %tmp248 = udiv i32 %v2_6a, 2
  %v12_6c = and i32 %tmp248, 32512
  %v2_6a.masked = and i32 %v2_6a, -65281
  %v13_6c = or i32 %v4_6a, %v2_6a.masked
  %v14_6c = or i32 %v13_6c, %v12_6c
  store i32 %v14_6c, i32* @eax, align 8
  %v1_72 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_72 = fsub x86_fp80 0xK80000000000000000000, %v1_72
  store x86_fp80 %v2_72, x86_fp80* %st7.global-to-local, align 4
  %v0_76 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_72, x86_fp80* %st6.global-to-local, align 4
  %v2_78 = load i32, i32* %esi.global-to-local, align 4
  %v3_78 = add i32 %v2_78, -104
  %v4_78 = inttoptr i32 %v3_78 to float*
  %v5_78 = load float, float* %v4_78, align 4
  %v6_78 = fpext float %v5_78 to x86_fp80
  %v7_78 = fmul x86_fp80 %v2_72, %v6_78
  store x86_fp80 %v7_78, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_72, x86_fp80* %st5.global-to-local, align 4
  %v3_7d = add i32 %v2_78, -108
  %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 %v2_72, %v6_7d
  %v4_80 = fadd x86_fp80 %v7_78, %v7_7d
  store x86_fp80 %v4_80, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_72, x86_fp80* %st5.global-to-local, align 4
  %v3_84 = add i32 %v2_78, -112
  %v4_84 = inttoptr i32 %v3_84 to float*
  %v5_84 = load float, float* %v4_84, align 4
  %v6_84 = fpext float %v5_84 to x86_fp80
  %v7_84 = fmul x86_fp80 %v2_72, %v6_84
  %v4_87 = fadd x86_fp80 %v4_80, %v7_84
  store x86_fp80 %v4_87, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_72, x86_fp80* %st5.global-to-local, align 4
  %v3_8b = add i32 %v2_78, -80
  %v4_8b = inttoptr i32 %v3_8b to float*
  %v5_8b = load float, float* %v4_8b, align 4
  %v6_8b = fpext float %v5_8b to x86_fp80
  %v7_8b = fmul x86_fp80 %v2_72, %v6_8b
  store x86_fp80 %v7_8b, x86_fp80* %st5.global-to-local, align 4
  %v3_90 = add i32 %v2_78, -84
  %v4_90 = inttoptr i32 %v3_90 to float*
  %v5_90 = load float, float* %v4_90, align 4
  %v6_90 = fpext float %v5_90 to x86_fp80
  %v7_90 = fmul x86_fp80 %v2_72, %v6_90
  %v4_93 = fadd x86_fp80 %v7_8b, %v7_90
  store x86_fp80 %v4_93, x86_fp80* %st5.global-to-local, align 4
  %v3_97 = add i32 %v2_78, -88
  %v4_97 = inttoptr i32 %v3_97 to float*
  %v5_97 = load float, float* %v4_97, align 4
  %v6_97 = fpext float %v5_97 to x86_fp80
  %v7_97 = fmul x86_fp80 %v2_72, %v6_97
  %v4_9a = fadd x86_fp80 %v4_93, %v7_97
  store x86_fp80 %v2_72, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_9a, x86_fp80* %st7.global-to-local, align 4
  %v3_9e = add i32 %v2_78, -92
  %v4_9e = inttoptr i32 %v3_9e to float*
  %v5_9e = load float, float* %v4_9e, align 4
  %v6_9e = fpext float %v5_9e to x86_fp80
  %v7_9e = fmul x86_fp80 %v2_72, %v6_9e
  store x86_fp80 %v4_9a, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v7_9e, x86_fp80* %st7.global-to-local, align 4
  %v3_a3 = add i32 %v2_78, -96
  %v4_a3 = inttoptr i32 %v3_a3 to float*
  %v5_a3 = load float, float* %v4_a3, align 4
  %v6_a3 = fpext float %v5_a3 to x86_fp80
  %v7_a3 = fmul x86_fp80 %v7_9e, %v6_a3
  %v4_a6 = fadd x86_fp80 %v7_a3, %v7_a3
  store x86_fp80 %v4_a6, x86_fp80* %st7.global-to-local, align 4
  %v3_aa = add i32 %v2_78, -100
  %v4_aa = inttoptr i32 %v3_aa to float*
  %v5_aa = load float, float* %v4_aa, align 4
  %v6_aa = fpext float %v5_aa to x86_fp80
  %v7_aa = fmul x86_fp80 %v4_a6, %v6_aa
  %v4_ad = fadd x86_fp80 %v7_aa, %v7_aa
  store x86_fp80 %v4_ad, x86_fp80* %st7.global-to-local, align 4
  %v2_af = add i32 %v2_78, -16
  %v3_af = inttoptr i32 %v2_af to double*
  %v4_af = load double, double* %v3_af, align 4
  %v5_af = fpext double %v4_af to x86_fp80
  store x86_fp80 %v5_af, x86_fp80* %st7.global-to-local, align 4
  %v1_b2 = load i32, i32* @ecx, align 8
  %v2_b2 = add i32 %v1_b2, 8
  %v3_b2 = inttoptr i32 %v2_b2 to double*
  %v4_b2 = load double, double* %v3_b2, align 4
  %v5_b2 = fpext double %v4_b2 to x86_fp80
  %v4_b5 = fmul x86_fp80 %v5_af, %v5_b2
  %v4_b7 = fptrunc x86_fp80 %v4_b5 to double
  store double %v4_b7, double* %v3_b2, align 4
  %v2_ba = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_ba = fmul x86_fp80 %v2_ba, %v2_ba
  %v4_bc = fmul x86_fp80 %v4_ba, %v4_ba
  %v4_be = fmul x86_fp80 %v4_bc, %v4_bc
  %v4_c2 = fadd x86_fp80 %v4_be, 0xKBFFF8000000000000000
  store x86_fp80 %v4_c2, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_c2, x86_fp80* %st6.global-to-local, align 4
  %v3_c6 = add i32 %v2_78, -40
  %v4_c6 = inttoptr i32 %v3_c6 to double*
  %v5_c6 = load double, double* %v4_c6, align 4
  %v6_c6 = fpext double %v5_c6 to x86_fp80
  %v7_c6 = fmul x86_fp80 %v4_c2, %v6_c6
  %v4_c9 = fsub x86_fp80 %v4_c2, %v7_c6
  store x86_fp80 %v4_c9, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v4_c9, x86_fp80* %st6.global-to-local, align 4
  %v3_cd = add i32 %v2_78, -32
  %v4_cd = inttoptr i32 %v3_cd to double*
  %v5_cd = load double, double* %v4_cd, align 4
  %v6_cd = fpext double %v5_cd to x86_fp80
  %v7_cd = fmul x86_fp80 %v4_c9, %v6_cd
  store x86_fp80 %v7_cd, x86_fp80* %st6.global-to-local, align 4
  %v4_d0 = fsub x86_fp80 %v4_c9, %v7_cd
  store x86_fp80 %v4_d0, x86_fp80* %st7.global-to-local, align 4
  %v3_d2 = add i32 %v2_78, -24
  %v4_d2 = inttoptr i32 %v3_d2 to double*
  %v5_d2 = load double, double* %v4_d2, align 4
  %v6_d2 = fpext double %v5_d2 to x86_fp80
  %v7_d2 = fmul x86_fp80 %v4_d0, %v6_d2
  %v4_d5 = fsub x86_fp80 %v7_d2, %v7_d2
  store x86_fp80 %v4_d5, x86_fp80* %st7.global-to-local, align 4
  %v2_d7 = load i32, i32* %ebx.global-to-local, align 4
  %v3_d7 = fptrunc x86_fp80 %v4_d5 to double
  %v4_d7 = inttoptr i32 %v2_d7 to double*
  store double %v3_d7, double* %v4_d7, align 4
  %v1_d9 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_d9 = load i32, i32* @edx, align 8
  %v3_d9 = fptrunc x86_fp80 %v1_d9 to double
  %v4_d9 = inttoptr i32 %v2_d9 to double*
  store double %v3_d9, double* %v4_d9, align 4
  %v1_db = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_db = load i32, i32* @ecx, align 8
  %v3_db = fptrunc x86_fp80 %v1_db to double
  %v4_db = inttoptr i32 %v2_db to double*
  store double %v3_db, double* %v4_db, align 4
  %v5_db = add i3 %v0_76, 3
  store i3 %v5_db, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_d7, 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_d7
}

declare i16 @__asm_fnstsw(i32) local_unnamed_addr
