	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ht_updateparams      ## -- Begin function ieee80211_ht_updateparams
	.p2align	4, 0x90
_ieee80211_ht_updateparams:             ## @ieee80211_ht_updateparams
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	callq	_ieee80211_parse_htcap
	movq	_IEEE80211_HTC_SMPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_htcap_update_mimo_ps
LBB0_2:
	movq	%r12, %rdi
	callq	_htcap_update_shortgi
	movq	%r12, %rdi
	callq	_htcap_update_ldpc
	movq	(%r14), %rax
	movq	_IEEE80211_ELEMID_VENDOR@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	sete	%bl
	shlq	$5, %rbx
	leaq	(%r14,%rbx), %rsi
	movq	%r12, %rdi
	callq	_htinfo_parse
	movq	_IEEE80211_HTINFO_RIFSMODE_PERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14,%rbx)
	je	LBB0_5
## %bb.3:
	movq	_IEEE80211_FHT_RIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	je	LBB0_5
## %bb.4:
	movq	_IEEE80211_NODE_RIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_6
LBB0_5:
	movq	_IEEE80211_NODE_RIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r12)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HTC_SMPS,4,2         ## @IEEE80211_HTC_SMPS
	.comm	_IEEE80211_ELEMID_VENDOR,8,3    ## @IEEE80211_ELEMID_VENDOR
	.comm	_IEEE80211_HTINFO_RIFSMODE_PERM,4,2 ## @IEEE80211_HTINFO_RIFSMODE_PERM
	.comm	_IEEE80211_FHT_RIFS,4,2         ## @IEEE80211_FHT_RIFS
	.comm	_IEEE80211_NODE_RIFS,4,2        ## @IEEE80211_NODE_RIFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ht_updateparams      ; -- Begin function ieee80211_ht_updateparams
	.p2align	2
_ieee80211_ht_updateparams:             ; @ieee80211_ht_updateparams
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	x21, [x0, #8]
	bl	_ieee80211_parse_htcap
	ldr	w8, [x21]
Lloh0:
	adrp	x9, _IEEE80211_HTC_SMPS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HTC_SMPS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_htcap_update_mimo_ps
LBB0_2:
	mov	x0, x19
	bl	_htcap_update_shortgi
	mov	x0, x19
	bl	_htcap_update_ldpc
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _IEEE80211_ELEMID_VENDOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_ELEMID_VENDOR@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	add	x20, x20, x8, lsl #5
	mov	x0, x19
	mov	x1, x20
	bl	_htinfo_parse
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _IEEE80211_HTINFO_RIFSMODE_PERM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_HTINFO_RIFSMODE_PERM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x21, #4]
Lloh9:
	adrp	x9, _IEEE80211_FHT_RIFS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_FHT_RIFS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _IEEE80211_NODE_RIFS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_NODE_RIFS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	b	LBB0_6
LBB0_5:
Lloh15:
	adrp	x8, _IEEE80211_NODE_RIFS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_NODE_RIFS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
LBB0_6:
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HTC_SMPS,4,2         ; @IEEE80211_HTC_SMPS
	.comm	_IEEE80211_ELEMID_VENDOR,8,3    ; @IEEE80211_ELEMID_VENDOR
	.comm	_IEEE80211_HTINFO_RIFSMODE_PERM,4,2 ; @IEEE80211_HTINFO_RIFSMODE_PERM
	.comm	_IEEE80211_FHT_RIFS,4,2         ; @IEEE80211_FHT_RIFS
	.comm	_IEEE80211_NODE_RIFS,4,2        ; @IEEE80211_NODE_RIFS
.subsections_via_symbols
