	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_smu_new_control
_wf_smu_new_control:                    ## @wf_smu_new_control
	.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	_wf_smu_all_controls_ok@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
LBB0_31:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_fan_cpu_main@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_wf_get_control
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, (%r15)
LBB0_5:
	movq	_fan_cpu_second@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_9
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_wf_get_control
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, (%r15)
LBB0_9:
	movq	_fan_cpu_third@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_13
## %bb.10:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	callq	_wf_get_control
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, (%r15)
LBB0_13:
	movq	_cpufreq_clamp@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_17
## %bb.14:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movq	%rbx, %rdi
	callq	_wf_get_control
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, (%r15)
LBB0_17:
	movq	_fan_hd@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_21
## %bb.18:
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_21
## %bb.19:
	movq	%rbx, %rdi
	callq	_wf_get_control
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	movq	%rbx, (%r12)
LBB0_21:
	movq	_fan_slots@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jne	LBB0_25
## %bb.22:
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_25
## %bb.23:
	movq	%rbx, %rdi
	callq	_wf_get_control
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	movq	%rbx, (%r13)
LBB0_25:
	movq	_fan_cpu_main@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.26:
	movq	_fan_cpu_second@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_fan_cpu_third@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_31
## %bb.27:
	cmpq	$0, (%r12)
	je	LBB0_31
## %bb.28:
	cmpq	$0, (%r13)
	je	LBB0_31
## %bb.29:
	cmpq	$0, (%r15)
	je	LBB0_31
## %bb.30:
	movl	$1, (%r14)
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_wf_smu_all_controls_ok,4,2     ## @wf_smu_all_controls_ok
	.comm	_fan_cpu_main,8,3               ## @fan_cpu_main
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-rear-fan-0"

	.comm	_fan_cpu_second,8,3             ## @fan_cpu_second
L_.str.1:                               ## @.str.1
	.asciz	"cpu-rear-fan-1"

	.comm	_fan_cpu_third,8,3              ## @fan_cpu_third
L_.str.2:                               ## @.str.2
	.asciz	"cpu-front-fan-0"

	.comm	_cpufreq_clamp,8,3              ## @cpufreq_clamp
L_.str.3:                               ## @.str.3
	.asciz	"cpufreq-clamp"

	.comm	_fan_hd,8,3                     ## @fan_hd
L_.str.4:                               ## @.str.4
	.asciz	"drive-bay-fan"

	.comm	_fan_slots,8,3                  ## @fan_slots
L_.str.5:                               ## @.str.5
	.asciz	"slots-fan"

	.no_dead_strip	_wf_smu_new_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_smu_new_control
_wf_smu_new_control:                    ; @wf_smu_new_control
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x20, _wf_smu_all_controls_ok@GOTPAGE
Lloh1:
	ldr	x20, [x20, _wf_smu_all_controls_ok@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
LBB0_1:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x21, _fan_cpu_main@GOTPAGE
Lloh3:
	ldr	x21, [x21, _fan_cpu_main@GOTPAGEOFF]
	ldr	x8, [x21]
	cbnz	x8, LBB0_6
; %bb.3:
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_wf_get_control
	cbnz	x0, LBB0_6
; %bb.5:
	str	x19, [x21]
LBB0_6:
Lloh6:
	adrp	x22, _fan_cpu_second@GOTPAGE
Lloh7:
	ldr	x22, [x22, _fan_cpu_second@GOTPAGEOFF]
	ldr	x8, [x22]
	cbnz	x8, LBB0_10
; %bb.7:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_wf_get_control
	cbnz	x0, LBB0_10
; %bb.9:
	str	x19, [x22]
LBB0_10:
Lloh10:
	adrp	x23, _fan_cpu_third@GOTPAGE
Lloh11:
	ldr	x23, [x23, _fan_cpu_third@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_14
; %bb.11:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_wf_get_control
	cbnz	x0, LBB0_14
; %bb.13:
	str	x19, [x23]
LBB0_14:
Lloh14:
	adrp	x24, _cpufreq_clamp@GOTPAGE
Lloh15:
	ldr	x24, [x24, _cpufreq_clamp@GOTPAGEOFF]
	ldr	x8, [x24]
	cbnz	x8, LBB0_18
; %bb.15:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_wf_get_control
	cbnz	x0, LBB0_18
; %bb.17:
	str	x19, [x24]
LBB0_18:
Lloh18:
	adrp	x25, _fan_hd@GOTPAGE
Lloh19:
	ldr	x25, [x25, _fan_hd@GOTPAGEOFF]
	ldr	x8, [x25]
	cbnz	x8, LBB0_22
; %bb.19:
	ldr	w0, [x19]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_22
; %bb.20:
	mov	x0, x19
	bl	_wf_get_control
	cbnz	x0, LBB0_22
; %bb.21:
	str	x19, [x25]
LBB0_22:
Lloh22:
	adrp	x26, _fan_slots@GOTPAGE
Lloh23:
	ldr	x26, [x26, _fan_slots@GOTPAGEOFF]
	ldr	x8, [x26]
	cbnz	x8, LBB0_26
; %bb.23:
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_26
; %bb.24:
	mov	x0, x19
	bl	_wf_get_control
	cbnz	x0, LBB0_26
; %bb.25:
	str	x19, [x26]
LBB0_26:
	ldr	x8, [x21]
	cbz	x8, LBB0_1
; %bb.27:
	ldr	x8, [x22]
	ldr	x9, [x23]
	orr	x8, x8, x9
	cbz	x8, LBB0_1
; %bb.28:
	ldr	x8, [x25]
	cbz	x8, LBB0_1
; %bb.29:
	ldr	x8, [x26]
	cbz	x8, LBB0_1
; %bb.30:
	ldr	x8, [x24]
	cbz	x8, LBB0_1
; %bb.31:
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_wf_smu_all_controls_ok,4,2     ; @wf_smu_all_controls_ok
	.comm	_fan_cpu_main,8,3               ; @fan_cpu_main
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-rear-fan-0"

	.comm	_fan_cpu_second,8,3             ; @fan_cpu_second
l_.str.1:                               ; @.str.1
	.asciz	"cpu-rear-fan-1"

	.comm	_fan_cpu_third,8,3              ; @fan_cpu_third
l_.str.2:                               ; @.str.2
	.asciz	"cpu-front-fan-0"

	.comm	_cpufreq_clamp,8,3              ; @cpufreq_clamp
l_.str.3:                               ; @.str.3
	.asciz	"cpufreq-clamp"

	.comm	_fan_hd,8,3                     ; @fan_hd
l_.str.4:                               ; @.str.4
	.asciz	"drive-bay-fan"

	.comm	_fan_slots,8,3                  ; @fan_slots
l_.str.5:                               ; @.str.5
	.asciz	"slots-fan"

	.no_dead_strip	_wf_smu_new_control
.subsections_via_symbols
