	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function rtl8812ae_dm_txpower_tracking_callback_thermalmeter
LCPI0_0:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_rtl8812ae_dm_txpower_tracking_callback_thermalmeter
	.p2align	4, 0x90
_rtl8812ae_dm_txpower_tracking_callback_thermalmeter: ## @rtl8812ae_dm_txpower_tracking_callback_thermalmeter
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_dm
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-128(%rbp), %rsi
	leaq	-120(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	leaq	-104(%rbp), %r8
	movq	%r14, %rdi
	callq	_rtl8812ae_get_delta_swing_table
	movl	$1, (%r12)
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	4(%r12), %r8d
	movq	8(%r12), %rax
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %r9d
	movl	116(%r12), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%rbx), %rsi
	movq	%r12, %rbx
	movq	%r13, %r12
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
	movq	_RF_T_METER_8812A@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movl	$64512, %ecx                    ## imm = 0xFC00
	callq	_rtl_get_rfreg
	movl	(%r13), %esi
	movl	(%r12), %edx
	movl	(%r14), %r9d
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpl	$0, 112(%rbx)
	je	LBB0_86
## %bb.1:
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_86
## %bb.2:
	cmpl	$255, %eax
	je	LBB0_86
## %bb.3:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movl	(%r13), %esi
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_5:
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rax
	movq	%r15, (%rcx,%rax,8)
	movq	24(%rbx), %rax
	incq	%rax
	movq	_AVG_THERMAL_NUM_8812A@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	cmpq	%rdx, %rax
	cmovneq	%rax, %rsi
	movq	%rsi, 24(%rbx)
	testq	%rdx, %rdx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_22
## %bb.6:
	cmpq	$4, %rdx
	jae	LBB0_9
## %bb.7:
	xorl	%eax, %eax
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_9:
	movq	%rdx, %rsi
	andq	$-4, %rsi
	leaq	-4(%rsi), %rax
	movq	%rax, %rbx
	shrq	$2, %rbx
	incq	%rbx
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rbx, %rax
	andq	$-2, %rax
	pxor	%xmm9, %xmm9
	xorl	%edi, %edi
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [2,2]
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	pxor	%xmm7, %xmm7
	pxor	%xmm6, %xmm6
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm5
	movdqu	16(%rcx,%rdi,8), %xmm4
	movdqu	32(%rcx,%rdi,8), %xmm2
	movdqu	48(%rcx,%rdi,8), %xmm3
	paddq	%xmm5, %xmm0
	paddq	%xmm4, %xmm1
	pcmpeqq	%xmm9, %xmm5
	paddq	%xmm7, %xmm5
	pcmpeqq	%xmm9, %xmm4
	paddq	%xmm6, %xmm4
	paddq	%xmm2, %xmm0
	pcmpeqq	%xmm9, %xmm2
	paddq	%xmm3, %xmm1
	pcmpeqq	%xmm9, %xmm3
	paddq	%xmm8, %xmm2
	paddq	%xmm5, %xmm2
	paddq	%xmm8, %xmm3
	paddq	%xmm4, %xmm3
	addq	$8, %rdi
	movdqa	%xmm2, %xmm7
	movdqa	%xmm3, %xmm6
	addq	$-2, %rax
	jne	LBB0_12
## %bb.13:
	testb	$1, %bl
	je	LBB0_15
LBB0_14:
	movdqu	(%rcx,%rdi,8), %xmm4
	movdqu	16(%rcx,%rdi,8), %xmm5
	pxor	%xmm6, %xmm6
	paddq	%xmm4, %xmm0
	paddq	%xmm5, %xmm1
	pcmpeqq	%xmm6, %xmm4
	paddq	%xmm4, %xmm2
	pcmpeqq	%xmm6, %xmm5
	paddq	%xmm5, %xmm3
	pcmpeqd	%xmm4, %xmm4
	psubq	%xmm4, %xmm2
	psubq	%xmm4, %xmm3
LBB0_15:
	paddq	%xmm1, %xmm0
	paddq	%xmm3, %xmm2
	pshufd	$238, %xmm2, %xmm1              ## xmm1 = xmm2[2,3,2,3]
	paddq	%xmm2, %xmm1
	movq	%xmm1, %rdi
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rax
	jmp	LBB0_16
LBB0_10:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	pxor	%xmm2, %xmm2
	pxor	%xmm3, %xmm3
	testb	$1, %bl
	jne	LBB0_14
	jmp	LBB0_15
LBB0_8:
	movq	(%rcx,%rsi,8), %rbx
	addq	%rbx, %rax
	cmpq	$1, %rbx
	sbbq	$-1, %rdi
	incq	%rsi
LBB0_16:
	cmpq	%rsi, %rdx
	jne	LBB0_8
## %bb.17:
	testq	%rdi, %rdi
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
## %bb.18:
	movq	%rax, %rcx
	orq	%rdi, %rcx
	shrq	$32, %rcx
	je	LBB0_19
## %bb.20:
	xorl	%edx, %edx
	divq	%rdi
	movq	%rax, %r15
	jmp	LBB0_21
LBB0_19:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
	movl	%eax, %r15d
LBB0_21:
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%r13), %esi
	movl	(%rax), %edx
	movl	(%r14), %r9d
	leaq	L_.str.3(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_22:
	movq	48(%rbx), %rcx
	movq	%rcx, %rax
	subq	%r15, %rax
	negq	%rax
	subq	%r15, %rcx
	movq	40(%rbx), %r12
	cmovbq	%rax, %rcx
	movq	%r12, %rax
	subq	%r15, %rax
	negq	%rax
	subq	%r15, %r12
	cmovbq	%rax, %r12
	movq	%rbx, %r14
	movq	32(%rbx), %rbx
	movq	%rbx, %rax
	subq	%r15, %rax
	negq	%rax
	subq	%r15, %rbx
	cmovbq	%rax, %rbx
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, (%rsp)
	leaq	L_.str.4(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_IQK_THRESHOLD@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	cmpq	%r9, %r12
	jb	LBB0_24
## %bb.23:
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, 40(%r14)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_rtl8821ae_phy_lc_calibrate
LBB0_24:
	movl	112(%r14), %r8d
	testq	%rbx, %rbx
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_25
## %bb.29:
	testl	%r8d, %r8d
	je	LBB0_30
## %bb.31:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movq	%rax, %rcx
	subq	%r15, %rcx
	negq	%rcx
	movq	%rax, %rdx
	subq	%r15, %rdx
	cmovbq	%rcx, %rdx
	movq	_TXPWR_TRACK_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	-1(%rcx), %rbx
	cmpq	%rcx, %rdx
	cmovbq	%rdx, %rbx
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpq	%r15, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jae	LBB0_33
## %bb.32:
	movq	-128(%rbp), %rax
	movq	(%rax,%rbx,8), %r9
	leaq	L_.str.6(%rip), %rcx
	movq	%r12, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	56(%r14), %rax
	movq	64(%r14), %rcx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, (%rax,%rdx,8)
	movq	-128(%rbp), %rax
	movq	(%rax,%rbx,8), %rdx
	movq	(%r15), %rsi
	movq	%rdx, (%rcx,%rsi,8)
	movq	(%rax,%rbx,8), %rax
	movq	%r14, %rcx
	addq	$72, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	72(%r14), %rcx
	movq	(%r15), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r15), %rax
	movq	(%rcx,%rax,8), %r8
	leaq	L_.str.7(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-112(%rbp), %rax
	movq	(%rax,%rbx,8), %r9
	leaq	L_.str.8(%rip), %rcx
	movq	%r12, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r12, %rdi
	movq	56(%r14), %rax
	movq	64(%r14), %rcx
	movq	_RF90_PATH_B@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	movq	(%rcx,%rsi,8), %rdx
	movq	%rdx, (%rax,%rsi,8)
	movq	-112(%rbp), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%r8), %rdx
	movq	%rsi, (%rcx,%rdx,8)
	movq	(%rax,%rbx,8), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, %rbx
	leaq	L_.str.9(%rip), %rcx
	jmp	LBB0_34
LBB0_25:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
LBB0_30:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	xorl	%r8d, %r8d
LBB0_26:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	32(%rbx), %rax
	movq	%rax, (%rsp)
	leaq	L_.str.19(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r12), %rax
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_47
## %bb.27:
	movq	80(%rbx), %rdx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rdx,%rax,8)
	incq	%rax
	cmpq	(%rcx), %rax
	jb	LBB0_28
	jmp	LBB0_47
LBB0_33:
	movq	-120(%rbp), %rax
	movq	(%rax,%rbx,8), %r9
	leaq	L_.str.10(%rip), %rcx
	movq	%r12, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	56(%r14), %rax
	movq	64(%r14), %rcx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, (%rax,%rdx,8)
	movq	-120(%rbp), %rax
	xorl	%edx, %edx
	subq	(%rax,%rbx,8), %rdx
	movq	(%r15), %rsi
	movq	%rdx, (%rcx,%rsi,8)
	xorl	%ecx, %ecx
	subq	(%rax,%rbx,8), %rcx
	movq	%r14, %rax
	addq	$72, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	72(%r14), %rax
	movq	(%r15), %rdx
	movq	%rcx, (%rax,%rdx,8)
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %r8
	leaq	L_.str.11(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-104(%rbp), %rax
	movq	(%rax,%rbx,8), %r9
	leaq	L_.str.12(%rip), %rcx
	movq	%r12, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r12, %rdi
	movq	56(%r14), %rax
	movq	64(%r14), %rcx
	movq	_RF90_PATH_B@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	movq	(%rcx,%rsi,8), %rdx
	movq	%rdx, (%rax,%rsi,8)
	movq	-104(%rbp), %rax
	xorl	%esi, %esi
	subq	(%rax,%rbx,8), %rsi
	movq	(%r8), %rdx
	movq	%rsi, (%rcx,%rdx,8)
	xorl	%esi, %esi
	subq	(%rax,%rbx,8), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, %rbx
	leaq	L_.str.13(%rip), %rcx
LBB0_34:
	movq	(%rax), %r9
	movq	_RF90_PATH_B@GOTPCREL(%rip), %r8
	movq	(%r8), %rdx
	movq	%rsi, (%r9,%rdx,8)
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	(%r8), %rax
	movq	(%r9,%rax,8), %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r15), %rax
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_42
## %bb.35:
	movq	%rax, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r13, %r15
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%ecx, %ecx
	cmpq	%rax, %r12
	sete	%cl
	movl	$66, %r8d
	subl	%ecx, %r8d
	movq	%r14, %rdi
	leaq	L_.str.14(%rip), %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	56(%rbx), %rax
	movq	64(%rbx), %rcx
	movq	(%rcx,%r12,8), %rdx
	subq	(%rax,%r12,8), %rdx
	movl	$0, %r9d
	cmovneq	%rdx, %r9
	movq	80(%rbx), %rdx
	movq	%r9, (%rdx,%r12,8)
	movl	(%r15), %esi
	movl	(%r13), %edx
	xorl	%edi, %edi
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r13
	cmpq	(%r13), %r12
	sete	%dil
	movl	$66, %r8d
	subl	%edi, %r8d
	movq	(%rcx,%r12,8), %rcx
	movq	(%rax,%r12,8), %rax
	movq	%rax, 8(%rsp)
	movq	%rcx, (%rsp)
	movq	%r14, %rdi
	leaq	L_.str.15(%rip), %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	8(%rbx), %rax
	movq	80(%rbx), %rcx
	movq	(%rcx,%r12,8), %rcx
	movl	(%rax,%r12,4), %eax
	addl	%ecx, %eax
	movq	88(%rbx), %rdx
	movl	%eax, (%rdx,%r12,4)
	movl	4(%rbx), %eax
	addl	%ecx, %eax
	movl	%eax, 96(%rbx)
	movl	%eax, 100(%rbx)
	movl	(%rdx,%r12,4), %eax
	movq	104(%rbx), %rdx
	movl	%eax, (%rdx,%r12,4)
	movl	(%r15), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	4(%rbx), %r9d
	movl	100(%rbx), %r8d
	movq	%rcx, (%rsp)
	movq	%r14, %rdi
	leaq	L_.str.16(%rip), %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	104(%rbx), %rax
	xorl	%ecx, %ecx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %r12
	movl	(%rax,%r12,4), %r8d
	sete	%cl
	movl	$66, %r9d
	subl	%ecx, %r9d
	movq	8(%rbx), %rax
	movq	80(%rbx), %rcx
	movl	(%rax,%r12,4), %eax
	movq	(%rcx,%r12,8), %rcx
	movq	%rcx, 8(%rsp)
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	leaq	L_.str.17(%rip), %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	88(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	movq	_TXSCALE_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	$6, %ecx
	cmpl	$5, %edx
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
	jbe	LBB0_39
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_36 Depth=1
	decl	%ecx
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
LBB0_39:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	%ecx, (%rax,%r12,4)
LBB0_40:                                ##   in Loop: Header=BB0_36 Depth=1
	incq	%r12
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jae	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	jmp	LBB0_36
LBB0_42:
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.18(%rip), %rcx
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	96(%rbx), %eax
	movq	_TXSCALE_TABLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_43
## %bb.45:
	testl	%eax, %eax
	js	LBB0_44
## %bb.46:
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_47
LBB0_43:
	decl	%ecx
	movl	%ecx, %r15d
LBB0_44:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, 96(%rax)
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r13
	movq	%rax, %rbx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r12
LBB0_47:
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rbx), %r9d
	movl	96(%rbx), %r8d
	leaq	L_.str.20(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r12), %rax
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_48
## %bb.49:
	movq	%rax, %rbx
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r14
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	8(%r13), %rcx
	movq	88(%r13), %rdi
	movl	(%rdi,%rbx,4), %r8d
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	movl	$66, %r9d
	subl	%edi, %r9d
	movl	(%rcx,%rbx,4), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	leaq	L_.str.21(%rip), %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	incq	%rbx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	jb	LBB0_50
	jmp	LBB0_51
LBB0_48:
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r14
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_51:
	movq	80(%r13), %rcx
	movq	(%rcx,%rax,8), %r8
	testq	%r8, %r8
	jne	LBB0_53
## %bb.52:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_83
LBB0_53:
	cmpl	$0, 112(%r13)
	je	LBB0_83
## %bb.54:
	movq	32(%r13), %rax
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	jbe	LBB0_56
## %bb.55:
	leaq	L_.str.23(%rip), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.22(%rip), %rcx
	jmp	LBB0_58
LBB0_56:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jae	LBB0_59
## %bb.57:
	leaq	L_.str.25(%rip), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	L_.str.24(%rip), %rcx
LBB0_58:
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	movq	%rax, 16(%rsp)
	movl	%edi, 8(%rsp)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, (%rsp)
	movq	%r12, %rdi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r14), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rax
	movq	80(%rcx), %rcx
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	(%rcx,%rdi,8), %r8
	movl	(%rbx), %ecx
	movq	%rax, 16(%rsp)
	movl	%ecx, 8(%rsp)
	movq	%r13, (%rsp)
	movq	%r12, %rdi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r9
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_59:
	movslq	(%rbx), %r9
	movl	(%r14), %esi
	movl	(%r15), %edx
	cmpq	%r9, %r13
	jbe	LBB0_63
## %bb.60:
	leaq	L_.str.26(%rip), %rcx
	movq	%r12, %rdi
	movq	%r13, %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.27(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jae	LBB0_66
## %bb.61:
	movq	_MIX_MODE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_rtl8812ae_dm_txpwr_track_set_pwr
	incq	%rbx
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	jb	LBB0_62
	jmp	LBB0_66
LBB0_63:
	leaq	L_.str.28(%rip), %rcx
	movq	%r12, %rdi
	movq	%r13, %r8
                                        ## kill: def $r9d killed $r9d killed $r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.27(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MAX_PATH_NUM_8812A@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jae	LBB0_66
## %bb.64:
	movq	_MIX_MODE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_65:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_rtl8812ae_dm_txpwr_track_set_pwr
	incq	%rbx
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	jb	LBB0_65
LBB0_66:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	100(%rdx), %ecx
	movl	%ecx, 4(%rdx)
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %r9
	subq	%rcx, %r9
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	jbe	LBB0_82
## %bb.67:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %r14
	movq	104(%rdx), %rsi
	cmpq	$8, %r9
	jb	LBB0_78
## %bb.68:
	leaq	(%r14,%rcx,4), %rdx
	leaq	(%rsi,%rcx,4), %rdi
	subq	%rdi, %rdx
	cmpq	$32, %rdx
	jb	LBB0_78
## %bb.69:
	movq	%r9, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rdx
	movq	%rdx, %r11
	shrq	$3, %r11
	incq	%r11
	movl	%r11d, %r10d
	andl	$3, %r10d
	cmpq	$24, %rdx
	jae	LBB0_71
## %bb.70:
	xorl	%edi, %edi
	jmp	LBB0_73
LBB0_71:
	andq	$-4, %r11
	leaq	(%r14,%rcx,4), %rbx
	addq	$112, %rbx
	leaq	(%rsi,%rcx,4), %rdx
	addq	$112, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_72:                                ## =>This Inner Loop Header: Depth=1
	movups	-112(%rdx,%rdi,4), %xmm0
	movups	-96(%rdx,%rdi,4), %xmm1
	movups	%xmm0, -112(%rbx,%rdi,4)
	movups	%xmm1, -96(%rbx,%rdi,4)
	movups	-80(%rdx,%rdi,4), %xmm0
	movups	-64(%rdx,%rdi,4), %xmm1
	movups	%xmm0, -80(%rbx,%rdi,4)
	movups	%xmm1, -64(%rbx,%rdi,4)
	movups	-48(%rdx,%rdi,4), %xmm0
	movups	-32(%rdx,%rdi,4), %xmm1
	movups	%xmm0, -48(%rbx,%rdi,4)
	movups	%xmm1, -32(%rbx,%rdi,4)
	movdqu	-16(%rdx,%rdi,4), %xmm0
	movdqu	(%rdx,%rdi,4), %xmm1
	movdqu	%xmm0, -16(%rbx,%rdi,4)
	movdqu	%xmm1, (%rbx,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %r11
	jne	LBB0_72
LBB0_73:
	testq	%r10, %r10
	je	LBB0_76
## %bb.74:
	addq	%rcx, %rdi
	leaq	(%r14,%rdi,4), %rdx
	addq	$16, %rdx
	leaq	(%rsi,%rdi,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_75:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rdi,%rbx), %xmm0
	movdqu	(%rdi,%rbx), %xmm1
	movdqu	%xmm0, -16(%rdx,%rbx)
	movdqu	%xmm1, (%rdx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_75
LBB0_76:
	cmpq	%r8, %r9
	je	LBB0_82
## %bb.77:
	addq	%r8, %rcx
LBB0_78:
	movl	%eax, %edi
	subl	%ecx, %edi
	movq	%rcx, %rdx
	notq	%rdx
	addq	%rax, %rdx
	andq	$3, %rdi
	je	LBB0_80
	.p2align	4, 0x90
LBB0_79:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %ebx
	movl	%ebx, (%r14,%rcx,4)
	incq	%rcx
	decq	%rdi
	jne	LBB0_79
LBB0_80:
	cmpq	$3, %rdx
	jb	LBB0_82
	.p2align	4, 0x90
LBB0_81:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %edx
	movl	%edx, (%r14,%rcx,4)
	movl	4(%rsi,%rcx,4), %edx
	movl	%edx, 4(%r14,%rcx,4)
	movl	8(%rsi,%rcx,4), %edx
	movl	%edx, 8(%r14,%rcx,4)
	movl	12(%rsi,%rcx,4), %edx
	movl	%edx, 12(%r14,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_81
LBB0_82:
	movq	_COMP_POWER_TRACKING@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	32(%r13), %r8
	leaq	L_.str.29(%rip), %rcx
	movq	%r12, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, 32(%r13)
LBB0_83:
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	_IQK_THRESHOLD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jb	LBB0_85
## %bb.84:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	$8, %ecx
	callq	_rtl8812ae_do_iqk
LBB0_85:
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.30(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_86:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_POWER_TRACKING,4,2        ## @COMP_POWER_TRACKING
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pDM_Odm->BbSwingIdxCckBase: %d, pDM_Odm->BbSwingIdxOfdmBase[A]:%d, pDM_Odm->DefaultOfdmIndex: %d\n"

	.comm	_RF90_PATH_A,8,3                ## @RF90_PATH_A
	.comm	_RF_T_METER_8812A,4,2           ## @RF_T_METER_8812A
L_.str.1:                               ## @.str.1
	.asciz	"Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"

L_.str.2:                               ## @.str.2
	.asciz	"reload ofdm index for band switch\n"

	.comm	_AVG_THERMAL_NUM_8812A,8,3      ## @AVG_THERMAL_NUM_8812A
L_.str.3:                               ## @.str.3
	.asciz	"AVG Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"

L_.str.4:                               ## @.str.4
	.asciz	"(delta, delta_LCK, delta_IQK) = (%d, %d, %d)\n"

	.comm	_IQK_THRESHOLD,8,3              ## @IQK_THRESHOLD
L_.str.5:                               ## @.str.5
	.asciz	"delta_LCK(%d) >= Threshold_IQK(%d)\n"

	.comm	_TXPWR_TRACK_TABLE_SIZE,8,3     ## @TXPWR_TRACK_TABLE_SIZE
L_.str.6:                               ## @.str.6
	.asciz	"delta_swing_table_idx_tup_a[%d] = %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"delta_swing_table_idx_tup_b[%d] = %d\n"

	.comm	_RF90_PATH_B,8,3                ## @RF90_PATH_B
L_.str.9:                               ## @.str.9
	.asciz	"******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"delta_swing_table_idx_tdown_a[%d] = %d\n"

L_.str.11:                              ## @.str.11
	.asciz	"******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"

L_.str.12:                              ## @.str.12
	.asciz	"deltaSwingTableIdx_TDOWN_B[%d] = %d\n"

L_.str.13:                              ## @.str.13
	.asciz	"******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"

	.comm	_MAX_PATH_NUM_8812A,8,3         ## @MAX_PATH_NUM_8812A
L_.str.14:                              ## @.str.14
	.asciz	"============================= [Path-%c]Calculating PowerIndexOffset =============================\n"

L_.str.15:                              ## @.str.15
	.asciz	"[Path-%c] PowerIndexOffset(%d) =DeltaPowerIndex(%d) -DeltaPowerIndexLast(%d)\n"

L_.str.16:                              ## @.str.16
	.asciz	"The 'CCK' final index(%d) = BaseIndex(%d) + PowerIndexOffset(%d)\n"

L_.str.17:                              ## @.str.17
	.asciz	"The 'OFDM' final index(%d) = BaseIndex[%c](%d) + PowerIndexOffset(%d)\n"

	.comm	_TXSCALE_TABLE_SIZE,4,2         ## @TXSCALE_TABLE_SIZE
L_.str.18:                              ## @.str.18
	.asciz	"\n\n====================================================================================\n"

L_.str.19:                              ## @.str.19
	.asciz	"The thermal meter is unchanged or TxPowerTracking OFF(%d): ThermalValue: %d , pDM_Odm->RFCalibrateInfo.ThermalValue: %d\n"

L_.str.20:                              ## @.str.20
	.asciz	"TxPowerTracking: [CCK] Swing Current Index: %d,Swing Base Index: %d\n"

L_.str.21:                              ## @.str.21
	.asciz	"TxPowerTracking: [OFDM] Swing Current Index: %d,Swing Base Index[%c]: %d\n"

L_.str.22:                              ## @.str.22
	.asciz	"Temperature Increasing(A): delta_pi: %d , delta_t: %d, Now_t: %d,EFUSE_t: %d, Last_t: %d\n"

L_.str.23:                              ## @.str.23
	.asciz	"Temperature Increasing(B): delta_pi: %d ,delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"

L_.str.24:                              ## @.str.24
	.asciz	"Temperature Decreasing(A): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"

L_.str.25:                              ## @.str.25
	.asciz	"Temperature Decreasing(B): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"

L_.str.26:                              ## @.str.26
	.asciz	"Temperature(%d) higher than PG value(%d)\n"

L_.str.27:                              ## @.str.27
	.asciz	"**********Enter POWER Tracking MIX_MODE**********\n"

	.comm	_MIX_MODE,4,2                   ## @MIX_MODE
L_.str.28:                              ## @.str.28
	.asciz	"Temperature(%d) lower than PG value(%d)\n"

L_.str.29:                              ## @.str.29
	.asciz	"pDM_Odm->RFCalibrateInfo.ThermalValue =%d ThermalValue= %d\n"

L_.str.30:                              ## @.str.30
	.asciz	"<===rtl8812ae_dm_txpower_tracking_callback_thermalmeter\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8812ae_dm_txpower_tracking_callback_thermalmeter ; -- Begin function rtl8812ae_dm_txpower_tracking_callback_thermalmeter
	.p2align	2
_rtl8812ae_dm_txpower_tracking_callback_thermalmeter: ; @rtl8812ae_dm_txpower_tracking_callback_thermalmeter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x22, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_dm
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x24, x0
	sub	x1, x29, #88
	add	x2, sp, #96
	add	x3, sp, #88
	add	x4, sp, #80
	mov	x0, x19
	bl	_rtl8812ae_get_delta_swing_table
	mov	w8, #1
	str	w8, [x21]
Lloh0:
	adrp	x27, _COMP_POWER_TRACKING@GOTPAGE
Lloh1:
	ldr	x27, [x27, _COMP_POWER_TRACKING@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh2:
	adrp	x26, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh4:
	adrp	x28, _RF90_PATH_A@GOTPAGE
Lloh5:
	ldr	x28, [x28, _RF90_PATH_A@GOTPAGEOFF]
	ldr	x8, [x21, #8]
	ldr	x9, [x28]
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x21, #4]
	ldr	w10, [x21, #116]
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x1, [x28]
Lloh8:
	adrp	x8, _RF_T_METER_8812A@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RF_T_METER_8812A@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #64512
	bl	_rtl_get_rfreg
	mov	x23, x0
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	w8, [x22]
	stp	x0, x8, [sp]
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w8, [x21, #112]
	cbz	w8, LBB0_69
; %bb.1:
	ldr	w8, [x22]
	cbz	w8, LBB0_69
; %bb.2:
	cmp	w8, #255
	b.eq	LBB0_69
; %bb.3:
	ldr	x8, [x24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh13:
	adrp	x3, l_.str.2@PAGE
Lloh14:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_5:
	ldp	x8, x9, [x21, #16]
	str	x23, [x8, x9, lsl #3]
	ldr	x10, [x21, #24]
	add	x11, x10, #1
Lloh15:
	adrp	x9, _AVG_THERMAL_NUM_8812A@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AVG_THERMAL_NUM_8812A@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x11, x9
	csinc	x10, xzr, x10, eq
	str	x10, [x21, #24]
	cbz	x9, LBB0_15
; %bb.6:
	cmp	x9, #8
	b.hs	LBB0_8
; %bb.7:
	mov	x12, #0
	mov	x11, #0
	mov	x10, #0
	b	LBB0_11
LBB0_8:
	movi.2d	v0, #0000000000000000
	and	x10, x9, #0xfffffffffffffff8
	movi.2d	v1, #0000000000000000
	add	x11, x8, #32
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q16, q17, [x11, #-32]
	ldp	q18, q19, [x11], #64
	add.2d	v0, v16, v0
	add.2d	v1, v17, v1
	add.2d	v2, v18, v2
	add.2d	v3, v19, v3
	cmtst.2d	v16, v16, v16
	cmtst.2d	v17, v17, v17
	cmtst.2d	v18, v18, v18
	cmtst.2d	v19, v19, v19
	sub.2d	v4, v4, v16
	sub.2d	v5, v5, v17
	sub.2d	v6, v6, v18
	sub.2d	v7, v7, v19
	subs	x12, x12, #8
	b.ne	LBB0_9
; %bb.10:
	add.2d	v4, v5, v4
	add.2d	v4, v6, v4
	add.2d	v4, v7, v4
	addp.2d	d4, v4
	fmov	x11, d4
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x12, d0
	cmp	x9, x10
	b.eq	LBB0_13
LBB0_11:
	sub	x9, x9, x10
	add	x8, x8, x10, lsl #3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	cmp	x10, #0
	add	x12, x10, x12
	cinc	x11, x11, ne
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_13:
	cbz	x11, LBB0_15
; %bb.14:
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	w8, [x22]
	udiv	x23, x12, x11
	stp	x23, x8, [sp]
Lloh18:
	adrp	x3, l_.str.3@PAGE
Lloh19:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_15:
	str	x22, [sp, #72]                  ; 8-byte Folded Spill
	ldp	x8, x9, [x21, #32]
	sub	x10, x8, x23
	subs	x8, x23, x8
	csel	x25, x8, x10, hi
	sub	x8, x9, x23
	subs	x9, x23, x9
	csel	x22, x9, x8, hi
	ldr	x8, [x21, #48]
	sub	x9, x8, x23
	subs	x8, x23, x8
	csel	x8, x8, x9, hi
	ldr	w1, [x27]
	ldr	w2, [x26]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	stp	x22, x8, [sp, #8]
	str	x25, [sp]
Lloh20:
	adrp	x3, l_.str.4@PAGE
Lloh21:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh22:
	adrp	x8, _IQK_THRESHOLD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IQK_THRESHOLD@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	cmp	x22, x8
	b.lo	LBB0_17
; %bb.16:
	ldr	w1, [x27]
	ldr	w2, [x26]
	stp	x22, x8, [sp]
Lloh25:
	adrp	x3, l_.str.5@PAGE
Lloh26:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	str	x23, [x21, #40]
	mov	x0, x19
	bl	_rtl8821ae_phy_lc_calibrate
LBB0_17:
	ldr	w8, [x21, #112]
Lloh27:
	adrp	x24, _MAX_PATH_NUM_8812A@GOTPAGE
Lloh28:
	ldr	x24, [x24, _MAX_PATH_NUM_8812A@GOTPAGEOFF]
	stp	x19, x23, [sp, #56]             ; 16-byte Folded Spill
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	cbz	x25, LBB0_21
; %bb.18:
	cbz	w8, LBB0_21
; %bb.19:
	ldrsw	x8, [x9]
	sub	x9, x8, x23
	subs	x10, x23, x8
	csel	x9, x10, x9, hi
Lloh29:
	adrp	x10, _TXPWR_TRACK_TABLE_SIZE@GOTPAGE
Lloh30:
	ldr	x10, [x10, _TXPWR_TRACK_TABLE_SIZE@GOTPAGEOFF]
Lloh31:
	ldr	x10, [x10]
	sub	x11, x10, #1
	cmp	x9, x10
	csel	x9, x9, x11, lo
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh32:
	adrp	x22, _RF90_PATH_B@GOTPAGE
Lloh33:
	ldr	x22, [x22, _RF90_PATH_B@GOTPAGEOFF]
	lsl	x25, x9, #3
	cmp	x23, x8
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	b.ls	LBB0_24
; %bb.20:
	ldur	x8, [x29, #-88]
	ldr	x8, [x8, x25]
	stp	x9, x8, [sp]
Lloh34:
	adrp	x3, l_.str.6@PAGE
Lloh35:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x19, x9
	bl	_RT_TRACE
	mov	x23, x21
	ldr	x8, [x23, #72]!
	ldr	x9, [x28]
	lsl	x9, x9, #3
	ldp	x11, x10, [x23, #-16]
	ldr	x12, [x10, x9]
	str	x12, [x11, x9]
	ldur	x9, [x29, #-88]
	ldr	x11, [x9, x25]
	ldr	x12, [x28]
	str	x11, [x10, x12, lsl #3]
	ldr	x9, [x9, x25]
	ldr	x10, [x28]
	str	x9, [x8, x10, lsl #3]
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x9, [x28]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh36:
	adrp	x3, l_.str.7@PAGE
Lloh37:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x8, [sp, #88]
	ldr	x8, [x8, x25]
	stp	x19, x8, [sp]
Lloh38:
	adrp	x3, l_.str.8@PAGE
Lloh39:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	lsl	x8, x8, #3
	ldp	x10, x9, [x23, #-16]
	ldr	x11, [x9, x8]
	str	x11, [x10, x8]
	ldr	x8, [sp, #88]
	ldr	x10, [x8, x25]
	ldr	x11, [x22]
	str	x10, [x9, x11, lsl #3]
	ldr	x8, [x8, x25]
Lloh40:
	adrp	x3, l_.str.9@PAGE
Lloh41:
	add	x3, x3, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_21:
	str	x25, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x9, [x21, #32]
	stp	x23, x9, [sp, #8]
	str	x8, [sp]
Lloh42:
	adrp	x3, l_.str.19@PAGE
Lloh43:
	add	x3, x3, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x28]
	ldr	x9, [x24]
	cmp	x8, x9
	b.hs	LBB0_39
; %bb.22:
	ldr	x9, [x21, #80]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x9, x8, lsl #3]
	add	x8, x8, #1
	ldr	x10, [x24]
	cmp	x8, x10
	b.lo	LBB0_23
	b	LBB0_39
LBB0_24:
	ldr	x8, [sp, #96]
	ldr	x8, [x8, x25]
	stp	x9, x8, [sp]
Lloh44:
	adrp	x3, l_.str.10@PAGE
Lloh45:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x19, x9
	bl	_RT_TRACE
	mov	x23, x21
	ldr	x8, [x23, #72]!
	ldr	x9, [x28]
	lsl	x9, x9, #3
	ldp	x11, x10, [x23, #-16]
	ldr	x12, [x10, x9]
	str	x12, [x11, x9]
	ldr	x9, [sp, #96]
	ldr	x11, [x9, x25]
	neg	x11, x11
	ldr	x12, [x28]
	str	x11, [x10, x12, lsl #3]
	ldr	x9, [x9, x25]
	neg	x9, x9
	ldr	x10, [x28]
	str	x9, [x8, x10, lsl #3]
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x9, [x28]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp]
Lloh46:
	adrp	x3, l_.str.11@PAGE
Lloh47:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x8, [sp, #80]
	ldr	x8, [x8, x25]
	stp	x19, x8, [sp]
Lloh48:
	adrp	x3, l_.str.12@PAGE
Lloh49:
	add	x3, x3, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x22]
	lsl	x8, x8, #3
	ldp	x10, x9, [x23, #-16]
	ldr	x11, [x9, x8]
	str	x11, [x10, x8]
	ldr	x8, [sp, #80]
	ldr	x10, [x8, x25]
	neg	x10, x10
	ldr	x11, [x22]
	str	x10, [x9, x11, lsl #3]
	ldr	x8, [x8, x25]
	neg	x8, x8
Lloh50:
	adrp	x3, l_.str.13@PAGE
Lloh51:
	add	x3, x3, l_.str.13@PAGEOFF
LBB0_25:
	ldr	x9, [x23]
	ldr	x10, [x22]
	str	x8, [x9, x10, lsl #3]
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x8, [x22]
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [sp]
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x28]
	ldr	x9, [x24]
	cmp	x8, x9
	b.hs	LBB0_34
; %bb.26:
	mov	x25, x8
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	ldr	w2, [x26]
	cmp	x25, x8
	mov	w8, #65
	cinc	x8, x8, ne
	mov	w19, #65
	str	x8, [sp]
	mov	x0, x20
Lloh52:
	adrp	x3, l_.str.14@PAGE
Lloh53:
	add	x3, x3, l_.str.14@PAGEOFF
	bl	_RT_TRACE
	lsl	x22, x25, #3
	ldp	x9, x8, [x21, #56]
	ldr	x10, [x8, x22]
	ldr	x11, [x9, x22]
	subs	x10, x10, x11
	csel	x10, xzr, x10, eq
	ldr	x11, [x21, #80]
	str	x10, [x11, x22]
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x11, [x28]
	ldr	x8, [x8, x22]
	ldr	x9, [x9, x22]
	stp	x8, x9, [sp, #16]
	cmp	x25, x11
	cinc	x8, x19, ne
	stp	x8, x10, [sp]
	mov	x0, x20
Lloh54:
	adrp	x3, l_.str.15@PAGE
Lloh55:
	add	x3, x3, l_.str.15@PAGEOFF
	bl	_RT_TRACE
	ldr	x8, [x21, #8]
	mov	x23, x20
	mov	x20, x26
	mov	x26, x28
	lsl	x28, x25, #2
	ldr	w8, [x8, x28]
	ldp	x9, x10, [x21, #80]
	ldr	x9, [x9, x22]
	add	w8, w8, w9
	str	w8, [x10, x28]
	ldr	w8, [x21, #4]
	add	w8, w8, w9
	stp	w8, w8, [x21, #96]
	ldr	w8, [x10, x28]
	ldr	x10, [x21, #104]
	str	w8, [x10, x28]
	ldr	w1, [x27]
	ldr	w2, [x20]
	ldr	w8, [x21, #100]
	ldr	w10, [x21, #4]
	stp	x10, x9, [sp, #8]
	str	x8, [sp]
	mov	x0, x23
Lloh56:
	adrp	x3, l_.str.16@PAGE
Lloh57:
	add	x3, x3, l_.str.16@PAGEOFF
	bl	_RT_TRACE
	mov	x24, x27
	ldr	w1, [x27]
	mov	x19, x20
	ldr	w2, [x20]
	mov	x20, x23
	ldr	x8, [x21, #104]
	mov	x27, x26
	ldr	x9, [x26]
	ldr	x10, [x21, #8]
	ldr	x11, [x21, #80]
	ldr	x11, [x11, x22]
	ldr	w8, [x8, x28]
	ldr	w10, [x10, x28]
	stp	x10, x11, [sp, #16]
	cmp	x25, x9
	mov	w9, #65
	cinc	x9, x9, ne
	stp	x8, x9, [sp]
	mov	x0, x23
Lloh58:
	adrp	x3, l_.str.17@PAGE
Lloh59:
	add	x3, x3, l_.str.17@PAGEOFF
	bl	_RT_TRACE
	ldr	x8, [x21, #88]
	ldr	w9, [x8, x28]
Lloh60:
	adrp	x10, _TXSCALE_TABLE_SIZE@GOTPAGE
Lloh61:
	ldr	x10, [x10, _TXSCALE_TABLE_SIZE@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ge	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	cmp	w9, #5
	mov	x28, x27
	mov	x27, x24
	mov	x26, x19
Lloh63:
	adrp	x24, _MAX_PATH_NUM_8812A@GOTPAGE
Lloh64:
	ldr	x24, [x24, _MAX_PATH_NUM_8812A@GOTPAGEOFF]
	b.hi	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	w9, #6
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_27 Depth=1
	sub	w9, w10, #1
	mov	x28, x27
	mov	x27, x24
	mov	x26, x19
Lloh65:
	adrp	x24, _MAX_PATH_NUM_8812A@GOTPAGE
Lloh66:
	ldr	x24, [x24, _MAX_PATH_NUM_8812A@GOTPAGEOFF]
LBB0_31:                                ;   in Loop: Header=BB0_27 Depth=1
	str	w9, [x8, x25, lsl #2]
LBB0_32:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x25, x25, #1
	ldr	x8, [x24]
	cmp	x25, x8
	b.hs	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_27 Depth=1
	ldr	x8, [x28]
	b	LBB0_27
LBB0_34:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh67:
	adrp	x3, l_.str.18@PAGE
Lloh68:
	add	x3, x3, l_.str.18@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w8, [x21, #96]
Lloh69:
	adrp	x9, _TXSCALE_TABLE_SIZE@GOTPAGE
Lloh70:
	ldr	x9, [x9, _TXSCALE_TABLE_SIZE@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_37
; %bb.35:
	tbz	w8, #31, LBB0_39
; %bb.36:
	mov	w8, #0
	b	LBB0_38
LBB0_37:
	sub	w8, w9, #1
LBB0_38:
	str	w8, [x21, #96]
LBB0_39:
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	w8, [x21, #96]
	ldr	w9, [x21, #4]
	stp	x8, x9, [sp]
Lloh72:
	adrp	x3, l_.str.20@PAGE
Lloh73:
	add	x3, x3, l_.str.20@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x8, [x28]
	ldr	x9, [x24]
	cmp	x8, x9
	b.hs	LBB0_42
; %bb.40:
	mov	w22, #65
Lloh74:
	adrp	x25, l_.str.21@PAGE
Lloh75:
	add	x25, x25, l_.str.21@PAGEOFF
	mov	x23, x8
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x9, [x21, #88]
	lsl	x10, x23, #2
	ldr	x11, [x21, #8]
	ldr	w9, [x9, x10]
	ldr	w10, [x11, x10]
	cmp	x23, x8
	cinc	x8, x22, ne
	stp	x8, x10, [sp, #8]
	str	x9, [sp]
	mov	x0, x20
	mov	x3, x25
	bl	_RT_TRACE
	add	x23, x23, #1
	ldr	x9, [x24]
	ldr	x8, [x28]
	cmp	x23, x9
	b.lo	LBB0_41
LBB0_42:
	ldr	x9, [x21, #80]
	ldr	x8, [x9, x8, lsl #3]
	ldp	x19, x22, [sp, #56]             ; 16-byte Folded Reload
	cbnz	x8, LBB0_44
; %bb.43:
Lloh76:
	adrp	x10, _RF90_PATH_B@GOTPAGE
Lloh77:
	ldr	x10, [x10, _RF90_PATH_B@GOTPAGEOFF]
Lloh78:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cbz	x9, LBB0_66
LBB0_44:
	ldr	w9, [x21, #112]
	cbz	w9, LBB0_66
; %bb.45:
	ldr	x9, [x21, #32]
	cmp	x22, x9
	b.ls	LBB0_47
; %bb.46:
Lloh79:
	adrp	x25, l_.str.23@PAGE
Lloh80:
	add	x25, x25, l_.str.23@PAGEOFF
Lloh81:
	adrp	x3, l_.str.22@PAGE
Lloh82:
	add	x3, x3, l_.str.22@PAGEOFF
	b	LBB0_49
LBB0_47:
	cmp	x22, x9
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	b.hs	LBB0_50
; %bb.48:
Lloh83:
	adrp	x25, l_.str.25@PAGE
Lloh84:
	add	x25, x25, l_.str.25@PAGEOFF
Lloh85:
	adrp	x3, l_.str.24@PAGE
Lloh86:
	add	x3, x3, l_.str.24@PAGEOFF
LBB0_49:
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w10, [x23]
	stp	x10, x9, [sp, #24]
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	stp	x19, x22, [sp, #8]
	str	x8, [sp]
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh87:
	adrp	x8, _RF90_PATH_B@GOTPAGE
Lloh88:
	ldr	x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
	ldr	x9, [x21, #80]
Lloh89:
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x9, [x21, #32]
	ldr	w10, [x23]
	stp	x10, x9, [sp, #24]
	stp	x19, x22, [sp, #8]
	str	x8, [sp]
	mov	x0, x20
	mov	x3, x25
	bl	_RT_TRACE
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
LBB0_50:
	ldrsw	x8, [x23]
	ldr	w1, [x27]
	ldr	w2, [x26]
	cmp	x22, x8
	b.ls	LBB0_54
; %bb.51:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x22, x8, [sp]
Lloh90:
	adrp	x3, l_.str.26@PAGE
Lloh91:
	add	x3, x3, l_.str.26@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh92:
	adrp	x3, l_.str.27@PAGE
Lloh93:
	add	x3, x3, l_.str.27@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x23, [x28]
	ldr	x8, [x24]
	cmp	x23, x8
	b.hs	LBB0_57
; %bb.52:
Lloh94:
	adrp	x22, _MIX_MODE@GOTPAGE
Lloh95:
	ldr	x22, [x22, _MIX_MODE@GOTPAGEOFF]
LBB0_53:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x23
	mov	x3, #0
	bl	_rtl8812ae_dm_txpwr_track_set_pwr
	add	x23, x23, #1
	ldr	x8, [x24]
	cmp	x23, x8
	b.lo	LBB0_53
	b	LBB0_57
LBB0_54:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	stp	x22, x8, [sp]
Lloh96:
	adrp	x3, l_.str.28@PAGE
Lloh97:
	add	x3, x3, l_.str.28@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh98:
	adrp	x3, l_.str.27@PAGE
Lloh99:
	add	x3, x3, l_.str.27@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	ldr	x23, [x28]
	ldr	x8, [x24]
	cmp	x23, x8
	b.hs	LBB0_57
; %bb.55:
Lloh100:
	adrp	x22, _MIX_MODE@GOTPAGE
Lloh101:
	ldr	x22, [x22, _MIX_MODE@GOTPAGEOFF]
LBB0_56:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x23
	mov	x3, #0
	bl	_rtl8812ae_dm_txpwr_track_set_pwr
	add	x23, x23, #1
	ldr	x8, [x24]
	cmp	x23, x8
	b.lo	LBB0_56
LBB0_57:
	ldr	w9, [x21, #100]
	str	w9, [x21, #4]
	ldr	x9, [x28]
	subs	x12, x8, x9
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
	b.ls	LBB0_65
; %bb.58:
	ldr	x10, [x21, #104]
	ldr	x11, [x21, #8]
	cmp	x12, #16
	b.lo	LBB0_63
; %bb.59:
	lsl	x14, x9, #2
	add	x13, x14, x11
	add	x15, x14, x10
	sub	x13, x13, x15
	cmp	x13, #64
	b.lo	LBB0_63
; %bb.60:
	and	x13, x12, #0xfffffffffffffff0
	add	x9, x9, x13
	add	x15, x14, #32
	add	x14, x11, x15
	add	x15, x10, x15
	mov	x16, x13
LBB0_61:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x15, #-32]
	ldp	q2, q3, [x15], #64
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14], #64
	subs	x16, x16, #16
	b.ne	LBB0_61
; %bb.62:
	cmp	x12, x13
	b.eq	LBB0_65
LBB0_63:
	sub	x8, x8, x9
	lsl	x12, x9, #2
	add	x9, x11, x12
	add	x10, x10, x12
LBB0_64:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10], #4
	str	w11, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_64
LBB0_65:
	ldr	w1, [x27]
	ldr	w2, [x26]
	ldr	x8, [x21, #32]
	stp	x8, x22, [sp]
Lloh102:
	adrp	x3, l_.str.29@PAGE
Lloh103:
	add	x3, x3, l_.str.29@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
	str	x22, [x21, #32]
LBB0_66:
Lloh104:
	adrp	x8, _IQK_THRESHOLD@GOTPAGE
Lloh105:
	ldr	x8, [x8, _IQK_THRESHOLD@GOTPAGEOFF]
Lloh106:
	ldr	x8, [x8]
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x1, x8
	b.lo	LBB0_68
; %bb.67:
	mov	x0, x19
	mov	x2, x22
	mov	w3, #8
	bl	_rtl8812ae_do_iqk
LBB0_68:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh107:
	adrp	x3, l_.str.30@PAGE
Lloh108:
	add	x3, x3, l_.str.30@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_69:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_POWER_TRACKING,4,2        ; @COMP_POWER_TRACKING
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pDM_Odm->BbSwingIdxCckBase: %d, pDM_Odm->BbSwingIdxOfdmBase[A]:%d, pDM_Odm->DefaultOfdmIndex: %d\n"

	.comm	_RF90_PATH_A,8,3                ; @RF90_PATH_A
	.comm	_RF_T_METER_8812A,4,2           ; @RF_T_METER_8812A
l_.str.1:                               ; @.str.1
	.asciz	"Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"

l_.str.2:                               ; @.str.2
	.asciz	"reload ofdm index for band switch\n"

	.comm	_AVG_THERMAL_NUM_8812A,8,3      ; @AVG_THERMAL_NUM_8812A
l_.str.3:                               ; @.str.3
	.asciz	"AVG Thermal Meter = 0x%X, EFUSE Thermal Base = 0x%X\n"

l_.str.4:                               ; @.str.4
	.asciz	"(delta, delta_LCK, delta_IQK) = (%d, %d, %d)\n"

	.comm	_IQK_THRESHOLD,8,3              ; @IQK_THRESHOLD
l_.str.5:                               ; @.str.5
	.asciz	"delta_LCK(%d) >= Threshold_IQK(%d)\n"

	.comm	_TXPWR_TRACK_TABLE_SIZE,8,3     ; @TXPWR_TRACK_TABLE_SIZE
l_.str.6:                               ; @.str.6
	.asciz	"delta_swing_table_idx_tup_a[%d] = %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"delta_swing_table_idx_tup_b[%d] = %d\n"

	.comm	_RF90_PATH_B,8,3                ; @RF90_PATH_B
l_.str.9:                               ; @.str.9
	.asciz	"******Temp is higher and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"delta_swing_table_idx_tdown_a[%d] = %d\n"

l_.str.11:                              ; @.str.11
	.asciz	"******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_A] = %d\n"

l_.str.12:                              ; @.str.12
	.asciz	"deltaSwingTableIdx_TDOWN_B[%d] = %d\n"

l_.str.13:                              ; @.str.13
	.asciz	"******Temp is lower and pDM_Odm->Absolute_OFDMSwingIdx[ODM_RF_PATH_B] = %d\n"

	.comm	_MAX_PATH_NUM_8812A,8,3         ; @MAX_PATH_NUM_8812A
l_.str.14:                              ; @.str.14
	.asciz	"============================= [Path-%c]Calculating PowerIndexOffset =============================\n"

l_.str.15:                              ; @.str.15
	.asciz	"[Path-%c] PowerIndexOffset(%d) =DeltaPowerIndex(%d) -DeltaPowerIndexLast(%d)\n"

l_.str.16:                              ; @.str.16
	.asciz	"The 'CCK' final index(%d) = BaseIndex(%d) + PowerIndexOffset(%d)\n"

l_.str.17:                              ; @.str.17
	.asciz	"The 'OFDM' final index(%d) = BaseIndex[%c](%d) + PowerIndexOffset(%d)\n"

	.comm	_TXSCALE_TABLE_SIZE,4,2         ; @TXSCALE_TABLE_SIZE
l_.str.18:                              ; @.str.18
	.asciz	"\n\n====================================================================================\n"

l_.str.19:                              ; @.str.19
	.asciz	"The thermal meter is unchanged or TxPowerTracking OFF(%d): ThermalValue: %d , pDM_Odm->RFCalibrateInfo.ThermalValue: %d\n"

l_.str.20:                              ; @.str.20
	.asciz	"TxPowerTracking: [CCK] Swing Current Index: %d,Swing Base Index: %d\n"

l_.str.21:                              ; @.str.21
	.asciz	"TxPowerTracking: [OFDM] Swing Current Index: %d,Swing Base Index[%c]: %d\n"

l_.str.22:                              ; @.str.22
	.asciz	"Temperature Increasing(A): delta_pi: %d , delta_t: %d, Now_t: %d,EFUSE_t: %d, Last_t: %d\n"

l_.str.23:                              ; @.str.23
	.asciz	"Temperature Increasing(B): delta_pi: %d ,delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"

l_.str.24:                              ; @.str.24
	.asciz	"Temperature Decreasing(A): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"

l_.str.25:                              ; @.str.25
	.asciz	"Temperature Decreasing(B): delta_pi: %d , delta_t: %d, Now_t: %d, EFUSE_t: %d, Last_t: %d\n"

l_.str.26:                              ; @.str.26
	.asciz	"Temperature(%d) higher than PG value(%d)\n"

l_.str.27:                              ; @.str.27
	.asciz	"**********Enter POWER Tracking MIX_MODE**********\n"

	.comm	_MIX_MODE,4,2                   ; @MIX_MODE
l_.str.28:                              ; @.str.28
	.asciz	"Temperature(%d) lower than PG value(%d)\n"

l_.str.29:                              ; @.str.29
	.asciz	"pDM_Odm->RFCalibrateInfo.ThermalValue =%d ThermalValue= %d\n"

l_.str.30:                              ; @.str.30
	.asciz	"<===rtl8812ae_dm_txpower_tracking_callback_thermalmeter\n"

.subsections_via_symbols
