	.file	"980023.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"sleep - sleeps for n time units, where they may be a suffix 's'for seconds, 'm' for minutes, 'h' for hours and 'd' for days"
	.align 8
.LC1:
	.string	"The default time unit is seconds."
	.text
	.globl	print_help
	.type	print_help, @function
print_help:
.LFB0:
	.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
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_help, .-print_help
	.section	.rodata
.LC2:
	.string	"sleep - Onyx coreutils 0.4"
	.text
	.globl	print_version
	.type	print_version, @function
print_version:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_version, .-print_version
	.section	.rodata
.LC3:
	.string	"%u%c"
.LC4:
	.string	"sleep - invalid time suffix"
	.text
	.globl	do_sleep
	.type	do_sleep, @function
do_sleep:
.LFB2:
	.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	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	movsx	ecx, BYTE PTR -21[rbp]
	lea	rdx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	je	.L4
	cmp	DWORD PTR -12[rbp], 0
	jne	.L5
.L4:
	mov	eax, 0
	call	print_help
	jmp	.L3
.L5:
	cmp	BYTE PTR -21[rbp], 115
	je	.L7
	cmp	DWORD PTR -12[rbp], 1
	jne	.L8
.L7:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L9
.L8:
	cmp	BYTE PTR -21[rbp], 109
	jne	.L10
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 60
	mov	DWORD PTR -16[rbp], eax
	jmp	.L9
.L10:
	cmp	BYTE PTR -21[rbp], 104
	jne	.L11
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 3600
	mov	DWORD PTR -16[rbp], eax
	jmp	.L9
.L11:
	cmp	BYTE PTR -21[rbp], 100
	jne	.L12
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax, 86400
	mov	DWORD PTR -16[rbp], eax
	jmp	.L9
.L12:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	call	print_help
	jmp	.L3
.L9:
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	sleep@PLT
.L3:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	do_sleep, .-do_sleep
	.section	.rodata
.LC5:
	.string	"Unrecognized option %c\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L16
	mov	eax, 0
	call	print_help
	mov	eax, 0
	jmp	.L17
.L16:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 118
	jne	.L19
	mov	eax, 0
	call	print_version
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 104
	jne	.L21
	mov	eax, 0
	call	print_help
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	mov	eax, 1
	jmp	.L17
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	do_sleep
	mov	eax, 0
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"980023.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sleep - sleeps for n time units, where they may be "
	.ascii	"a suffix 's'for seconds, 'm' for minutes, 'h' for h"
	.ascii	"ours and 'd' for days\000"
	.align	2
.LC1:
	.ascii	"The default time unit is seconds.\000"
	.text
	.align	2
	.global	print_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_help, %function
print_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.size	print_help, .-print_help
	.section	.rodata
	.align	2
.LC2:
	.ascii	"sleep - Onyx coreutils 0.4\000"
	.text
	.align	2
	.global	print_version
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_version, %function
print_version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	puts
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC2
	.size	print_version, .-print_version
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%u%c\000"
	.align	2
.LC4:
	.ascii	"sleep - invalid time suffix\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	do_sleep
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_sleep, %function
do_sleep:
	@ 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]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	sub	r2, fp, #20
	ldr	r1, .L19+4
	ldr	r0, [fp, #-32]
	bl	__isoc99_sscanf
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L8
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
.L8:
	bl	print_help
	b	.L7
.L9:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L11
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L12
.L11:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L13
.L12:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L14
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	str	r3, [fp, #-16]
	b	.L13
.L14:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L15
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #4
	mov	r2, r3
	str	r2, [fp, #-16]
	b	.L13
.L15:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L16
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #7
	str	r3, [fp, #-16]
	b	.L13
.L16:
	ldr	r0, .L19+8
	bl	puts
	bl	print_help
	b	.L7
.L13:
	ldr	r0, [fp, #-16]
	bl	sleep
.L7:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.size	do_sleep, .-do_sleep
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Unrecognized option %c\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L22
	bl	print_help
	mov	r3, #0
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L25
	bl	print_version
	b	.L26
.L25:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L27
	bl	print_help
	b	.L26
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L28
	bl	printf
.L26:
	mov	r3, #1
	b	.L23
.L24:
	ldr	r0, [fp, #-8]
	bl	do_sleep
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
