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:
  %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
  %v3_4 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_4 = fpext double %v3_4 to x86_fp80
  store x86_fp80 %v4_4, x86_fp80* %st7.global-to-local, align 4
  %v3_6 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_6 = fpext double %v3_6 to x86_fp80
  %v3_8 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_8 = fpext double %v3_8 to x86_fp80
  %v4_f = fmul x86_fp80 %v4_6, %v4_6
  %v4_13 = fmul x86_fp80 %v4_4, %v4_4
  %v4_17 = fadd x86_fp80 %v4_13, %v4_f
  %v2_1b = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_17)
  %v4_1d = fmul x86_fp80 %v2_1b, %v4_8
  %v3_1f = fadd x86_fp80 %v4_1d, %v4_1d
  %v4_21 = fdiv x86_fp80 %v3_1f, %v4_17
  %v4_23 = fmul x86_fp80 %v4_21, %v4_6
  store x86_fp80 %v4_23, x86_fp80* %st6.global-to-local, align 4
  %v4_27 = fsub x86_fp80 %v4_f, %v4_13
  %v3_2b = fmul x86_fp80 %v4_8, %v4_8
  %v4_2d = fsub x86_fp80 %v3_2b, %v4_17
  store x86_fp80 %v4_2d, x86_fp80* %st5.global-to-local, align 4
  %v4_2f = fmul x86_fp80 %v4_27, %v4_21
  %v2_31 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_2f)
  %v2_33 = add i32 %arg1, 32
  %v3_33 = inttoptr i32 %v2_33 to double*
  %v4_33 = load double, double* %v3_33, align 4
  %tmp235 = call double @llvm.fabs.f64(double %v4_33)
  %v2_36 = fpext double %tmp235 to x86_fp80
  %v4_38 = fsub x86_fp80 %v2_36, %v2_31
  %tmp236 = bitcast double %v3_6 to i64
  %tmp237 = trunc i64 %tmp236 to i32
  %v3_3a = fptrunc x86_fp80 %v4_38 to double
  %v4_3a = inttoptr i32 %tmp237 to double*
  store double %v3_3a, double* %v4_3a, align 4
  %v1_3c = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_3c = add i32 %arg1, 24
  %v4_3c = inttoptr i32 %v3_3c to double*
  %v5_3c = load double, double* %v4_3c, align 4
  %v6_3c = fpext double %v5_3c to x86_fp80
  %v7_3c = fadd x86_fp80 %v1_3c, %v6_3c
  store x86_fp80 %v7_3c, x86_fp80* %st5.global-to-local, align 4
  %v2_3f = load i32, i32* @eax, align 8
  %v3_3f = fptrunc x86_fp80 %v7_3c 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* %st6.global-to-local, align 4
  %v3_41 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_41 = fmul x86_fp80 %v2_41, %v3_41
  %v3_43 = fadd x86_fp80 %v4_41, %v4_41
  %v2_45 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v3_43)
  store x86_fp80 %v2_45, x86_fp80* %st7.global-to-local, align 4
  %v2_47 = add i32 %arg1, 40
  %v3_47 = inttoptr i32 %v2_47 to double*
  %v4_47 = load double, double* %v3_47, align 4
  %tmp238 = call double @llvm.fabs.f64(double %v4_47)
  %v2_4a = fpext double %tmp238 to x86_fp80
  store x86_fp80 %v2_4a, x86_fp80* %st6.global-to-local, align 4
  %v4_4c = fsub x86_fp80 %v2_4a, %v2_45
  store x86_fp80 %v4_4c, x86_fp80* %st7.global-to-local, align 4
  %v2_4e = load i32, i32* @ecx, align 8
  %v3_4e = fptrunc x86_fp80 %v4_4c to double
  %v4_4e = inttoptr i32 %v2_4e to double*
  store double %v3_4e, double* %v4_4e, align 4
  %v0_52 = load i32, i32* @eax, align 8
  ret i32 %v0_52
}

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

; 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 }
