	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pm72_new_control
_pm72_new_control:                      ## @pm72_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_cpu_pumps@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movb	$1, %r14b
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rax)
	setne	%r14b
LBB0_2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.4:
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.5:
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.6:
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_35
## %bb.7:
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_36
## %bb.8:
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_37
## %bb.9:
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_38
## %bb.10:
	movl	(%rbx), %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_39
## %bb.11:
	movl	(%rbx), %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.12:
	movq	_cpufreq_clamp@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_13:
	movq	_cpu_front_fans@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_14:
	movq	_cpu_front_fans@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_cpu_rear_fans@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_19
LBB0_16:
	movq	_cpu_rear_fans@GOTPCREL(%rip), %rax
LBB0_17:
	movq	(%rax), %rax
LBB0_18:
	addq	$8, %rax
LBB0_19:
	movq	%rbx, (%rax)
LBB0_20:
	movq	_cpu_front_fans@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_25
## %bb.21:
	movq	_cpu_rear_fans@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_25
## %bb.22:
	movq	_backside_fan@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_25
## %bb.23:
	movq	_slots_fan@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_25
## %bb.24:
	movq	_drives_fan@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	$0, (%rdx)
	setne	%al
LBB0_25:
	movq	_nr_chips@GOTPCREL(%rip), %rdx
	cmpl	$2, (%rdx)
	jl	LBB0_30
## %bb.26:
	cmpq	$0, 8(%rcx)
	je	LBB0_28
## %bb.27:
	movq	_cpu_rear_fans@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rdx)
	setne	%cl
	jmp	LBB0_29
LBB0_28:
	xorl	%ecx, %ecx
LBB0_29:
	andl	%ecx, %eax
LBB0_30:
	movq	_have_all_controls@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_34
## %bb.31:
	testb	%r14b, %r14b
	jne	LBB0_33
LBB0_32:
	leaq	L_.str.10(%rip), %rdi
	callq	_pr_info
	movq	_cpu_pid_combined@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	cmpq	$0, 8(%rax)
	sete	%al
	orb	%r14b, %al
	je	LBB0_32
	jmp	LBB0_33
LBB0_35:
	movq	(%r15), %rax
	jmp	LBB0_19
LBB0_36:
	movq	(%r15), %rax
	jmp	LBB0_18
LBB0_37:
	movq	_backside_fan@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_38:
	movq	_slots_fan@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_39:
	movq	_drives_fan@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_pumps,8,3                  ## @cpu_pumps
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-front-fan-0"

	.comm	_cpu_front_fans,8,3             ## @cpu_front_fans
L_.str.1:                               ## @.str.1
	.asciz	"cpu-front-fan-1"

L_.str.2:                               ## @.str.2
	.asciz	"cpu-rear-fan-0"

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

L_.str.4:                               ## @.str.4
	.asciz	"cpu-pump-0"

L_.str.5:                               ## @.str.5
	.asciz	"cpu-pump-1"

L_.str.6:                               ## @.str.6
	.asciz	"backside-fan"

	.comm	_backside_fan,8,3               ## @backside_fan
L_.str.7:                               ## @.str.7
	.asciz	"slots-fan"

	.comm	_slots_fan,8,3                  ## @slots_fan
L_.str.8:                               ## @.str.8
	.asciz	"drive-bay-fan"

	.comm	_drives_fan,8,3                 ## @drives_fan
L_.str.9:                               ## @.str.9
	.asciz	"cpufreq-clamp"

	.comm	_cpufreq_clamp,8,3              ## @cpufreq_clamp
	.comm	_nr_chips,4,2                   ## @nr_chips
	.comm	_have_all_controls,4,2          ## @have_all_controls
L_.str.10:                              ## @.str.10
	.asciz	"wf_pm72: Liquid cooling pump(s) detected, using new algorithm !\n"

	.comm	_cpu_pid_combined,4,2           ## @cpu_pid_combined
	.no_dead_strip	_pm72_new_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pm72_new_control
_pm72_new_control:                      ; @pm72_new_control
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _cpu_pumps@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cpu_pumps@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w20, ne
LBB0_3:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
Lloh4:
	adrp	x22, _cpu_front_fans@GOTPAGE
Lloh5:
	ldr	x22, [x22, _cpu_front_fans@GOTPAGEOFF]
	cbz	w0, LBB0_14
; %bb.4:
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.5:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.6:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.7:
	ldr	w0, [x19]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_18
; %bb.8:
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.9:
	ldr	w0, [x19]
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_20
; %bb.10:
	ldr	w0, [x19]
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_21
; %bb.11:
	ldr	w0, [x19]
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.12:
	ldr	w0, [x19]
Lloh22:
	adrp	x1, l_.str.9@PAGE
Lloh23:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_24
; %bb.13:
Lloh24:
	adrp	x8, _cpufreq_clamp@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cpufreq_clamp@GOTPAGEOFF]
	b	LBB0_23
LBB0_14:
	ldr	x8, [x22]
	b	LBB0_23
LBB0_15:
	ldr	x8, [x22]
	add	x8, x8, #8
	b	LBB0_23
LBB0_16:
Lloh26:
	adrp	x8, _cpu_rear_fans@GOTPAGE
Lloh27:
	ldr	x8, [x8, _cpu_rear_fans@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	b	LBB0_23
LBB0_17:
Lloh29:
	adrp	x8, _cpu_rear_fans@GOTPAGE
Lloh30:
	ldr	x8, [x8, _cpu_rear_fans@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	add	x8, x8, #8
	b	LBB0_23
LBB0_18:
	ldr	x8, [x21]
	b	LBB0_23
LBB0_19:
	ldr	x8, [x21]
	add	x8, x8, #8
	b	LBB0_23
LBB0_20:
Lloh32:
	adrp	x8, _backside_fan@GOTPAGE
Lloh33:
	ldr	x8, [x8, _backside_fan@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
Lloh34:
	adrp	x8, _slots_fan@GOTPAGE
Lloh35:
	ldr	x8, [x8, _slots_fan@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh36:
	adrp	x8, _drives_fan@GOTPAGE
Lloh37:
	ldr	x8, [x8, _drives_fan@GOTPAGEOFF]
LBB0_23:
	str	x19, [x8]
LBB0_24:
	ldr	x9, [x22]
	ldr	x8, [x9]
	cbz	x8, LBB0_28
; %bb.25:
Lloh38:
	adrp	x8, _cpu_rear_fans@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cpu_rear_fans@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh41:
	adrp	x10, _backside_fan@GOTPAGE
Lloh42:
	ldr	x10, [x10, _backside_fan@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
Lloh44:
	adrp	x11, _slots_fan@GOTPAGE
Lloh45:
	ldr	x11, [x11, _slots_fan@GOTPAGEOFF]
Lloh46:
	ldr	x11, [x11]
	cmp	x8, #0
	ccmp	x10, #0, #4, ne
	ccmp	x11, #0, #4, ne
	b.ne	LBB0_27
; %bb.26:
	mov	w8, #0
	b	LBB0_28
LBB0_27:
Lloh47:
	adrp	x8, _drives_fan@GOTPAGE
Lloh48:
	ldr	x8, [x8, _drives_fan@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, ne
LBB0_28:
Lloh50:
	adrp	x10, _nr_chips@GOTPAGE
Lloh51:
	ldr	x10, [x10, _nr_chips@GOTPAGEOFF]
Lloh52:
	ldr	w10, [x10]
	cmp	w10, #2
	b.lt	LBB0_32
; %bb.29:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_31
; %bb.30:
Lloh53:
	adrp	x9, _cpu_rear_fans@GOTPAGE
Lloh54:
	ldr	x9, [x9, _cpu_rear_fans@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	ldr	x9, [x9, #8]
	cmp	x9, #0
	cset	w9, ne
LBB0_31:
	and	w8, w9, w8
LBB0_32:
Lloh56:
	adrp	x9, _have_all_controls@GOTPAGE
Lloh57:
	ldr	x9, [x9, _have_all_controls@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	x9, LBB0_36
; %bb.33:
	tbnz	w20, #0, LBB0_35
LBB0_34:
Lloh59:
	adrp	x0, l_.str.10@PAGE
Lloh60:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_pr_info
Lloh61:
	adrp	x8, _cpu_pid_combined@GOTPAGE
Lloh62:
	ldr	x8, [x8, _cpu_pid_combined@GOTPAGEOFF]
	mov	w9, #1
Lloh63:
	str	w9, [x8]
LBB0_35:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_36:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w8, eq
	orr	w8, w8, w20
	tbz	w8, #0, LBB0_34
	b	LBB0_35
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_pumps,8,3                  ; @cpu_pumps
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-front-fan-0"

	.comm	_cpu_front_fans,8,3             ; @cpu_front_fans
l_.str.1:                               ; @.str.1
	.asciz	"cpu-front-fan-1"

l_.str.2:                               ; @.str.2
	.asciz	"cpu-rear-fan-0"

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

l_.str.4:                               ; @.str.4
	.asciz	"cpu-pump-0"

l_.str.5:                               ; @.str.5
	.asciz	"cpu-pump-1"

l_.str.6:                               ; @.str.6
	.asciz	"backside-fan"

	.comm	_backside_fan,8,3               ; @backside_fan
l_.str.7:                               ; @.str.7
	.asciz	"slots-fan"

	.comm	_slots_fan,8,3                  ; @slots_fan
l_.str.8:                               ; @.str.8
	.asciz	"drive-bay-fan"

	.comm	_drives_fan,8,3                 ; @drives_fan
l_.str.9:                               ; @.str.9
	.asciz	"cpufreq-clamp"

	.comm	_cpufreq_clamp,8,3              ; @cpufreq_clamp
	.comm	_nr_chips,4,2                   ; @nr_chips
	.comm	_have_all_controls,4,2          ; @have_all_controls
l_.str.10:                              ; @.str.10
	.asciz	"wf_pm72: Liquid cooling pump(s) detected, using new algorithm !\n"

	.comm	_cpu_pid_combined,4,2           ; @cpu_pid_combined
	.no_dead_strip	_pm72_new_control
.subsections_via_symbols
