	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92s_dm_check_txpowertracking_thermalmeter
__rtl92s_dm_check_txpowertracking_thermalmeter: ## @_rtl92s_dm_check_txpowertracking_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	16(%rax), %rax
	movq	_RF_2T2R@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.1:
	cmpl	$0, 12(%rbx)
	je	LBB0_8
## %bb.2:
	movq	(%rbx), %rax
	cmpq	$5, %rax
	jg	LBB0_4
## %bb.3:
	incq	%rax
	movq	%rax, (%rbx)
	jmp	LBB0_8
LBB0_4:
	cmpl	$0, 8(%rbx)
	je	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	__rtl92s_dm_txpowertracking_callback_thermalmeter
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RF_T_METER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$96, %r8d
	callq	_rtl_set_rfreg
	movl	$1, %eax
LBB0_7:
	movl	%eax, 8(%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_2T2R,8,3                    ## @RF_2T2R
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_RF_T_METER,4,2                 ## @RF_T_METER
	.comm	_RFREG_OFFSET_MASK,4,2          ## @RFREG_OFFSET_MASK
	.no_dead_strip	__rtl92s_dm_check_txpowertracking_thermalmeter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92s_dm_check_txpowertracking_thermalmeter
__rtl92s_dm_check_txpowertracking_thermalmeter: ; @_rtl92s_dm_check_txpowertracking_thermalmeter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_rtl_priv
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _RF_2T2R@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RF_2T2R@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_8
; %bb.2:
	ldr	x8, [x19]
	cmp	x8, #5
	b.gt	LBB0_4
; %bb.3:
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_8
LBB0_4:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	__rtl92s_dm_txpowertracking_callback_thermalmeter
	mov	w8, #0
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _RF90_PATH_A@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _RF_T_METER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF_T_METER@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _RFREG_OFFSET_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RFREG_OFFSET_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w4, #96
	bl	_rtl_set_rfreg
	mov	w8, #1
LBB0_7:
	str	w8, [x19, #8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_2T2R,8,3                    ; @RF_2T2R
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_RF_T_METER,4,2                 ; @RF_T_METER
	.comm	_RFREG_OFFSET_MASK,4,2          ; @RFREG_OFFSET_MASK
	.no_dead_strip	__rtl92s_dm_check_txpowertracking_thermalmeter
.subsections_via_symbols
