	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s_usqr
_s_usqr:                                ## @s_usqr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdx, %rdx
	jle	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r14
	addq	$8, %r12
	cmpq	%r15, %r13
	je	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	imull	%ebx, %ebx
	addl	(%r14), %ebx
	movl	%ebx, %edi
	callq	_LOWER_HALF
	movq	%rax, (%r14)
	movl	%ebx, %edi
	callq	_UPPER_HALF
	movl	%eax, %ebx
	incq	%r13
	cmpq	%r15, %r13
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jge	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %r12d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %r13d
	imull	(%rax), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax,%r12), %ebx
	movl	%r13d, %edi
	callq	_HIGH_BIT_SET
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leal	(%r13,%r13), %edi
	movl	%ebx, %esi
	callq	_ADD_WILL_OVERFLOW
	movq	%rax, %r15
	leal	(%rbx,%r13,2), %ebx
	movl	%ebx, %edi
	callq	_LOWER_HALF
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12)
	movl	%ebx, %edi
	callq	_UPPER_HALF
                                        ## kill: def $eax killed $eax def $rax
	movq	_MP_DIGIT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rax,%rcx), %ebx
	incl	%ebx
	orq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	cmovel	%eax, %ebx
	incq	%r14
	addq	$8, %r12
	cmpq	%r15, %r14
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	%r14, %r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r13
	leaq	8(%r14), %r12
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	(%r12), %ebx
	movslq	%ebx, %rdi
	movq	%rdi, (%r12)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_UPPER_HALF
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	addq	$8, %r12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_LOWER_HALF
	movq	%rax, (%r12)
	movl	%ebx, %edi
	callq	_UPPER_HALF
	movl	%eax, %ebx
	addq	$8, %r12
	testl	%eax, %eax
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	callq	_assert
	movq	%r13, %r12
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_DIGIT_MAX,4,2               ## @MP_DIGIT_MAX
	.no_dead_strip	_s_usqr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s_usqr
_s_usqr:                                ; @s_usqr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	subs	x8, x2, #1
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b.lt	LBB0_13
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x23, #0
Lloh0:
	adrp	x26, _MP_DIGIT_MAX@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MP_DIGIT_MAX@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #16
	add	x21, x21, #8
	cmp	x23, x19
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20]
	madd	w22, w8, w8, w9
	mov	x0, x22
	bl	_LOWER_HALF
	mov	x24, x20
	str	x0, [x24], #8
	mov	x0, x22
	bl	_UPPER_HALF
	add	x27, x23, #1
	cmp	x27, x19
	b.ge	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sub	x28, x8, x23
	mov	w25, #8
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x21]
	ldr	w9, [x21, x25]
	mul	w22, w9, w8
	ldr	w8, [x20, x25]
	add	w23, w0, w8
	mov	x0, x22
	bl	_HIGH_BIT_SET
	mov	x24, x0
	lsl	w22, w22, #1
	mov	x0, x22
	mov	x1, x23
	bl	_ADD_WILL_OVERFLOW
	orr	x24, x0, x24
	add	w22, w22, w23
	mov	x0, x22
	bl	_LOWER_HALF
	str	x0, [x20, x25]
	mov	x0, x22
	bl	_UPPER_HALF
	ldr	w8, [x26]
	add	w8, w0, w8
	cmp	x24, #0
	csinc	w0, w0, w8, eq
	add	x25, x25, #8
	subs	x28, x28, #1
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x20, x25
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	add	w0, w0, w8
	sxtw	x8, w0
	str	x8, [x24]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_UPPER_HALF
	cbz	w0, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x24, #8
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23]
	add	w22, w0, w8
	mov	x0, x22
	bl	_LOWER_HALF
	str	x0, [x23], #8
	mov	x0, x22
	bl	_UPPER_HALF
	cbnz	w0, LBB0_11
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_assert
	mov	x23, x27
	b	LBB0_3
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_DIGIT_MAX,4,2               ; @MP_DIGIT_MAX
	.no_dead_strip	_s_usqr
.subsections_via_symbols
