	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_reset                      ## -- Begin function cpu_reset
	.p2align	4, 0x90
_cpu_reset:                             ## @cpu_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_plat_obj@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PLATFORM_CPU_RESET
	leaq	L_.str(%rip), %rdi
	callq	_printf
	xorl	%eax, %eax
	callq	_intr_disable
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_cpu_sleep
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_plat_obj,4,2                   ## @plat_obj
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpu_reset failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_reset                      ; -- Begin function cpu_reset
	.p2align	2
_cpu_reset:                             ; @cpu_reset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _plat_obj@GOTPAGE
Lloh1:
	ldr	x8, [x8, _plat_obj@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PLATFORM_CPU_RESET
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	bl	_intr_disable
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_cpu_sleep
	b	LBB0_1
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_plat_obj,4,2                   ; @plat_obj
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpu_reset failed"

.subsections_via_symbols
