	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_tpc_config_get_rate_code ## -- Begin function ath10k_wmi_tpc_config_get_rate_code
	.p2align	4, 0x90
_ath10k_wmi_tpc_config_get_rate_code:   ## @ath10k_wmi_tpc_config_get_rate_code
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_WMI_RATE_PREAMBLE_CCK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, (%r14)
	movl	(%r13), %edx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 8(%r14)
	movl	(%r13), %edx
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 16(%r14)
	movl	(%r13), %edx
	movl	$3, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 24(%r14)
	movq	$4, (%r15)
	movq	_WMI_RATE_PREAMBLE_OFDM@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 32(%r14)
	movl	(%r13), %edx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 40(%r14)
	movl	(%r13), %edx
	movl	$2, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 48(%r14)
	movl	(%r13), %edx
	movl	$3, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 56(%r14)
	movl	(%r13), %edx
	movl	$4, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 64(%r14)
	movl	(%r13), %edx
	movl	$5, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 72(%r14)
	movl	(%r13), %edx
	movl	$6, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 80(%r14)
	movl	(%r13), %edx
	movl	$7, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 88(%r14)
	movq	$12, 8(%r15)
	testl	%r12d, %r12d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_15
## %bb.1:
	addq	$168, %r14
	movl	$12, %r13d
	movq	_WMI_RATE_PREAMBLE_HT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -72(%r14)
	movl	(%r15), %edx
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -64(%r14)
	movl	(%r15), %edx
	movl	$2, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -56(%r14)
	movl	(%r15), %edx
	movl	$3, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -48(%r14)
	movl	(%r15), %edx
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -40(%r14)
	movl	(%r15), %edx
	movl	$5, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -32(%r14)
	movl	(%r15), %edx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -24(%r14)
	movl	(%r15), %edx
	movl	$7, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -16(%r14)
	addq	$8, %r13
	incl	%ebx
	addq	$64, %r14
	cmpl	%ebx, %r12d
	jne	LBB0_2
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, 16(%rax)
	testl	%r12d, %r12d
	jle	LBB0_16
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -72(%r14)
	movl	(%r15), %edx
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -64(%r14)
	movl	(%r15), %edx
	movl	$2, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -56(%r14)
	movl	(%r15), %edx
	movl	$3, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -48(%r14)
	movl	(%r15), %edx
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -40(%r14)
	movl	(%r15), %edx
	movl	$5, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -32(%r14)
	movl	(%r15), %edx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -24(%r14)
	movl	(%r15), %edx
	movl	$7, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -16(%r14)
	addq	$8, %r13
	incl	%ebx
	addq	$64, %r14
	cmpl	%ebx, %r12d
	jne	LBB0_5
## %bb.6:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r13, 24(%r15)
	testl	%r12d, %r12d
	jle	LBB0_18
## %bb.7:
	xorl	%ebx, %ebx
	movq	_WMI_RATE_PREAMBLE_VHT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -72(%r14)
	movl	(%r15), %edx
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -64(%r14)
	movl	(%r15), %edx
	movl	$2, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -56(%r14)
	movl	(%r15), %edx
	movl	$3, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -48(%r14)
	movl	(%r15), %edx
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -40(%r14)
	movl	(%r15), %edx
	movl	$5, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -32(%r14)
	movl	(%r15), %edx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -24(%r14)
	movl	(%r15), %edx
	movl	$7, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -16(%r14)
	movl	(%r15), %edx
	movl	$8, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -8(%r14)
	movl	(%r15), %edx
	movl	$9, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, (%r14)
	addq	$10, %r13
	incl	%ebx
	addq	$80, %r14
	cmpl	%ebx, %r12d
	jne	LBB0_8
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, 32(%rax)
	testl	%r12d, %r12d
	jle	LBB0_21
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -72(%r14)
	movl	(%r15), %edx
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -64(%r14)
	movl	(%r15), %edx
	movl	$2, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -56(%r14)
	movl	(%r15), %edx
	movl	$3, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -48(%r14)
	movl	(%r15), %edx
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -40(%r14)
	movl	(%r15), %edx
	movl	$5, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -32(%r14)
	movl	(%r15), %edx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -24(%r14)
	movl	(%r15), %edx
	movl	$7, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -16(%r14)
	movl	(%r15), %edx
	movl	$8, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -8(%r14)
	movl	(%r15), %edx
	movl	$9, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, (%r14)
	addq	$10, %r13
	incl	%ebx
	addq	$80, %r14
	cmpl	%ebx, %r12d
	jne	LBB0_11
## %bb.12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, 40(%rax)
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -72(%r14)
	movl	(%r15), %edx
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -64(%r14)
	movl	(%r15), %edx
	movl	$2, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -56(%r14)
	movl	(%r15), %edx
	movl	$3, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -48(%r14)
	movl	(%r15), %edx
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -40(%r14)
	movl	(%r15), %edx
	movl	$5, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -32(%r14)
	movl	(%r15), %edx
	movl	$6, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -24(%r14)
	movl	(%r15), %edx
	movl	$7, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -16(%r14)
	movl	(%r15), %edx
	movl	$8, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, -8(%r14)
	movl	(%r15), %edx
	movl	$9, %edi
	movl	%ebx, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, (%r14)
	addq	$10, %r13
	incl	%ebx
	addq	$80, %r14
	cmpl	%ebx, %r12d
	jne	LBB0_14
	jmp	LBB0_20
LBB0_15:
	movq	$12, 16(%r15)
	movl	$12, %r13d
	jmp	LBB0_17
LBB0_16:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	movq	%r13, 24(%r15)
LBB0_18:
	movq	%r13, 32(%r15)
LBB0_19:
	movq	%r13, 40(%r15)
LBB0_20:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, 48(%r14)
	movq	_WMI_RATE_PREAMBLE_CCK@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx,%r13,8)
	movq	_WMI_RATE_PREAMBLE_OFDM@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 8(%rbx,%r13,8)
	movl	(%r15), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 16(%rbx,%r13,8)
	movl	(%r12), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 24(%rbx,%r13,8)
	movl	(%r12), %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ATH10K_HW_RATECODE
	movq	%rax, 32(%rbx,%r13,8)
	movq	_ATH10K_TPC_PREAM_TABLE_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_WMI_RATE_PREAMBLE_CCK,4,2      ## @WMI_RATE_PREAMBLE_CCK
	.comm	_WMI_RATE_PREAMBLE_OFDM,4,2     ## @WMI_RATE_PREAMBLE_OFDM
	.comm	_WMI_RATE_PREAMBLE_HT,4,2       ## @WMI_RATE_PREAMBLE_HT
	.comm	_WMI_RATE_PREAMBLE_VHT,4,2      ## @WMI_RATE_PREAMBLE_VHT
	.comm	_ATH10K_TPC_PREAM_TABLE_END,8,3 ## @ATH10K_TPC_PREAM_TABLE_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_wmi_tpc_config_get_rate_code ; -- Begin function ath10k_wmi_tpc_config_get_rate_code
	.p2align	2
_ath10k_wmi_tpc_config_get_rate_code:   ; @ath10k_wmi_tpc_config_get_rate_code
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _WMI_RATE_PREAMBLE_CCK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _WMI_RATE_PREAMBLE_CCK@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20]
	ldr	w2, [x23]
	mov	w0, #1
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #8]
	ldr	w2, [x23]
	mov	w0, #2
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #16]
	ldr	w2, [x23]
	mov	w0, #3
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #24]
	mov	w8, #4
	str	x8, [x19]
Lloh2:
	adrp	x24, _WMI_RATE_PREAMBLE_OFDM@GOTPAGE
Lloh3:
	ldr	x24, [x24, _WMI_RATE_PREAMBLE_OFDM@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #32]
	ldr	w2, [x24]
	mov	w0, #1
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #40]
	ldr	w2, [x24]
	mov	w0, #2
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #48]
	ldr	w2, [x24]
	mov	w0, #3
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #56]
	ldr	w2, [x24]
	mov	w0, #4
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #64]
	ldr	w2, [x24]
	mov	w0, #5
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #72]
	ldr	w2, [x24]
	mov	w0, #6
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #80]
	ldr	w2, [x24]
	mov	w0, #7
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #88]
	mov	w8, #12
	str	x8, [x19, #8]
	cmp	w21, #1
	b.lt	LBB0_15
; %bb.1:
	mov	w22, #0
	add	x26, x20, #168
	mov	w25, #12
Lloh4:
	adrp	x27, _WMI_RATE_PREAMBLE_HT@GOTPAGE
Lloh5:
	ldr	x27, [x27, _WMI_RATE_PREAMBLE_HT@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x27]
	mov	w0, #0
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-72]
	ldr	w2, [x27]
	mov	w0, #1
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-64]
	ldr	w2, [x27]
	mov	w0, #2
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-56]
	ldr	w2, [x27]
	mov	w0, #3
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-48]
	ldr	w2, [x27]
	mov	w0, #4
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-40]
	ldr	w2, [x27]
	mov	w0, #5
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-32]
	ldr	w2, [x27]
	mov	w0, #6
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-24]
	ldr	w2, [x27]
	mov	w0, #7
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-16]
	add	x25, x25, #8
	add	w22, w22, #1
	add	x26, x26, #64
	cmp	w21, w22
	b.ne	LBB0_2
; %bb.3:
	str	x25, [x19, #16]
	cmp	w21, #1
	b.lt	LBB0_16
; %bb.4:
	mov	w22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x27]
	mov	w0, #0
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-72]
	ldr	w2, [x27]
	mov	w0, #1
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-64]
	ldr	w2, [x27]
	mov	w0, #2
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-56]
	ldr	w2, [x27]
	mov	w0, #3
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-48]
	ldr	w2, [x27]
	mov	w0, #4
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-40]
	ldr	w2, [x27]
	mov	w0, #5
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-32]
	ldr	w2, [x27]
	mov	w0, #6
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-24]
	ldr	w2, [x27]
	mov	w0, #7
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-16]
	add	x25, x25, #8
	add	w22, w22, #1
	add	x26, x26, #64
	cmp	w21, w22
	b.ne	LBB0_5
; %bb.6:
	str	x25, [x19, #24]
	cmp	w21, #1
	b.lt	LBB0_17
; %bb.7:
	mov	w22, #0
Lloh6:
	adrp	x27, _WMI_RATE_PREAMBLE_VHT@GOTPAGE
Lloh7:
	ldr	x27, [x27, _WMI_RATE_PREAMBLE_VHT@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x27]
	mov	w0, #0
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-72]
	ldr	w2, [x27]
	mov	w0, #1
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-64]
	ldr	w2, [x27]
	mov	w0, #2
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-56]
	ldr	w2, [x27]
	mov	w0, #3
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-48]
	ldr	w2, [x27]
	mov	w0, #4
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-40]
	ldr	w2, [x27]
	mov	w0, #5
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-32]
	ldr	w2, [x27]
	mov	w0, #6
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-24]
	ldr	w2, [x27]
	mov	w0, #7
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-16]
	ldr	w2, [x27]
	mov	w0, #8
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-8]
	ldr	w2, [x27]
	mov	w0, #9
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	str	x0, [x26], #80
	add	x25, x25, #10
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_8
; %bb.9:
	str	x25, [x19, #32]
	cmp	w21, #1
	b.lt	LBB0_18
; %bb.10:
	mov	w22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x27]
	mov	w0, #0
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-72]
	ldr	w2, [x27]
	mov	w0, #1
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-64]
	ldr	w2, [x27]
	mov	w0, #2
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-56]
	ldr	w2, [x27]
	mov	w0, #3
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-48]
	ldr	w2, [x27]
	mov	w0, #4
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-40]
	ldr	w2, [x27]
	mov	w0, #5
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-32]
	ldr	w2, [x27]
	mov	w0, #6
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-24]
	ldr	w2, [x27]
	mov	w0, #7
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-16]
	ldr	w2, [x27]
	mov	w0, #8
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-8]
	ldr	w2, [x27]
	mov	w0, #9
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	str	x0, [x26], #80
	add	x25, x25, #10
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_11
; %bb.12:
	str	x25, [x19, #40]
	cmp	w21, #1
	b.lt	LBB0_19
; %bb.13:
	mov	w22, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x27]
	mov	w0, #0
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-72]
	ldr	w2, [x27]
	mov	w0, #1
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-64]
	ldr	w2, [x27]
	mov	w0, #2
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-56]
	ldr	w2, [x27]
	mov	w0, #3
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-48]
	ldr	w2, [x27]
	mov	w0, #4
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-40]
	ldr	w2, [x27]
	mov	w0, #5
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-32]
	ldr	w2, [x27]
	mov	w0, #6
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-24]
	ldr	w2, [x27]
	mov	w0, #7
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-16]
	ldr	w2, [x27]
	mov	w0, #8
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	stur	x0, [x26, #-8]
	ldr	w2, [x27]
	mov	w0, #9
	mov	x1, x22
	bl	_ATH10K_HW_RATECODE
	str	x0, [x26], #80
	add	x25, x25, #10
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_14
	b	LBB0_19
LBB0_15:
	mov	w25, #12
	str	x25, [x19, #16]
LBB0_16:
	str	x25, [x19, #24]
LBB0_17:
	str	x25, [x19, #32]
LBB0_18:
	str	x25, [x19, #40]
LBB0_19:
	str	x25, [x19, #48]
	ldr	w2, [x23]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	add	x20, x20, x25, lsl #3
	str	x0, [x20]
	ldr	w2, [x24]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #8]
	ldr	w2, [x23]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #16]
	ldr	w2, [x24]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #24]
	ldr	w2, [x24]
	mov	w0, #0
	mov	w1, #0
	bl	_ATH10K_HW_RATECODE
	str	x0, [x20, #32]
Lloh8:
	adrp	x8, _ATH10K_TPC_PREAM_TABLE_END@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ATH10K_TPC_PREAM_TABLE_END@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x19, #56]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WMI_RATE_PREAMBLE_CCK,4,2      ; @WMI_RATE_PREAMBLE_CCK
	.comm	_WMI_RATE_PREAMBLE_OFDM,4,2     ; @WMI_RATE_PREAMBLE_OFDM
	.comm	_WMI_RATE_PREAMBLE_HT,4,2       ; @WMI_RATE_PREAMBLE_HT
	.comm	_WMI_RATE_PREAMBLE_VHT,4,2      ; @WMI_RATE_PREAMBLE_VHT
	.comm	_ATH10K_TPC_PREAM_TABLE_END,8,3 ; @ATH10K_TPC_PREAM_TABLE_END
.subsections_via_symbols
