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:
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %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* %esi.global-to-local, align 4
  %v0_4 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_8 = add i32 %arg1, 48
  %v2_8 = inttoptr i32 %v1_8 to i32*
  %v3_8 = load i32, i32* %v2_8, align 4
  store i32 %v3_8, i32* %edi.global-to-local, align 4
  %v2_b = add i32 %v3_8, -16
  %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 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  store x86_fp80 %v4_e, x86_fp80* %st6.global-to-local, align 4
  %v3_10 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_10 = fpext double %v3_10 to x86_fp80
  store x86_fp80 %v4_10, x86_fp80* %st5.global-to-local, align 4
  %v3_12 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  store x86_fp80 %v4_12, x86_fp80* %st4.global-to-local, align 4
  %v4_16 = fadd x86_fp80 %v4_10, %v4_12
  %v4_18 = fadd x86_fp80 %v4_16, %v4_e
  %v2_1a = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_18)
  %v3_1c = add i32 %v3_8, -24
  %v4_1c = inttoptr i32 %v3_1c to double*
  %v5_1c = load double, double* %v4_1c, align 4
  %v6_1c = fpext double %v5_1c to x86_fp80
  %v7_1c = fmul x86_fp80 %v2_1a, %v6_1c
  %v4_1f = fadd x86_fp80 %v7_1c, %v5_b
  %tmp239 = bitcast double %v3_12 to i64
  %tmp240 = trunc i64 %tmp239 to i32
  %v3_21 = fptrunc x86_fp80 %v4_1f to double
  %v4_21 = inttoptr i32 %tmp240 to double*
  store double %v3_21, double* %v4_21, align 4
  %v2_23 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_25 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_25 = fsub x86_fp80 %v2_23, %v3_25
  %v3_27 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_27 = fsub x86_fp80 %v4_25, %v3_27
  %v2_29 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_27)
  %v5_2b = load double, double* %v4_1c, align 4
  %v6_2b = fpext double %v5_2b to x86_fp80
  %v7_2b = fmul x86_fp80 %v2_29, %v6_2b
  %v3_2e = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_2e = fadd x86_fp80 %v3_2e, %v7_2b
  %v2_30 = load i32, i32* @edx, align 8
  %v3_30 = fptrunc x86_fp80 %v4_2e to double
  %v4_30 = inttoptr i32 %v2_30 to double*
  store double %v3_30, double* %v4_30, align 4
  %v2_32 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_34 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_34 = fsub x86_fp80 %v2_32, %v3_34
  %v3_36 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_36 = fsub x86_fp80 %v4_34, %v3_36
  %v2_38 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_36)
  %v5_3a = load double, double* %v4_1c, align 4
  %v6_3a = fpext double %v5_3a to x86_fp80
  %v7_3a = fmul x86_fp80 %v2_38, %v6_3a
  %v3_3d = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_3d = fadd x86_fp80 %v3_3d, %v7_3a
  %v2_3f = load i32, i32* @ecx, align 8
  %v3_3f = fptrunc x86_fp80 %v4_3d to double
  %v4_3f = inttoptr i32 %v2_3f to double*
  store double %v3_3f, double* %v4_3f, align 4
  %v2_41 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_41 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_41 = fsub x86_fp80 %v2_41, %v3_41
  store x86_fp80 %v4_41, x86_fp80* %st5.global-to-local, align 4
  %v3_43 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_43 = fsub x86_fp80 %v4_41, %v3_43
  %v2_45 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_43)
  store x86_fp80 %v2_45, x86_fp80* %st6.global-to-local, align 4
  %v5_47 = load double, double* %v4_1c, align 4
  %v6_47 = fpext double %v5_47 to x86_fp80
  %v7_47 = fmul x86_fp80 %v2_45, %v6_47
  %v3_4a = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_4a = fadd x86_fp80 %v3_4a, %v7_47
  store x86_fp80 %v4_4a, x86_fp80* %st6.global-to-local, align 4
  %v2_4c = load i32, i32* @ecx, align 8
  %v3_4c = add i32 %v2_4c, 8
  %v4_4c = fptrunc x86_fp80 %v4_4a to double
  %v5_4c = inttoptr i32 %v3_4c to double*
  store double %v4_4c, double* %v5_4c, align 4
  %v2_4f = add i32 %arg1, 40
  %v3_4f = inttoptr i32 %v2_4f to double*
  %v4_4f = load double, double* %v3_4f, align 4
  %v5_4f = fpext double %v4_4f to x86_fp80
  store x86_fp80 %v5_4f, x86_fp80* %st6.global-to-local, align 4
  %v2_52 = add i32 %arg1, 32
  %v3_52 = inttoptr i32 %v2_52 to double*
  %v4_52 = load double, double* %v3_52, align 4
  %v5_52 = fpext double %v4_52 to x86_fp80
  store x86_fp80 %v5_52, x86_fp80* %st5.global-to-local, align 4
  %v2_55 = add i32 %arg1, 24
  %v3_55 = inttoptr i32 %v2_55 to double*
  %v4_55 = load double, double* %v3_55, align 4
  %v5_55 = fpext double %v4_55 to x86_fp80
  store x86_fp80 %v5_55, x86_fp80* %st4.global-to-local, align 4
  %v4_5a = fadd x86_fp80 %v5_52, %v5_55
  %v4_5c = fadd x86_fp80 %v4_5a, %v5_4f
  %v2_5e = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_5c)
  %v5_60 = load double, double* %v4_1c, align 4
  %v6_60 = fpext double %v5_60 to x86_fp80
  %v7_60 = fmul x86_fp80 %v2_5e, %v6_60
  %v3_63 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_63 = fadd x86_fp80 %v3_63, %v7_60
  %v4_65 = fptrunc x86_fp80 %v4_63 to double
  store double %v4_65, double* %v3_55, align 4
  %v2_68 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_6a = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_6a = fsub x86_fp80 %v2_68, %v3_6a
  %v3_6c = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_6c = fsub x86_fp80 %v4_6a, %v3_6c
  %v2_6e = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_6c)
  %v5_70 = load double, double* %v4_1c, align 4
  %v6_70 = fpext double %v5_70 to x86_fp80
  %v7_70 = fmul x86_fp80 %v2_6e, %v6_70
  %v3_73 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_73 = fadd x86_fp80 %v3_73, %v7_70
  %v4_75 = fptrunc x86_fp80 %v4_73 to double
  store double %v4_75, double* %v3_52, align 4
  %v2_78 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_7a = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_7a = fsub x86_fp80 %v2_78, %v3_7a
  %v3_7c = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_7c = fsub x86_fp80 %v4_7a, %v3_7c
  %v2_7e = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_7c)
  %v5_80 = load double, double* %v4_1c, align 4
  %v6_80 = fpext double %v5_80 to x86_fp80
  %v7_80 = fmul x86_fp80 %v2_7e, %v6_80
  %v3_83 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_83 = fadd x86_fp80 %v3_83, %v7_80
  %v4_85 = fptrunc x86_fp80 %v4_83 to double
  store double %v4_85, double* %v3_4f, align 4
  %v2_88 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_88 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_88 = fsub x86_fp80 %v2_88, %v3_88
  store x86_fp80 %v4_88, x86_fp80* %st5.global-to-local, align 4
  %v3_8a = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_8a = fsub x86_fp80 %v4_88, %v3_8a
  %v2_8c = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_8a)
  store x86_fp80 %v2_8c, x86_fp80* %st6.global-to-local, align 4
  %v5_8e = load double, double* %v4_1c, align 4
  %v6_8e = fpext double %v5_8e to x86_fp80
  %v7_8e = fmul x86_fp80 %v2_8c, %v6_8e
  store x86_fp80 %v7_8e, x86_fp80* %st6.global-to-local, align 4
  %v3_91 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_91 = fadd x86_fp80 %v7_8e, %v3_91
  store x86_fp80 %v4_91, x86_fp80* %st7.global-to-local, align 4
  %v3_93 = add i32 %arg1, -56
  %v4_93 = fptrunc x86_fp80 %v4_91 to double
  %v5_93 = inttoptr i32 %v3_93 to double*
  store double %v4_93, double* %v5_93, align 4
  store i32 %v0_4, i32* %edi.global-to-local, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  %v0_99 = load i32, i32* @eax, align 8
  ret i32 %v0_99
}

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

attributes #0 = { nounwind readnone speculatable }
