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:
  %st6.global-to-local = alloca x86_fp80, align 4
  %st7.global-to-local = alloca x86_fp80, 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
  %v2_d = add i32 %arg1, 56
  %v3_d = inttoptr i32 %v2_d to double*
  %v4_d = load double, double* %v3_d, align 4
  %v5_d = fpext double %v4_d to x86_fp80
  %v2_12 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v5_d)
  %v4_14 = fdiv x86_fp80 %v5_d, %v2_12
  %v4_16 = fmul x86_fp80 %v4_14, %v4_7
  store x86_fp80 %v4_16, x86_fp80* %st7.global-to-local, align 4
  %v4_18 = fmul x86_fp80 %v4_14, %v4_9
  store x86_fp80 %v4_18, x86_fp80* %st6.global-to-local, align 4
  %v4_1a = fmul x86_fp80 %v4_14, %v4_b
  %tmp231 = bitcast double %v3_b to i64
  %tmp232 = trunc i64 %tmp231 to i32
  %v3_1c = fptrunc x86_fp80 %v4_1a to double
  %v4_1c = inttoptr i32 %tmp232 to double*
  store double %v3_1c, double* %v4_1c, align 4
  %v1_1e = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_1e = load i32, i32* @edx, align 8
  %v3_1e = fptrunc x86_fp80 %v1_1e to double
  %v4_1e = inttoptr i32 %v2_1e to double*
  store double %v3_1e, double* %v4_1e, align 4
  %v1_20 = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v2_20 = load i32, i32* @ecx, align 8
  %v3_20 = fptrunc x86_fp80 %v1_20 to double
  %v4_20 = inttoptr i32 %v2_20 to double*
  store double %v3_20, double* %v4_20, align 4
  %v0_24 = load i32, i32* @eax, align 8
  ret i32 %v0_24
}

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

attributes #0 = { nounwind readnone speculatable }
