	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcn36xx_smd_set_sta_ht_params
_wcn36xx_smd_set_sta_ht_params:         ## @wcn36xx_smd_set_sta_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
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movq	%rax, 72(%rsi)
	movq	_IEEE80211_HT_CAP_SUP_WIDTH_20_40@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 64(%rbx)
	movq	_IEEE80211_HT_CAP_LSIG_TXOP_PROT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 56(%rbx)
	movl	12(%r15), %eax
	movl	%eax, 52(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 48(%rbx)
	movq	_IEEE80211_HT_CAP_MAX_AMSDU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 40(%rbx)
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 32(%rbx)
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 24(%rbx)
	movq	_IEEE80211_HT_CAP_GRN_FLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 16(%rbx)
	movq	_IEEE80211_HT_CAP_DELAY_BA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, 8(%rbx)
	movq	_IEEE80211_HT_CAP_DSSSCCK40@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_is_cap_supported
	movq	%rax, (%rbx)
LBB0_2:
	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_CAP_MAX_AMSDU,4,2 ## @IEEE80211_HT_CAP_MAX_AMSDU
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_HT_CAP_GRN_FLD,4,2   ## @IEEE80211_HT_CAP_GRN_FLD
	.comm	_IEEE80211_HT_CAP_DELAY_BA,4,2  ## @IEEE80211_HT_CAP_DELAY_BA
	.comm	_IEEE80211_HT_CAP_DSSSCCK40,4,2 ## @IEEE80211_HT_CAP_DSSSCCK40
	.no_dead_strip	_wcn36xx_smd_set_sta_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_sta_ht_params
_wcn36xx_smd_set_sta_ht_params:         ; @wcn36xx_smd_set_sta_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
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0]
	str	x8, [x1, #72]
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, x20
	bl	_is_cap_supported
	str	x0, [x19, #64]
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, x20
	bl	_is_cap_supported
	str	x0, [x19, #56]
	ldr	d0, [x21, #8]
	str	d0, [x19, #48]
Lloh6:
	adrp	x8, _IEEE80211_HT_CAP_MAX_AMSDU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_HT_CAP_MAX_AMSDU@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_is_cap_supported
	str	x0, [x19, #40]
Lloh9:
	adrp	x8, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_is_cap_supported
	str	x0, [x19, #32]
Lloh12:
	adrp	x8, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_is_cap_supported
	str	x0, [x19, #24]
Lloh15:
	adrp	x8, _IEEE80211_HT_CAP_GRN_FLD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IEEE80211_HT_CAP_GRN_FLD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_is_cap_supported
	str	x0, [x19, #16]
Lloh18:
	adrp	x8, _IEEE80211_HT_CAP_DELAY_BA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_HT_CAP_DELAY_BA@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_is_cap_supported
	str	x0, [x19, #8]
Lloh21:
	adrp	x8, _IEEE80211_HT_CAP_DSSSCCK40@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE80211_HT_CAP_DSSSCCK40@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_is_cap_supported
	str	x0, [x19]
LBB0_2:
	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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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_CAP_MAX_AMSDU,4,2 ; @IEEE80211_HT_CAP_MAX_AMSDU
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_IEEE80211_HT_CAP_GRN_FLD,4,2   ; @IEEE80211_HT_CAP_GRN_FLD
	.comm	_IEEE80211_HT_CAP_DELAY_BA,4,2  ; @IEEE80211_HT_CAP_DELAY_BA
	.comm	_IEEE80211_HT_CAP_DSSSCCK40,4,2 ; @IEEE80211_HT_CAP_DSSSCCK40
	.no_dead_strip	_wcn36xx_smd_set_sta_ht_params
.subsections_via_symbols
