	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_get_length                  ## -- Begin function mp_get_length
	.p2align	4, 0x90
_mp_get_length:                         ## @mp_get_length
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$1, %rax
	jne	LBB0_6
## %bb.3:
	xorl	%edi, %edi
	xorl	%edx, %edx
LBB0_4:
	leal	1(%rdx), %ecx
	testl	%edi, %edi
	cmovnel	%edx, %ecx
	testb	$1, %al
	cmovel	%edx, %ecx
	jmp	LBB0_5
LBB0_1:
	xorl	%ecx, %ecx
LBB0_5:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_OPTS_TYPE_PT_HEX@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r14d
	movq	%rax, %r8
	andq	$-2, %r8
	xorl	%esi, %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$2, %rsi
	cmpq	%rsi, %r8
	je	LBB0_4
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, %edi
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%r14d, %r14d
	setne	%cl
	cmpb	$63, (%r15,%rsi)
	sete	%bl
	orb	%cl, %bl
	movzbl	%bl, %ecx
	incl	%edx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	testl	%ecx, %ecx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	testl	%r14d, %r14d
	setne	%cl
	cmpb	$63, 1(%r15,%rsi)
	sete	%bl
	orb	%cl, %bl
	movzbl	%bl, %edi
	incl	%edx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_OPTS_TYPE_PT_HEX,4,2           ## @OPTS_TYPE_PT_HEX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_get_length                  ; -- Begin function mp_get_length
	.p2align	2
_mp_get_length:                         ; @mp_get_length
	.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	x20, x1
	mov	x19, x0
	bl	_strlen
	cbz	x0, LBB0_6
; %bb.1:
	mov	x8, x0
	mov	w11, #0
	mov	w0, #0
Lloh0:
	adrp	x9, _OPTS_TYPE_PT_HEX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPTS_TYPE_PT_HEX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w20
	mov	w10, #63
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #0
	ldrb	w11, [x19]
	ccmp	w11, w10, #4, eq
	cset	w11, eq
	add	w0, w0, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, #1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #0
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPTS_TYPE_PT_HEX,4,2           ; @OPTS_TYPE_PT_HEX
.subsections_via_symbols
