	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_smu_remove
_wf_smu_remove:                         ## @wf_smu_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_wf_smu_events@GOTPCREL(%rip), %rdi
	callq	_wf_unregister_client
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msleep
	movq	_sensor_cpu_power@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_wf_put_sensor
LBB0_2:
	movq	_sensor_cpu_temp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_wf_put_sensor
LBB0_4:
	movq	_sensor_hd_temp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_wf_put_sensor
LBB0_6:
	movq	_fan_cpu_main@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_wf_put_control
LBB0_8:
	movq	_fan_hd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_wf_put_control
LBB0_10:
	movq	_fan_system@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_wf_put_control
LBB0_12:
	movq	_cpufreq_clamp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.13:
	callq	_wf_put_control
LBB0_14:
	movq	_wf_smu_sys_fans@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_kfree
	movq	_wf_smu_cpu_fans@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_kfree
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wf_smu_events,4,2              ## @wf_smu_events
	.comm	_sensor_cpu_power,8,3           ## @sensor_cpu_power
	.comm	_sensor_cpu_temp,8,3            ## @sensor_cpu_temp
	.comm	_sensor_hd_temp,8,3             ## @sensor_hd_temp
	.comm	_fan_cpu_main,8,3               ## @fan_cpu_main
	.comm	_fan_hd,8,3                     ## @fan_hd
	.comm	_fan_system,8,3                 ## @fan_system
	.comm	_cpufreq_clamp,8,3              ## @cpufreq_clamp
	.comm	_wf_smu_sys_fans,4,2            ## @wf_smu_sys_fans
	.comm	_wf_smu_cpu_fans,4,2            ## @wf_smu_cpu_fans
	.no_dead_strip	_wf_smu_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_smu_remove
_wf_smu_remove:                         ; @wf_smu_remove
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _wf_smu_events@GOTPAGE
Lloh1:
	ldr	x0, [x0, _wf_smu_events@GOTPAGEOFF]
	bl	_wf_unregister_client
	mov	w0, #1000
	bl	_msleep
Lloh2:
	adrp	x8, _sensor_cpu_power@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sensor_cpu_power@GOTPAGEOFF]
Lloh4:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_wf_put_sensor
LBB0_2:
Lloh5:
	adrp	x8, _sensor_cpu_temp@GOTPAGE
Lloh6:
	ldr	x8, [x8, _sensor_cpu_temp@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_wf_put_sensor
LBB0_4:
Lloh8:
	adrp	x8, _sensor_hd_temp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sensor_hd_temp@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_wf_put_sensor
LBB0_6:
Lloh11:
	adrp	x8, _fan_cpu_main@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fan_cpu_main@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_wf_put_control
LBB0_8:
Lloh14:
	adrp	x8, _fan_hd@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fan_hd@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_wf_put_control
LBB0_10:
Lloh17:
	adrp	x8, _fan_system@GOTPAGE
Lloh18:
	ldr	x8, [x8, _fan_system@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_wf_put_control
LBB0_12:
Lloh20:
	adrp	x8, _cpufreq_clamp@GOTPAGE
Lloh21:
	ldr	x8, [x8, _cpufreq_clamp@GOTPAGEOFF]
Lloh22:
	ldr	x0, [x8]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_wf_put_control
LBB0_14:
Lloh23:
	adrp	x8, _wf_smu_sys_fans@GOTPAGE
Lloh24:
	ldr	x8, [x8, _wf_smu_sys_fans@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_kfree
Lloh26:
	adrp	x8, _wf_smu_cpu_fans@GOTPAGE
Lloh27:
	ldr	x8, [x8, _wf_smu_cpu_fans@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_wf_smu_events,4,2              ; @wf_smu_events
	.comm	_sensor_cpu_power,8,3           ; @sensor_cpu_power
	.comm	_sensor_cpu_temp,8,3            ; @sensor_cpu_temp
	.comm	_sensor_hd_temp,8,3             ; @sensor_hd_temp
	.comm	_fan_cpu_main,8,3               ; @fan_cpu_main
	.comm	_fan_hd,8,3                     ; @fan_hd
	.comm	_fan_system,8,3                 ; @fan_system
	.comm	_cpufreq_clamp,8,3              ; @cpufreq_clamp
	.comm	_wf_smu_sys_fans,4,2            ; @wf_smu_sys_fans
	.comm	_wf_smu_cpu_fans,4,2            ; @wf_smu_cpu_fans
	.no_dead_strip	_wf_smu_remove
.subsections_via_symbols
