	.file	"587989.c"
	.intel_syntax noprefix
	.text
	.globl	this
	.bss
	.align 8
	.type	this, @object
	.size	this, 8
this:
	.zero	8
	.globl	spin
	.data
	.type	spin, @object
	.size	spin, 4
spin:
	.ascii	"|/-\\"
	.section	.rodata
.LC0:
	.string	"-h"
.LC1:
	.string	"--help"
	.align 8
.LC2:
	.string	"usage: %s [-h|--help] [-u|--udelay [usleep_delay]] [sleep_delay]\n"
.LC3:
	.string	"-u"
.LC4:
	.string	"--udelay"
.LC5:
	.string	"%c\b"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR this[rip], rax
	cmp	DWORD PTR -20[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L3
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
.L3:
	mov	rax, QWORD PTR this[rip]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
.L5:
	mov	DWORD PTR -8[rbp], 1
	mov	DWORD PTR -4[rbp], 200000
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L11
	mov	DWORD PTR -4[rbp], 200000
	jmp	.L11
.L6:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L2
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L11:
	nop
.L2:
	mov	DWORD PTR -12[rbp], 0
.L10:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, spin[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -8[rbp], 0
	je	.L8
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	usleep@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	sleep@PLT
.L9:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	jmp	.L10
	.cfi_endproc
.LFE6:
	.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	"587989.c"
	.text
	.comm	this,4,4
	.global	spin
	.data
	.align	2
	.type	spin, %object
	.size	spin, 4
spin:
	.ascii	"|/-\\"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-h\000"
	.align	2
.LC1:
	.ascii	"--help\000"
	.align	2
.LC2:
	.ascii	"usage: %s [-h|--help] [-u|--udelay [usleep_delay]] "
	.ascii	"[sleep_delay]\012\000"
	.align	2
.LC3:
	.ascii	"-u\000"
	.align	2
.LC4:
	.ascii	"--udelay\000"
	.align	2
.LC5:
	.ascii	"%c\010\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, .L12
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L12+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L12+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L3:
	ldr	r3, .L12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L12+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L12+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
.L5:
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L12+24
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L11
	ldr	r3, .L12+24
	str	r3, [fp, #-8]
	b	.L11
.L6:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L2
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L11:
	nop
.L2:
	mov	r3, #0
	str	r3, [fp, #-16]
.L10:
	ldr	r2, .L12+28
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	usleep
	b	.L9
.L8:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	bl	sleep
.L9:
	ldr	r3, .L12+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-16]
	b	.L10
.L13:
	.align	2
.L12:
	.word	this
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	200000
	.word	spin
	.word	.LC5
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
