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
  %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
  %v0_0 = load i32, i32* %ebp.global-to-local, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  %v3_7 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_7 = fpext double %v3_7 to x86_fp80
  store x86_fp80 %v4_7, x86_fp80* %st7.global-to-local, align 4
  %v3_9 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_9 = fpext double %v3_9 to x86_fp80
  store x86_fp80 %v4_9, x86_fp80* %st6.global-to-local, align 4
  %v3_b = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_b = fpext double %v3_b to x86_fp80
  store x86_fp80 %v4_b, x86_fp80* %st5.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_10 = add i32 %arg1, 48
  %v2_10 = inttoptr i32 %v1_10 to i32*
  %v3_10 = load i32, i32* %v2_10, align 4
  %v4_15 = fmul x86_fp80 %v4_9, %v4_9
  store x86_fp80 %v4_15, x86_fp80* %st4.global-to-local, align 4
  %v4_19 = fmul x86_fp80 %v4_b, %v4_b
  store x86_fp80 %v4_19, x86_fp80* %st3.global-to-local, align 4
  %v4_1d = fadd x86_fp80 %v4_15, %v4_19
  store x86_fp80 %v4_1d, x86_fp80* %st2.global-to-local, align 4
  %v2_21 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_1d)
  %v3_23 = add i32 %v3_10, -24
  %v4_23 = inttoptr i32 %v3_23 to double*
  %v5_23 = load double, double* %v4_23, align 4
  %v6_23 = fpext double %v5_23 to x86_fp80
  %v7_23 = fmul x86_fp80 %v2_21, %v6_23
  %v4_26 = fmul x86_fp80 %v7_23, %v4_7
  %v3_28 = fadd x86_fp80 %v4_26, %v4_26
  %tmp231 = bitcast double %v3_7 to i64
  %tmp232 = trunc i64 %tmp231 to i32
  %v3_2a = fptrunc x86_fp80 %v3_28 to double
  %v4_2a = inttoptr i32 %tmp232 to double*
  store double %v3_2a, double* %v4_2a, align 4
  %v2_2c = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_2e = fmul x86_fp80 %v2_2c, %v2_2c
  %v1_30 = load x86_fp80, x86_fp80* %st2.global-to-local, align 4
  %v4_32 = fsub x86_fp80 %v1_30, %v4_2e
  %v4_34 = fdiv x86_fp80 %v4_32, %v1_30
  store x86_fp80 %v4_34, x86_fp80* %st7.global-to-local, align 4
  %v2_36 = load x86_fp80, x86_fp80* %st3.global-to-local, align 4
  %v3_36 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_36 = fsub x86_fp80 %v2_36, %v3_36
  %v4_38 = fmul x86_fp80 %v4_34, %v4_36
  store x86_fp80 %v4_38, x86_fp80* %st4.global-to-local, align 4
  %v2_3a = load i32, i32* @eax, align 8
  %v3_3a = fptrunc x86_fp80 %v4_38 to double
  %v4_3a = inttoptr i32 %v2_3a to double*
  store double %v3_3a, double* %v4_3a, align 4
  %v2_3c = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v3_3c = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_3c = fmul x86_fp80 %v2_3c, %v3_3c
  store x86_fp80 %v4_3c, x86_fp80* %st6.global-to-local, align 4
  %v3_3e = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_3e = fmul x86_fp80 %v4_3c, %v3_3e
  %v3_40 = fadd x86_fp80 %v4_3e, %v4_3e
  store x86_fp80 %v3_40, x86_fp80* %st7.global-to-local, align 4
  %v3_42 = add i32 %v3_10, -16
  %v4_42 = inttoptr i32 %v3_42 to double*
  %v5_42 = load double, double* %v4_42, align 4
  %v6_42 = fpext double %v5_42 to x86_fp80
  %v7_42 = fmul x86_fp80 %v3_40, %v6_42
  store x86_fp80 %v7_42, x86_fp80* %st7.global-to-local, align 4
  %v2_45 = load i32, i32* @edx, align 8
  %v3_45 = fptrunc x86_fp80 %v7_42 to double
  %v4_45 = inttoptr i32 %v2_45 to double*
  store double %v3_45, double* %v4_45, 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_49 = load i32, i32* @eax, align 8
  ret i32 %v0_49
}

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

attributes #0 = { nounwind readnone speculatable }
