	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_find_channel
_wlan_find_channel:                     ## @wlan_find_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	%rsi, (%rdi)
	jge	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	leaq	(%rax,%rsi,4), %rax
	addq	$-4, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlan_find_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_find_channel
_wlan_find_channel:                     ; @wlan_find_channel
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x0]
	add	x8, x8, x1, lsl #2
	sub	x8, x8, #4
	cmp	x9, x1
	csel	x0, xzr, x8, lt
	ret
LBB0_2:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlan_find_channel
.subsections_via_symbols
