	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_fail_state
_set_fail_state:                        ## @set_fail_state
	.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	_cpufreq_clamp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_wf_control_set_max
LBB0_2:
	movq	_NR_CPU_FANS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	movq	_cpu_fans@GOTPCREL(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movq	(%rcx,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_wf_control_set_max
	movl	(%r14), %eax
	jmp	LBB0_6
LBB0_7:
	movq	_backside_fan@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_wf_control_set_max
LBB0_9:
	movq	_slots_fan@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_wf_control_set_max
LBB0_11:
	movq	_drive_bay_fan@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.13:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wf_control_set_max             ## TAILCALL
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpufreq_clamp,8,3              ## @cpufreq_clamp
	.comm	_NR_CPU_FANS,4,2                ## @NR_CPU_FANS
	.comm	_cpu_fans,8,3                   ## @cpu_fans
	.comm	_backside_fan,8,3               ## @backside_fan
	.comm	_slots_fan,8,3                  ## @slots_fan
	.comm	_drive_bay_fan,8,3              ## @drive_bay_fan
	.no_dead_strip	_set_fail_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_fail_state
_set_fail_state:                        ; @set_fail_state
	.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
Lloh0:
	adrp	x8, _cpufreq_clamp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpufreq_clamp@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_wf_control_set_max
LBB0_2:
Lloh3:
	adrp	x19, _NR_CPU_FANS@GOTPAGE
Lloh4:
	ldr	x19, [x19, _NR_CPU_FANS@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x20, #0
Lloh5:
	adrp	x21, _cpu_fans@GOTPAGE
Lloh6:
	ldr	x21, [x21, _cpu_fans@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	cmp	x20, w8, sxtw
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	ldr	x0, [x9, x20, lsl #3]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_wf_control_set_max
	ldr	w8, [x19]
	b	LBB0_4
LBB0_7:
Lloh7:
	adrp	x8, _backside_fan@GOTPAGE
Lloh8:
	ldr	x8, [x8, _backside_fan@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_wf_control_set_max
LBB0_9:
Lloh10:
	adrp	x8, _slots_fan@GOTPAGE
Lloh11:
	ldr	x8, [x8, _slots_fan@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_wf_control_set_max
LBB0_11:
Lloh13:
	adrp	x8, _drive_bay_fan@GOTPAGE
Lloh14:
	ldr	x8, [x8, _drive_bay_fan@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
	cbz	x0, LBB0_13
; %bb.12:
	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	_wf_control_set_max
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_cpufreq_clamp,8,3              ; @cpufreq_clamp
	.comm	_NR_CPU_FANS,4,2                ; @NR_CPU_FANS
	.comm	_cpu_fans,8,3                   ; @cpu_fans
	.comm	_backside_fan,8,3               ; @backside_fan
	.comm	_slots_fan,8,3                  ; @slots_fan
	.comm	_drive_bay_fan,8,3              ; @drive_bay_fan
	.no_dead_strip	_set_fail_state
.subsections_via_symbols
