	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8821ae_dm_watchdog          ## -- Begin function rtl8821ae_dm_watchdog
	.p2align	4, 0x90
_rtl8821ae_dm_watchdog:                 ## @rtl8821ae_dm_watchdog
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %r15
	movl	$0, -48(%rbp)
	movl	$1, -44(%rbp)
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_FW_PSMODE_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	16(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_FWLPS_RF_ON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	cmpq	$0, 16(%r13)
	je	LBB0_2
## %bb.1:
	movl	$0, -44(%rbp)
LBB0_2:
	movq	%r14, %r12
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_spin_lock
	movq	(%r13), %rax
	movq	_ERFON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	cmpl	$0, -48(%rbp)
	jne	LBB0_10
## %bb.4:
	cmpl	$0, -44(%rbp)
	je	LBB0_10
## %bb.5:
	cmpl	$0, 8(%r13)
	jne	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_common_info_self_update
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_false_alarm_counter_statistics
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_check_rssi_monitor
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_dig
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_cck_packet_detection_thresh
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_refresh_rate_adaptive_mask
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_refresh_basic_rate_mask
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_check_edca_turbo
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_dynamic_atc_switch
	movq	(%r15), %rax
	movq	_HARDWARE_TYPE_RTL8812AE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_rtl8812ae_dm_check_txpower_tracking_thermalmeter
	jmp	LBB0_9
LBB0_8:
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_check_txpower_tracking_thermalmeter
LBB0_9:
	movq	%rbx, %rdi
	callq	_rtl8821ae_dm_iq_calibrate
LBB0_10:
	movq	%r12, %rdi
	callq	_spin_unlock
	movq	$0, (%r14)
	movq	_COMP_DIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_VAR_FW_PSMODE_STATUS,4,2    ## @HW_VAR_FW_PSMODE_STATUS
	.comm	_HW_VAR_FWLPS_RF_ON,4,2         ## @HW_VAR_FWLPS_RF_ON
	.comm	_ERFON,8,3                      ## @ERFON
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ## @HARDWARE_TYPE_RTL8812AE
	.comm	_COMP_DIG,4,2                   ## @COMP_DIG
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8821ae_dm_watchdog          ; -- Begin function rtl8821ae_dm_watchdog
	.p2align	2
_rtl8821ae_dm_watchdog:                 ; @rtl8821ae_dm_watchdog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x23, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x21, x0
	mov	w8, #1
	stp	w8, wzr, [sp, #8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x20
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HW_VAR_FWLPS_RF_ON@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HW_VAR_FWLPS_RF_ON@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	add	x2, sp, #8
	mov	x0, x20
	blr	x8
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_2
; %bb.1:
	str	wzr, [sp, #8]
LBB0_2:
	add	x22, x19, #8
	mov	x0, x22
	bl	_spin_lock
	ldr	x8, [x23]
Lloh6:
	adrp	x9, _ERFON@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ERFON@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldp	w11, w10, [sp, #8]
	cmp	x8, x9
	ccmp	w10, #0, #0, eq
	ccmp	w11, #0, #4, eq
	b.eq	LBB0_8
; %bb.3:
	ldr	w8, [x23, #8]
	cbnz	w8, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_rtl8821ae_dm_common_info_self_update
	mov	x0, x20
	bl	_rtl8821ae_dm_false_alarm_counter_statistics
	mov	x0, x20
	bl	_rtl8821ae_dm_check_rssi_monitor
	mov	x0, x20
	bl	_rtl8821ae_dm_dig
	mov	x0, x20
	bl	_rtl8821ae_dm_cck_packet_detection_thresh
	mov	x0, x20
	bl	_rtl8821ae_dm_refresh_rate_adaptive_mask
	mov	x0, x20
	bl	_rtl8821ae_dm_refresh_basic_rate_mask
	mov	x0, x20
	bl	_rtl8821ae_dm_check_edca_turbo
	mov	x0, x20
	bl	_rtl8821ae_dm_dynamic_atc_switch
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8812AE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	mov	x0, x20
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	bl	_rtl8812ae_dm_check_txpower_tracking_thermalmeter
	b	LBB0_7
LBB0_6:
	bl	_rtl8821ae_dm_check_txpower_tracking_thermalmeter
LBB0_7:
	mov	x0, x20
	bl	_rtl8821ae_dm_iq_calibrate
LBB0_8:
	mov	x0, x22
	bl	_spin_unlock
	str	xzr, [x19]
Lloh12:
	adrp	x8, _COMP_DIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMP_DIG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_VAR_FW_PSMODE_STATUS,4,2    ; @HW_VAR_FW_PSMODE_STATUS
	.comm	_HW_VAR_FWLPS_RF_ON,4,2         ; @HW_VAR_FWLPS_RF_ON
	.comm	_ERFON,8,3                      ; @ERFON
	.comm	_HARDWARE_TYPE_RTL8812AE,8,3    ; @HARDWARE_TYPE_RTL8812AE
	.comm	_COMP_DIG,4,2                   ; @COMP_DIG
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

.subsections_via_symbols
