	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_set_vht_width          ## -- Begin function mwifiex_set_vht_width
	.p2align	4, 0x90
_mwifiex_set_vht_width:                 ## @mwifiex_set_vht_width
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	(%rdi), %rax
	movq	_VHT_CFG_5GHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -4(%rbp)
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movq	_DEFAULT_VHT_MCS_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	%rax, -24(%rbp)
	movq	_VHT_CAP_UAP_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_NL80211_CHAN_WIDTH_80@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	ja	LBB0_5
## %bb.3:
	movq	_VHT_BW_80_160_80P80@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_4
LBB0_1:
	movq	_DISABLE_VHT_MCS_SET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	%rax, -24(%rbp)
	movq	_VHT_CAP_UAP_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, -32(%rbp)
LBB0_5:
	movq	_HostCmd_CMD_11AC_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %r8
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_mwifiex_send_cmd
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VHT_CFG_5GHZ,4,2               ## @VHT_CFG_5GHZ
	.comm	_DISABLE_VHT_MCS_SET,8,3        ## @DISABLE_VHT_MCS_SET
	.comm	_DEFAULT_VHT_MCS_SET,8,3        ## @DEFAULT_VHT_MCS_SET
	.comm	_VHT_CAP_UAP_ONLY,4,2           ## @VHT_CAP_UAP_ONLY
	.comm	_NL80211_CHAN_WIDTH_80,4,2      ## @NL80211_CHAN_WIDTH_80
	.comm	_VHT_BW_80_160_80P80,4,2        ## @VHT_BW_80_160_80P80
	.comm	_HostCmd_CMD_11AC_CFG,4,2       ## @HostCmd_CMD_11AC_CFG
	.comm	_HostCmd_ACT_GEN_SET,4,2        ## @HostCmd_ACT_GEN_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mwifiex_set_vht_width          ; -- Begin function mwifiex_set_vht_width
	.p2align	2
_mwifiex_set_vht_width:                 ; @mwifiex_set_vht_width
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VHT_CFG_5GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VHT_CFG_5GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #28]
	ldr	w8, [x8]
	str	w8, [sp, #24]
	cbz	w2, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _DEFAULT_VHT_MCS_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFAULT_VHT_MCS_SET@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #8]
Lloh6:
	adrp	x8, _VHT_CAP_UAP_ONLY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VHT_CAP_UAP_ONLY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp]
Lloh9:
	adrp	x9, _NL80211_CHAN_WIDTH_80@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NL80211_CHAN_WIDTH_80@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w9, w1
	b.hi	LBB0_5
; %bb.2:
Lloh12:
	adrp	x9, _VHT_BW_80_160_80P80@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VHT_BW_80_160_80P80@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x8, _DISABLE_VHT_MCS_SET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DISABLE_VHT_MCS_SET@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #8]
Lloh18:
	adrp	x8, _VHT_CAP_UAP_ONLY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VHT_CAP_UAP_ONLY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
LBB0_4:
	str	w8, [sp]
LBB0_5:
Lloh21:
	adrp	x8, _HostCmd_CMD_11AC_CFG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HostCmd_CMD_11AC_CFG@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _HostCmd_ACT_GEN_SET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x4, sp
	mov	w3, #0
	mov	w5, #1
	bl	_mwifiex_send_cmd
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VHT_CFG_5GHZ,4,2               ; @VHT_CFG_5GHZ
	.comm	_DISABLE_VHT_MCS_SET,8,3        ; @DISABLE_VHT_MCS_SET
	.comm	_DEFAULT_VHT_MCS_SET,8,3        ; @DEFAULT_VHT_MCS_SET
	.comm	_VHT_CAP_UAP_ONLY,4,2           ; @VHT_CAP_UAP_ONLY
	.comm	_NL80211_CHAN_WIDTH_80,4,2      ; @NL80211_CHAN_WIDTH_80
	.comm	_VHT_BW_80_160_80P80,4,2        ; @VHT_BW_80_160_80P80
	.comm	_HostCmd_CMD_11AC_CFG,4,2       ; @HostCmd_CMD_11AC_CFG
	.comm	_HostCmd_ACT_GEN_SET,4,2        ; @HostCmd_ACT_GEN_SET
.subsections_via_symbols
