	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_sub                     ## -- Begin function mp_int_sub
	.p2align	4, 0x90
_mp_int_sub:                            ## @mp_int_sub
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	testq	%rdx, %rdx
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	%r12, %rdi
	callq	_MP_USED
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_MP_USED
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %ebx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_MP_SIGN
	movq	%rax, %r12
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_MP_SIGN
	movq	%rax, %r13
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_s_pad
	cmpq	%r13, %r12
	jne	LBB0_1
## %bb.7:
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_s_ucmp
	movq	_MP_NEG@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	js	LBB0_11
## %bb.10:
	movq	_MP_ZPOS@GOTPCREL(%rip), %rcx
LBB0_11:
	movq	(%rcx), %r13
	movl	$1, %r12d
	subq	%r13, %r12
	testl	%eax, %eax
	movq	%rbx, %r14
	cmovnsq	%r15, %r14
	cmovnsq	%rbx, %r15
	cmoveq	%r13, %r12
	movq	%rbx, %rdi
	callq	_MP_SIGN
	movq	_MP_NEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	cmovneq	%r13, %r12
	movq	%r15, %rdi
	callq	_MP_DIGITS
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_MP_DIGITS
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_MP_DIGITS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_MP_USED
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_MP_USED
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_s_usub
	movl	(%r15), %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_CLAMP
	jmp	LBB0_12
LBB0_1:
	movq	_MP_MEMORY@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_MP_DIGITS
	movl	%eax, %r12d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_MP_DIGITS
	movl	%eax, %ebx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_MP_DIGITS
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	callq	_s_uadd
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	leal	1(%r15), %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_s_pad
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	movq	16(%r14), %rax
	movslq	%r15d, %rcx
	movq	%rbx, (%rax,%rcx,8)
	jmp	LBB0_6
LBB0_8:
	movq	_MP_MEMORY@GOTPCREL(%rip), %r13
	jmp	LBB0_13
LBB0_3:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r12d
LBB0_6:
	movq	%r14, %r13
	movl	%r12d, (%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r12
LBB0_12:
	movq	%r12, 8(%r13)
	movq	_MP_OK@GOTPCREL(%rip), %r13
LBB0_13:
	movl	(%r13), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_MEMORY,4,2                  ## @MP_MEMORY
	.comm	_MP_ZPOS,8,3                    ## @MP_ZPOS
	.comm	_MP_NEG,8,3                     ## @MP_NEG
	.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_sub                     ; -- Begin function mp_int_sub
	.p2align	2
_mp_int_sub:                            ; @mp_int_sub
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	ccmp	x2, #0, #4, ne
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	bl	_MP_USED
	mov	x23, x0
	mov	x0, x21
	bl	_MP_USED
	mov	x24, x0
	mov	x0, x23
	mov	x1, x24
	bl	_MAX
	mov	x22, x0
	mov	x0, x20
	bl	_MP_SIGN
	mov	x25, x0
	mov	x0, x21
	bl	_MP_SIGN
	mov	x26, x0
	mov	x0, x19
	mov	x1, x22
	bl	_s_pad
	cmp	x25, x26
	b.ne	LBB0_3
; %bb.1:
	cbz	w0, LBB0_9
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_s_ucmp
	mov	x22, x0
Lloh0:
	adrp	x8, _MP_ZPOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_ZPOS@GOTPAGEOFF]
Lloh2:
	adrp	x23, _MP_NEG@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MP_NEG@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x23, ge
	ldr	x24, [x8]
	mov	x0, x20
	bl	_MP_SIGN
	mov	w8, #1
	sub	x8, x8, x24
	cmp	w22, #0
	csel	x22, x20, x21, ge
	csel	x20, x21, x20, ge
	ldr	x9, [x23]
	ccmp	x0, x9, #0, ne
	csel	x26, x8, x24, eq
	mov	x0, x22
	bl	_MP_DIGITS
	mov	x21, x0
	mov	x0, x20
	bl	_MP_DIGITS
	mov	x23, x0
	mov	x0, x19
	bl	_MP_DIGITS
	mov	x24, x0
	mov	x0, x22
	bl	_MP_USED
	mov	x25, x0
	mov	x0, x20
	bl	_MP_USED
	mov	x4, x0
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	mov	x3, x25
	bl	_s_usub
	ldr	w8, [x22]
	str	w8, [x19]
	mov	x0, x19
	bl	_CLAMP
	b	LBB0_8
LBB0_3:
	cbz	w0, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_MP_DIGITS
	mov	x25, x0
	mov	x0, x21
	bl	_MP_DIGITS
	mov	x21, x0
	mov	x0, x19
	bl	_MP_DIGITS
	mov	x2, x0
	mov	x0, x25
	mov	x1, x21
	mov	x3, x23
	mov	x4, x24
	bl	_s_uadd
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	add	w23, w22, #1
	mov	x0, x19
	mov	x1, x23
	bl	_s_pad
	cbz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x19, #16]
	str	x21, [x8, w22, sxtw #3]
	mov	x22, x23
LBB0_7:
	str	w22, [x19]
	ldr	x26, [x20, #8]
LBB0_8:
	str	x26, [x19, #8]
Lloh4:
	adrp	x8, _MP_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MP_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _MP_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MP_MEMORY@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_MEMORY,4,2                  ; @MP_MEMORY
	.comm	_MP_ZPOS,8,3                    ; @MP_ZPOS
	.comm	_MP_NEG,8,3                     ; @MP_NEG
	.comm	_MP_OK,4,2                      ; @MP_OK
.subsections_via_symbols
