	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpt_get_cb_idx
_mpt_get_cb_idx:                        ## @mpt_get_cb_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MPT_MAX_PROTOCOL_DRIVERS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_MptDriverClass@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	leal	-1(%rax), %ecx
	leaq	(%rdx,%rax,8), %rdx
	addq	$-8, %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	subl	$1, %ecx
	jb	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	-8(%rdx), %rsi
	cmpq	%rdi, (%rdx)
	movq	%rsi, %rdx
	jne	LBB0_1
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPT_MAX_PROTOCOL_DRIVERS,4,2   ## @MPT_MAX_PROTOCOL_DRIVERS
	.comm	_MptDriverClass,8,3             ## @MptDriverClass
	.no_dead_strip	_mpt_get_cb_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpt_get_cb_idx
_mpt_get_cb_idx:                        ; @mpt_get_cb_idx
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MPT_MAX_PROTOCOL_DRIVERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPT_MAX_PROTOCOL_DRIVERS@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
Lloh3:
	adrp	x9, _MptDriverClass@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MptDriverClass@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	w10, w8, #1
	add	x8, x9, x8, lsl #3
	sub	x9, x8, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x10
	cbz	w10, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x11, [x9], #-8
	sub	w10, w8, #1
	cmp	x11, x0
	b.ne	LBB0_1
LBB0_3:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MPT_MAX_PROTOCOL_DRIVERS,4,2   ; @MPT_MAX_PROTOCOL_DRIVERS
	.comm	_MptDriverClass,8,3             ; @MptDriverClass
	.no_dead_strip	_mpt_get_cb_idx
.subsections_via_symbols
