	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_add_ht_ie
_ieee80211_add_ht_ie:                   ## @ieee80211_add_ht_ie
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	(%r8), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	callq	_BUILD_BUG_ON
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ieee80211_apply_htcap_overrides
	movl	-48(%rbp), %eax
	movq	_IEEE80211_HT_PARAM_CHA_SEC_OFFSET@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	cmpl	$133, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	$134, %ebx
	jne	LBB0_6
## %bb.2:
	movq	_IEEE80211_CHAN_NO_HT40PLUS@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_IEEE80211_CHAN_NO_HT40MINUS@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
LBB0_6:
	movq	_IEEE80211_STA_DISABLE_40MHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_8
## %bb.7:
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %eax
LBB0_8:
	movq	_IEEE80211_HT_CAP_SM_PS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	addl	$-128, %r12d
	cmpl	$4, %r12d
	ja	LBB0_15
## %bb.9:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movl	$1, %edi
	callq	_WARN_ON
LBB0_11:
	movq	_WLAN_HT_CAP_SM_PS_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_WLAN_HT_CAP_SM_PS_STATIC@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_WLAN_HT_CAP_SM_PS_DYNAMIC@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movq	_IEEE80211_HT_CAP_SM_PS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_15:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$6, %esi
	callq	_skb_put
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_ieee80211_ie_build_ht_cap
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_OFFSET,4,2 ## @IEEE80211_HT_PARAM_CHA_SEC_OFFSET
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ## @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ## @IEEE80211_CHAN_NO_HT40MINUS
	.comm	_IEEE80211_STA_DISABLE_40MHZ,4,2 ## @IEEE80211_STA_DISABLE_40MHZ
	.comm	_IEEE80211_HT_CAP_SM_PS,4,2     ## @IEEE80211_HT_CAP_SM_PS
	.comm	_WLAN_HT_CAP_SM_PS_DISABLED,4,2 ## @WLAN_HT_CAP_SM_PS_DISABLED
	.comm	_IEEE80211_HT_CAP_SM_PS_SHIFT,4,2 ## @IEEE80211_HT_CAP_SM_PS_SHIFT
	.comm	_WLAN_HT_CAP_SM_PS_STATIC,4,2   ## @WLAN_HT_CAP_SM_PS_STATIC
	.comm	_WLAN_HT_CAP_SM_PS_DYNAMIC,4,2  ## @WLAN_HT_CAP_SM_PS_DYNAMIC
	.no_dead_strip	_ieee80211_add_ht_ie
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_add_ht_ie
_ieee80211_add_ht_ie:                   ; @ieee80211_add_ht_ie
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x5
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w24, [x4]
	mov	w0, #0
	bl	_BUILD_BUG_ON
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x21
	bl	_ieee80211_apply_htcap_overrides
	ldr	w8, [sp, #8]
Lloh0:
	adrp	x9, _IEEE80211_HT_PARAM_CHA_SEC_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HT_PARAM_CHA_SEC_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w23
	cmp	w9, #133
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, #134
	b.ne	LBB0_6
; %bb.2:
Lloh3:
	adrp	x9, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_HT40PLUS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x9, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IEEE80211_CHAN_NO_HT40MINUS@GOTPAGEOFF]
LBB0_4:
	ldr	w9, [x9]
	tst	w9, w24
	b.eq	LBB0_6
; %bb.5:
Lloh7:
	adrp	x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh11:
	ldr	x10, [x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
LBB0_6:
	ldr	w9, [x21]
Lloh13:
	adrp	x10, _IEEE80211_STA_DISABLE_40MHZ@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IEEE80211_STA_DISABLE_40MHZ@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
Lloh16:
	adrp	x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh20:
	ldr	x10, [x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
LBB0_8:
Lloh22:
	adrp	x9, _IEEE80211_HT_CAP_SM_PS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SM_PS@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	bic	w21, w8, w9
	sub	w8, w20, #128
	cmp	w8, #4
	b.hi	LBB0_15
; %bb.9:
Lloh25:
	adrp	x9, lJTI0_0@PAGE
Lloh26:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	w0, #1
	bl	_WARN_ON
LBB0_11:
Lloh27:
	adrp	x8, _WLAN_HT_CAP_SM_PS_DISABLED@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WLAN_HT_CAP_SM_PS_DISABLED@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh29:
	adrp	x8, _WLAN_HT_CAP_SM_PS_STATIC@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WLAN_HT_CAP_SM_PS_STATIC@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh31:
	adrp	x8, _WLAN_HT_CAP_SM_PS_DYNAMIC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WLAN_HT_CAP_SM_PS_DYNAMIC@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _IEEE80211_HT_CAP_SM_PS_SHIFT@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SM_PS_SHIFT@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w21, w8, w21
LBB0_15:
	mov	x0, x19
	mov	w1, #6
	bl	_skb_put
	add	x1, sp, #8
	mov	x2, x21
	bl	_ieee80211_ie_build_ht_cap
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
                                        ; -- End function
	.comm	_IEEE80211_HT_PARAM_CHA_SEC_OFFSET,4,2 ; @IEEE80211_HT_PARAM_CHA_SEC_OFFSET
	.comm	_IEEE80211_CHAN_NO_HT40PLUS,4,2 ; @IEEE80211_CHAN_NO_HT40PLUS
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_CHAN_NO_HT40MINUS,4,2 ; @IEEE80211_CHAN_NO_HT40MINUS
	.comm	_IEEE80211_STA_DISABLE_40MHZ,4,2 ; @IEEE80211_STA_DISABLE_40MHZ
	.comm	_IEEE80211_HT_CAP_SM_PS,4,2     ; @IEEE80211_HT_CAP_SM_PS
	.comm	_WLAN_HT_CAP_SM_PS_DISABLED,4,2 ; @WLAN_HT_CAP_SM_PS_DISABLED
	.comm	_IEEE80211_HT_CAP_SM_PS_SHIFT,4,2 ; @IEEE80211_HT_CAP_SM_PS_SHIFT
	.comm	_WLAN_HT_CAP_SM_PS_STATIC,4,2   ; @WLAN_HT_CAP_SM_PS_STATIC
	.comm	_WLAN_HT_CAP_SM_PS_DYNAMIC,4,2  ; @WLAN_HT_CAP_SM_PS_DYNAMIC
	.no_dead_strip	_ieee80211_add_ht_ie
.subsections_via_symbols
