	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_find_channel_byieee  ## -- Begin function ieee80211_find_channel_byieee
	.p2align	4, 0x90
_ieee80211_find_channel_byieee:         ## @ieee80211_find_channel_byieee
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE80211_CHAN_ALLTURBO@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	andl	%r8d, %edx
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	4(%rax), %ecx
	andl	%r8d, %ecx
	cmpl	%edx, %ecx
	je	LBB0_9
LBB0_3:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.4:
	movq	8(%rdi), %rax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rax
	decq	%rcx
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rax)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%rax), %edi
	andl	%r8d, %edi
	cmpl	%edx, %edi
	jne	LBB0_7
LBB0_9:
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_ALLTURBO,4,2    ## @IEEE80211_CHAN_ALLTURBO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_find_channel_byieee  ; -- Begin function ieee80211_find_channel_byieee
	.p2align	2
_ieee80211_find_channel_byieee:         ; @ieee80211_find_channel_byieee
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _IEEE80211_CHAN_ALLTURBO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_CHAN_ALLTURBO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w10, w9, w2
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w11, [x0]
	cmp	w11, w1
	b.ne	LBB0_3
; %bb.2:
	ldr	w11, [x0, #4]
	and	w11, w11, w9
	cmp	w11, w10
	b.eq	LBB0_8
LBB0_3:
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_9
; %bb.4:
	ldr	x0, [x8, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x0, #8
	subs	x11, x11, #1
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x0, #4]
	and	w8, w8, w9
	cmp	w8, w10
	b.ne	LBB0_5
LBB0_8:
	ret
LBB0_9:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_ALLTURBO,4,2    ; @IEEE80211_CHAN_ALLTURBO
.subsections_via_symbols
