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
  %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_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v3_5 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_5 = fpext double %v3_5 to x86_fp80
  store x86_fp80 %v4_5, x86_fp80* %st7.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_a = add i32 %arg1, 48
  %v2_a = inttoptr i32 %v1_a to i32*
  %v3_a = load i32, i32* %v2_a, align 4
  %v6_d = fmul x86_fp80 %v4_5, %v4_5
  store x86_fp80 %v6_d, x86_fp80* %st7.global-to-local, align 4
  %v3_f = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_f = fpext double %v3_f to x86_fp80
  %v6_11 = fmul x86_fp80 %v4_f, %v4_f
  store x86_fp80 %v6_11, x86_fp80* %st6.global-to-local, align 4
  %v4_15 = fadd x86_fp80 %v6_d, %v6_11
  store x86_fp80 %v4_15, x86_fp80* %st5.global-to-local, align 4
  %v3_17 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_17 = fpext double %v3_17 to x86_fp80
  %v2_19 = call x86_fp80 @llvm.fabs.f80(x86_fp80 %v4_17)
  store x86_fp80 %v2_19, x86_fp80* %st4.global-to-local, align 4
  %v3_1d = fmul x86_fp80 %v4_17, %v4_17
  %v4_1f = fsub x86_fp80 %v3_1d, %v4_15
  %v3_21 = add i32 %v3_a, -16
  %v4_21 = inttoptr i32 %v3_21 to double*
  %v5_21 = load double, double* %v4_21, align 4
  %v6_21 = fpext double %v5_21 to x86_fp80
  %v7_21 = fmul x86_fp80 %v4_1f, %v6_21
  %v3_24 = add i32 %arg1, 40
  %v4_24 = inttoptr i32 %v3_24 to double*
  %v5_24 = load double, double* %v4_24, align 4
  %v6_24 = fpext double %v5_24 to x86_fp80
  %v7_24 = fadd x86_fp80 %v7_21, %v6_24
  %tmp233 = bitcast double %v3_17 to i64
  %tmp234 = trunc i64 %tmp233 to i32
  %v3_27 = fptrunc x86_fp80 %v7_24 to double
  %v4_27 = inttoptr i32 %tmp234 to double*
  store double %v3_27, double* %v4_27, align 4
  %v1_29 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_29 = fadd x86_fp80 %v1_29, %v1_29
  %v3_2b = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_2d = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v3_2b)
  %v4_2f = fdiv x86_fp80 %v3_29, %v2_2d
  store x86_fp80 %v4_2f, x86_fp80* %st5.global-to-local, align 4
  %v4_33 = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_33 = fpext double %v4_33 to x86_fp80
  %v6_33 = fmul x86_fp80 %v4_2f, %v5_33
  %v4_35 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_35 = fpext double %v4_35 to x86_fp80
  %v6_35 = fmul x86_fp80 %v6_33, %v5_35
  %v3_37 = fadd x86_fp80 %v6_35, %v6_35
  store x86_fp80 %v3_37, x86_fp80* %st4.global-to-local, align 4
  %v3_39 = add i32 %arg1, 32
  %v4_39 = inttoptr i32 %v3_39 to double*
  %v5_39 = load double, double* %v4_39, align 4
  %v6_39 = fpext double %v5_39 to x86_fp80
  %v7_39 = fadd x86_fp80 %v3_37, %v6_39
  store x86_fp80 %v7_39, x86_fp80* %st4.global-to-local, align 4
  %tmp235 = bitcast double %v4_35 to i64
  %tmp236 = trunc i64 %tmp235 to i32
  %v3_3c = fptrunc x86_fp80 %v7_39 to double
  %v4_3c = inttoptr i32 %tmp236 to double*
  store double %v3_3c, double* %v4_3c, align 4
  %v2_3e = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_3e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v3_3e, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v2_3e, x86_fp80* %st6.global-to-local, align 4
  %v3_40 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_40 = fsub x86_fp80 %v3_3e, %v3_40
  %v4_42 = fmul x86_fp80 %v2_3e, %v4_40
  store x86_fp80 %v4_42, x86_fp80* %st7.global-to-local, align 4
  %v3_44 = add i32 %arg1, 24
  %v4_44 = inttoptr i32 %v3_44 to double*
  %v5_44 = load double, double* %v4_44, align 4
  %v6_44 = fpext double %v5_44 to x86_fp80
  %v7_44 = fadd x86_fp80 %v4_42, %v6_44
  store x86_fp80 %v7_44, x86_fp80* %st7.global-to-local, align 4
  %v2_47 = load i32, i32* @eax, align 8
  %v3_47 = fptrunc x86_fp80 %v7_44 to double
  %v4_47 = inttoptr i32 %v2_47 to double*
  store double %v3_47, double* %v4_47, 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_4c = load i32, i32* @eax, align 8
  ret i32 %v0_4c
}

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

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

attributes #0 = { nounwind readnone speculatable }
