	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_read_unsigned_bin
_mp_read_unsigned_bin:                  ## @mp_read_unsigned_bin
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	cmpl	$1, (%rdi)
	jg	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_mp_grow
	movq	_MP_OKAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
LBB0_2:
	movq	%r14, %rdi
	callq	_mp_zero
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.3:
	incl	%ebx
	movq	_MP_OKAY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$8, %esi
	movq	%r14, %rdx
	callq	_mp_mul_2d
	cmpl	(%r12), %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%r15), %eax
	movq	8(%r14), %rcx
	orb	%al, (%rcx)
	incl	16(%r14)
	incq	%r15
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_mp_clamp
	movq	_MP_OKAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_OKAY,4,2                    ## @MP_OKAY
	.comm	_MP_MASK,1,0                    ## @MP_MASK
	.no_dead_strip	_mp_read_unsigned_bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_read_unsigned_bin
_mp_read_unsigned_bin:                  ; @mp_read_unsigned_bin
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _MP_OKAY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MP_OKAY@GOTPAGEOFF]
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #2
	bl	_mp_grow
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_mp_zero
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.3:
	add	w21, w21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #8
	mov	x2, x19
	bl	_mp_mul_2d
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20], #1
	ldr	x9, [x19, #8]
	ldrb	w10, [x9]
	orr	w8, w10, w8
	strb	w8, [x9]
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	sub	w21, w21, #1
	cmp	w21, #1
	b.gt	LBB0_4
LBB0_6:
	mov	x0, x19
	bl	_mp_clamp
	ldr	w0, [x22]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_OKAY,4,2                    ; @MP_OKAY
	.comm	_MP_MASK,1,0                    ; @MP_MASK
	.no_dead_strip	_mp_read_unsigned_bin
.subsections_via_symbols
