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:
  %ebx.global-to-local = alloca i32, align 4
  %edi.global-to-local = alloca i32, align 4
  %esi.global-to-local = alloca i32, align 4
  %st5.global-to-local = alloca x86_fp80, align 4
  %st6.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %ebx.global-to-local, align 4
  %v0_4 = load i32, i32* @eax, align 8
  %v0_5 = load i32, i32* %esi.global-to-local, align 4
  %v0_6 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* %ebx.global-to-local, align 4
  %v1_d = add i32 %arg1, 48
  %v2_d = inttoptr i32 %v1_d to i32*
  %v3_d = load i32, i32* %v2_d, align 4
  store i32 %v3_d, i32* %edi.global-to-local, align 4
  %v3_10 = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_10 = fpext double %v3_10 to x86_fp80
  %v3_12 = fmul x86_fp80 %v4_10, %v4_10
  %v3_14 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_14 = fpext double %v3_14 to x86_fp80
  %v3_16 = fmul x86_fp80 %v4_14, %v4_14
  %v3_18 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_18 = fpext double %v3_18 to x86_fp80
  %v3_1a = fmul x86_fp80 %v4_18, %v4_18
  %v4_1c = fadd x86_fp80 %v3_16, %v3_1a
  %v4_1e = fadd x86_fp80 %v3_12, %v4_1c
  store x86_fp80 %v3_1a, x86_fp80* %st5.global-to-local, align 4
  %v4_28 = fadd x86_fp80 %v3_12, %v3_1a
  %v2_2a = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_28)
  store x86_fp80 %v2_2a, x86_fp80* %st6.global-to-local, align 4
  %v3_2c = inttoptr i32 %v3_d to double*
  %v4_2c = load double, double* %v3_2c, align 4
  %v5_2c = fpext double %v4_2c to x86_fp80
  %v6_2c = fadd x86_fp80 %v2_2a, %v5_2c
  %v4_2e = fdiv x86_fp80 %v4_1e, %v6_2c
  %v4_3c = fsub x86_fp80 %v3_12, %v3_16
  store x86_fp80 %v4_3c, x86_fp80* %st6.global-to-local, align 4
  %v4_46 = fadd x86_fp80 %v3_12, %v3_16
  store x86_fp80 %v4_46, x86_fp80* %st5.global-to-local, align 4
  %v4_48 = load double, double* %v3_2c, align 4
  %v5_48 = fpext double %v4_48 to x86_fp80
  %v6_48 = fadd x86_fp80 %v4_46, %v5_48
  %v4_4a = fdiv x86_fp80 %v4_3c, %v6_48
  %v4_4c = fmul x86_fp80 %v4_2e, %v4_4a
  %tmp238 = call double @llvm.fabs.f64(double %v3_10)
  %v2_50 = fpext double %tmp238 to x86_fp80
  store x86_fp80 %v2_50, x86_fp80* %st5.global-to-local, align 4
  %v4_52 = fmul x86_fp80 %v4_4c, %v2_50
  store x86_fp80 %v4_52, x86_fp80* %st6.global-to-local, align 4
  %v3_54 = add i32 %v3_d, -16
  %v4_54 = inttoptr i32 %v3_54 to double*
  %v5_54 = load double, double* %v4_54, align 4
  %v6_54 = fpext double %v5_54 to x86_fp80
  %v7_54 = fmul x86_fp80 %v4_52, %v6_54
  store x86_fp80 %v7_54, x86_fp80* %st6.global-to-local, align 4
  %v3_57 = add i32 %arg1, 24
  %v4_57 = inttoptr i32 %v3_57 to double*
  %v5_57 = load double, double* %v4_57, align 4
  %v6_57 = fpext double %v5_57 to x86_fp80
  %v7_57 = fadd x86_fp80 %v7_54, %v6_57
  store x86_fp80 %v7_57, x86_fp80* %st6.global-to-local, align 4
  %v6_5e = fmul x86_fp80 %v4_10, %v4_14
  %v4_64 = fmul x86_fp80 %v6_5e, %v2_50
  store x86_fp80 %v4_64, x86_fp80* %st5.global-to-local, align 4
  %v4_70 = load double, double* %v3_2c, align 4
  %v5_70 = fpext double %v4_70 to x86_fp80
  %v6_70 = fadd x86_fp80 %v4_46, %v5_70
  %v4_72 = fdiv x86_fp80 %v4_64, %v6_70
  %v4_74 = fmul x86_fp80 %v4_2e, %v4_72
  store x86_fp80 %v4_74, x86_fp80* %st5.global-to-local, align 4
  %v3_76 = add i32 %v3_d, -24
  %v4_76 = inttoptr i32 %v3_76 to double*
  %v5_76 = load double, double* %v4_76, align 4
  %v6_76 = fpext double %v5_76 to x86_fp80
  %v7_76 = fmul x86_fp80 %v4_74, %v6_76
  store x86_fp80 %v7_76, x86_fp80* %st5.global-to-local, align 4
  %v3_79 = add i32 %arg1, 32
  %v4_79 = inttoptr i32 %v3_79 to double*
  %v5_79 = load double, double* %v4_79, align 4
  %v6_79 = fpext double %v5_79 to x86_fp80
  %v7_79 = fadd x86_fp80 %v7_76, %v6_79
  store x86_fp80 %v7_79, x86_fp80* %st5.global-to-local, align 4
  %v2_92 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_1e)
  %v4_94 = fmul x86_fp80 %v2_92, %v4_18
  %v3_98 = add i32 %v3_d, -32
  %v4_98 = inttoptr i32 %v3_98 to double*
  %v5_98 = load double, double* %v4_98, align 4
  %v6_98 = fpext double %v5_98 to x86_fp80
  %v7_98 = fmul x86_fp80 %v4_94, %v6_98
  %v2_9b = add i32 %arg1, 40
  %v3_9b = inttoptr i32 %v2_9b to double*
  %v4_9b = load double, double* %v3_9b, align 4
  %tmp239 = call double @llvm.fabs.f64(double %v4_9b)
  %v2_9e = fpext double %tmp239 to x86_fp80
  %v3_a4 = add i32 %v3_d, -40
  %v4_a4 = inttoptr i32 %v3_a4 to double*
  %v5_a4 = load double, double* %v4_a4, align 4
  %v6_a4 = fpext double %v5_a4 to x86_fp80
  %v7_a4 = fmul x86_fp80 %v2_9e, %v6_a4
  %v4_a7 = fadd x86_fp80 %v7_a4, %v7_98
  %tmp240 = bitcast double %v3_18 to i64
  %tmp241 = trunc i64 %tmp240 to i32
  %v3_ab = fptrunc x86_fp80 %v4_a7 to double
  %v4_ab = inttoptr i32 %tmp241 to double*
  store double %v3_ab, double* %v4_ab, align 4
  %v1_ad = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_ad = load i32, i32* @edx, align 8
  %v3_ad = fptrunc x86_fp80 %v1_ad to double
  %v4_ad = inttoptr i32 %v2_ad to double*
  store double %v3_ad, double* %v4_ad, align 4
  %v1_af = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_af = load i32, i32* %ebx.global-to-local, align 4
  %v3_af = fptrunc x86_fp80 %v1_af to double
  %v4_af = inttoptr i32 %v2_af to double*
  store double %v3_af, double* %v4_af, align 4
  store i32 %v0_6, i32* %edi.global-to-local, align 4
  store i32 %v0_5, i32* %esi.global-to-local, align 4
  store i32 %v0_4, i32* @eax, align 8
  store i32 %v0_3, i32* %ebx.global-to-local, align 4
  ret i32 %v0_4
}

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

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

attributes #0 = { nounwind readnone speculatable }
