	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ht_oper_to_chandef   ## -- Begin function ieee80211_ht_oper_to_chandef
	.p2align	4, 0x90
_ieee80211_ht_oper_to_chandef:          ## @ieee80211_ht_oper_to_chandef
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rcx
	movq	%rdi, %rax
	movq	_NL80211_CHAN_NO_HT@GOTPCREL(%rip), %rdx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	_IEEE80211_HT_PARAM_CHA_SEC_OFFSET@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	(%rsi), %edi
	addl	$-128, %edi
	cmpl	$2, %edi
	ja	LBB0_3
## %bb.2:
	movslq	%edi, %rdx
	leaq	l_switch.table.ieee80211_ht_oper_to_chandef(%rip), %rsi
	movq	(%rsi,%rdx,8), %rdx
LBB0_3:
	movl	(%rdx), %edx
	movq	%rcx, %rdi
	movq	%rax, %rsi
	popq	%rbp
	jmp	_cfg80211_chandef_create        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_CHAN_NO_HT,4,2         ## @NL80211_CHAN_NO_HT
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_OFFSET,4,2 ## @IEEE80211_HT_PARAM_CHA_SEC_OFFSET
	.comm	_NL80211_CHAN_HT20,4,2          ## @NL80211_CHAN_HT20
	.comm	_NL80211_CHAN_HT40PLUS,4,2      ## @NL80211_CHAN_HT40PLUS
	.comm	_NL80211_CHAN_HT40MINUS,4,2     ## @NL80211_CHAN_HT40MINUS
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ieee80211_ht_oper_to_chandef
l_switch.table.ieee80211_ht_oper_to_chandef:
	.quad	_NL80211_CHAN_HT20
	.quad	_NL80211_CHAN_HT40MINUS
	.quad	_NL80211_CHAN_HT40PLUS

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ht_oper_to_chandef   ; -- Begin function ieee80211_ht_oper_to_chandef
	.p2align	2
_ieee80211_ht_oper_to_chandef:          ; @ieee80211_ht_oper_to_chandef
	.cfi_startproc
; %bb.0:
	mov	x9, x2
	mov	x8, x0
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w10, [x1]
Lloh0:
	adrp	x11, _IEEE80211_HT_PARAM_CHA_SEC_OFFSET@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IEEE80211_HT_PARAM_CHA_SEC_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	and	w10, w11, w10
	sub	w10, w10, #128
	cmp	w10, #2
	b.hi	LBB0_3
; %bb.2:
Lloh3:
	adrp	x11, l_switch.table.ieee80211_ht_oper_to_chandef@PAGE
Lloh4:
	add	x11, x11, l_switch.table.ieee80211_ht_oper_to_chandef@PAGEOFF
	ldr	x10, [x11, w10, sxtw #3]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x10, _NL80211_CHAN_NO_HT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _NL80211_CHAN_NO_HT@GOTPAGEOFF]
LBB0_4:
	ldr	w2, [x10]
	mov	x0, x9
	mov	x1, x8
	b	_cfg80211_chandef_create
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_CHAN_NO_HT,4,2         ; @NL80211_CHAN_NO_HT
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_OFFSET,4,2 ; @IEEE80211_HT_PARAM_CHA_SEC_OFFSET
	.comm	_NL80211_CHAN_HT20,4,2          ; @NL80211_CHAN_HT20
	.comm	_NL80211_CHAN_HT40PLUS,4,2      ; @NL80211_CHAN_HT40PLUS
	.comm	_NL80211_CHAN_HT40MINUS,4,2     ; @NL80211_CHAN_HT40MINUS
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ieee80211_ht_oper_to_chandef
l_switch.table.ieee80211_ht_oper_to_chandef:
	.quad	_NL80211_CHAN_HT20
	.quad	_NL80211_CHAN_HT40MINUS
	.quad	_NL80211_CHAN_HT40PLUS

.subsections_via_symbols
