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
  %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_3 = load i32, i32* %ebx.global-to-local, align 4
  %v0_4 = load i32, i32* %esi.global-to-local, align 4
  %v0_5 = load i32, i32* %edi.global-to-local, align 4
  store i32 %arg1, i32* %esi.global-to-local, align 4
  %v1_9 = add i32 %arg1, 48
  %v2_9 = inttoptr i32 %v1_9 to i32*
  %v3_9 = load i32, i32* %v2_9, align 4
  store i32 %v3_9, i32* %edi.global-to-local, align 4
  %v0_c = load i32, i32* @eax, align 8
  store i32 %v0_c, i32* %ebx.global-to-local, align 4
  %v3_e = load double, double* bitcast (i32* @eax 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* @edx to double*), align 8
  %v4_12 = fpext double %v3_12 to x86_fp80
  %v3_14 = fmul x86_fp80 %v4_12, %v4_12
  %v4_16 = fadd x86_fp80 %v3_10, %v3_14
  store x86_fp80 %v4_16, x86_fp80* %st7.global-to-local, align 4
  %v3_1a = load double, double* bitcast (i32* @ecx to double*), align 8
  %v4_1a = fpext double %v3_1a to x86_fp80
  %v3_1c = fmul x86_fp80 %v4_1a, %v4_1a
  store x86_fp80 %v3_1c, x86_fp80* %st6.global-to-local, align 4
  %tmp233 = bitcast double %v3_1a to i64
  %tmp234 = trunc i64 %tmp233 to i32
  %v2_1e = add i32 %tmp234, 8
  %v3_1e = inttoptr i32 %v2_1e to double*
  %v4_1e = load double, double* %v3_1e, align 4
  %v5_1e = fpext double %v4_1e to x86_fp80
  %v3_21 = fmul x86_fp80 %v5_1e, %v5_1e
  %v4_23 = fadd x86_fp80 %v3_1c, %v3_21
  %v4_27 = fadd x86_fp80 %v4_16, %v4_23
  store x86_fp80 %v4_27, x86_fp80* %st7.global-to-local, align 4
  %v6_2c = fmul x86_fp80 %v4_e, %v4_1a
  store x86_fp80 %v6_2c, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_12, x86_fp80* %st5.global-to-local, align 4
  %v5_30 = load double, double* %v3_1e, align 4
  %v6_30 = fpext double %v5_30 to x86_fp80
  %v7_30 = fmul x86_fp80 %v4_12, %v6_30
  %v4_33 = fsub x86_fp80 %v6_2c, %v7_30
  %v3_35 = fadd x86_fp80 %v4_33, %v4_33
  store x86_fp80 %v3_35, x86_fp80* %st6.global-to-local, align 4
  store x86_fp80 %v4_e, x86_fp80* %st5.global-to-local, align 4
  %v5_3a = load double, double* %v3_1e, align 4
  %v6_3a = fpext double %v5_3a to x86_fp80
  %v7_3a = fmul x86_fp80 %v4_e, %v6_3a
  %v6_3f = fmul x86_fp80 %v4_12, %v4_1a
  %v4_41 = fadd x86_fp80 %v6_3f, %v7_3a
  %v3_43 = fadd x86_fp80 %v4_41, %v4_41
  store x86_fp80 %v3_43, x86_fp80* %st5.global-to-local, align 4
  %v4_4e = fsub x86_fp80 %v3_10, %v3_14
  %v3_50 = fadd x86_fp80 %v4_4e, %v4_4e
  store x86_fp80 %v3_50, x86_fp80* %st4.global-to-local, align 4
  %v6_55 = fmul x86_fp80 %v4_e, %v4_12
  %v3_57 = fadd x86_fp80 %v6_55, %v6_55
  %v3_59 = fadd x86_fp80 %v3_57, %v3_57
  %tmp235 = bitcast double %v3_12 to i64
  %tmp236 = trunc i64 %tmp235 to i32
  %v3_5b = fptrunc x86_fp80 %v3_59 to double
  %v4_5b = inttoptr i32 %tmp236 to double*
  store double %v3_5b, double* %v4_5b, align 4
  %v1_5d = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v3_5d = fptrunc x86_fp80 %v1_5d to double
  %v4_5d = inttoptr i32 %v0_c to double*
  store double %v3_5d, double* %v4_5d, align 4
  %v3_5f = load double, double* bitcast (i32* @eax to double*), align 8
  %v4_5f = fpext double %v3_5f to x86_fp80
  %v3_61 = fmul x86_fp80 %v4_5f, %v4_5f
  %v3_63 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_63 = fpext double %v3_63 to x86_fp80
  %v3_65 = fmul x86_fp80 %v4_63, %v4_63
  %v4_67 = fadd x86_fp80 %v3_61, %v3_65
  %v2_69 = call x86_fp80 @llvm.sqrt.f80(x86_fp80 %v4_67)
  %v3_6b = load x86_fp80, x86_fp80* %st7.global-to-local, align 4
  %v4_6b = fdiv x86_fp80 %v3_6b, %v2_69
  %v4_71 = fsub x86_fp80 0xK3FFF8000000000000000, %v4_6b
  store x86_fp80 %v4_71, x86_fp80* %st4.global-to-local, align 4
  %v4_75 = fmul x86_fp80 %v4_71, %v4_5f
  %v3_77 = fptrunc x86_fp80 %v4_75 to double
  store double %v3_77, double* %v4_5d, align 4
  %v3_79 = load double, double* bitcast (i32* @edx to double*), align 8
  %v4_79 = fpext double %v3_79 to x86_fp80
  %v3_7b = load x86_fp80, x86_fp80* %st4.global-to-local, align 4
  %v4_7b = fmul x86_fp80 %v3_7b, %v4_79
  store x86_fp80 %v4_7b, x86_fp80* %st4.global-to-local, align 4
  %tmp237 = bitcast double %v3_79 to i64
  %tmp238 = trunc i64 %tmp237 to i32
  %v3_7d = fptrunc x86_fp80 %v4_7b to double
  %v4_7d = inttoptr i32 %tmp238 to double*
  store double %v3_7d, double* %v4_7d, align 4
  %v1_7f = load x86_fp80, x86_fp80* %st5.global-to-local, align 4
  %v2_7f = load i32, i32* @ecx, align 8
  %v3_7f = add i32 %v2_7f, 8
  %v4_7f = fptrunc x86_fp80 %v1_7f to double
  %v5_7f = inttoptr i32 %v3_7f to double*
  store double %v4_7f, double* %v5_7f, align 4
  %v1_82 = load x86_fp80, x86_fp80* %st6.global-to-local, align 4
  %v2_82 = load i32, i32* @ecx, align 8
  %v3_82 = fptrunc x86_fp80 %v1_82 to double
  %v4_82 = inttoptr i32 %v2_82 to double*
  store double %v3_82, double* %v4_82, align 4
  %v2_88 = add i32 %arg1, 24
  %v3_88 = inttoptr i32 %v2_88 to double*
  %v4_88 = load double, double* %v3_88, align 4
  %v5_88 = fpext double %v4_88 to x86_fp80
  %v4_8b = load double, double* bitcast (i32* @eax to double*), align 8
  %v5_8b = fpext double %v4_8b to x86_fp80
  %v6_8b = fadd x86_fp80 %v5_88, %v5_8b
  store x86_fp80 %v6_8b, x86_fp80* %st7.global-to-local, align 4
  %v3_8d = fptrunc x86_fp80 %v6_8b to double
  store double %v3_8d, double* %v4_5d, align 4
  %v2_8f = add i32 %arg1, 32
  %v3_8f = inttoptr i32 %v2_8f to double*
  %v4_8f = load double, double* %v3_8f, align 4
  %v5_8f = fpext double %v4_8f to x86_fp80
  %v4_92 = load double, double* bitcast (i32* @edx to double*), align 8
  %v5_92 = fpext double %v4_92 to x86_fp80
  %v6_92 = fadd x86_fp80 %v5_8f, %v5_92
  store x86_fp80 %v6_92, x86_fp80* %st7.global-to-local, align 4
  %tmp239 = bitcast double %v4_92 to i64
  %tmp240 = trunc i64 %tmp239 to i32
  %v3_94 = fptrunc x86_fp80 %v6_92 to double
  %v4_94 = inttoptr i32 %tmp240 to double*
  store double %v3_94, double* %v4_94, align 4
  %v2_96 = add i32 %arg1, 40
  %v3_96 = inttoptr i32 %v2_96 to double*
  %v4_96 = load double, double* %v3_96, align 4
  %v5_96 = fpext double %v4_96 to x86_fp80
  %v4_99 = load double, double* bitcast (i32* @ecx to double*), align 8
  %v5_99 = fpext double %v4_99 to x86_fp80
  %v6_99 = fadd x86_fp80 %v5_96, %v5_99
  store x86_fp80 %v6_99, x86_fp80* %st7.global-to-local, align 4
  %tmp241 = bitcast double %v4_99 to i64
  %tmp242 = trunc i64 %tmp241 to i32
  %v3_9b = fptrunc x86_fp80 %v6_99 to double
  %v4_9b = inttoptr i32 %tmp242 to double*
  store double %v3_9b, double* %v4_9b, align 4
  %v2_9d = add i32 %arg1, -56
  %v3_9d = inttoptr i32 %v2_9d to double*
  %v4_9d = load double, double* %v3_9d, align 4
  %v5_9d = fpext double %v4_9d to x86_fp80
  store x86_fp80 %v5_9d, x86_fp80* %st7.global-to-local, align 4
  %v2_a0 = load i32, i32* %edi.global-to-local, align 4
  %v3_a0 = add i32 %v2_a0, -16
  %v4_a0 = inttoptr i32 %v3_a0 to double*
  %v5_a0 = load double, double* %v4_a0, align 4
  %v6_a0 = fpext double %v5_a0 to x86_fp80
  %v7_a0 = fadd x86_fp80 %v5_9d, %v6_a0
  store x86_fp80 %v7_a0, x86_fp80* %st7.global-to-local, align 4
  %v2_a3 = load i32, i32* @ecx, align 8
  %v3_a3 = add i32 %v2_a3, 8
  %v4_a3 = inttoptr i32 %v3_a3 to double*
  %v5_a3 = load double, double* %v4_a3, align 4
  %v6_a3 = fpext double %v5_a3 to x86_fp80
  %v7_a3 = fadd x86_fp80 %v7_a0, %v6_a3
  store x86_fp80 %v7_a3, x86_fp80* %st7.global-to-local, align 4
  %v4_a6 = fptrunc x86_fp80 %v7_a3 to double
  store double %v4_a6, double* %v4_a3, align 4
  %v0_ab = load i32, i32* %ebx.global-to-local, align 4
  store i32 %v0_ab, i32* @eax, align 8
  store i32 %v0_5, i32* %edi.global-to-local, align 4
  store i32 %v0_4, i32* %esi.global-to-local, align 4
  store i32 %v0_3, i32* %ebx.global-to-local, align 4
  ret i32 %v0_ab
}

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

attributes #0 = { nounwind readnone speculatable }
