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 x86_fp80 @function_0(i32 %arg1) local_unnamed_addr {
dec_label_pc_0:
  %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
  %st7.global-to-local = alloca x86_fp80, align 4
  %v0_3 = load i32, i32* %esi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_7 = add i32 %arg1, 48
  %v2_7 = inttoptr i32 %v1_7 to i32*
  %v3_7 = load i32, i32* %v2_7, align 4
  store i32 %v3_7, i32* %esi.global-to-local, align 4
  %v3_a = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_a = fpext double %v3_a to x86_fp80
  %v3_c = fmul x86_fp80 %v4_a, %v4_a
  %v3_e = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_e = fpext double %v3_e to x86_fp80
  %v3_10 = fmul x86_fp80 %v4_e, %v4_e
  %v3_12 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %v3_14 = fmul x86_fp80 %v4_12, %v4_12
  store x86_fp80 %v3_14, x86_fp80* %st5.global-to-local, align 4
  %v4_16 = fadd x86_fp80 %v3_10, %v3_14
  store x86_fp80 %v4_16, x86_fp80* %st6.global-to-local, align 4
  %v4_18 = fadd x86_fp80 %v3_c, %v4_16
  %v2_1a = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_18)
  store x86_fp80 %v2_1a, x86_fp80* %st7.global-to-local, align 4
  %v2_1c = add i32 %v3_7, -52
  %v3_1c = inttoptr i32 %v2_1c to double*
  %v4_1c = load double, double* %v3_1c, align 4
  %v5_1c = fpext double %v4_1c to x86_fp80
  %v4_1f = fdiv x86_fp80 %v5_1c, %v2_1a
  store x86_fp80 %v4_1f, x86_fp80* %st7.global-to-local, align 4
  %v4_23 = fmul x86_fp80 %v4_1f, %v4_12
  store x86_fp80 %v4_23, x86_fp80* %st6.global-to-local, align 4
  %v4_27 = fmul x86_fp80 %v4_1f, %v4_e
  store x86_fp80 %v4_27, x86_fp80* %st5.global-to-local, align 4
  %v4_2b = fmul x86_fp80 %v4_1f, %v4_a
  %v3_35 = add i32 %v3_7, -36
  %v4_35 = inttoptr i32 %v3_35 to float*
  %v5_35 = load float, float* %v4_35, align 4
  %v6_35 = fpext float %v5_35 to x86_fp80
  %v7_35 = fmul x86_fp80 %v4_2b, %v6_35
  %v3_3a = add i32 %v3_7, -40
  %v4_3a = inttoptr i32 %v3_3a to float*
  %v5_3a = load float, float* %v4_3a, align 4
  %v6_3a = fpext float %v5_3a to x86_fp80
  %v7_3a = fmul x86_fp80 %v4_27, %v6_3a
  %v4_3d = fadd x86_fp80 %v7_35, %v7_3a
  %v3_41 = add i32 %v3_7, -44
  %v4_41 = inttoptr i32 %v3_41 to float*
  %v5_41 = load float, float* %v4_41, align 4
  %v6_41 = fpext float %v5_41 to x86_fp80
  %v7_41 = fmul x86_fp80 %v4_23, %v6_41
  %v4_44 = fadd x86_fp80 %v7_41, %v4_3d
  %v3_48 = add i32 %v3_7, -12
  %v4_48 = inttoptr i32 %v3_48 to float*
  %v5_48 = load float, float* %v4_48, align 4
  %v6_48 = fpext float %v5_48 to x86_fp80
  %v7_48 = fmul x86_fp80 %v4_2b, %v6_48
  %v3_4d = add i32 %v3_7, -16
  %v4_4d = inttoptr i32 %v3_4d to float*
  %v5_4d = load float, float* %v4_4d, align 4
  %v6_4d = fpext float %v5_4d to x86_fp80
  %v7_4d = fmul x86_fp80 %v4_27, %v6_4d
  %v4_50 = fadd x86_fp80 %v7_48, %v7_4d
  %v3_54 = add i32 %v3_7, -20
  %v4_54 = inttoptr i32 %v3_54 to float*
  %v5_54 = load float, float* %v4_54, align 4
  %v6_54 = fpext float %v5_54 to x86_fp80
  %v7_54 = fmul x86_fp80 %v4_23, %v6_54
  %v4_57 = fadd x86_fp80 %v4_50, %v7_54
  %v3_5b = add i32 %v3_7, -24
  %v4_5b = inttoptr i32 %v3_5b to float*
  %v5_5b = load float, float* %v4_5b, align 4
  %v6_5b = fpext float %v5_5b to x86_fp80
  %v7_5b = fmul x86_fp80 %v4_2b, %v6_5b
  store x86_fp80 %v7_5b, x86_fp80* %st5.global-to-local, align 4
  %v3_60 = add i32 %v3_7, -28
  %v4_60 = inttoptr i32 %v3_60 to float*
  %v5_60 = load float, float* %v4_60, align 4
  %v6_60 = fpext float %v5_60 to x86_fp80
  %v7_60 = fmul x86_fp80 %v4_27, %v6_60
  %v4_63 = fadd x86_fp80 %v7_5b, %v7_60
  store x86_fp80 %v4_63, x86_fp80* %st5.global-to-local, align 4
  store x86_fp80 %v4_44, x86_fp80* %st6.global-to-local, align 4
  %v3_67 = add i32 %v3_7, -32
  %v4_67 = inttoptr i32 %v3_67 to float*
  %v5_67 = load float, float* %v4_67, align 4
  %v6_67 = fpext float %v5_67 to x86_fp80
  %v7_67 = fmul x86_fp80 %v4_23, %v6_67
  %v4_6a = fadd x86_fp80 %v4_63, %v7_67
  store x86_fp80 %v4_6a, x86_fp80* %st5.global-to-local, align 4
  %v6_6c = fadd x86_fp80 %v4_57, %v4_a
  %tmp231 = bitcast double %v3_a to i64
  %tmp232 = trunc i64 %tmp231 to i32
  %v3_6e = fptrunc x86_fp80 %v6_6c to double
  %v4_6e = inttoptr i32 %tmp232 to double*
  store double %v3_6e, double* %v4_6e, align 4
  %v1_70 = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v4_70 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_70 = fpext double %v4_70 to x86_fp80
  %v6_70 = fadd x86_fp80 %v1_70, %v5_70
  store x86_fp80 %v6_70, x86_fp80* %st5.global-to-local, align 4
  %tmp233 = bitcast double %v4_70 to i64
  %tmp234 = trunc i64 %tmp233 to i32
  %v3_72 = fptrunc x86_fp80 %v6_70 to double
  %v4_72 = inttoptr i32 %tmp234 to double*
  store double %v3_72, double* %v4_72, align 4
  %v1_74 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v4_74 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_74 = fpext double %v4_74 to x86_fp80
  %v6_74 = fadd x86_fp80 %v1_74, %v5_74
  store x86_fp80 %v6_74, x86_fp80* %st6.global-to-local, align 4
  %tmp235 = bitcast double %v4_74 to i64
  %tmp236 = trunc i64 %tmp235 to i32
  %v3_76 = fptrunc x86_fp80 %v6_74 to double
  %v4_76 = inttoptr i32 %tmp236 to double*
  store double %v3_76, double* %v4_76, align 4
  store i32 %v0_3, i32* %esi.global-to-local, align 4
  %v0_7c = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  ret x86_fp80 %v0_7c
}

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

attributes #0 = { nounwind readnone speculatable }
