	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_add                        ## -- Begin function mpi_add
	.p2align	4, 0x90
_mpi_add:                               ## @mpi_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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %r13
	movq	(%rdx), %r12
	cmpq	%r12, %r13
	jge	LBB0_5
## %bb.1:
	movl	8(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	1(%r12), %rsi
	movq	%r15, %rdi
	callq	_RESIZE_IF_NEEDED
	movq	%rbx, %rcx
	movq	%r12, %rbx
	testq	%rax, %rax
	js	LBB0_6
LBB0_2:
	movq	16(%rcx), %r12
	movq	16(%r15), %rdi
	testq	%r13, %r13
	je	LBB0_7
## %bb.3:
	movq	16(%r14), %rcx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.4:
	movq	%rdi, %r14
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %r8
	movl	%eax, %r12d
	callq	_mpihelp_add
	movq	%rax, (%r14,%rbx,8)
	addq	%rax, %rbx
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setne	%al
	jmp	LBB0_14
LBB0_5:
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	8(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	1(%r13), %rsi
	movq	%r15, %rdi
	callq	_RESIZE_IF_NEEDED
	movq	%r14, %rcx
	movq	%rbx, %r14
	movq	%r13, %rbx
	movq	%r12, %r13
	testq	%rax, %rax
	jns	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_7:
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_MPN_COPY
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_8:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	cmpq	%r13, %rbx
	jne	LBB0_11
## %bb.9:
	movq	%rdi, %r15
	movq	%r12, %rdi
	movq	%rcx, %rsi
	movq	%rbx, %rdx
	movq	%rcx, %r14
	callq	_mpihelp_cmp
	movq	%r15, %rdi
	testq	%rax, %rax
	js	LBB0_12
## %bb.10:
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_mpihelp_sub_n
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MPN_NORMALIZE
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	jmp	LBB0_13
LBB0_11:
	movq	%rdi, %r15
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %r8
	callq	_mpihelp_sub
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MPN_NORMALIZE
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_14
LBB0_12:
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_mpihelp_sub_n
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MPN_NORMALIZE
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%al
LBB0_13:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_14:
	movq	%rbx, (%r15)
	movl	%eax, 8(%r15)
	xorl	%eax, %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_add                        ; -- Begin function mpi_add
	.p2align	2
_mpi_add:                               ; @mpi_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	x20, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x21, [x1]
	ldr	x22, [x2]
	cmp	x21, x22
	b.ge	LBB0_3
; %bb.1:
	ldr	w25, [x20, #8]
	ldr	w26, [x23, #8]
	add	x1, x22, #1
	mov	x0, x19
	bl	_RESIZE_IF_NEEDED
	tbnz	x0, #63, LBB0_8
; %bb.2:
	mov	x8, x20
	mov	x20, x22
	b	LBB0_5
LBB0_3:
	ldr	w25, [x23, #8]
	ldr	w26, [x20, #8]
	add	x1, x21, #1
	mov	x0, x19
	bl	_RESIZE_IF_NEEDED
	tbnz	x0, #63, LBB0_8
; %bb.4:
	mov	x8, x23
	mov	x23, x20
	mov	x20, x21
	mov	x21, x22
LBB0_5:
	ldr	x24, [x8, #16]
	ldr	x22, [x19, #16]
	cbz	x21, LBB0_9
; %bb.6:
	ldr	x23, [x23, #16]
	cmp	w25, w26
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	mov	x3, x23
	mov	x4, x21
	bl	_mpihelp_add
	str	x0, [x22, x20, lsl #3]
	add	x20, x0, x20
	b	LBB0_13
LBB0_8:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_9:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	bl	_MPN_COPY
	b	LBB0_16
LBB0_10:
	cmp	x20, x21
	b.ne	LBB0_14
; %bb.11:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x20
	bl	_mpihelp_cmp
	tbnz	x0, #63, LBB0_15
; %bb.12:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	mov	x3, x20
	bl	_mpihelp_sub_n
	mov	x0, x22
	mov	x1, x20
	bl	_MPN_NORMALIZE
LBB0_13:
	cmp	w25, #0
	cset	w25, ne
	b	LBB0_16
LBB0_14:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	mov	x3, x23
	mov	x4, x21
	bl	_mpihelp_sub
	mov	x0, x22
	mov	x1, x20
	bl	_MPN_NORMALIZE
	b	LBB0_16
LBB0_15:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_mpihelp_sub_n
	mov	x0, x22
	mov	x1, x20
	bl	_MPN_NORMALIZE
	cmp	w25, #0
	cset	w25, eq
LBB0_16:
	mov	w0, #0
	str	x20, [x19]
	str	w25, [x19, #8]
LBB0_17:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
