	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_fcu_get_pump_minmax
_wf_fcu_get_pump_minmax:                ## @wf_fcu_get_pump_minmax
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_wf_get_mpu
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	-48(%rbp), %esi
	xorl	%r15d, %r15d
	movl	$65535, %ebx                    ## imm = 0xFFFF
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_5
## %bb.3:
	cmpl	$65535, -44(%rbp)               ## imm = 0xFFFF
	je	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	callq	_max
	movl	%eax, %r15d
	movl	-44(%rbp), %esi
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_min
	movl	%eax, %ebx
LBB0_5:
	movl	-40(%rbp), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_8
## %bb.6:
	cmpl	$65535, -36(%rbp)               ## imm = 0xFFFF
	je	LBB0_8
## %bb.7:
	movl	%r15d, %edi
	callq	_max
	movl	%eax, %r15d
	movl	-36(%rbp), %esi
	movl	%ebx, %edi
	callq	_min
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_1:
	movl	$65535, %ebx                    ## imm = 0xFFFF
LBB0_8:
	cmpl	%ebx, %r15d
	sete	%al
	testl	%r15d, %r15d
	sete	%cl
	orb	%al, %cl
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	sete	%al
	orb	%cl, %al
	je	LBB0_10
## %bb.9:
	movq	_CPU_PUMP_OUTPUT_MIN@GOTPCREL(%rip), %rax
	movq	_CPU_PUMP_OUTPUT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rax), %r15d
	movl	(%rcx), %ebx
LBB0_10:
	movl	%r15d, (%r14)
	movl	%ebx, 4(%r14)
	movl	8(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_DBG
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CPU_PUMP_OUTPUT_MIN,4,2        ## @CPU_PUMP_OUTPUT_MIN
	.comm	_CPU_PUMP_OUTPUT_MAX,4,2        ## @CPU_PUMP_OUTPUT_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wf_fcu: pump min/max for %s set to: [%d..%d] RPM\n"

	.no_dead_strip	_wf_fcu_get_pump_minmax
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_fcu_get_pump_minmax
_wf_fcu_get_pump_minmax:                ; @wf_fcu_get_pump_minmax
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w0, #0
	bl	_wf_get_mpu
	mov	w22, #65535
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w1, [x0]
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	ldp	w1, w8, [sp, #8]
	cmp	w1, w22
	ccmp	w8, w22, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #0
	mov	w21, #65535
	b	LBB0_5
LBB0_3:
	mov	w20, #0
	mov	w21, #65535
	b	LBB0_8
LBB0_4:
	mov	w0, #0
	bl	_max
	mov	x20, x0
	ldr	w1, [sp, #12]
	mov	w0, #65535
	bl	_min
	mov	x21, x0
LBB0_5:
	ldr	w1, [sp, #16]
	mov	w8, #65535
	cmp	w1, w8
	b.eq	LBB0_8
; %bb.6:
	ldr	w9, [sp, #20]
	cmp	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_max
	mov	x20, x0
	ldr	w1, [sp, #20]
	mov	x0, x21
	bl	_min
	mov	x21, x0
LBB0_8:
	cmp	w20, #0
	ccmp	w20, w21, #4, ne
	ccmp	w21, w22, #4, ne
Lloh3:
	adrp	x8, _CPU_PUMP_OUTPUT_MIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPU_PUMP_OUTPUT_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _CPU_PUMP_OUTPUT_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPU_PUMP_OUTPUT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	csel	w2, w8, w20, eq
	csel	w3, w9, w21, eq
	stp	w2, w3, [x19]
	ldr	w1, [x19, #8]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
	add	sp, sp, #80
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CPU_PUMP_OUTPUT_MIN,4,2        ; @CPU_PUMP_OUTPUT_MIN
	.comm	_CPU_PUMP_OUTPUT_MAX,4,2        ; @CPU_PUMP_OUTPUT_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wf_fcu: pump min/max for %s set to: [%d..%d] RPM\n"

	.no_dead_strip	_wf_fcu_get_pump_minmax
.subsections_via_symbols
