	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_getprogname
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_strstr
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_dohalt@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_RB_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_2:
	leaq	LJTI0_0(%rip), %r15
	xorl	%eax, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%ecx, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_POWERCYCLE@GOTPCREL(%rip), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	orl	(%rax), %r13d
	movl	%r14d, %eax
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %r14d
	movl	%r12d, %edi
	movq	%rbx, %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-78(%rax), %ecx
	cmpl	$36, %ecx
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %eax
	movslq	(%r15,%rcx,4), %rcx
	addq	%r15, %rcx
	jmpq	*%rcx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, %eax
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_DUMP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %eax
	jmp	LBB0_3
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_NOSYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, %eax
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_POWEROFF@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	movl	%r14d, %eax
	jmp	LBB0_3
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_RB_REROOT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_16
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	movl	%r14d, %eax
	jmp	LBB0_3
LBB0_16:
	movq	_optind@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_usage
LBB0_18:
	movq	_RB_HALT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RB_DUMP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r13d, %ecx
	notl	%ecx
	testl	%ecx, %eax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_20:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_23
## %bb.21:
	movq	_RB_NOSYNC@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_23
## %bb.22:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_23:
	movq	_RB_POWEROFF@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_26
## %bb.24:
	movq	_RB_POWERCYCLE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_26:
	movq	_RB_REROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	je	LBB0_29
## %bb.27:
	andl	%r13d, %eax
	je	LBB0_29
## %bb.28:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_29:
	xorl	%eax, %eax
	callq	_geteuid
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_31:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.32:
	movl	%r13d, %edi
	callq	_reboot
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_33:
	testq	%r12, %r12
	je	LBB0_36
## %bb.34:
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_CREAT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_O_TRUNC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	movl	$292, %edx                      ## imm = 0x124
	callq	_open
	testl	%eax, %eax
	js	LBB0_36
## %bb.35:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movl	%eax, %edi
	movl	$22, %edx
	callq	_write
	leaq	L_.str.8(%rip), %rsi
	movl	%ebx, %edi
	movl	$8, %edx
	callq	_write
	movq	%r12, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_write
	leaq	L_.str.9(%rip), %rsi
	movl	%ebx, %edi
	movl	$2, %edx
	callq	_write
	movl	%ebx, %edi
	callq	_close
LBB0_36:
	testl	%r14d, %r14d
	jne	LBB0_51
## %bb.37:
	xorl	%eax, %eax
	callq	_getlogin
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_41
## %bb.38:
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_getpwuid
	testq	%rax, %rax
	je	LBB0_39
## %bb.40:
	movq	(%rax), %rbx
	jmp	LBB0_41
LBB0_39:
	leaq	L_.str.10(%rip), %rbx
LBB0_41:
	movq	_dohalt@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_43
## %bb.42:
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movq	_LOG_CONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_openlog
	movq	_LOG_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_50
LBB0_43:
	movq	_RB_REROOT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_45
## %bb.44:
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movq	_LOG_CONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str.12(%rip), %rdi
	xorl	%esi, %esi
	callq	_openlog
	movq	_LOG_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_50
LBB0_45:
	movq	_RB_POWEROFF@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_47
## %bb.46:
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movq	_LOG_CONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str.14(%rip), %rdi
	xorl	%esi, %esi
	callq	_openlog
	movq	_LOG_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_50
LBB0_47:
	movq	_RB_POWERCYCLE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	%r13d, %r14d
	movq	_LOG_AUTH@GOTPCREL(%rip), %rax
	movq	_LOG_CONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	leaq	L_.str.14(%rip), %rdi
	xorl	%esi, %esi
	callq	_openlog
	movq	_LOG_CRIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r14d, %r14d
	je	LBB0_49
## %bb.48:
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_50
LBB0_49:
	leaq	L_.str.17(%rip), %rsi
LBB0_50:
	movq	%rbx, %rdx
	callq	_syslog
LBB0_51:
	movq	_SHUTDOWN_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movq	%rbx, %rdi
	callq	_pututxline
	testl	%r15d, %r15d
	jne	LBB0_53
## %bb.52:
	xorl	%eax, %eax
	callq	_sync
LBB0_53:
	movq	_SIGHUP@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGQUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGTSTP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_RB_REROOT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_56
## %bb.54:
	movq	_SIGEMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_kill
	cmpl	$-1, %eax
	jne	LBB0_76
## %bb.55:
	leaq	L_.str.18(%rip), %rsi
	movl	$1, %edi
	callq	_err
	jmp	LBB0_76
LBB0_56:
	movl	(%r15), %esi
	movl	$1, %edi
	callq	_kill
	cmpl	$-1, %eax
	jne	LBB0_58
## %bb.57:
	leaq	L_.str.19(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_58:
	movl	(%r14), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_61
## %bb.59:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_61
## %bb.60:
	leaq	L_.str.20(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_61:
	movl	$2, %edi
	callq	_sleep
	movl	$19, %ebx
	.p2align	4, 0x90
LBB0_62:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_get_pageins
	movq	%rax, %r14
	testl	%r15d, %r15d
	jne	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_62 Depth=1
	xorl	%eax, %eax
	callq	_sync
LBB0_64:                                ##   in Loop: Header=BB0_62 Depth=1
	movl	$3, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_get_pageins
	subl	$1, %ebx
	setb	%cl
	cmpq	%r14, %rax
	je	LBB0_66
## %bb.65:                              ##   in Loop: Header=BB0_62 Depth=1
	testb	%cl, %cl
	je	LBB0_62
LBB0_66:
	movq	_SIGKILL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	je	LBB0_68
## %bb.67:
	movl	$2, %edi
	callq	_sleep
	movl	(%rbx), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	je	LBB0_68
## %bb.69:
	movl	$4, %edi
	callq	_sleep
	movl	(%rbx), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	je	LBB0_68
## %bb.70:
	movl	$6, %edi
	callq	_sleep
	movl	(%rbx), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	je	LBB0_68
## %bb.71:
	movl	$8, %edi
	callq	_sleep
	movl	(%rbx), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	je	LBB0_68
## %bb.72:
	movl	$10, %edi
	callq	_sleep
	movl	(%rbx), %esi
	movl	$-1, %edi
	callq	_kill
	cmpl	$-1, %eax
	je	LBB0_68
## %bb.73:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.21(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_74
LBB0_68:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ESRCH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_75
LBB0_74:
	movl	%r13d, %edi
	callq	_reboot
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_75:
	movl	(%r12), %esi
	movl	$1, %edi
	callq	_kill
	cmpl	$-1, %eax
	leaq	L_.str.23(%rip), %rax
	leaq	L_.str.24(%rip), %rbx
	cmoveq	%rax, %rbx
	movl	%r14d, %edi
	callq	_strerror
	leaq	L_.str.22(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_errx
LBB0_76:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"halt"

	.comm	_dohalt,4,2                     ## @dohalt
	.comm	_RB_HALT,4,2                    ## @RB_HALT
L_.str.1:                               ## @.str.1
	.asciz	"cdk:lNnpqr"

	.comm	_RB_POWERCYCLE,4,2              ## @RB_POWERCYCLE
	.comm	_RB_DUMP,4,2                    ## @RB_DUMP
	.comm	_optarg,8,3                     ## @optarg
	.comm	_RB_NOSYNC,4,2                  ## @RB_NOSYNC
	.comm	_RB_POWEROFF,4,2                ## @RB_POWEROFF
	.comm	_RB_REROOT,4,2                  ## @RB_REROOT
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"cannot dump (-d) when halting; must reboot instead"

L_.str.3:                               ## @.str.3
	.asciz	"-N cannot be used with -n"

L_.str.4:                               ## @.str.4
	.asciz	"-c and -p cannot be used together"

L_.str.5:                               ## @.str.5
	.asciz	"-r cannot be used with -c, -d, -n, or -p"

	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_errno,4,2                      ## @errno
L_.str.6:                               ## @.str.6
	.asciz	"/boot/nextboot.conf"

	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
L_.str.7:                               ## @.str.7
	.asciz	"nextboot_enable=\"YES\"\n"

L_.str.8:                               ## @.str.8
	.asciz	"kernel=\""

L_.str.9:                               ## @.str.9
	.asciz	"\"\n"

L_.str.10:                              ## @.str.10
	.asciz	"???"

	.comm	_LOG_AUTH,4,2                   ## @LOG_AUTH
	.comm	_LOG_CONS,4,2                   ## @LOG_CONS
	.comm	_LOG_CRIT,4,2                   ## @LOG_CRIT
L_.str.11:                              ## @.str.11
	.asciz	"halted by %s"

L_.str.12:                              ## @.str.12
	.asciz	"reroot"

L_.str.13:                              ## @.str.13
	.asciz	"rerooted by %s"

L_.str.14:                              ## @.str.14
	.asciz	"reboot"

L_.str.15:                              ## @.str.15
	.asciz	"powered off by %s"

L_.str.16:                              ## @.str.16
	.asciz	"power cycled by %s"

L_.str.17:                              ## @.str.17
	.asciz	"rebooted by %s"

	.comm	_SHUTDOWN_TIME,4,2              ## @SHUTDOWN_TIME
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_SIGQUIT,4,2                    ## @SIGQUIT
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIGEMT,4,2                     ## @SIGEMT
L_.str.18:                              ## @.str.18
	.asciz	"SIGEMT init"

L_.str.19:                              ## @.str.19
	.asciz	"SIGTSTP init"

	.comm	_ESRCH,4,2                      ## @ESRCH
L_.str.20:                              ## @.str.20
	.asciz	"SIGTERM processes"

	.comm	_SIGKILL,4,2                    ## @SIGKILL
	.comm	_stderr,4,2                     ## @stderr
L_.str.21:                              ## @.str.21
	.asciz	"WARNING: some process(es) wouldn't die\n"

L_.str.22:                              ## @.str.22
	.asciz	"%s%s"

L_.str.23:                              ## @.str.23
	.asciz	"(can't restart init): "

L_.str.24:                              ## @.str.24
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x21, x0
	bl	_getprogname
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
Lloh2:
	adrp	x10, _RB_HALT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RB_HALT@GOTPAGEOFF]
Lloh4:
	adrp	x9, _dohalt@GOTPAGE
Lloh5:
	ldr	x9, [x9, _dohalt@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x9]
	ldr	w19, [x10]
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	w8, #0
	mov	w24, #0
	mov	w25, #0
	mov	w28, #0
	mov	x20, #0
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh8:
	adrp	x27, lJTI0_0@PAGE
Lloh9:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x8, _RB_POWERCYCLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RB_POWERCYCLE@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8]
	orr	w19, w8, w19
	mov	x8, x26
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x8
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_getopt
	sub	w9, w0, #78
	cmp	w9, #36
	b.hi	LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #1
	adr	x10, LBB0_4
	ldrb	w11, [x27, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w24, #1
	mov	x8, x26
	mov	w28, #1
	b	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x8, _RB_DUMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RB_DUMP@GOTPAGEOFF]
	b	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh14:
	adrp	x8, _optarg@GOTPAGE
Lloh15:
	ldr	x8, [x8, _optarg@GOTPAGEOFF]
Lloh16:
	ldr	x20, [x8]
	mov	x8, x26
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh17:
	adrp	x8, _RB_NOSYNC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RB_NOSYNC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w19, w8, w19
	mov	w24, #1
	mov	x8, x26
	b	LBB0_6
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh20:
	adrp	x8, _RB_POWEROFF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RB_POWEROFF@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w25, #1
	mov	x8, x26
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x8, _RB_REROOT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RB_REROOT@GOTPAGEOFF]
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	cmn	w0, #1
	b.eq	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_usage
	mov	x8, x26
	b	LBB0_6
LBB0_17:
Lloh24:
	adrp	x8, _optind@GOTPAGE
Lloh25:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_19
; %bb.18:
	bl	_usage
LBB0_19:
Lloh27:
	adrp	x8, _RB_DUMP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RB_DUMP@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _RB_HALT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _RB_HALT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w8, w19
	b.ne	LBB0_21
; %bb.20:
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_21:
	cbz	w28, LBB0_24
; %bb.22:
Lloh35:
	adrp	x8, _RB_NOSYNC@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RB_NOSYNC@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_24
; %bb.23:
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_24:
Lloh40:
	adrp	x8, _RB_POWEROFF@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RB_POWEROFF@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_27
; %bb.25:
Lloh43:
	adrp	x8, _RB_POWERCYCLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RB_POWERCYCLE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_27
; %bb.26:
Lloh46:
	adrp	x1, l_.str.4@PAGE
Lloh47:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_27:
Lloh48:
	adrp	x8, _RB_REROOT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RB_REROOT@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	and	w9, w8, w19
	cmp	w19, w8
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_29
; %bb.28:
Lloh51:
	adrp	x1, l_.str.5@PAGE
Lloh52:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_29:
	bl	_geteuid
	cbz	x0, LBB0_31
; %bb.30:
Lloh53:
	adrp	x8, _EPERM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _errno@GOTPAGE
Lloh57:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_31:
	cbz	w25, LBB0_33
; %bb.32:
	mov	x0, x19
	bl	_reboot
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_33:
	cbz	x20, LBB0_36
; %bb.34:
Lloh59:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh60:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
Lloh62:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh63:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh65:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh66:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh68:
	adrp	x0, l_.str.6@PAGE
Lloh69:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w2, #292
	bl	_open
	tbnz	w0, #31, LBB0_36
; %bb.35:
	mov	x21, x0
Lloh70:
	adrp	x1, l_.str.7@PAGE
Lloh71:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #22
	bl	_write
Lloh72:
	adrp	x1, l_.str.8@PAGE
Lloh73:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	mov	w2, #8
	bl	_write
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_write
Lloh74:
	adrp	x1, l_.str.9@PAGE
Lloh75:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_write
	mov	x0, x21
	bl	_close
LBB0_36:
	cbnz	w26, LBB0_51
; %bb.37:
	bl	_getlogin
	mov	x20, x0
	cbnz	x0, LBB0_41
; %bb.38:
	bl	_getuid
	bl	_getpwuid
	cbz	x0, LBB0_40
; %bb.39:
	ldr	x20, [x0]
	b	LBB0_41
LBB0_40:
Lloh76:
	adrp	x20, l_.str.10@PAGE
Lloh77:
	add	x20, x20, l_.str.10@PAGEOFF
LBB0_41:
Lloh78:
	adrp	x8, _dohalt@GOTPAGE
Lloh79:
	ldr	x8, [x8, _dohalt@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	cbz	w8, LBB0_43
; %bb.42:
Lloh81:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh82:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _LOG_CONS@GOTPAGE
Lloh85:
	ldr	x9, [x9, _LOG_CONS@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh87:
	adrp	x0, l_.str@PAGE
Lloh88:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_openlog
Lloh89:
	adrp	x8, _LOG_CRIT@GOTPAGE
Lloh90:
	ldr	x8, [x8, _LOG_CRIT@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
Lloh92:
	adrp	x1, l_.str.11@PAGE
Lloh93:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_50
LBB0_43:
Lloh94:
	adrp	x8, _RB_REROOT@GOTPAGE
Lloh95:
	ldr	x8, [x8, _RB_REROOT@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_45
; %bb.44:
Lloh97:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh98:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
Lloh100:
	adrp	x9, _LOG_CONS@GOTPAGE
Lloh101:
	ldr	x9, [x9, _LOG_CONS@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh103:
	adrp	x0, l_.str.12@PAGE
Lloh104:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	w1, #0
	bl	_openlog
Lloh105:
	adrp	x8, _LOG_CRIT@GOTPAGE
Lloh106:
	ldr	x8, [x8, _LOG_CRIT@GOTPAGEOFF]
Lloh107:
	ldr	w0, [x8]
Lloh108:
	adrp	x1, l_.str.13@PAGE
Lloh109:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_50
LBB0_45:
Lloh110:
	adrp	x8, _RB_POWEROFF@GOTPAGE
Lloh111:
	ldr	x8, [x8, _RB_POWEROFF@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_47
; %bb.46:
Lloh113:
	adrp	x8, _LOG_AUTH@GOTPAGE
Lloh114:
	ldr	x8, [x8, _LOG_AUTH@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
Lloh116:
	adrp	x9, _LOG_CONS@GOTPAGE
Lloh117:
	ldr	x9, [x9, _LOG_CONS@GOTPAGEOFF]
Lloh118:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh119:
	adrp	x0, l_.str.14@PAGE
Lloh120:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	w1, #0
	bl	_openlog
Lloh121:
	adrp	x8, _LOG_CRIT@GOTPAGE
Lloh122:
	ldr	x8, [x8, _LOG_CRIT@GOTPAGEOFF]
Lloh123:
	ldr	w0, [x8]
Lloh124:
	adrp	x1, l_.str.15@PAGE
Lloh125:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_50
LBB0_47:
Lloh126:
	adrp	x8, _RB_POWERCYCLE@GOTPAGE
Lloh127:
	ldr	x8, [x8, _RB_POWERCYCLE@GOTPAGEOFF]
Lloh128:
	ldr	w8, [x8]
Lloh129:
	adrp	x9, _LOG_AUTH@GOTPAGE
Lloh130:
	ldr	x9, [x9, _LOG_AUTH@GOTPAGEOFF]
	and	w21, w8, w19
Lloh131:
	ldr	w8, [x9]
Lloh132:
	adrp	x9, _LOG_CONS@GOTPAGE
Lloh133:
	ldr	x9, [x9, _LOG_CONS@GOTPAGEOFF]
Lloh134:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh135:
	adrp	x0, l_.str.14@PAGE
Lloh136:
	add	x0, x0, l_.str.14@PAGEOFF
	mov	w1, #0
	bl	_openlog
Lloh137:
	adrp	x8, _LOG_CRIT@GOTPAGE
Lloh138:
	ldr	x8, [x8, _LOG_CRIT@GOTPAGEOFF]
Lloh139:
	ldr	w0, [x8]
	cbz	w21, LBB0_49
; %bb.48:
Lloh140:
	adrp	x1, l_.str.16@PAGE
Lloh141:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_50
LBB0_49:
Lloh142:
	adrp	x1, l_.str.17@PAGE
Lloh143:
	add	x1, x1, l_.str.17@PAGEOFF
LBB0_50:
	mov	x2, x20
	bl	_syslog
LBB0_51:
Lloh144:
	adrp	x8, _SHUTDOWN_TIME@GOTPAGE
Lloh145:
	ldr	x8, [x8, _SHUTDOWN_TIME@GOTPAGEOFF]
Lloh146:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	add	x0, sp, #24
	mov	x1, #0
	bl	_gettimeofday
	add	x0, sp, #24
	bl	_pututxline
	cbnz	w24, LBB0_53
; %bb.52:
	bl	_sync
LBB0_53:
Lloh147:
	adrp	x21, _SIGHUP@GOTPAGE
Lloh148:
	ldr	x21, [x21, _SIGHUP@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh149:
	adrp	x23, _SIG_IGN@GOTPAGE
Lloh150:
	ldr	x23, [x23, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_signal
Lloh151:
	adrp	x8, _SIGINT@GOTPAGE
Lloh152:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh153:
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_signal
Lloh154:
	adrp	x8, _SIGQUIT@GOTPAGE
Lloh155:
	ldr	x8, [x8, _SIGQUIT@GOTPAGEOFF]
Lloh156:
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_signal
Lloh157:
	adrp	x20, _SIGTERM@GOTPAGE
Lloh158:
	ldr	x20, [x20, _SIGTERM@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x23]
	bl	_signal
Lloh159:
	adrp	x22, _SIGTSTP@GOTPAGE
Lloh160:
	ldr	x22, [x22, _SIGTSTP@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_signal
Lloh161:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh162:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh163:
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_signal
Lloh164:
	adrp	x8, _RB_REROOT@GOTPAGE
Lloh165:
	ldr	x8, [x8, _RB_REROOT@GOTPAGEOFF]
Lloh166:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_56
; %bb.54:
Lloh167:
	adrp	x8, _SIGEMT@GOTPAGE
Lloh168:
	ldr	x8, [x8, _SIGEMT@GOTPAGEOFF]
Lloh169:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_kill
	cmn	w0, #1
	b.ne	LBB0_76
; %bb.55:
Lloh170:
	adrp	x1, l_.str.18@PAGE
Lloh171:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	w0, #1
	bl	_err
	b	LBB0_76
LBB0_56:
	ldr	w1, [x22]
	mov	w0, #1
	bl	_kill
	cmn	w0, #1
	b.ne	LBB0_58
; %bb.57:
Lloh172:
	adrp	x1, l_.str.19@PAGE
Lloh173:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_58:
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
Lloh174:
	adrp	x22, _ESRCH@GOTPAGE
Lloh175:
	ldr	x22, [x22, _ESRCH@GOTPAGEOFF]
	cmn	w0, #1
	b.ne	LBB0_61
; %bb.59:
Lloh176:
	adrp	x8, _errno@GOTPAGE
Lloh177:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh178:
	ldr	w8, [x8]
	ldr	w9, [x22]
	cmp	w8, w9
	b.eq	LBB0_61
; %bb.60:
Lloh179:
	adrp	x1, l_.str.20@PAGE
Lloh180:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_61:
	mov	w0, #2
	bl	_sleep
	mov	w8, #19
LBB0_62:                                ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	bl	_get_pageins
	mov	x20, x0
	cbnz	w24, LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_62 Depth=1
	bl	_sync
LBB0_64:                                ;   in Loop: Header=BB0_62 Depth=1
	mov	w0, #3
	bl	_sleep
	bl	_get_pageins
	cmp	x0, x20
	b.eq	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_62 Depth=1
	sub	w8, w23, #1
	cbnz	w23, LBB0_62
LBB0_66:
Lloh181:
	adrp	x20, _SIGKILL@GOTPAGE
Lloh182:
	ldr	x20, [x20, _SIGKILL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
	cmn	w0, #1
	b.eq	LBB0_73
; %bb.67:
	mov	w0, #2
	bl	_sleep
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
	cmn	w0, #1
	b.eq	LBB0_73
; %bb.68:
	mov	w0, #4
	bl	_sleep
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
	cmn	w0, #1
	b.eq	LBB0_73
; %bb.69:
	mov	w0, #6
	bl	_sleep
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
	cmn	w0, #1
	b.eq	LBB0_73
; %bb.70:
	mov	w0, #8
	bl	_sleep
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
	cmn	w0, #1
	b.eq	LBB0_73
; %bb.71:
	mov	w0, #10
	bl	_sleep
	ldr	w1, [x20]
	mov	w0, #-1
	bl	_kill
	cmn	w0, #1
	b.eq	LBB0_73
; %bb.72:
Lloh183:
	adrp	x8, _stderr@GOTPAGE
Lloh184:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh185:
	ldr	w0, [x8]
Lloh186:
	adrp	x1, l_.str.21@PAGE
Lloh187:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_fprintf
	b	LBB0_74
LBB0_73:
Lloh188:
	adrp	x8, _errno@GOTPAGE
Lloh189:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh190:
	ldr	w20, [x8]
	ldr	w8, [x22]
	cmp	w20, w8
	b.ne	LBB0_75
LBB0_74:
	mov	x0, x19
	bl	_reboot
Lloh191:
	adrp	x8, _errno@GOTPAGE
Lloh192:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh193:
	ldr	w20, [x8]
LBB0_75:
	ldr	w1, [x21]
	mov	w0, #1
	bl	_kill
Lloh194:
	adrp	x8, l_.str.24@PAGE
Lloh195:
	add	x8, x8, l_.str.24@PAGEOFF
Lloh196:
	adrp	x9, l_.str.23@PAGE
Lloh197:
	add	x9, x9, l_.str.23@PAGEOFF
	cmn	w0, #1
	csel	x19, x9, x8, eq
	mov	x0, x20
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh198:
	adrp	x1, l_.str.22@PAGE
Lloh199:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_76:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpAdd	Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpAdd	Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGot	Lloh159, Lloh160
	.loh AdrpLdrGot	Lloh157, Lloh158
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGot	Lloh149, Lloh150
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpAdd	Lloh170, Lloh171
	.loh AdrpAdd	Lloh172, Lloh173
	.loh AdrpLdrGot	Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpAdd	Lloh179, Lloh180
	.loh AdrpLdrGot	Lloh181, Lloh182
	.loh AdrpAdd	Lloh186, Lloh187
	.loh AdrpLdrGotLdr	Lloh183, Lloh184, Lloh185
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpLdrGotLdr	Lloh191, Lloh192, Lloh193
	.loh AdrpAdd	Lloh198, Lloh199
	.loh AdrpAdd	Lloh196, Lloh197
	.loh AdrpAdd	Lloh194, Lloh195
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"halt"

	.comm	_dohalt,4,2                     ; @dohalt
	.comm	_RB_HALT,4,2                    ; @RB_HALT
l_.str.1:                               ; @.str.1
	.asciz	"cdk:lNnpqr"

	.comm	_RB_POWERCYCLE,4,2              ; @RB_POWERCYCLE
	.comm	_RB_DUMP,4,2                    ; @RB_DUMP
	.comm	_optarg,8,3                     ; @optarg
	.comm	_RB_NOSYNC,4,2                  ; @RB_NOSYNC
	.comm	_RB_POWEROFF,4,2                ; @RB_POWEROFF
	.comm	_RB_REROOT,4,2                  ; @RB_REROOT
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"cannot dump (-d) when halting; must reboot instead"

l_.str.3:                               ; @.str.3
	.asciz	"-N cannot be used with -n"

l_.str.4:                               ; @.str.4
	.asciz	"-c and -p cannot be used together"

l_.str.5:                               ; @.str.5
	.asciz	"-r cannot be used with -c, -d, -n, or -p"

	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_errno,4,2                      ; @errno
l_.str.6:                               ; @.str.6
	.asciz	"/boot/nextboot.conf"

	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
l_.str.7:                               ; @.str.7
	.asciz	"nextboot_enable=\"YES\"\n"

l_.str.8:                               ; @.str.8
	.asciz	"kernel=\""

l_.str.9:                               ; @.str.9
	.asciz	"\"\n"

l_.str.10:                              ; @.str.10
	.asciz	"???"

	.comm	_LOG_AUTH,4,2                   ; @LOG_AUTH
	.comm	_LOG_CONS,4,2                   ; @LOG_CONS
	.comm	_LOG_CRIT,4,2                   ; @LOG_CRIT
l_.str.11:                              ; @.str.11
	.asciz	"halted by %s"

l_.str.12:                              ; @.str.12
	.asciz	"reroot"

l_.str.13:                              ; @.str.13
	.asciz	"rerooted by %s"

l_.str.14:                              ; @.str.14
	.asciz	"reboot"

l_.str.15:                              ; @.str.15
	.asciz	"powered off by %s"

l_.str.16:                              ; @.str.16
	.asciz	"power cycled by %s"

l_.str.17:                              ; @.str.17
	.asciz	"rebooted by %s"

	.comm	_SHUTDOWN_TIME,4,2              ; @SHUTDOWN_TIME
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_SIGQUIT,4,2                    ; @SIGQUIT
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIGEMT,4,2                     ; @SIGEMT
l_.str.18:                              ; @.str.18
	.asciz	"SIGEMT init"

l_.str.19:                              ; @.str.19
	.asciz	"SIGTSTP init"

	.comm	_ESRCH,4,2                      ; @ESRCH
l_.str.20:                              ; @.str.20
	.asciz	"SIGTERM processes"

	.comm	_SIGKILL,4,2                    ; @SIGKILL
	.comm	_stderr,4,2                     ; @stderr
l_.str.21:                              ; @.str.21
	.asciz	"WARNING: some process(es) wouldn't die\n"

l_.str.22:                              ; @.str.22
	.asciz	"%s%s"

l_.str.23:                              ; @.str.23
	.asciz	"(can't restart init): "

l_.str.24:                              ; @.str.24
	.space	1

.subsections_via_symbols
