	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_reboot
_do_reboot:                             ## @do_reboot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	callq	_fflush
	leaq	L_.str.1(%rip), %rdi
	callq	_system
	movl	$2, %edi
	callq	_sleep
	movq	_SYS_reboot@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LINUX_REBOOT_MAGIC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LINUX_REBOOT_MAGIC2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LINUX_REBOOT_CMD_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_syscall                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rebooting ...\n"

L_.str.1:                               ## @.str.1
	.asciz	"/sbin/reboot"

	.comm	_SYS_reboot,4,2                 ## @SYS_reboot
	.comm	_LINUX_REBOOT_MAGIC1,4,2        ## @LINUX_REBOOT_MAGIC1
	.comm	_LINUX_REBOOT_MAGIC2,4,2        ## @LINUX_REBOOT_MAGIC2
	.comm	_LINUX_REBOOT_CMD_RESTART,4,2   ## @LINUX_REBOOT_CMD_RESTART
	.no_dead_strip	_do_reboot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_reboot
_do_reboot:                             ; @do_reboot
	.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
Lloh0:
	adrp	x19, _stderr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	bl	_fflush
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_system
	mov	w0, #2
	bl	_sleep
Lloh6:
	adrp	x8, _SYS_reboot@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SYS_reboot@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _LINUX_REBOOT_MAGIC1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINUX_REBOOT_MAGIC1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _LINUX_REBOOT_MAGIC2@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LINUX_REBOOT_MAGIC2@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _LINUX_REBOOT_CMD_RESTART@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LINUX_REBOOT_CMD_RESTART@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_syscall
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rebooting ...\n"

l_.str.1:                               ; @.str.1
	.asciz	"/sbin/reboot"

	.comm	_SYS_reboot,4,2                 ; @SYS_reboot
	.comm	_LINUX_REBOOT_MAGIC1,4,2        ; @LINUX_REBOOT_MAGIC1
	.comm	_LINUX_REBOOT_MAGIC2,4,2        ; @LINUX_REBOOT_MAGIC2
	.comm	_LINUX_REBOOT_CMD_RESTART,4,2   ; @LINUX_REBOOT_CMD_RESTART
	.no_dead_strip	_do_reboot
.subsections_via_symbols
