	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcam_find_format
_mcam_find_format:                      ## @mcam_find_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_N_MCAM_FMTS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_mcam_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	shlq	$3, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, (%rax,%rdx)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_4:
	addq	%rdx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_MCAM_FMTS,4,2                ## @N_MCAM_FMTS
	.comm	_mcam_formats,8,3               ## @mcam_formats
	.no_dead_strip	_mcam_find_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcam_find_format
_mcam_find_format:                      ; @mcam_find_format
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _N_MCAM_FMTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _N_MCAM_FMTS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
Lloh3:
	adrp	x9, _mcam_formats@GOTPAGE
Lloh4:
	ldr	x9, [x9, _mcam_formats@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x9]
	cbz	w10, LBB0_4
; %bb.1:
	mov	x9, #0
	lsl	x10, x10, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x0, x9]
	cmp	x11, x8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	cmp	x10, x9
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	add	x0, x0, x9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_N_MCAM_FMTS,4,2                ; @N_MCAM_FMTS
	.comm	_mcam_formats,8,3               ; @mcam_formats
	.no_dead_strip	_mcam_find_format
.subsections_via_symbols
