	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_default_idle                   ## -- Begin function default_idle
	.p2align	4, 0x90
_default_idle:                          ## @default_idle
	.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
	xorl	%eax, %eax
	callq	_hlt_use_halt
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_POWER_CSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_smp_processor_id
	movl	%ebx, %edi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_trace_power_start
	movq	_TS_POLLING@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	notl	%ebx
	xorl	%eax, %eax
	callq	_current_thread_info
	andl	%ebx, (%rax)
	xorl	%eax, %eax
	callq	_smp_mb
	xorl	%eax, %eax
	callq	_need_resched
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	callq	_local_irq_enable
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	callq	_local_irq_enable
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cpu_relax                      ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	callq	_safe_halt
LBB0_4:
	movl	(%r14), %ebx
	xorl	%eax, %eax
	callq	_current_thread_info
	orl	%ebx, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POWER_CSTATE,4,2               ## @POWER_CSTATE
	.comm	_TS_POLLING,4,2                 ## @TS_POLLING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_default_idle                   ; -- Begin function default_idle
	.p2align	2
_default_idle:                          ; @default_idle
	.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
	bl	_hlt_use_halt
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _POWER_CSTATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POWER_CSTATE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	bl	_smp_processor_id
	mov	x2, x0
	mov	x0, x19
	mov	w1, #1
	bl	_trace_power_start
Lloh3:
	adrp	x19, _TS_POLLING@GOTPAGE
Lloh4:
	ldr	x19, [x19, _TS_POLLING@GOTPAGEOFF]
	ldr	w20, [x19]
	bl	_current_thread_info
	ldr	w8, [x0]
	bic	w8, w8, w20
	str	w8, [x0]
	bl	_smp_mb
	bl	_need_resched
	cbz	w0, LBB0_4
; %bb.2:
	bl	_local_irq_enable
	b	LBB0_5
LBB0_3:
	bl	_local_irq_enable
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cpu_relax
LBB0_4:
	bl	_safe_halt
LBB0_5:
	ldr	w19, [x19]
	bl	_current_thread_info
	ldr	w8, [x0]
	orr	w8, w8, w19
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_POWER_CSTATE,4,2               ; @POWER_CSTATE
	.comm	_TS_POLLING,4,2                 ; @TS_POLLING
.subsections_via_symbols
