	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_string_len              ## -- Begin function mp_int_string_len
	.p2align	4, 0x90
_mp_int_string_len:                     ## @mp_int_string_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movq	_MP_MIN_RADIX@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	setle	%al
	movq	_MP_MAX_RADIX@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	setge	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_s_outlen
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_MP_SIGN
	movq	_MP_NEG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	leal	(%rdx,%rbx), %eax
	incl	%eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP_MIN_RADIX,8,3               ## @MP_MIN_RADIX
	.comm	_MP_MAX_RADIX,8,3               ## @MP_MAX_RADIX
	.comm	_MP_NEG,8,3                     ## @MP_NEG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_int_string_len              ; -- Begin function mp_int_string_len
	.p2align	2
_mp_int_string_len:                     ; @mp_int_string_len
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x8, _MP_MIN_RADIX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_MIN_RADIX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x19
Lloh3:
	adrp	x8, _MP_MAX_RADIX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MP_MAX_RADIX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x8, x19, #8, le
	cset	w0, ge
	bl	_assert
	mov	x0, x20
	mov	x1, x19
	bl	_s_outlen
	mov	x19, x0
	mov	x0, x20
	bl	_MP_SIGN
Lloh6:
	adrp	x8, _MP_NEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MP_NEG@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #1
	cinc	w8, w8, eq
	add	w0, w8, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MP_MIN_RADIX,8,3               ; @MP_MIN_RADIX
	.comm	_MP_MAX_RADIX,8,3               ; @MP_MAX_RADIX
	.comm	_MP_NEG,8,3                     ; @MP_NEG
.subsections_via_symbols
