	.file	"556705.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: shutdown [-rhpcCS] [-t sec]"
.LC1:
	.string	"usage: reboot"
.LC2:
	.string	"usage: halt"
.LC3:
	.string	"usage: poweroff"
.LC4:
	.string	"  -c: c-a-d INTs init"
.LC5:
	.string	"  -C: c-a-d quickly reboots"
.LC6:
	.string	"  -S: do not call sync()"
	.align 8
.LC7:
	.string	"  -t sec: delay shutdown by sec"
	.text
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC8:
	.string	"reboot"
.LC9:
	.string	"halt"
.LC10:
	.string	"poweroff"
.LC11:
	.string	"rhpcCSt:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	__xpg_basename@PLT
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	mov	esi, 14
	mov	edi, 1
	call	kill@PLT
	mov	eax, 0
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	__xpg_basename@PLT
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	esi, 6
	mov	edi, 1
	call	kill@PLT
	mov	eax, 0
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	__xpg_basename@PLT
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	esi, 3
	mov	edi, 1
	call	kill@PLT
	mov	eax, 0
	jmp	.L5
.L18:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 67
	cmp	eax, 49
	ja	.L9
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L11[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L11[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L17-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L16-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L15-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L14-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L9-.L11
	.long	.L13-.L11
	.long	.L9-.L11
	.long	.L12-.L11
	.long	.L9-.L11
	.long	.L10-.L11
	.text
.L12:
	mov	DWORD PTR -24[rbp], 1
	jmp	.L8
.L14:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L8
.L13:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L8
.L15:
	mov	DWORD PTR -24[rbp], 2
	jmp	.L8
.L17:
	mov	DWORD PTR -24[rbp], 3
	jmp	.L8
.L16:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L8
.L10:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -8[rbp], eax
	jmp	.L8
.L9:
	call	usage
	jmp	.L5
.L8:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC11[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L18
	cmp	DWORD PTR -8[rbp], 0
	je	.L19
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	call	sleep@PLT
.L19:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L20
	call	sync@PLT
.L20:
	cmp	DWORD PTR -24[rbp], 0
	je	.L21
	cmp	DWORD PTR -24[rbp], 2
	jne	.L22
	mov	edi, 0
	call	reboot@PLT
	jmp	.L23
.L22:
	cmp	DWORD PTR -24[rbp], 3
	jne	.L24
	mov	edi, -1985229329
	call	reboot@PLT
	jmp	.L23
.L24:
	mov	edi, 19088743
	call	reboot@PLT
	jmp	.L23
.L21:
	cmp	DWORD PTR -20[rbp], 0
	je	.L25
	mov	edi, -839974621
	call	reboot@PLT
	jmp	.L23
.L25:
	cmp	DWORD PTR -16[rbp], 0
	je	.L26
	mov	edi, 1126301404
	call	reboot@PLT
	jmp	.L23
.L26:
	call	usage
	jmp	.L5
.L23:
	mov	eax, 0
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"556705.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: shutdown [-rhpcCS] [-t sec]\000"
	.align	2
.LC1:
	.ascii	"usage: reboot\000"
	.align	2
.LC2:
	.ascii	"usage: halt\000"
	.align	2
.LC3:
	.ascii	"usage: poweroff\000"
	.align	2
.LC4:
	.ascii	"  -c: c-a-d INTs init\000"
	.align	2
.LC5:
	.ascii	"  -C: c-a-d quickly reboots\000"
	.align	2
.LC6:
	.ascii	"  -S: do not call sync()\000"
	.align	2
.LC7:
	.ascii	"  -t sec: delay shutdown by sec\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L3
	bl	puts
	ldr	r0, .L3+4
	bl	puts
	ldr	r0, .L3+8
	bl	puts
	ldr	r0, .L3+12
	bl	puts
	ldr	r0, .L3+16
	bl	puts
	ldr	r0, .L3+20
	bl	puts
	ldr	r0, .L3+24
	bl	puts
	ldr	r0, .L3+28
	bl	puts
	mov	r3, #1
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC8:
	.ascii	"reboot\000"
	.align	2
.LC9:
	.ascii	"halt\000"
	.align	2
.LC10:
	.ascii	"poweroff\000"
	.align	2
.LC11:
	.ascii	"rhpcCSt:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__xpg_basename
	mov	r3, r0
	ldr	r1, .L29
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	mov	r1, #14
	mov	r0, #1
	bl	kill
	mov	r3, #0
	b	.L7
.L6:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__xpg_basename
	mov	r3, r0
	ldr	r1, .L29+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	mov	r1, #6
	mov	r0, #1
	bl	kill
	mov	r3, #0
	b	.L7
.L8:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__xpg_basename
	mov	r3, r0
	ldr	r1, .L29+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r1, #3
	mov	r0, #1
	bl	kill
	mov	r3, #0
	b	.L7
.L20:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #67
	cmp	r3, #49
	ldrls	pc, [pc, r3, asl #2]
	b	.L11
.L13:
	.word	.L19
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L18
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L17
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L16
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L15
	.word	.L11
	.word	.L14
	.word	.L11
	.word	.L12
.L14:
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L10
.L16:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L10
.L15:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L10
.L17:
	mov	r3, #2
	str	r3, [fp, #-28]
	b	.L10
.L19:
	mov	r3, #3
	str	r3, [fp, #-28]
	b	.L10
.L18:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L10
.L12:
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-12]
	b	.L10
.L11:
	bl	usage
	mov	r3, r0
	b	.L7
.L10:
	ldr	r2, .L29+16
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L20
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	sleep
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L22
	bl	sync
.L22:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L24
	mov	r0, #0
	bl	reboot
	b	.L25
.L24:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	bne	.L26
	ldr	r0, .L29+20
	bl	reboot
	b	.L25
.L26:
	ldr	r0, .L29+24
	bl	reboot
	b	.L25
.L23:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L27
	ldr	r0, .L29+28
	bl	reboot
	b	.L25
.L27:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L29+32
	bl	reboot
	b	.L25
.L28:
	bl	usage
	mov	r3, r0
	b	.L7
.L25:
	mov	r3, #0
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	optarg
	.word	.LC11
	.word	-1985229329
	.word	19088743
	.word	-839974621
	.word	1126301404
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
