	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_sqr                     ## -- Begin function mp_int_sqr
	.p2align	4, 0x90
_mp_int_sqr:                            ## @mp_int_sqr
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	%r15, %rdi
	callq	_MP_USED
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	incl	%ecx
	shrl	$31, %ecx
	leal	(%rax,%rcx), %ebx
	incl	%ebx
	addl	%ebx, %ebx
	andl	$-4, %ebx
	cmpq	%r14, %r15
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_s_pad
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movq	%r14, %rdi
	callq	_MP_DIGITS
	movq	%rax, %r13
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %edi
	callq	_s_round_prec
	movq	_default_precision@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_MAX
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_s_alloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %r13
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
LBB0_5:
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_ZERO
	movq	%r15, %rdi
	callq	_MP_DIGITS
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_MP_USED
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_s_ksqr
	movq	%r14, %rdi
	callq	_MP_DIGITS
	cmpq	%rax, %r13
	je	LBB0_9
## %bb.6:
	movq	%r14, %rdi
	callq	_MP_DIGITS
	cmpq	%r14, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_MP_DIGITS
	movq	%rax, %rdi
	callq	_s_free
LBB0_8:
	movq	%r13, 16(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
LBB0_9:
	movl	%ebx, 4(%r14)
	movq	%r14, %rdi
	callq	_CLAMP
	movq	_MP_ZPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_MP_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_MP_MEMORY@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_default_precision,4,2          ## @default_precision
	.comm	_MP_MEMORY,4,2                  ## @MP_MEMORY
	.comm	_MP_ZPOS,4,2                    ## @MP_ZPOS
	.comm	_MP_OK,4,2                      ## @MP_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_sqr                     ; -- Begin function mp_int_sqr
	.p2align	2
_mp_int_sqr:                            ; @mp_int_sqr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x21, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	cset	w0, ne
	bl	_assert
	mov	x0, x21
	bl	_MP_USED
	add	w8, w0, #1
	add	w9, w0, #2
	cmp	w8, #0
	csinc	w8, w9, w0, lt
	lsl	w8, w8, #1
	and	w20, w8, #0xfffffffc
	cmp	x21, x19
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_s_pad
	cbz	w0, LBB0_10
; %bb.2:
	mov	x0, x19
	bl	_MP_DIGITS
	mov	x23, x0
	mov	w22, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_s_round_prec
Lloh0:
	adrp	x8, _default_precision@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_precision@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MAX
	mov	x22, x0
	bl	_s_alloc
	cbz	x0, LBB0_10
; %bb.4:
	mov	x23, x0
LBB0_5:
	mov	x0, x23
	mov	x1, x20
	bl	_ZERO
	mov	x0, x21
	bl	_MP_DIGITS
	mov	x24, x0
	mov	x0, x21
	bl	_MP_USED
	mov	x2, x0
	mov	x0, x24
	mov	x1, x23
	bl	_s_ksqr
	mov	x0, x19
	bl	_MP_DIGITS
	cmp	x23, x0
	b.eq	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_MP_DIGITS
	cmp	x0, x19
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_MP_DIGITS
	bl	_s_free
LBB0_8:
	str	x23, [x19, #16]
	str	w22, [x19]
LBB0_9:
	str	w20, [x19, #4]
	mov	x0, x19
	bl	_CLAMP
Lloh3:
	adrp	x8, _MP_ZPOS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MP_ZPOS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
Lloh6:
	adrp	x8, _MP_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MP_OK@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x8, _MP_MEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MP_MEMORY@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_default_precision,4,2          ; @default_precision
	.comm	_MP_MEMORY,4,2                  ; @MP_MEMORY
	.comm	_MP_ZPOS,4,2                    ; @MP_ZPOS
	.comm	_MP_OK,4,2                      ; @MP_OK
.subsections_via_symbols
