	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_free_id
_find_free_id:                          ## @find_free_id
	.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_DESCRIPTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	_adapter@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx,%rax,4)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.5:
	movl	%ecx, %eax
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DESCRIPTORS,4,2            ## @MAX_DESCRIPTORS
	.comm	_adapter,8,3                    ## @adapter
	.no_dead_strip	_find_free_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_free_id
_find_free_id:                          ; @find_free_id
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_DESCRIPTORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_DESCRIPTORS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x10, _adapter@GOTPAGE
Lloh4:
	ldr	x10, [x10, _adapter@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x8, lsl #2]
	cbz	w11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x9
LBB0_5:
	add	w0, w8, #1
	ret
LBB0_6:
	mov	w8, #0
	add	w0, w8, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DESCRIPTORS,4,2            ; @MAX_DESCRIPTORS
	.comm	_adapter,8,3                    ; @adapter
	.no_dead_strip	_find_free_id
.subsections_via_symbols
