	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finddev
_finddev:                               ## @finddev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_PCBIT_CARDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movq	_dev_pcbit@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PCBIT_CARDS,4,2            ## @MAX_PCBIT_CARDS
	.comm	_dev_pcbit,8,3                  ## @dev_pcbit
	.no_dead_strip	_finddev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finddev
_finddev:                               ; @finddev
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_PCBIT_CARDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PCBIT_CARDS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _dev_pcbit@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dev_pcbit@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #8
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x10]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x8]
	cmp	w11, w0
	b.ne	LBB0_2
; %bb.5:
	mov	x0, x8
	ret
LBB0_6:
	mov	x8, #0
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PCBIT_CARDS,4,2            ; @MAX_PCBIT_CARDS
	.comm	_dev_pcbit,8,3                  ; @dev_pcbit
	.no_dead_strip	_finddev
.subsections_via_symbols
