	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fan_watchdog_reset
_fan_watchdog_reset:                    ## @fan_watchdog_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_fan_control_access_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TPACPI_FAN_WR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_fan_watchdog_maxinterval@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movq	_tpacpi_lifecycle@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_TPACPI_LIFE_EXITING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
LBB0_3:
	movq	_fan_watchdog_task@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cancel_delayed_work            ## TAILCALL
LBB0_5:
	movq	_tpacpi_wq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	imull	$1000, %eax, %edi               ## imm = 0x3E8
	callq	_msecs_to_jiffies
	movq	_fan_watchdog_task@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mod_delayed_work               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fan_control_access_mode,8,3    ## @fan_control_access_mode
	.comm	_TPACPI_FAN_WR_NONE,8,3         ## @TPACPI_FAN_WR_NONE
	.comm	_fan_watchdog_maxinterval,4,2   ## @fan_watchdog_maxinterval
	.comm	_tpacpi_lifecycle,8,3           ## @tpacpi_lifecycle
	.comm	_TPACPI_LIFE_EXITING,8,3        ## @TPACPI_LIFE_EXITING
	.comm	_tpacpi_wq,4,2                  ## @tpacpi_wq
	.comm	_fan_watchdog_task,4,2          ## @fan_watchdog_task
	.no_dead_strip	_fan_watchdog_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fan_watchdog_reset
_fan_watchdog_reset:                    ; @fan_watchdog_reset
	.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
Lloh0:
	adrp	x8, _fan_control_access_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fan_control_access_mode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _TPACPI_FAN_WR_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TPACPI_FAN_WR_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _fan_watchdog_maxinterval@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fan_watchdog_maxinterval@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _tpacpi_lifecycle@GOTPAGE
Lloh10:
	ldr	x9, [x9, _tpacpi_lifecycle@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _TPACPI_LIFE_EXITING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TPACPI_LIFE_EXITING@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
LBB0_4:
Lloh15:
	adrp	x0, _fan_watchdog_task@GOTPAGE
Lloh16:
	ldr	x0, [x0, _fan_watchdog_task@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cancel_delayed_work
LBB0_5:
Lloh17:
	adrp	x9, _tpacpi_wq@GOTPAGE
Lloh18:
	ldr	x9, [x9, _tpacpi_wq@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x9]
	mov	w9, #1000
	mul	w0, w8, w9
	bl	_msecs_to_jiffies
	mov	x2, x0
Lloh20:
	adrp	x1, _fan_watchdog_task@GOTPAGE
Lloh21:
	ldr	x1, [x1, _fan_watchdog_task@GOTPAGEOFF]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_delayed_work
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_fan_control_access_mode,8,3    ; @fan_control_access_mode
	.comm	_TPACPI_FAN_WR_NONE,8,3         ; @TPACPI_FAN_WR_NONE
	.comm	_fan_watchdog_maxinterval,4,2   ; @fan_watchdog_maxinterval
	.comm	_tpacpi_lifecycle,8,3           ; @tpacpi_lifecycle
	.comm	_TPACPI_LIFE_EXITING,8,3        ; @TPACPI_LIFE_EXITING
	.comm	_tpacpi_wq,4,2                  ; @tpacpi_wq
	.comm	_fan_watchdog_task,4,2          ; @fan_watchdog_task
	.no_dead_strip	_fan_watchdog_reset
.subsections_via_symbols
