	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpi_add_ui                     ## -- Begin function mpi_add_ui
	.p2align	4, 0x90
_mpi_add_ui:                            ## @mpi_add_ui
	.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	%rdx, %rcx
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movslq	(%rsi), %r13
	movl	4(%rsi), %r15d
	cmpl	%r13d, 8(%rdi)
	jg	LBB0_3
## %bb.1:
	leal	1(%r13), %esi
	movq	%r14, %rdi
	movq	%rcx, %r12
	callq	_mpi_resize
	movq	%r12, %rcx
	testq	%rax, %rax
	js	LBB0_2
LBB0_3:
	movq	16(%r14), %r12
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.5:
	movq	16(%rbx), %rsi
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.7:
	cmpl	$1, %r13d
	jne	LBB0_10
## %bb.8:
	movq	(%rsi), %rax
	cmpq	%rcx, %rax
	jae	LBB0_10
## %bb.9:
	subq	%rax, %rcx
	movq	%rcx, (%r12)
	xorl	%ecx, %ecx
	movl	$1, %r13d
	jmp	LBB0_11
LBB0_4:
	movq	%rcx, (%r12)
	xorl	%r13d, %r13d
	testq	%rcx, %rcx
	setne	%r13b
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_mpihelp_sub_1
	cmpq	$1, -8(%r12,%r13,8)
	sbbl	$0, %r13d
	movl	$1, %ecx
	jmp	LBB0_11
LBB0_6:
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_mpihelp_add_1
	movq	%rax, (%r12,%r13,8)
	addl	%r13d, %eax
	xorl	%ecx, %ecx
	movl	%eax, %r13d
LBB0_11:
	movl	%r13d, (%r14)
	movl	%ecx, 4(%r14)
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
	.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
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mpi_add_ui
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mpi_add_ui
	.p2align	2
_mpi_add_ui:                            ; @mpi_add_ui
	.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	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldp	w20, w24, [x1]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	ldr	w8, [x0, #8]
	cmp	w8, w20
	b.gt	LBB0_2
; %bb.1:
	add	w1, w20, #1
	mov	x0, x19
	bl	_mpi_resize
	tbnz	x0, #63, LBB0_14
LBB0_2:
	ldr	x22, [x19, #16]
	cbz	w20, LBB0_7
; %bb.3:
	ldr	x1, [x23, #16]
	cbz	w24, LBB0_9
; %bb.4:
	cmp	w20, #1
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x1]
	cmp	x8, x21
	b.hs	LBB0_8
; %bb.6:
	sub	x8, x21, x8
	str	x8, [x22]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_12
LBB0_7:
	str	x21, [x22]
	cmp	x21, #0
	cset	w8, ne
	b	LBB0_10
LBB0_8:
	mov	x0, x22
	mov	x2, x20
	mov	x3, x21
	bl	_mpihelp_sub_1
	sub	w8, w20, #1
	ldr	x8, [x22, w8, sxtw #3]
	cmp	x8, #0
	cset	w8, eq
	sub	w8, w20, w8
	movi.2s	v0, #1
	b	LBB0_11
LBB0_9:
	mov	x0, x22
	mov	x2, x20
	mov	x3, x21
	bl	_mpihelp_add_1
	str	x0, [x22, x20, lsl #3]
	add	w8, w0, w20
LBB0_10:
	movi	d0, #0000000000000000
LBB0_11:
	mov.s	v0[0], w8
LBB0_12:
	mov	w0, #0
	str	d0, [x19]
LBB0_13:
	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
LBB0_14:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
