	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_fcu_get_rpmfan_minmax
_wf_fcu_get_rpmfan_minmax:              ## @wf_fcu_get_rpmfan_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %rbx
	xorl	%edi, %edi
	callq	_wf_get_mpu
	movq	%rax, %r14
	movl	$1, %edi
	callq	_wf_get_mpu
	movb	(%rbx), %cl
	movl	$2400, %edx                     ## imm = 0x960
	shrl	%cl, %edx
	movl	$56000, %esi                    ## imm = 0xDAC0
	shrl	%cl, %esi
	movq	%rax, %r15
	movl	%edx, (%r12)
	movl	%esi, 4(%r12)
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movl	8(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
LBB0_2:
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	movl	8(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:
	movl	8(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	testq	%r15, %r15
	je	LBB0_11
## %bb.9:
	movl	8(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:
	movl	8(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	4(%r12), %ecx
	jmp	LBB0_15
LBB0_13:
	movl	(%r12), %edi
	movl	8(%r14), %esi
	callq	_max
	movl	%eax, (%r12)
	movl	4(%r12), %edi
	movl	(%r14), %esi
	jmp	LBB0_14
LBB0_4:
	movl	(%r12), %edi
	movl	8(%r15), %esi
	callq	_max
	movl	%eax, (%r12)
	movl	4(%r12), %edi
	movl	(%r15), %esi
	jmp	LBB0_14
LBB0_7:
	movl	(%r12), %edi
	movl	24(%r14), %esi
	callq	_max
	movl	%eax, (%r12)
	movl	4(%r12), %edi
	movl	16(%r14), %esi
	jmp	LBB0_14
LBB0_10:
	movl	(%r12), %edi
	movl	24(%r15), %esi
	callq	_max
	movl	%eax, (%r12)
	movl	4(%r12), %edi
	movl	16(%r15), %esi
LBB0_14:
	callq	_min
	movq	%rax, %rcx
	movl	%ecx, 4(%r12)
LBB0_15:
	movl	(%r12), %edx
	movl	8(%r12), %esi
	leaq	L_.str.5(%rip), %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DBG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu-front-fan-0"

L_.str.1:                               ## @.str.1
	.asciz	"cpu-front-fan-1"

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

L_.str.3:                               ## @.str.3
	.asciz	"cpu-rear-fan-1"

L_.str.4:                               ## @.str.4
	.asciz	"cpu-fan"

L_.str.5:                               ## @.str.5
	.asciz	"wf_fcu: fan min/max for %s set to: [%d..%d] RPM\n"

	.no_dead_strip	_wf_fcu_get_rpmfan_minmax
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function wf_fcu_get_rpmfan_minmax
lCPI0_0:
	.long	2400                            ; 0x960
	.long	56000                           ; 0xdac0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_wf_fcu_get_rpmfan_minmax:              ; @wf_fcu_get_rpmfan_minmax
	.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
	ldr	x22, [x0, #16]
	mov	w0, #0
	bl	_wf_get_mpu
	mov	x20, x0
	mov	w0, #1
	bl	_wf_get_mpu
	mov	x21, x0
	ld1r.2s	{ v0 }, [x22]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x8, lCPI0_0@PAGEOFF]
	neg.2s	v0, v0
	ushl.2s	v0, v1, v0
	str	d0, [x19]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_10
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_11
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_12
LBB0_6:
	cbz	x21, LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_14
LBB0_8:
	ldr	w0, [x19, #8]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_13
; %bb.9:
	ldr	w3, [x19, #4]
	b	LBB0_16
LBB0_10:
	ldr	w0, [x19]
	ldr	w1, [x20, #8]
	bl	_max
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_min
	mov	x3, x0
	str	w3, [x19, #4]
	b	LBB0_16
LBB0_11:
	ldr	w0, [x19]
	ldr	w1, [x21, #8]
	bl	_max
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	w1, [x21]
	b	LBB0_15
LBB0_12:
	ldr	w0, [x19]
	ldr	w1, [x20, #24]
	bl	_max
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #16]
	b	LBB0_15
LBB0_13:
	ldr	w0, [x19]
	ldr	w1, [x20, #8]
	bl	_max
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	b	LBB0_15
LBB0_14:
	ldr	w0, [x19]
	ldr	w1, [x21, #24]
	bl	_max
	str	w0, [x19]
	ldr	w0, [x19, #4]
	ldr	w1, [x21, #16]
LBB0_15:
	bl	_min
	str	w0, [x19, #4]
	mov	x3, x0
LBB0_16:
	ldr	w1, [x19, #8]
	ldr	w2, [x19]
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	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
	b	_DBG
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu-front-fan-0"

l_.str.1:                               ; @.str.1
	.asciz	"cpu-front-fan-1"

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

l_.str.3:                               ; @.str.3
	.asciz	"cpu-rear-fan-1"

l_.str.4:                               ; @.str.4
	.asciz	"cpu-fan"

l_.str.5:                               ; @.str.5
	.asciz	"wf_fcu: fan min/max for %s set to: [%d..%d] RPM\n"

	.no_dead_strip	_wf_fcu_get_rpmfan_minmax
.subsections_via_symbols
