	.file	"37636527.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s <id> <loop count> [max loops]\n"
	.align 8
.LC1:
	.string	"%s: loop count must be between %d and %d (passed %d)\n"
.LC2:
	.string	"%s:%06d\n"
	.align 8
.LC3:
	.string	"The final value of v is 0x%08x\n"
	.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	cmp	DWORD PTR -36[rbp], 2
	jle	.L2
	cmp	DWORD PTR -36[rbp], 5
	jle	.L3
.L2:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	call	getpid@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 99
	jle	.L4
	cmp	DWORD PTR -12[rbp], 100000000
	jle	.L5
.L4:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r8, rdx
	mov	ecx, 100000000
	mov	edx, 100
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, -1
	call	exit@PLT
.L5:
	cmp	DWORD PTR -36[rbp], 3
	jle	.L6
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -16[rbp], eax
	jmp	.L7
.L6:
	mov	DWORD PTR -16[rbp], 0
.L7:
	cmp	DWORD PTR -36[rbp], 4
	jle	.L12
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, eax
	mov	esi, 0
	mov	edi, 0
	call	setpriority@PLT
.L12:
	mov	eax, DWORD PTR -28[rbp]
	sal	eax, 4
	sub	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jne	.L12
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	je	.L15
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
	mov	DWORD PTR -24[rbp], 0
	jmp	.L12
.L15:
	nop
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"37636527.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s <id> <loop count> [max loops]\012\000"
	.align	2
.LC1:
	.ascii	"%s: loop count must be between %d and %d (passed %d"
	.ascii	")\012\000"
	.align	2
.LC2:
	.ascii	"%s:%06d\012\000"
	.align	2
.LC3:
	.ascii	"The final value of v is 0x%08x\012\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, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	ble	.L2
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	ble	.L3
.L2:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L16
	bl	printf
	mvn	r0, #0
	bl	exit
.L3:
	bl	getpid
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L4
	ldr	r3, [fp, #-8]
	ldr	r2, .L16+4
	cmp	r3, r2
	ble	.L5
.L4:
	ldr	r3, [fp, #-36]
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, .L16+4
	mov	r2, #100
	ldr	r0, .L16+8
	bl	printf
	mvn	r0, #0
	bl	exit
.L5:
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	ble	.L6
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-16]
	b	.L7
.L6:
	mov	r3, #0
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	ble	.L12
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	setpriority
.L12:
	ldr	r3, [fp, #-28]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bne	.L12
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L15
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L12
.L15:
	nop
	ldr	r1, [fp, #-28]
	ldr	r0, .L16+16
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	100000000
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
