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:
  %st2.global-to-local = alloca x86_fp80, align 4
  %st3.global-to-local = alloca x86_fp80, 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
  %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
  store x86_fp80 %v4_6, x86_fp80* %st6.global-to-local, align 4
  %v3_8 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_8 = fpext double %v3_8 to x86_fp80
  store x86_fp80 %v4_8, x86_fp80* %st5.global-to-local, align 4
  %v4_f = fmul x86_fp80 %v4_6, %v4_6
  store x86_fp80 %v4_f, x86_fp80* %st4.global-to-local, align 4
  %v4_13 = fmul x86_fp80 %v4_4, %v4_4
  store x86_fp80 %v4_13, x86_fp80* %st3.global-to-local, align 4
  %v4_17 = fmul x86_fp80 %v4_8, %v4_8
  store x86_fp80 %v4_17, x86_fp80* %st2.global-to-local, align 4
  %v4_1b = fsub x86_fp80 %v4_17, %v4_13
  %v4_1d = fsub x86_fp80 %v4_1b, %v4_f
  %v3_1f = add i32 %arg1, 24
  %v4_1f = inttoptr i32 %v3_1f to double*
  %v5_1f = load double, double* %v4_1f, align 4
  %v6_1f = fpext double %v5_1f to x86_fp80
  %v7_1f = fadd x86_fp80 %v4_1d, %v6_1f
  %tmp235 = bitcast double %v3_8 to i64
  %tmp236 = trunc i64 %tmp235 to i32
  %v3_22 = fptrunc x86_fp80 %v7_1f to double
  %v4_22 = inttoptr i32 %tmp236 to double*
  store double %v3_22, double* %v4_22, align 4
  %v2_24 = load x86_fp80, x86_fp80* %st2.global-to-local, align 4
  %v3_24 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_24 = fadd x86_fp80 %v2_24, %v3_24
  %v2_26 = load x86_fp80, x86_fp80* %st3.global-to-local, align 4
  %v3_26 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v3_28 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_28 = fmul x86_fp80 %v3_26, %v3_28
  store x86_fp80 %v4_28, x86_fp80* %st5.global-to-local, align 4
  %v2_2c = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_24)
  %v3_2e = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_2e = fmul x86_fp80 %v2_2c, %v3_2e
  store x86_fp80 %v4_24, x86_fp80* %st3.global-to-local, align 4
  %v4_32 = fsub x86_fp80 %v4_24, %v2_26
  store x86_fp80 %v4_32, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_24, x86_fp80* %st7.global-to-local, align 4
  %v3_36 = fadd x86_fp80 %v4_2e, %v4_2e
  %v2_38 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v3_36)
  store x86_fp80 %v2_38, x86_fp80* %st4.global-to-local, align 4
  %v2_3a = add i32 %arg1, 32
  %v3_3a = inttoptr i32 %v2_3a to double*
  %v4_3a = load double, double* %v3_3a, align 4
  %tmp237 = call double @llvm.fabs.f64(double %v4_3a)
  %v2_3d = fpext double %tmp237 to x86_fp80
  store x86_fp80 %v2_3d, x86_fp80* %st3.global-to-local, align 4
  %v4_3f = fsub x86_fp80 %v2_3d, %v2_38
  store x86_fp80 %v4_3f, x86_fp80* %st4.global-to-local, align 4
  %v2_41 = load i32, i32* @edx, align 8
  %v3_41 = fptrunc x86_fp80 %v4_3f to double
  %v4_41 = inttoptr i32 %v2_41 to double*
  store double %v3_41, double* %v4_41, align 4
  %v1_43 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_43 = fadd x86_fp80 %v1_43, %v1_43
  store x86_fp80 %v3_43, x86_fp80* %st5.global-to-local, align 4
  %v3_45 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_45 = fmul x86_fp80 %v3_43, %v3_45
  store x86_fp80 %v4_45, x86_fp80* %st6.global-to-local, align 4
  %v3_47 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_47 = fdiv x86_fp80 %v4_45, %v3_47
  %v2_49 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_47)
  store x86_fp80 %v2_49, x86_fp80* %st7.global-to-local, align 4
  %v2_4b = add i32 %arg1, 40
  %v3_4b = inttoptr i32 %v2_4b to double*
  %v4_4b = load double, double* %v3_4b, align 4
  %tmp238 = call double @llvm.fabs.f64(double %v4_4b)
  %v2_4e = fpext double %tmp238 to x86_fp80
  store x86_fp80 %v2_4e, x86_fp80* %st6.global-to-local, align 4
  %v4_50 = fsub x86_fp80 %v2_4e, %v2_49
  store x86_fp80 %v4_50, x86_fp80* %st7.global-to-local, align 4
  %v2_52 = load i32, i32* @ecx, align 8
  %v3_52 = fptrunc x86_fp80 %v4_50 to double
  %v4_52 = inttoptr i32 %v2_52 to double*
  store double %v3_52, double* %v4_52, align 4
  %v0_56 = load i32, i32* @eax, align 8
  ret i32 %v0_56
}

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