	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zx_restart_handler
_zx_restart_handler:                    ## @zx_restart_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_base@GOTPCREL(%rip), %rax
	movl	$176, %esi
	addq	(%rax), %rsi
	movl	$1, %edi
	callq	_writel_relaxed
	movq	_pcu_base@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$52, %rsi
	movl	$1, %edi
	callq	_writel_relaxed
	movl	$50, %edi
	callq	_mdelay
	leaq	L_.str(%rip), %rdi
	callq	_pr_emerg
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_base,8,3                       ## @base
	.comm	_pcu_base,8,3                   ## @pcu_base
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to restart system\n"

	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.no_dead_strip	_zx_restart_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zx_restart_handler
_zx_restart_handler:                    ; @zx_restart_handler
	.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, _base@GOTPAGE
Lloh1:
	ldr	x8, [x8, _base@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, #176
	mov	w0, #1
	bl	_writel_relaxed
Lloh3:
	adrp	x8, _pcu_base@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pcu_base@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, #52
	mov	w0, #1
	bl	_writel_relaxed
	mov	w0, #50
	bl	_mdelay
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_emerg
Lloh8:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_base,8,3                       ; @base
	.comm	_pcu_base,8,3                   ; @pcu_base
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to restart system\n"

	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.no_dead_strip	_zx_restart_handler
.subsections_via_symbols
