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:
  %esi.global-to-local = alloca i32, 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* %esi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v2_b = add i32 %arg1, 24
  %v3_b = inttoptr i32 %v2_b to double*
  %v4_b = load double, double* %v3_b, align 4
  %v5_b = fpext double %v4_b to x86_fp80
  store x86_fp80 %v5_b, x86_fp80* %st7.global-to-local, align 4
  %v3_e = add i32 %arg1, 32
  %v4_e = inttoptr i32 %v3_e to double*
  %v5_e = load double, double* %v4_e, align 4
  %v6_e = fpext double %v5_e to x86_fp80
  %v7_e = fadd x86_fp80 %v5_b, %v6_e
  store x86_fp80 %v7_e, x86_fp80* %st7.global-to-local, align 4
  %v3_11 = add i32 %arg1, 40
  %v4_11 = inttoptr i32 %v3_11 to double*
  %v5_11 = load double, double* %v4_11, align 4
  %v6_11 = fpext double %v5_11 to x86_fp80
  %v7_11 = fadd x86_fp80 %v7_e, %v6_11
  %v2_14 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_11)
  %v3_16 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_16 = fpext double %v3_16 to x86_fp80
  %v3_18 = fmul x86_fp80 %v4_16, %v4_16
  %v4_1a = fadd x86_fp80 %v3_18, %v2_14
  %v3_1c = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_1c = fpext double %v3_1c to x86_fp80
  %v3_1e = fmul x86_fp80 %v4_1c, %v4_1c
  store x86_fp80 %v3_1e, x86_fp80* %st6.global-to-local, align 4
  %v4_20 = fsub x86_fp80 %v4_1a, %v3_1e
  store x86_fp80 %v4_20, x86_fp80* %st7.global-to-local, align 4
  %v1_22 = load i32, i32* @ecx, align 8
  %v2_22 = add i32 %v1_22, 8
  %v3_22 = inttoptr i32 %v2_22 to double*
  %v4_22 = load double, double* %v3_22, align 4
  %v5_22 = fpext double %v4_22 to x86_fp80
  %v4_25 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_25 = fpext double %v4_25 to x86_fp80
  %v6_25 = fmul x86_fp80 %v5_22, %v5_25
  %v3_27 = fadd x86_fp80 %v6_25, %v6_25
  store x86_fp80 %v3_27, x86_fp80* %st6.global-to-local, align 4
  %v4_29 = fadd x86_fp80 %v4_20, %v3_27
  store x86_fp80 %v4_29, x86_fp80* %st7.global-to-local, align 4
  %v4_2c = load double, double* %v3_b, align 4
  %v5_2c = fpext double %v4_2c to x86_fp80
  %v2_2f = fsub x86_fp80 0xK80000000000000000000, %v5_2c
  store x86_fp80 %v2_2f, x86_fp80* %st6.global-to-local, align 4
  %v5_31 = load double, double* %v4_e, align 4
  %v6_31 = fpext double %v5_31 to x86_fp80
  %v7_31 = fsub x86_fp80 %v2_2f, %v6_31
  store x86_fp80 %v7_31, x86_fp80* %st6.global-to-local, align 4
  %v5_34 = load double, double* %v4_11, align 4
  %v6_34 = fpext double %v5_34 to x86_fp80
  %v7_34 = fadd x86_fp80 %v7_31, %v6_34
  %v2_37 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_34)
  %v4_3d = fadd x86_fp80 %v3_1e, %v2_37
  store x86_fp80 %v3_18, x86_fp80* %st5.global-to-local, align 4
  %v4_43 = fsub x86_fp80 %v4_3d, %v3_18
  store x86_fp80 %v4_43, x86_fp80* %st6.global-to-local, align 4
  %tmp235 = bitcast double %v4_25 to i64
  %tmp236 = trunc i64 %tmp235 to i32
  %v2_45 = add i32 %tmp236, 8
  %v3_45 = inttoptr i32 %v2_45 to double*
  %v4_45 = load double, double* %v3_45, align 4
  %v5_45 = fpext double %v4_45 to x86_fp80
  %v6_48 = fmul x86_fp80 %v5_25, %v5_45
  %v3_4a = fadd x86_fp80 %v6_48, %v6_48
  store x86_fp80 %v3_4a, x86_fp80* %st5.global-to-local, align 4
  %v4_4c = fadd x86_fp80 %v4_43, %v3_4a
  store x86_fp80 %v4_4c, x86_fp80* %st6.global-to-local, align 4
  %v4_4f = load double, double* %v3_b, align 4
  %v5_4f = fpext double %v4_4f to x86_fp80
  %v2_52 = fsub x86_fp80 0xK80000000000000000000, %v5_4f
  store x86_fp80 %v2_52, x86_fp80* %st5.global-to-local, align 4
  %v5_54 = load double, double* %v4_e, align 4
  %v6_54 = fpext double %v5_54 to x86_fp80
  %v7_54 = fsub x86_fp80 %v6_54, %v5_4f
  store x86_fp80 %v7_54, x86_fp80* %st5.global-to-local, align 4
  %v5_57 = load double, double* %v4_11, align 4
  %v6_57 = fpext double %v5_57 to x86_fp80
  %v7_57 = fsub x86_fp80 %v7_54, %v6_57
  %v2_5a = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_57)
  %v3_5e = fmul x86_fp80 %v5_25, %v5_25
  %v4_60 = fadd x86_fp80 %v3_5e, %v2_5a
  store x86_fp80 %v4_60, x86_fp80* %st5.global-to-local, align 4
  %v4_62 = load double, double* %v3_45, align 4
  %v5_62 = fpext double %v4_62 to x86_fp80
  %v3_65 = fmul x86_fp80 %v5_62, %v5_62
  %v4_67 = fsub x86_fp80 %v4_60, %v3_65
  %v6_6c = fmul x86_fp80 %v4_16, %v4_1c
  %v3_6e = fadd x86_fp80 %v6_6c, %v6_6c
  %v4_70 = fadd x86_fp80 %v4_67, %v3_6e
  store x86_fp80 %v4_70, x86_fp80* %st5.global-to-local, align 4
  %v4_74 = load double, double* %v3_b, align 4
  %v5_74 = fpext double %v4_74 to x86_fp80
  %v5_77 = load double, double* %v4_e, align 4
  %v6_77 = fpext double %v5_77 to x86_fp80
  %v7_77 = fsub x86_fp80 %v5_74, %v6_77
  %v5_7a = load double, double* %v4_11, align 4
  %v6_7a = fpext double %v5_7a to x86_fp80
  %v7_7a = fsub x86_fp80 %v7_77, %v6_7a
  %v2_7d = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v7_7a)
  %v4_83 = fsub x86_fp80 %v2_7d, %v3_5e
  %v4_85 = load double, double* %v3_45, align 4
  %v5_85 = fpext double %v4_85 to x86_fp80
  %v3_88 = fmul x86_fp80 %v5_85, %v5_85
  %v4_8a = fadd x86_fp80 %v4_83, %v3_88
  %v4_93 = fadd x86_fp80 %v3_6e, %v4_8a
  %v4_96 = fptrunc x86_fp80 %v4_93 to double
  store double %v4_96, double* %v3_45, align 4
  %v1_99 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_99 = load i32, i32* @ecx, align 8
  %v3_99 = fptrunc x86_fp80 %v1_99 to double
  %v4_99 = inttoptr i32 %v2_99 to double*
  store double %v3_99, double* %v4_99, align 4
  %v1_9b = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_9b = load i32, i32* @edx, align 8
  %v3_9b = fptrunc x86_fp80 %v1_9b to double
  %v4_9b = inttoptr i32 %v2_9b to double*
  store double %v3_9b, double* %v4_9b, align 4
  %v1_9d = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_9d = load i32, i32* @eax, align 8
  %v3_9d = fptrunc x86_fp80 %v1_9d to double
  %v4_9d = inttoptr i32 %v2_9d to double*
  store double %v3_9d, double* %v4_9d, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  %v0_a6 = load i32, i32* @eax, align 8
  ret i32 %v0_a6
}

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

attributes #0 = { nounwind readnone speculatable }
