	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcn36xx_smd_set_bss_ht_params
_wcn36xx_smd_set_bss_ht_params:         ## @wcn36xx_smd_set_bss_ht_params
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r15
	movq	%rax, 40(%rdx)
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_is_cap_supported
	movq	%rax, 32(%rbx)
	movq	_IEEE80211_HT_CAP_LSIG_TXOP_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_is_cap_supported
	movq	%rax, 24(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ## @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_LSIG_TXOP_PROT,4,2 ## @IEEE80211_HT_CAP_LSIG_TXOP_PROT
	.comm	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT,4,2 ## @IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT
	.no_dead_strip	_wcn36xx_smd_set_bss_ht_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wcn36xx_smd_set_bss_ht_params
_wcn36xx_smd_set_bss_ht_params:         ; @wcn36xx_smd_set_bss_ht_params
	.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
	cbz	x1, LBB0_3
; %bb.1:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x19, x2
	mov	x20, x0
	ldr	x21, [x1]
	str	x8, [x2, #40]
Lloh0:
	adrp	x8, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_is_cap_supported
	str	x0, [x19, #32]
Lloh3:
	adrp	x8, _IEEE80211_HT_CAP_LSIG_TXOP_PROT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_HT_CAP_LSIG_TXOP_PROT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_is_cap_supported
	str	x0, [x19, #24]
	ldr	w8, [x20]
	str	w8, [x19]
Lloh6:
	adrp	x9, _IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19, #4]
	stp	xzr, xzr, [x19, #8]
LBB0_3:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HT_CAP_SUP_WIDTH_20_40,4,2 ; @IEEE80211_HT_CAP_SUP_WIDTH_20_40
	.comm	_IEEE80211_HT_CAP_LSIG_TXOP_PROT,4,2 ; @IEEE80211_HT_CAP_LSIG_TXOP_PROT
	.comm	_IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT,4,2 ; @IEEE80211_HT_OP_MODE_NON_GF_STA_PRSNT
	.no_dead_strip	_wcn36xx_smd_set_bss_ht_params
.subsections_via_symbols
