	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_is_channel_extension
_il_is_channel_extension:               ## @il_is_channel_extension
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	callq	_il_get_channel_info
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_il_is_channel_valid
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	movq	_IEEE80211_HT_PARAM_CHA_SEC_ABOVE@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_IEEE80211_CHAN_NO_HT40PLUS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IEEE80211_HT_PARAM_CHA_SEC_BELOW@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jne	LBB0_6
## %bb.4:
	movq	_IEEE80211_CHAN_NO_HT40MINUS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%rbx)
	sete	%al
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_ABOVE,8,3 ## @IEEE80211_HT_PARAM_CHA_SEC_ABOVE
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ## @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_BELOW,8,3 ## @IEEE80211_HT_PARAM_CHA_SEC_BELOW
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ## @IEEE80211_CHAN_NO_HT40MINUS
	.no_dead_strip	_il_is_channel_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_is_channel_extension
_il_is_channel_extension:               ; @il_is_channel_extension
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x3
	bl	_il_get_channel_info
	mov	x19, x0
	bl	_il_is_channel_valid
	cbz	w0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _IEEE80211_HT_PARAM_CHA_SEC_ABOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_HT_PARAM_CHA_SEC_ABOVE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _IEEE80211_HT_PARAM_CHA_SEC_BELOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_HT_PARAM_CHA_SEC_BELOW@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x19]
	ldr	w8, [x8]
	tst	w8, w9
	cset	w0, eq
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_ABOVE,8,3 ; @IEEE80211_HT_PARAM_CHA_SEC_ABOVE
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ; @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_BELOW,8,3 ; @IEEE80211_HT_PARAM_CHA_SEC_BELOW
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ; @IEEE80211_CHAN_NO_HT40MINUS
	.no_dead_strip	_il_is_channel_extension
.subsections_via_symbols
