	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7615_mcu_set_ht_cap          ## -- Begin function mt7615_mcu_set_ht_cap
	.p2align	4, 0x90
_mt7615_mcu_set_ht_cap:                 ## @mt7615_mcu_set_ht_cap
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rdi, %r14
	movq	48(%rdx), %rbx
	movq	(%rsi), %r12
	movq	_MT7615_WTBL_UPDATE_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, 12(%r15)
	movq	_WTBL_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_WTBL_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 88(%r15)
	movl	$32, %edi
	callq	_cpu_to_le16
	movq	%rax, 80(%r15)
	movl	$1, 64(%r15)
	movl	32(%r13), %r12d
	movq	_IEEE80211_HT_CAP_LDPC_CODING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	movl	%eax, 68(%r15)
	movl	40(%r13), %eax
	movl	%eax, 76(%r15)
	movl	36(%r13), %eax
	movl	%eax, 72(%r15)
	movq	_IEEE80211_HT_CAP_SGI_20@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	je	LBB0_4
## %bb.3:
	movq	_MT_WTBL_W5_SHORT_GI_20@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_IEEE80211_HT_CAP_SGI_40@GOTPCREL(%rip), %rcx
	movq	_MT_WTBL_W5_SHORT_GI_40@GOTPCREL(%rip), %rbx
	andl	(%rcx), %r12d
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %r12d
LBB0_6:
	orl	%eax, %r12d
	cmpq	$0, 24(%r13)
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.8:
	movq	_WTBL_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 208(%r15)
	movl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, 200(%r15)
	movl	8(%r13), %eax
	movq	_IEEE80211_VHT_CAP_RXLDPC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ecx, 192(%r15)
	movl	$1, 196(%r15)
	movq	_IEEE80211_VHT_CAP_SHORT_GI_80@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_10
## %bb.9:
	movq	_MT_WTBL_W5_SHORT_GI_80@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	orl	%r12d, %ecx
	movq	_IEEE80211_VHT_CAP_SHORT_GI_160@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	je	LBB0_12
## %bb.11:
	movq	_MT_WTBL_W5_SHORT_GI_160@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_12:
	orl	%eax, %ecx
	movl	$72, %r13d
	movl	$3, %r14d
	movl	%ecx, %r12d
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_7:
	movl	$48, %r13d
	movl	$2, %r14d
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_IEEE80211_SMPS_DYNAMIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r13d, %ebx
	addl	$24, %r13d
	movq	_WTBL_SMPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r15,%rbx,4)
	movl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r15,%rbx,4)
	movl	$1, (%r15,%rbx,4)
	movq	_MT_WTBL_W5_SHORT_GI_40@GOTPCREL(%rip), %rbx
	incl	%r14d
LBB0_15:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	(%rbx), %r14d
	movq	_MT_WTBL_W5_SHORT_GI_20@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_MT_WTBL_W5_SHORT_GI_80@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_MT_WTBL_W5_SHORT_GI_160@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movl	%r13d, %ebx
	addl	$40, %r13d
	movq	_WTBL_RAW_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%r15,%rbx,4)
	movl	$40, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r15,%rbx,4)
	movabsq	$21474836481, %rax              ## imm = 0x500000001
	movq	%rax, (%r15,%rbx,4)
	notl	%r14d
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r15,%rbx,4)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r15,%rbx,4)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le16
	movq	%rax, (%r15)
	movq	_MCU_EXT_CMD_WTBL_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	$1, %r8d
	callq	___mt76_mcu_send_msg
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.16:
	movq	_MT7615_WTBL_UPDATE_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %eax
	movl	%eax, 20(%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movl	$1, (%r15)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	cmpq	$1, 24(%r12)
	movl	$2, %edi
	sbbl	$0, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r15)
	movl	(%rbx), %eax
	movl	%eax, 4(%r15)
	movq	_STA_REC_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 112(%r15)
	movl	$24, %edi
	callq	_cpu_to_le16
	movq	%rax, 104(%r15)
	movl	32(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 96(%r15)
	cmpq	$0, 24(%r12)
	je	LBB0_17
## %bb.18:
	movq	_STA_REC_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 216(%r15)
	movl	$32, %edi
	callq	_cpu_to_le16
	movq	%rax, 208(%r15)
	movl	8(%r12), %edi
	callq	_cpu_to_le32
	movq	%rax, 200(%r15)
	movl	16(%r12), %eax
	movl	%eax, 196(%r15)
	movl	12(%r12), %eax
	movl	%eax, 192(%r15)
	movl	$80, %ecx
	jmp	LBB0_19
LBB0_17:
	movl	$48, %ecx
LBB0_19:
	movq	_MCU_EXT_CMD_STA_REC_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	$1, %r8d
	callq	___mt76_mcu_send_msg
	movl	%eax, %ebx
LBB0_20:
	movq	%r15, %rdi
	callq	_kfree
LBB0_21:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT7615_WTBL_UPDATE_MAX_SIZE,4,2 ## @MT7615_WTBL_UPDATE_MAX_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_WTBL_SET,4,2                   ## @WTBL_SET
	.comm	_WTBL_HT,4,2                    ## @WTBL_HT
	.comm	_IEEE80211_HT_CAP_LDPC_CODING,4,2 ## @IEEE80211_HT_CAP_LDPC_CODING
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ## @IEEE80211_HT_CAP_SGI_20
	.comm	_MT_WTBL_W5_SHORT_GI_20,4,2     ## @MT_WTBL_W5_SHORT_GI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ## @IEEE80211_HT_CAP_SGI_40
	.comm	_MT_WTBL_W5_SHORT_GI_40,4,2     ## @MT_WTBL_W5_SHORT_GI_40
	.comm	_WTBL_VHT,4,2                   ## @WTBL_VHT
	.comm	_IEEE80211_VHT_CAP_RXLDPC,4,2   ## @IEEE80211_VHT_CAP_RXLDPC
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_MT_WTBL_W5_SHORT_GI_80,4,2     ## @MT_WTBL_W5_SHORT_GI_80
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ## @IEEE80211_VHT_CAP_SHORT_GI_160
	.comm	_MT_WTBL_W5_SHORT_GI_160,4,2    ## @MT_WTBL_W5_SHORT_GI_160
	.comm	_IEEE80211_SMPS_DYNAMIC,8,3     ## @IEEE80211_SMPS_DYNAMIC
	.comm	_WTBL_SMPS,4,2                  ## @WTBL_SMPS
	.comm	_WTBL_RAW_DATA,4,2              ## @WTBL_RAW_DATA
	.comm	_MCU_EXT_CMD_WTBL_UPDATE,4,2    ## @MCU_EXT_CMD_WTBL_UPDATE
	.comm	_STA_REC_HT,4,2                 ## @STA_REC_HT
	.comm	_STA_REC_VHT,4,2                ## @STA_REC_VHT
	.comm	_MCU_EXT_CMD_STA_REC_UPDATE,4,2 ## @MCU_EXT_CMD_STA_REC_UPDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mt7615_mcu_set_ht_cap
lCPI0_0:
	.long	1                               ; 0x1
	.long	5                               ; 0x5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_mt7615_mcu_set_ht_cap
	.p2align	2
_mt7615_mcu_set_ht_cap:                 ; @mt7615_mcu_set_ht_cap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x20, x0
	ldr	x26, [x2, #48]
	ldr	x22, [x1]
Lloh0:
	adrp	x8, _MT7615_WTBL_UPDATE_MAX_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT7615_WTBL_UPDATE_MAX_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	stp	x22, x20, [sp]                  ; 16-byte Folded Spill
	ldr	w8, [x26]
Lloh6:
	adrp	x9, _WTBL_SET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WTBL_SET@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh9:
	adrp	x8, _WTBL_HT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WTBL_HT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #88]
	mov	w0, #32
	bl	_cpu_to_le16
	str	x0, [x19, #80]
	mov	w20, #1
	ldr	w8, [x21, #32]
Lloh12:
	adrp	x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w9, w9, w8
	stp	w20, w9, [x19, #64]
	ldur	d0, [x21, #36]
	str	d0, [x19, #72]
Lloh15:
	adrp	x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IEEE80211_HT_CAP_SGI_20@GOTPAGEOFF]
Lloh17:
	adrp	x24, _MT_WTBL_W5_SHORT_GI_20@GOTPAGE
Lloh18:
	ldr	x24, [x24, _MT_WTBL_W5_SHORT_GI_20@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	ldr	w10, [x24]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh20:
	adrp	x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IEEE80211_HT_CAP_SGI_40@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
Lloh23:
	adrp	x28, _MT_WTBL_W5_SHORT_GI_40@GOTPAGE
Lloh24:
	ldr	x28, [x28, _MT_WTBL_W5_SHORT_GI_40@GOTPAGEOFF]
	ldr	w11, [x28]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w22, w8, w9
	ldr	x8, [x21, #24]
Lloh25:
	adrp	x25, _MT_WTBL_W5_SHORT_GI_80@GOTPAGE
Lloh26:
	ldr	x25, [x25, _MT_WTBL_W5_SHORT_GI_80@GOTPAGEOFF]
Lloh27:
	adrp	x27, _MT_WTBL_W5_SHORT_GI_160@GOTPAGE
Lloh28:
	ldr	x27, [x27, _MT_WTBL_W5_SHORT_GI_160@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.2:
Lloh29:
	adrp	x8, _WTBL_VHT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WTBL_VHT@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #208]
	mov	w0, #24
	bl	_cpu_to_le16
	str	x0, [x19, #200]
	ldr	w8, [x21, #8]
Lloh32:
	adrp	x9, _IEEE80211_VHT_CAP_RXLDPC@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_RXLDPC@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	and	w9, w9, w8
	stp	w9, w20, [x19, #192]
Lloh35:
	adrp	x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_SHORT_GI_80@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	ldr	w10, [x25]
	tst	w9, w8
	csel	w9, wzr, w10, eq
	orr	w9, w9, w22
Lloh38:
	adrp	x10, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGE
Lloh39:
	ldr	x10, [x10, _IEEE80211_VHT_CAP_SHORT_GI_160@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	ldr	w11, [x27]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w22, w9, w8
	mov	w20, #72
	mov	w23, #3
	b	LBB0_5
LBB0_3:
Lloh41:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_13
LBB0_4:
	mov	w20, #48
	mov	w23, #2
LBB0_5:
	ldr	x8, [x21]
Lloh44:
	adrp	x9, _IEEE80211_SMPS_DYNAMIC@GOTPAGE
Lloh45:
	ldr	x9, [x9, _IEEE80211_SMPS_DYNAMIC@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	x25, x27
	add	x27, x19, w20, uxtw #2
	add	w20, w20, #24
Lloh47:
	adrp	x8, _WTBL_SMPS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WTBL_SMPS@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #16]
	mov	w0, #24
	bl	_cpu_to_le16
	str	x0, [x27, #8]
	mov	w8, #1
	str	w8, [x27]
	mov	x27, x25
Lloh50:
	adrp	x25, _MT_WTBL_W5_SHORT_GI_80@GOTPAGE
Lloh51:
	ldr	x25, [x25, _MT_WTBL_W5_SHORT_GI_80@GOTPAGEOFF]
	add	w23, w23, #1
LBB0_7:
	ldr	w8, [x24]
	ldr	w9, [x28]
	orr	w8, w9, w8
	ldr	w9, [x25]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w25, w8, w9
	add	x27, x19, w20, uxtw #2
	add	w24, w20, #40
Lloh52:
	adrp	x8, _WTBL_RAW_DATA@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WTBL_RAW_DATA@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x27, #32]
	mov	w0, #40
	bl	_cpu_to_le16
	str	x0, [x27, #24]
Lloh55:
	adrp	x8, lCPI0_0@PAGE
Lloh56:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x27]
	mvn	w0, w25
	bl	_cpu_to_le32
	str	x0, [x27, #16]
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x27, #8]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [x19]
Lloh57:
	adrp	x8, _MCU_EXT_CMD_WTBL_UPDATE@GOTPAGE
Lloh58:
	ldr	x8, [x8, _MCU_EXT_CMD_WTBL_UPDATE@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	w20, #1
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x23
	mov	x2, x19
	mov	x3, x24
	mov	w4, #1
	bl	___mt76_mcu_send_msg
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.8:
Lloh60:
	adrp	x8, _MT7615_WTBL_UPDATE_MAX_SIZE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _MT7615_WTBL_UPDATE_MAX_SIZE@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	ldr	x22, [sp]                       ; 8-byte Folded Reload
	ldr	w8, [x22, #4]
	ldr	w9, [x26]
	stp	w9, w8, [x19, #16]
	str	w20, [x19]
	ldr	x8, [x21, #24]
	cmp	x8, #0
	cinc	w0, w20, ne
	bl	_cpu_to_le16
	str	x0, [x19, #8]
	ldr	w8, [x22]
	str	w8, [x19, #4]
Lloh63:
	adrp	x8, _STA_REC_HT@GOTPAGE
Lloh64:
	ldr	x8, [x8, _STA_REC_HT@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #112]
	mov	w0, #24
	bl	_cpu_to_le16
	str	x0, [x19, #104]
	ldr	w0, [x21, #32]
	bl	_cpu_to_le16
	str	x0, [x19, #96]
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_10
; %bb.9:
Lloh66:
	adrp	x8, _STA_REC_VHT@GOTPAGE
Lloh67:
	ldr	x8, [x8, _STA_REC_VHT@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19, #216]
	mov	w0, #32
	bl	_cpu_to_le16
	str	x0, [x19, #208]
	ldr	w0, [x21, #8]
	bl	_cpu_to_le32
	str	x0, [x19, #200]
	ldur	d0, [x21, #12]
	str	d0, [x19, #192]
	mov	w3, #80
	b	LBB0_11
LBB0_10:
	mov	w3, #48
LBB0_11:
Lloh69:
	adrp	x8, _MCU_EXT_CMD_STA_REC_UPDATE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MCU_EXT_CMD_STA_REC_UPDATE@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x19
	mov	w4, #1
	bl	___mt76_mcu_send_msg
	mov	x22, x0
LBB0_12:
	mov	x0, x19
	bl	_kfree
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdr	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_MT7615_WTBL_UPDATE_MAX_SIZE,4,2 ; @MT7615_WTBL_UPDATE_MAX_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_WTBL_SET,4,2                   ; @WTBL_SET
	.comm	_WTBL_HT,4,2                    ; @WTBL_HT
	.comm	_IEEE80211_HT_CAP_LDPC_CODING,4,2 ; @IEEE80211_HT_CAP_LDPC_CODING
	.comm	_IEEE80211_HT_CAP_SGI_20,4,2    ; @IEEE80211_HT_CAP_SGI_20
	.comm	_MT_WTBL_W5_SHORT_GI_20,4,2     ; @MT_WTBL_W5_SHORT_GI_20
	.comm	_IEEE80211_HT_CAP_SGI_40,4,2    ; @IEEE80211_HT_CAP_SGI_40
	.comm	_MT_WTBL_W5_SHORT_GI_40,4,2     ; @MT_WTBL_W5_SHORT_GI_40
	.comm	_WTBL_VHT,4,2                   ; @WTBL_VHT
	.comm	_IEEE80211_VHT_CAP_RXLDPC,4,2   ; @IEEE80211_VHT_CAP_RXLDPC
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_80,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_80
	.comm	_MT_WTBL_W5_SHORT_GI_80,4,2     ; @MT_WTBL_W5_SHORT_GI_80
	.comm	_IEEE80211_VHT_CAP_SHORT_GI_160,4,2 ; @IEEE80211_VHT_CAP_SHORT_GI_160
	.comm	_MT_WTBL_W5_SHORT_GI_160,4,2    ; @MT_WTBL_W5_SHORT_GI_160
	.comm	_IEEE80211_SMPS_DYNAMIC,8,3     ; @IEEE80211_SMPS_DYNAMIC
	.comm	_WTBL_SMPS,4,2                  ; @WTBL_SMPS
	.comm	_WTBL_RAW_DATA,4,2              ; @WTBL_RAW_DATA
	.comm	_MCU_EXT_CMD_WTBL_UPDATE,4,2    ; @MCU_EXT_CMD_WTBL_UPDATE
	.comm	_STA_REC_HT,4,2                 ; @STA_REC_HT
	.comm	_STA_REC_VHT,4,2                ; @STA_REC_VHT
	.comm	_MCU_EXT_CMD_STA_REC_UPDATE,4,2 ; @MCU_EXT_CMD_STA_REC_UPDATE
.subsections_via_symbols
