	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_idle_enter_simple
_acpi_idle_enter_simple:                ## @acpi_idle_enter_simple
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_cpuidle_get_statedata
	movq	%rax, %r14
	movq	_processors@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___get_cpu_var
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_acpi_idle_suspend@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.10:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_idle_enter_c1             ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	callq	_local_irq_disable
	movq	(%r14), %rax
	movq	_ACPI_CSTATE_FFH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_TS_POLLING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	notl	%ebx
	xorl	%eax, %eax
	callq	_current_thread_info
	andl	%ebx, (%rax)
	xorl	%eax, %eax
	callq	_smp_mb
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_need_resched
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_TS_POLLING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_current_thread_info
	orl	%ebx, (%rax)
	xorl	%eax, %eax
	callq	_local_irq_enable
	jmp	LBB0_9
LBB0_6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_lapic_timer_state_broadcast
	movq	8(%r14), %rax
	movq	_ACPI_STATE_C3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_ACPI_FLUSH_CPU_CACHE
LBB0_8:
	xorl	%eax, %eax
	callq	_ktime_get_real
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_sched_clock_idle_sleep_event
	movq	%r14, %rdi
	callq	_acpi_idle_do_entry
	xorl	%eax, %eax
	callq	_ktime_get_real
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ktime_sub
	movl	%eax, %edi
	callq	_ktime_to_us
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_us_to_pm_timer_ticks
	movl	%eax, %r13d
	movq	_PM_TIMER_TICK_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	%r13d, %edi
	callq	_sched_clock_idle_wakeup_event
	xorl	%eax, %eax
	callq	_local_irq_enable
	movq	_TS_POLLING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_current_thread_info
	orl	%ebx, (%rax)
	incl	20(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_lapic_timer_state_broadcast
	addl	%r13d, 16(%r14)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_processors,4,2                 ## @processors
	.comm	_acpi_idle_suspend,8,3          ## @acpi_idle_suspend
	.comm	_ACPI_CSTATE_FFH,8,3            ## @ACPI_CSTATE_FFH
	.comm	_TS_POLLING,4,2                 ## @TS_POLLING
	.comm	_ACPI_STATE_C3,8,3              ## @ACPI_STATE_C3
	.comm	_PM_TIMER_TICK_NS,4,2           ## @PM_TIMER_TICK_NS
	.no_dead_strip	_acpi_idle_enter_simple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_idle_enter_simple
_acpi_idle_enter_simple:                ; @acpi_idle_enter_simple
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_cpuidle_get_statedata
	mov	x19, x0
Lloh0:
	adrp	x8, _processors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _processors@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	___get_cpu_var
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
LBB0_1:
	mov	w21, #0
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _acpi_idle_suspend@GOTPAGE
Lloh4:
	ldr	x8, [x8, _acpi_idle_suspend@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_acpi_idle_enter_c1
LBB0_5:
	bl	_local_irq_disable
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _ACPI_CSTATE_FFH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACPI_CSTATE_FFH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x23, _TS_POLLING@GOTPAGE
Lloh10:
	ldr	x23, [x23, _TS_POLLING@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
	ldr	w21, [x23]
	bl	_current_thread_info
	ldr	w8, [x0]
	bic	w8, w8, w21
	str	w8, [x0]
	bl	_smp_mb
LBB0_7:
	bl	_need_resched
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w19, [x23]
	bl	_current_thread_info
	ldr	w8, [x0]
	orr	w8, w8, w19
	str	w8, [x0]
	bl	_local_irq_enable
	b	LBB0_1
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_lapic_timer_state_broadcast
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _ACPI_STATE_C3@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ACPI_STATE_C3@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	bl	_ACPI_FLUSH_CPU_CACHE
LBB0_11:
	bl	_ktime_get_real
	mov	x21, x0
	bl	_sched_clock_idle_sleep_event
	mov	x0, x19
	bl	_acpi_idle_do_entry
	bl	_ktime_get_real
	mov	x1, x21
	bl	_ktime_sub
	bl	_ktime_to_us
	mov	x21, x0
	bl	_us_to_pm_timer_ticks
	mov	x22, x0
Lloh14:
	adrp	x8, _PM_TIMER_TICK_NS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PM_TIMER_TICK_NS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mul	w0, w8, w0
	bl	_sched_clock_idle_wakeup_event
	bl	_local_irq_enable
	ldr	w23, [x23]
	bl	_current_thread_info
	ldr	w8, [x0]
	orr	w8, w8, w23
	str	w8, [x0]
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_lapic_timer_state_broadcast
	ldr	w8, [x19, #16]
	add	w8, w8, w22
	str	w8, [x19, #16]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_processors,4,2                 ; @processors
	.comm	_acpi_idle_suspend,8,3          ; @acpi_idle_suspend
	.comm	_ACPI_CSTATE_FFH,8,3            ; @ACPI_CSTATE_FFH
	.comm	_TS_POLLING,4,2                 ; @TS_POLLING
	.comm	_ACPI_STATE_C3,8,3              ; @ACPI_STATE_C3
	.comm	_PM_TIMER_TICK_NS,4,2           ; @PM_TIMER_TICK_NS
	.no_dead_strip	_acpi_idle_enter_simple
.subsections_via_symbols
