	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_find_cid_by_idx            ## -- Begin function wil_find_cid_by_idx
	.p2align	4, 0x90
_wil_find_cid_by_idx:                   ## @wil_find_cid_by_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	8(%rdi), %rdi
	movq	_wil_sta_unused@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	$8, %rdi
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	addq	$16, %rdi
	cmpq	%rax, %r8
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, -8(%rdi)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, (%rdi)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%edx
	jmp	LBB0_6
LBB0_7:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wil_sta_unused,8,3             ## @wil_sta_unused
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_find_cid_by_idx            ; -- Begin function wil_find_cid_by_idx
	.p2align	2
_wil_find_cid_by_idx:                   ; @wil_find_cid_by_idx
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x10, [x8, #8]
Lloh0:
	adrp	x8, _wil_sta_unused@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wil_sta_unused@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x10, x10, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	add	x10, x10, #16
	cmp	x9, x0
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x10]
	cmp	x11, x1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w2, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w2, w2, #1
	b	LBB0_2
LBB0_7:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_wil_sta_unused,8,3             ; @wil_sta_unused
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
