	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tickle_fcu
_tickle_fcu:                            ## @tickle_fcu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_SLOTS_FAN_PWM_INDEX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_get_pwm_fan
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_DBG
	movq	_rackmac@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	movl	$100, %esi
	cmovnsl	%ebx, %esi
	movq	_SLOTS_PID_OUTPUT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %esi
	cmovlel	%eax, %esi
	jmp	LBB0_3
LBB0_1:
	movq	_SLOTS_FAN_DEFAULT_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_3:
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_set_pwm_fan                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SLOTS_FAN_PWM_INDEX,4,2        ## @SLOTS_FAN_PWM_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FCU Tickle, slots fan is: %d\n"

	.comm	_rackmac,4,2                    ## @rackmac
	.comm	_SLOTS_FAN_DEFAULT_PWM,4,2      ## @SLOTS_FAN_DEFAULT_PWM
	.comm	_SLOTS_PID_OUTPUT_MIN,4,2       ## @SLOTS_PID_OUTPUT_MIN
	.no_dead_strip	_tickle_fcu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tickle_fcu
_tickle_fcu:                            ; @tickle_fcu
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _SLOTS_FAN_PWM_INDEX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SLOTS_FAN_PWM_INDEX@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_get_pwm_fan
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DBG
Lloh4:
	adrp	x8, _rackmac@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rackmac@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w8, #100
	cmp	w19, #0
	csel	w8, w8, w19, lt
Lloh7:
	adrp	x9, _SLOTS_PID_OUTPUT_MIN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SLOTS_PID_OUTPUT_MIN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w1, w8, w9, gt
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _SLOTS_FAN_DEFAULT_PWM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SLOTS_FAN_DEFAULT_PWM@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
LBB0_3:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_pwm_fan
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SLOTS_FAN_PWM_INDEX,4,2        ; @SLOTS_FAN_PWM_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FCU Tickle, slots fan is: %d\n"

	.comm	_rackmac,4,2                    ; @rackmac
	.comm	_SLOTS_FAN_DEFAULT_PWM,4,2      ; @SLOTS_FAN_DEFAULT_PWM
	.comm	_SLOTS_PID_OUTPUT_MIN,4,2       ; @SLOTS_PID_OUTPUT_MIN
	.no_dead_strip	_tickle_fcu
.subsections_via_symbols
