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
  store x86_fp80 %v4_17, x86_fp80* %st4.global-to-local, align 4
  %v3_1b = fmul x86_fp80 %v4_17, %v4_17
  %v4_1d = fsub x86_fp80 %v3_1b, %v4_15
  %v3_1f = add i32 %v3_a, -16
  %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 = fmul x86_fp80 %v4_1d, %v6_1f
  %v3_22 = add i32 %arg1, 40
  %v4_22 = inttoptr i32 %v3_22 to double*
  %v5_22 = load double, double* %v4_22, align 4
  %v6_22 = fpext double %v5_22 to x86_fp80
  %v7_22 = fadd x86_fp80 %v7_1f, %v6_22
  %tmp232 = bitcast double %v3_17 to i64
  %tmp233 = trunc i64 %tmp232 to i32
  %v3_25 = fptrunc x86_fp80 %v7_22 to double
  %v4_25 = inttoptr i32 %tmp233 to double*
  store double %v3_25, double* %v4_25, align 4
  %v1_27 = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_27 = fadd x86_fp80 %v1_27, %v1_27
  %v3_29 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_2b = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v3_29)
  %v4_2d = fdiv x86_fp80 %v3_27, %v2_2b
  store x86_fp80 %v4_2d, x86_fp80* %st5.global-to-local, align 4
  %v4_31 = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_31 = fpext double %v4_31 to x86_fp80
  %v6_31 = fmul x86_fp80 %v4_2d, %v5_31
  %v4_33 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_33 = fpext double %v4_33 to x86_fp80
  %v6_33 = fmul x86_fp80 %v6_31, %v5_33
  %v3_35 = fadd x86_fp80 %v6_33, %v6_33
  store x86_fp80 %v3_35, x86_fp80* %st4.global-to-local, align 4
  %v3_37 = add i32 %arg1, 32
  %v4_37 = inttoptr i32 %v3_37 to double*
  %v5_37 = load double, double* %v4_37, align 4
  %v6_37 = fpext double %v5_37 to x86_fp80
  %v7_37 = fadd x86_fp80 %v3_35, %v6_37
  store x86_fp80 %v7_37, x86_fp80* %st4.global-to-local, align 4
  %tmp234 = bitcast double %v4_33 to i64
  %tmp235 = trunc i64 %tmp234 to i32
  %v3_3a = fptrunc x86_fp80 %v7_37 to double
  %v4_3a = inttoptr i32 %tmp235 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
  store x86_fp80 %v3_3c, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v2_3c, x86_fp80* %st6.global-to-local, align 4
  %v3_3e = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_3e = fsub x86_fp80 %v3_3c, %v3_3e
  %v4_40 = fmul x86_fp80 %v2_3c, %v4_3e
  store x86_fp80 %v4_40, x86_fp80* %st7.global-to-local, align 4
  %v3_42 = add i32 %arg1, 24
  %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 = fadd x86_fp80 %v4_40, %v6_42
  store x86_fp80 %v7_42, x86_fp80* %st7.global-to-local, align 4
  %v2_45 = load i32, i32* @eax, 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_4a = load i32, i32* @eax, align 8
  ret i32 %v0_4a
}

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

attributes #0 = { nounwind readnone speculatable }
