	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findchannel
_findchannel:                           ## @findchannel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_5
## %bb.1:
	movq	%rdi, %rax
	movq	_IEEE80211_CHAN_ALLTURBO@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rax
	decq	%rsi
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rax)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rax), %edi
	xorl	%ecx, %edi
	testl	%r8d, %edi
	jne	LBB0_4
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_ALLTURBO,4,2    ## @IEEE80211_CHAN_ALLTURBO
	.no_dead_strip	_findchannel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findchannel
_findchannel:                           ; @findchannel
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _IEEE80211_CHAN_ALLTURBO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_CHAN_ALLTURBO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, w1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #16
	subs	x9, x9, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0]
	cmp	x10, x2
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x0, #8]
	eor	w10, w10, w3
	tst	w10, w8
	b.ne	LBB0_2
; %bb.5:
	ret
LBB0_6:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_ALLTURBO,4,2    ; @IEEE80211_CHAN_ALLTURBO
	.no_dead_strip	_findchannel
.subsections_via_symbols
