	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s_mp_sub
_s_mp_sub:                              ## @s_mp_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	$24, %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, %r12
	movq	%rdi, %rbx
	movl	(%rsi), %r13d
	movl	(%rdi), %r15d
	cmpl	%r15d, 4(%rdx)
	jge	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_mp_grow
	movq	_MP_OKAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_19
LBB0_2:
	movl	(%r14), %r9d
	movl	%r15d, (%r14)
	movq	8(%rbx), %r10
	movq	8(%r14), %rdi
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %r14
	cmpl	$1, %r13d
	jne	LBB0_20
## %bb.5:
	xorl	%esi, %esi
	testb	$1, %r13b
	jne	LBB0_8
	jmp	LBB0_9
LBB0_3:
	xorl	%esi, %esi
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_20:
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r13d, %r9d
	andl	$-2, %r9d
	xorl	%edx, %edx
	movq	_CHAR_BIT@GOTPCREL(%rip), %r11
	movq	_MP_MASK@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rdx,4), %r8d
	addl	(%r14,%rdx,4), %esi
	subl	%esi, %r8d
	movl	%r8d, (%rdi,%rdx,4)
	movzbl	(%r11), %ecx
	shlb	$2, %cl
	decb	%cl
	movl	%r8d, %esi
	sarl	%cl, %esi
	andl	(%r12), %r8d
	movl	%r8d, (%rdi,%rdx,4)
	movl	4(%r10,%rdx,4), %ebx
	addl	4(%r14,%rdx,4), %esi
	subl	%esi, %ebx
	movl	%ebx, 4(%rdi,%rdx,4)
	movzbl	(%r11), %ecx
	shlb	$2, %cl
	decb	%cl
	movl	%ebx, %esi
	sarl	%cl, %esi
	andl	(%r12), %ebx
	movl	%ebx, 4(%rdi,%rdx,4)
	addq	$-8, %rax
	addq	$2, %rdx
	cmpl	%edx, %r9d
	jne	LBB0_21
## %bb.6:
	subq	%rax, %rdi
	subq	%rax, %r14
	subq	%rax, %r10
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	testb	$1, %r13b
	je	LBB0_9
LBB0_8:
	movl	(%r10), %eax
	addq	$4, %r10
	addl	(%r14), %esi
	subl	%esi, %eax
	movl	%eax, (%rdi)
	movq	_CHAR_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlb	$2, %cl
	decb	%cl
	movl	%eax, %esi
	sarl	%cl, %esi
	movq	_MP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rdi)
	addq	$4, %rdi
LBB0_9:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	movl	%r15d, %ecx
	subl	%r13d, %ecx
	jle	LBB0_16
## %bb.11:
	leal	1(%r13), %eax
	testb	$1, %cl
	je	LBB0_13
## %bb.12:
	movl	(%r10), %edx
	addq	$4, %r10
	subl	%esi, %edx
	movl	%edx, (%rdi)
	movq	_CHAR_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlb	$2, %cl
	decb	%cl
	movl	%edx, %esi
	sarl	%cl, %esi
	movq	_MP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%edx, (%rdi)
	addq	$4, %rdi
	movl	%eax, %r13d
LBB0_13:
	cmpl	%eax, %r15d
	je	LBB0_16
## %bb.14:
	subl	%r13d, %r15d
	xorl	%eax, %eax
	movq	_CHAR_BIT@GOTPCREL(%rip), %r8
	movq	_MP_MASK@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rax,4), %edx
	subl	%esi, %edx
	movl	%edx, (%rdi)
	movzbl	(%r8), %ecx
	shlb	$2, %cl
	decb	%cl
	movl	%edx, %esi
	sarl	%cl, %esi
	andl	(%rbx), %edx
	movl	%edx, (%rdi)
	movl	4(%r10,%rax,4), %edx
	subl	%esi, %edx
	movl	%edx, 4(%rdi)
	movzbl	(%r8), %ecx
	shlb	$2, %cl
	decb	%cl
	movl	%edx, %esi
	sarl	%cl, %esi
	andl	(%rbx), %edx
	movl	%edx, 4(%rdi)
	addq	$8, %rdi
	addq	$2, %rax
	cmpl	%eax, %r15d
	jne	LBB0_15
LBB0_16:
	movl	(%r14), %eax
	cmpl	%r9d, %eax
	jge	LBB0_18
## %bb.17:
	notl	%eax
	addl	%eax, %r9d
	leaq	4(,%r9,4), %rsi
	callq	___bzero
LBB0_18:
	movq	%r14, %rdi
	callq	_mp_clamp
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_OKAY,4,2                    ## @MP_OKAY
	.comm	_CHAR_BIT,4,2                   ## @CHAR_BIT
	.comm	_MP_MASK,4,2                    ## @MP_MASK
	.no_dead_strip	_s_mp_sub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s_mp_sub
_s_mp_sub:                              ; @s_mp_sub
	.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, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w24, [x1]
	ldr	w20, [x0]
	ldr	w8, [x2, #4]
Lloh0:
	adrp	x23, _MP_OKAY@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MP_OKAY@GOTPAGEOFF]
	cmp	w8, w20
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_mp_grow
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_12
LBB0_2:
	ldr	w8, [x19]
	str	w20, [x19]
	ldr	x9, [x22, #8]
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x10, _CHAR_BIT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CHAR_BIT@GOTPAGEOFF]
Lloh4:
	adrp	x11, _MP_MASK@GOTPAGE
Lloh5:
	ldr	x11, [x11, _MP_MASK@GOTPAGEOFF]
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w12, #0
	ldr	x13, [x21, #8]
	mov	x14, x24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x9], #4
	ldr	w16, [x13], #4
	add	w12, w12, w16
	sub	w15, w15, w12
	str	w15, [x0]
	ldr	w12, [x10]
	lsl	w12, w12, #2
	sub	w12, w12, #1
	asr	w12, w15, w12
	ldr	w16, [x11]
	and	w15, w16, w15
	str	w15, [x0], #4
	subs	w14, w14, #1
	b.ne	LBB0_4
; %bb.5:
	cmp	w24, w20
	b.lt	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	w12, #0
	mov	w24, #0
	cmp	w24, w20
	b.ge	LBB0_9
LBB0_7:
	sub	w13, w20, w24
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x9], #4
	sub	w12, w14, w12
	str	w12, [x0]
	ldr	w14, [x10]
	lsl	w14, w14, #2
	sub	w14, w14, #1
	ldr	w15, [x11]
	and	w15, w15, w12
	asr	w12, w12, w14
	str	w15, [x0], #4
	subs	w13, w13, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	w9, [x19]
	cmp	w9, w8
	b.ge	LBB0_11
; %bb.10:
	mvn	w9, w9
	add	w8, w8, w9
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
LBB0_11:
	mov	x0, x19
	bl	_mp_clamp
	ldr	w0, [x23]
LBB0_12:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_OKAY,4,2                    ; @MP_OKAY
	.comm	_CHAR_BIT,4,2                   ; @CHAR_BIT
	.comm	_MP_MASK,4,2                    ; @MP_MASK
	.no_dead_strip	_s_mp_sub
.subsections_via_symbols
