	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath5k_is_standard_channel
_ath5k_is_standard_channel:             ## @ath5k_is_standard_channel
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edi killed $edi def $rdi
	movl	$1, %eax
	cmpw	$14, %di
	jg	LBB0_2
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_IEEE80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	popq	%rbp
	je	LBB0_13
LBB0_2:
	movl	%edi, %ecx
	andl	$3, %ecx
	leal	-36(%rdi), %edx
	cmpw	$28, %dx
	ja	LBB0_4
## %bb.3:
	testw	%cx, %cx
	je	LBB0_13
LBB0_4:
	leal	-100(%rdi), %edx
	cmpw	$40, %dx
	ja	LBB0_6
## %bb.5:
	testw	%cx, %cx
	je	LBB0_13
LBB0_6:
	leal	-149(%rdi), %edx
	cmpw	$16, %dx
	ja	LBB0_8
## %bb.7:
	cmpw	$1, %cx
	je	LBB0_13
LBB0_8:
	movzwl	%di, %ecx
	cmpw	$16, %di
	jbe	LBB0_12
LBB0_9:
	addl	$-184, %edi
	cmpw	$8, %di
	ja	LBB0_11
## %bb.10:
	movl	$273, %edx                      ## imm = 0x111
	btl	%edi, %edx
	jb	LBB0_13
LBB0_11:
	xorl	%eax, %eax
	cmpl	$196, %ecx
	sete	%al
	retq
LBB0_12:
	movl	$69888, %edx                    ## imm = 0x11100
	btq	%rcx, %rdx
	jae	LBB0_9
LBB0_13:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_BAND_2GHZ,4,2        ## @IEEE80211_BAND_2GHZ
	.no_dead_strip	_ath5k_is_standard_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath5k_is_standard_channel
_ath5k_is_standard_channel:             ; @ath5k_is_standard_channel
	.cfi_startproc
; %bb.0:
	cmp	w0, #14
	b.gt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _IEEE80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	ret
LBB0_3:
	and	w8, w0, #0xffff
	and	w9, w8, #0x3
	sub	w10, w8, #36
	cmp	w10, #28
	b.hi	LBB0_6
; %bb.4:
	cbnz	w9, LBB0_6
; %bb.5:
	mov	w0, #1
	ret
LBB0_6:
	sub	w10, w8, #100
	cmp	w10, #40
	b.hi	LBB0_9
; %bb.7:
	cbnz	w9, LBB0_9
; %bb.8:
	mov	w0, #1
	ret
LBB0_9:
	sub	w10, w8, #149
	cmp	w10, #16
	b.hi	LBB0_12
; %bb.10:
	cmp	w9, #1
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #1
	ret
LBB0_12:
	mov	w0, #1
	cmp	w8, #16
	b.ls	LBB0_16
LBB0_13:
	sub	w9, w8, #184
	cmp	w9, #8
	b.hi	LBB0_15
; %bb.14:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #273
	tst	w9, w10
	b.ne	LBB0_17
LBB0_15:
	cmp	w8, #196
	cset	w0, eq
	ret
LBB0_16:
	lsl	w9, w0, w8
	mov	w10, #4352
	movk	w10, #1, lsl #16
	tst	w9, w10
	b.eq	LBB0_13
LBB0_17:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_BAND_2GHZ,4,2        ; @IEEE80211_BAND_2GHZ
	.no_dead_strip	_ath5k_is_standard_channel
.subsections_via_symbols
