	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_add                     ## -- Begin function mp_int_add
	.p2align	4, 0x90
_mp_int_add:                            ## @mp_int_add
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r15
	testq	%rdi, %rdi
	setne	%al
	testq	%rsi, %rsi
	setne	%cl
	andb	%al, %cl
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	%r15, %rdi
	callq	_MP_USED
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_MP_USED
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_MP_SIGN
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_MP_SIGN
	cmpq	%rax, %r14
	jne	LBB0_6
## %bb.1:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	callq	_s_pad
	movq	_MP_MEMORY@GOTPCREL(%rip), %r14
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	%r15, %rdi
	callq	_MP_DIGITS
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_MP_DIGITS
	movl	%eax, %ebx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_MP_DIGITS
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_s_uadd
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_5
## %bb.3:
	leal	1(%rax), %r12d
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_s_pad
	testl	%eax, %eax
	je	LBB0_12
## %bb.4:
	movq	8(%r13), %rax
	movslq	-64(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%rbx, (%rax,%rcx,8)
	movl	%r12d, %eax
LBB0_5:
	movl	%eax, (%r13)
	movl	4(%r15), %eax
	movl	%eax, 4(%r13)
	jmp	LBB0_11
LBB0_6:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_s_ucmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movq	%r15, %r12
	cmovsq	%r13, %r12
	movq	%r12, %rdi
	callq	_MP_USED
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_s_pad
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	testl	%ebx, %ebx
	cmovsq	%r15, %r13
	movq	%r12, %rdi
	callq	_MP_DIGITS
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_MP_DIGITS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_MP_DIGITS
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_MP_USED
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_MP_USED
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_s_usub
	movl	(%r12), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_CLAMP
	movl	4(%r12), %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_11
LBB0_7:
	movq	%r14, %rdi
	callq	_mp_int_zero
LBB0_11:
	movq	_MP_OK@GOTPCREL(%rip), %r14
LBB0_12:
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_MP_MEMORY@GOTPCREL(%rip), %r14
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_MEMORY,4,2                  ## @MP_MEMORY
	.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_add                     ; -- Begin function mp_int_add
	.p2align	2
_mp_int_add:                            ; @mp_int_add
	.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
	cmp	x25, x0
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	bl	_s_pad
	cbz	w0, LBB0_10
; %bb.2:
	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_5
; %bb.3:
	mov	x21, x0
	add	w23, w22, #1
	mov	x0, x19
	mov	x1, x23
	bl	_s_pad
	cbz	w0, LBB0_10
; %bb.4:
	ldr	x8, [x19, #8]
	str	x21, [x8, w22, sxtw #3]
	mov	x22, x23
LBB0_5:
	ldr	w8, [x20, #4]
	str	w22, [x19]
	b	LBB0_9
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_s_ucmp
	cbz	w0, LBB0_11
; %bb.7:
	mov	x23, x0
	cmp	w0, #0
	csel	x22, x21, x20, lt
	mov	x0, x22
	bl	_MP_USED
	mov	x1, x0
	mov	x0, x19
	bl	_s_pad
	cbz	w0, LBB0_10
; %bb.8:
	cmp	w23, #0
	csel	x20, x20, x21, lt
	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
	ldr	w8, [x22, #4]
LBB0_9:
	str	w8, [x19, #4]
	b	LBB0_12
LBB0_10:
Lloh0:
	adrp	x8, _MP_MEMORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_MEMORY@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	bl	_mp_int_zero
LBB0_12:
Lloh2:
	adrp	x8, _MP_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MP_OK@GOTPAGEOFF]
LBB0_13:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_MEMORY,4,2                  ; @MP_MEMORY
	.comm	_MP_OK,4,2                      ; @MP_OK
.subsections_via_symbols
