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:
  %ebp.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %esi.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
  %v3_b = load double, double* bitcast (i32* @ecx to double*), align 8
  %tmp234 = call double @llvm.fabs.f64(double %v3_b)
  %v2_d = fpext double %tmp234 to x86_fp80
  store x86_fp80 %v2_d, x86_fp80* %st7.global-to-local, align 4
  %v3_f = load double, double* bitcast (i32* @edx to double*), align 8
  %tmp235 = call double @llvm.fabs.f64(double %v3_f)
  %v2_11 = fpext double %tmp235 to x86_fp80
  store x86_fp80 %v2_11, x86_fp80* %st6.global-to-local, align 4
  %v3_13 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_13 = fpext double %v3_13 to x86_fp80
  %v2_15 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_13)
  %v3_19 = fmul x86_fp80 %v4_13, %v4_13
  %v3_1d = fmul x86_fp80 %v2_11, %v2_11
  %v4_1f = fadd x86_fp80 %v3_1d, %v3_19
  %v3_23 = fmul x86_fp80 %v2_d, %v2_d
  %v4_25 = fadd x86_fp80 %v3_23, %v4_1f
  %v3_27 = add i32 %v3_8, -24
  %v4_27 = inttoptr i32 %v3_27 to double*
  %v5_27 = load double, double* %v4_27, align 4
  %v6_27 = fpext double %v5_27 to x86_fp80
  %v7_27 = fadd x86_fp80 %v4_25, %v6_27
  %v3_2a = add i32 %v3_8, -16
  %v4_2a = inttoptr i32 %v3_2a to double*
  %v5_2a = load double, double* %v4_2a, align 4
  %v6_2a = fpext double %v5_2a to x86_fp80
  %v7_2a = fdiv x86_fp80 %v6_2a, %v7_27
  %v4_2d = fmul x86_fp80 %v7_2a, %v2_11
  store x86_fp80 %v4_2d, x86_fp80* %st6.global-to-local, align 4
  %v4_2f = fmul x86_fp80 %v7_2a, %v2_d
  store x86_fp80 %v4_2f, x86_fp80* %st7.global-to-local, align 4
  %v4_31 = fmul x86_fp80 %v2_15, %v7_2a
  %v3_33 = add i32 %arg1, 24
  %v4_33 = inttoptr i32 %v3_33 to double*
  %v5_33 = load double, double* %v4_33, align 4
  %v6_33 = fpext double %v5_33 to x86_fp80
  %v7_33 = fadd x86_fp80 %v4_31, %v6_33
  %tmp236 = bitcast double %v3_13 to i64
  %tmp237 = trunc i64 %tmp236 to i32
  %v3_36 = fptrunc x86_fp80 %v7_33 to double
  %v4_36 = inttoptr i32 %tmp237 to double*
  store double %v3_36, double* %v4_36, align 4
  %v1_38 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_38 = add i32 %arg1, 32
  %v4_38 = inttoptr i32 %v3_38 to double*
  %v5_38 = load double, double* %v4_38, align 4
  %v6_38 = fpext double %v5_38 to x86_fp80
  %v7_38 = fadd x86_fp80 %v1_38, %v6_38
  store x86_fp80 %v7_38, x86_fp80* %st6.global-to-local, align 4
  %v2_3b = load i32, i32* @edx, align 8
  %v3_3b = fptrunc x86_fp80 %v7_38 to double
  %v4_3b = inttoptr i32 %v2_3b to double*
  store double %v3_3b, double* %v4_3b, align 4
  %v1_3d = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v3_3d = add i32 %arg1, 40
  %v4_3d = inttoptr i32 %v3_3d to double*
  %v5_3d = load double, double* %v4_3d, align 4
  %v6_3d = fpext double %v5_3d to x86_fp80
  %v7_3d = fadd x86_fp80 %v1_3d, %v6_3d
  store x86_fp80 %v7_3d, x86_fp80* %st7.global-to-local, align 4
  %v2_40 = load i32, i32* @ecx, align 8
  %v3_40 = fptrunc x86_fp80 %v7_3d to double
  %v4_40 = inttoptr i32 %v2_40 to double*
  store double %v3_40, double* %v4_40, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  store i32 %v0_0, i32* %ebp.global-to-local, align 4
  %v0_45 = load i32, i32* @eax, align 8
  ret i32 %v0_45
}

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

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

attributes #0 = { nounwind readnone speculatable }
