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
  %v5_e = fpext double %v4_e to x86_fp80
  store x86_fp80 %v5_e, x86_fp80* %st7.global-to-local, align 4
  %v3_11 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_11 = fpext double %v3_11 to x86_fp80
  store x86_fp80 %v4_11, x86_fp80* %st6.global-to-local, align 4
  %v3_13 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_13 = fpext double %v3_13 to x86_fp80
  store x86_fp80 %v4_13, x86_fp80* %st5.global-to-local, align 4
  %v3_15 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_15 = fpext double %v3_15 to x86_fp80
  %v5_15 = xor i3 %v0_e, -4
  store i3 %v5_15, i3* %fpu_stat_TOP.global-to-local, align 1
  %v2_18 = fsub x86_fp80 0xK80000000000000000000, %v4_15
  store x86_fp80 %v2_18, x86_fp80* %st4.global-to-local, align 4
  %v0_1c = load i32, i32* %fpsw.global-to-local, align 4
  %v1_1c = call i16 @__asm_fnstsw(i32 %v0_1c)
  %v2_1c = sext i16 %v1_1c to i32
  %v3_1c = load i32, i32* @eax, align 8
  %v4_1c = and i32 %v3_1c, -65536
  %tmp263 = udiv i32 %v2_1c, 2
  %v12_1e = and i32 %tmp263, 32512
  %v2_1c.masked = and i32 %v2_1c, -65281
  %v13_1e = or i32 %v4_1c, %v2_1c.masked
  %v14_1e = or i32 %v13_1e, %v12_1e
  store i32 %v14_1e, i32* @eax, align 8
  %v15_1e25 = and i32 %v2_1c, 256
  %v16_1e = icmp eq i32 %v15_1e25, 0
  br i1 %v16_1e, label %dec_label_pc_22, label %dec_label_pc_24

dec_label_pc_22:                                  ; preds = %dec_label_pc_0
  %v2_22 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_22 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v3_22, x86_fp80* %st4.global-to-local, align 4
  store x86_fp80 %v2_22, x86_fp80* %st5.global-to-local, align 4
  br label %dec_label_pc_24

dec_label_pc_24:                                  ; preds = %dec_label_pc_0, %dec_label_pc_22
  %v0_26 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_26 = call i16 @__asm_fnstsw(i32 %v0_26)
  %v2_26 = sext i16 %v1_26 to i32
  %v3_26 = load i32, i32* @eax, align 8
  %v4_26 = and i32 %v3_26, -65536
  %tmp264 = udiv i32 %v2_26, 2
  %v12_28 = and i32 %tmp264, 32512
  %v2_26.masked = and i32 %v2_26, -65281
  %v13_28 = or i32 %v4_26, %v2_26.masked
  %v14_28 = or i32 %v13_28, %v12_28
  store i32 %v14_28, i32* @eax, align 8
  %v0_36 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_36 = call i16 @__asm_fnstsw(i32 %v0_36)
  %v2_36 = sext i16 %v1_36 to i32
  %v3_36 = load i32, i32* @eax, align 8
  %v4_36 = and i32 %v3_36, -65536
  %tmp265 = udiv i32 %v2_36, 2
  %v12_38 = and i32 %tmp265, 32512
  %v2_36.masked = and i32 %v2_36, -65281
  %v13_38 = or i32 %v4_36, %v2_36.masked
  %v14_38 = or i32 %v13_38, %v12_38
  store i32 %v14_38, i32* @eax, align 8
  %v0_47 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_47 = call i16 @__asm_fnstsw(i32 %v0_47)
  %v2_47 = sext i16 %v1_47 to i32
  %v3_47 = load i32, i32* @eax, align 8
  %v4_47 = and i32 %v3_47, -65536
  %tmp266 = udiv i32 %v2_47, 2
  %v12_49 = and i32 %tmp266, 32512
  %v2_47.masked = and i32 %v2_47, -65281
  %v13_49 = or i32 %v4_47, %v2_47.masked
  %v14_49 = or i32 %v13_49, %v12_49
  store i32 %v14_49, i32* @eax, align 8
  %v0_57 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_57 = call i16 @__asm_fnstsw(i32 %v0_57)
  %v2_57 = sext i16 %v1_57 to i32
  %v3_57 = load i32, i32* @eax, align 8
  %v4_57 = and i32 %v3_57, -65536
  %tmp267 = udiv i32 %v2_57, 2
  %v12_59 = and i32 %tmp267, 32512
  %v2_57.masked = and i32 %v2_57, -65281
  %v13_59 = or i32 %v4_57, %v2_57.masked
  %v14_59 = or i32 %v13_59, %v12_59
  store i32 %v14_59, i32* @eax, align 8
  %v0_69 = load i32, i32* %fpsw.global-to-local, align 4
  %v1_69 = call i16 @__asm_fnstsw(i32 %v0_69)
  %v2_69 = sext i16 %v1_69 to i32
  %v3_69 = load i32, i32* @eax, align 8
  %v4_69 = and i32 %v3_69, -65536
  %tmp268 = udiv i32 %v2_69, 2
  %v12_6b = and i32 %tmp268, 32512
  %v2_69.masked = and i32 %v2_69, -65281
  %v13_6b = or i32 %v4_69, %v2_69.masked
  %v14_6b = or i32 %v13_6b, %v12_6b
  store i32 %v14_6b, i32* @eax, align 8
  %v1_71 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_71 = fsub x86_fp80 0xK80000000000000000000, %v1_71
  store x86_fp80 %v2_71, x86_fp80* %st7.global-to-local, align 4
  %v0_76 = load i32, i32* %edi.global-to-local, align 4
  %v1_76 = add i32 %v0_76, -40
  store i32 %v1_76, i32* %edi.global-to-local, align 4
  %v0_79 = load i3, i3* %fpu_stat_TOP.global-to-local, align 1
  store x86_fp80 %v2_71, x86_fp80* %st6.global-to-local, align 4
  %v3_7b = add i32 %v0_76, -52
  %v4_7b = inttoptr i32 %v3_7b to float*
  %v5_7b = load float, float* %v4_7b, align 4
  %v6_7b = fpext float %v5_7b to x86_fp80
  %v7_7b = fmul x86_fp80 %v2_71, %v6_7b
  store x86_fp80 %v7_7b, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_71, x86_fp80* %st5.global-to-local, align 4
  %v3_80 = add i32 %v0_76, -56
  %v4_80 = inttoptr i32 %v3_80 to float*
  %v5_80 = load float, float* %v4_80, align 4
  %v6_80 = fpext float %v5_80 to x86_fp80
  %v7_80 = fmul x86_fp80 %v2_71, %v6_80
  %v4_83 = fadd x86_fp80 %v7_7b, %v7_80
  store x86_fp80 %v4_83, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_71, x86_fp80* %st5.global-to-local, align 4
  %v3_87 = add i32 %v0_76, -60
  %v4_87 = inttoptr i32 %v3_87 to float*
  %v5_87 = load float, float* %v4_87, align 4
  %v6_87 = fpext float %v5_87 to x86_fp80
  %v7_87 = fmul x86_fp80 %v2_71, %v6_87
  %v4_8a = fadd x86_fp80 %v4_83, %v7_87
  store x86_fp80 %v4_8a, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v2_71, x86_fp80* %st5.global-to-local, align 4
  %v3_8e = add i32 %v0_76, -64
  %v4_8e = inttoptr i32 %v3_8e to float*
  %v5_8e = load float, float* %v4_8e, align 4
  %v6_8e = fpext float %v5_8e to x86_fp80
  %v7_8e = fmul x86_fp80 %v2_71, %v6_8e
  store x86_fp80 %v7_8e, x86_fp80* %st5.global-to-local, align 4
  %v4_91 = fadd x86_fp80 %v4_8a, %v7_8e
  %v2_93 = load i32, i32* %ebx.global-to-local, align 4
  %v3_93 = fptrunc x86_fp80 %v4_91 to double
  %v4_93 = inttoptr i32 %v2_93 to double*
  store double %v3_93, double* %v4_93, align 4
  %v1_95 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_95, x86_fp80* %st6.global-to-local, align 4
  %v3_97 = add i32 %v0_76, -68
  %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 %v1_95, %v6_97
  store x86_fp80 %v7_97, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_95, x86_fp80* %st5.global-to-local, align 4
  %v3_9c = add i32 %v0_76, -72
  %v4_9c = inttoptr i32 %v3_9c to float*
  %v5_9c = load float, float* %v4_9c, align 4
  %v6_9c = fpext float %v5_9c to x86_fp80
  %v7_9c = fmul x86_fp80 %v1_95, %v6_9c
  %v4_9f = fadd x86_fp80 %v7_97, %v7_9c
  store x86_fp80 %v4_9f, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_95, x86_fp80* %st5.global-to-local, align 4
  %v3_a3 = add i32 %v0_76, -76
  %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 %v1_95, %v6_a3
  %v4_a6 = fadd x86_fp80 %v4_9f, %v7_a3
  store x86_fp80 %v4_a6, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_95, x86_fp80* %st5.global-to-local, align 4
  %v3_aa = add i32 %v0_76, -80
  %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 %v1_95, %v6_aa
  store x86_fp80 %v7_aa, x86_fp80* %st5.global-to-local, align 4
  %v4_ad = fadd x86_fp80 %v4_a6, %v7_aa
  %v2_af = load i32, i32* @edx, align 8
  %v3_af = fptrunc x86_fp80 %v4_ad to double
  %v4_af = inttoptr i32 %v2_af to double*
  store double %v3_af, double* %v4_af, align 4
  %v1_b1 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  store x86_fp80 %v1_b1, x86_fp80* %st6.global-to-local, align 4
  %v3_b3 = add i32 %v0_76, -84
  %v4_b3 = inttoptr i32 %v3_b3 to float*
  %v5_b3 = load float, float* %v4_b3, align 4
  %v6_b3 = fpext float %v5_b3 to x86_fp80
  %v7_b3 = fmul x86_fp80 %v1_b1, %v6_b3
  store x86_fp80 %v7_b3, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_b1, x86_fp80* %st5.global-to-local, align 4
  %v3_b8 = add i32 %v0_76, -88
  %v4_b8 = inttoptr i32 %v3_b8 to float*
  %v5_b8 = load float, float* %v4_b8, align 4
  %v6_b8 = fpext float %v5_b8 to x86_fp80
  %v7_b8 = fmul x86_fp80 %v1_b1, %v6_b8
  %v4_bb = fadd x86_fp80 %v7_b3, %v7_b8
  store x86_fp80 %v4_bb, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_b1, x86_fp80* %st5.global-to-local, align 4
  %v3_bf = add i32 %v0_76, -92
  %v4_bf = inttoptr i32 %v3_bf to float*
  %v5_bf = load float, float* %v4_bf, align 4
  %v6_bf = fpext float %v5_bf to x86_fp80
  %v7_bf = fmul x86_fp80 %v1_b1, %v6_bf
  %v4_c2 = fadd x86_fp80 %v4_bb, %v7_bf
  store x86_fp80 %v4_c2, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v1_b1, x86_fp80* %st5.global-to-local, align 4
  %v3_c6 = add i32 %v0_76, -96
  %v4_c6 = inttoptr i32 %v3_c6 to float*
  %v5_c6 = load float, float* %v4_c6, align 4
  %v6_c6 = fpext float %v5_c6 to x86_fp80
  %v7_c6 = fmul x86_fp80 %v1_b1, %v6_c6
  store x86_fp80 %v7_c6, x86_fp80* %st5.global-to-local, align 4
  %v4_c9 = fadd x86_fp80 %v4_c2, %v7_c6
  store x86_fp80 %v4_c9, x86_fp80* %st6.global-to-local, align 4
  %v2_cb = load i32, i32* @ecx, align 8
  %v3_cb = fptrunc x86_fp80 %v4_c9 to double
  %v4_cb = inttoptr i32 %v2_cb to double*
  store double %v3_cb, double* %v4_cb, align 4
  %v1_cd = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_cd = add i32 %v0_76, -100
  %v4_cd = inttoptr i32 %v3_cd to float*
  %v5_cd = load float, float* %v4_cd, align 4
  %v6_cd = fpext float %v5_cd to x86_fp80
  %v7_cd = fmul x86_fp80 %v1_cd, %v6_cd
  store x86_fp80 %v7_cd, x86_fp80* %st7.global-to-local, align 4
  %v3_d2 = add i32 %v0_76, -104
  %v4_d2 = inttoptr i32 %v3_d2 to float*
  %v5_d2 = load float, float* %v4_d2, align 4
  %v6_d2 = fpext float %v5_d2 to x86_fp80
  %v7_d2 = fmul x86_fp80 %v7_cd, %v6_d2
  %v4_d5 = fadd x86_fp80 %v7_d2, %v7_d2
  store x86_fp80 %v4_d5, x86_fp80* %st7.global-to-local, align 4
  %v3_d9 = add i32 %v0_76, -108
  %v4_d9 = inttoptr i32 %v3_d9 to float*
  %v5_d9 = load float, float* %v4_d9, align 4
  %v6_d9 = fpext float %v5_d9 to x86_fp80
  %v7_d9 = fmul x86_fp80 %v4_d5, %v6_d9
  %v4_dc = fadd x86_fp80 %v7_d9, %v7_d9
  store x86_fp80 %v4_dc, x86_fp80* %st7.global-to-local, align 4
  %v3_e0 = add i32 %v0_76, -112
  %v4_e0 = inttoptr i32 %v3_e0 to float*
  %v5_e0 = load float, float* %v4_e0, align 4
  %v6_e0 = fpext float %v5_e0 to x86_fp80
  %v7_e0 = fmul x86_fp80 %v4_dc, %v6_e0
  %v4_e3 = fadd x86_fp80 %v7_e0, %v7_e0
  store x86_fp80 %v4_e3, x86_fp80* %st7.global-to-local, align 4
  %v2_e8 = add i32 %v0_76, -16
  %v3_e8 = inttoptr i32 %v2_e8 to double*
  %v4_e8 = load double, double* %v3_e8, align 4
  %v5_e8 = fpext double %v4_e8 to x86_fp80
  %v4_eb = fmul x86_fp80 %v5_e8, %v5_e8
  store x86_fp80 0xK3FFF8000000000000000, x86_fp80* %st6.global-to-local, align 4
  %v4_ef = fadd x86_fp80 %v4_eb, 0xKBFFF8000000000000000
  store x86_fp80 %v4_ef, x86_fp80* %st7.global-to-local, align 4
  %v3_f1 = add i32 %v0_76, -48
  %v4_f1 = inttoptr i32 %v3_f1 to double*
  %v5_f1 = load double, double* %v4_f1, align 4
  %v6_f1 = fpext double %v5_f1 to x86_fp80
  %v7_f1 = fmul x86_fp80 %v4_ef, %v6_f1
  %v4_f4 = fsub x86_fp80 %v7_f1, %v7_f1
  %v2_f6 = load i32, i32* @ecx, align 8
  %v3_f6 = add i32 %v2_f6, 8
  %v4_f6 = fptrunc x86_fp80 %v4_f4 to double
  %v5_f6 = inttoptr i32 %v3_f6 to double*
  store double %v4_f6, double* %v5_f6, align 4
  %v3_f9 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_f9 = fpext double %v3_f9 to x86_fp80
  store x86_fp80 %v4_f9, x86_fp80* %st7.global-to-local, align 4
  %v3_fb = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_fb = fpext double %v3_fb to x86_fp80
  store x86_fp80 %v4_fb, x86_fp80* %st6.global-to-local, align 4
  %v3_fd = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_fd = fpext double %v3_fd to x86_fp80
  store x86_fp80 %v4_fd, x86_fp80* %st5.global-to-local, align 4
  %v4_ff = load double, double* %v3_e8, align 4
  %v5_ff = fpext double %v4_ff to x86_fp80
  store x86_fp80 %v5_ff, x86_fp80* %st4.global-to-local, align 4
  %v1_102 = load i32, i32* %esi.global-to-local, align 4
  %v2_102 = add i32 %v1_102, 232
  %v3_102 = inttoptr i32 %v2_102 to double*
  %v4_102 = load double, double* %v3_102, align 4
  %v5_102 = fpext double %v4_102 to x86_fp80
  %v4_108 = fmul x86_fp80 %v5_ff, %v5_102
  %v4_10a = fptrunc x86_fp80 %v4_108 to double
  store double %v4_10a, double* %v3_102, align 4
  %v2_112 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_112 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_112 = fmul x86_fp80 %v2_112, %v3_112
  store x86_fp80 %v4_112, x86_fp80* %st6.global-to-local, align 4
  %v2_114 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_114 = fmul x86_fp80 %v3_112, %v2_114
  store x86_fp80 %v4_114, x86_fp80* %st5.global-to-local, align 4
  %v4_11a = fadd x86_fp80 %v3_112, 0xKBFFF8000000000000000
  %v3_120 = add i32 %v0_76, -24
  %v4_120 = inttoptr i32 %v3_120 to double*
  %v5_120 = load double, double* %v4_120, align 4
  %v6_120 = fpext double %v5_120 to x86_fp80
  %v7_120 = fmul x86_fp80 %v4_11a, %v6_120
  %v4_123 = fsub x86_fp80 %v4_112, %v7_120
  store x86_fp80 %v4_123, x86_fp80* %st6.global-to-local, align 4
  %v3_125 = add i32 %v0_76, -32
  %v4_125 = inttoptr i32 %v3_125 to double*
  %v5_125 = load double, double* %v4_125, align 4
  %v6_125 = fpext double %v5_125 to x86_fp80
  %v7_125 = fmul x86_fp80 %v4_11a, %v6_125
  %v4_128 = fsub x86_fp80 %v4_114, %v7_125
  store x86_fp80 %v4_128, x86_fp80* %st5.global-to-local, align 4
  %v4_12a = fdiv x86_fp80 %v4_11a, %v3_112
  %v4_12c = inttoptr i32 %v1_76 to double*
  %v5_12c = load double, double* %v4_12c, align 4
  %v6_12c = fpext double %v5_12c to x86_fp80
  %v7_12c = fmul x86_fp80 %v4_12a, %v6_12c
  %v2_12f = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_12f = fsub x86_fp80 %v2_12f, %v7_12c
  %v2_133 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_12f)
  %v4_135 = fsub x86_fp80 %v7_12c, %v2_133
  %v4_137 = fmul x86_fp80 %v3_112, %v4_135
  store x86_fp80 %v4_137, x86_fp80* %st7.global-to-local, align 4
  %v2_139 = load i32, i32* @edx, align 8
  %v3_139 = fptrunc x86_fp80 %v4_128 to double
  %v4_139 = inttoptr i32 %v2_139 to double*
  store double %v3_139, double* %v4_139, align 4
  %v1_13b = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_13b = load i32, i32* %ebx.global-to-local, align 4
  %v3_13b = fptrunc x86_fp80 %v1_13b to double
  %v4_13b = inttoptr i32 %v2_13b to double*
  store double %v3_13b, double* %v4_13b, align 4
  %v1_13d = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_13d = load i32, i32* @ecx, align 8
  %v3_13d = fptrunc x86_fp80 %v1_13d to double
  %v4_13d = inttoptr i32 %v2_13d to double*
  store double %v3_13d, double* %v4_13d, align 4
  %v5_13d = xor i3 %v0_79, -4
  store i3 %v5_13d, i3* %fpu_stat_TOP.global-to-local, align 1
  store i32 %v2_13b, 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_13b
}

declare i16 @__asm_fnstsw(i32) local_unnamed_addr

; Function Attrs: nounwind readnone speculatable
declare x86_fp80 @llvm.fabs.f80(x86_fp80) #0

attributes #0 = { nounwind readnone speculatable }
