	.file	"247018308.c"
	.intel_syntax noprefix
	.text
	.globl	sparse
	.bss
	.align 32
	.type	sparse, @object
	.size	sparse, 8388608
sparse:
	.zero	8388608
	.section	.rodata
	.align 8
.LC0:
	.string	"Entering the huge program - I will stress test your VM"
.LC1:
	.string	"stage [1] done"
.LC2:
	.string	"stage [2.%d] done\n"
.LC3:
	.string	"stage [2] done"
	.align 8
.LC4:
	.string	"BAD NEWS!!! - your VM mechanism has a bug!"
.LC5:
	.string	"You passed!"
	.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, 16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 14
	mov	rcx, rax
	lea	rdx, sparse[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 511
	jle	.L3
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L7:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 14
	mov	rdx, rax
	lea	rax, sparse[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 14
	mov	rdx, rax
	lea	rax, sparse[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 511
	jle	.L6
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L4:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L7
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 511
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 14
	mov	rdx, rax
	lea	rax, sparse[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	add	edx, 5
	cmp	eax, edx
	je	.L9
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	sub	DWORD PTR -8[rbp], 1
.L8:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L10
	lea	rdi, .LC5[rip]
	call	puts@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	"247018308.c"
	.text
	.comm	sparse,8388608,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Entering the huge program - I will stress test your"
	.ascii	" VM\000"
	.align	2
.LC1:
	.ascii	"stage [1] done\000"
	.align	2
.LC2:
	.ascii	"stage [2.%d] done\012\000"
	.align	2
.LC3:
	.ascii	"stage [2] done\000"
	.align	2
.LC4:
	.ascii	"BAD NEWS!!! - your VM mechanism has a bug!\000"
	.align	2
.LC5:
	.ascii	"You passed!\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r1, .L12+4
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #14]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #512
	blt	.L3
	ldr	r0, .L12+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r2, .L12+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #14]
	add	r2, r3, #1
	ldr	r1, .L12+4
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #14]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #512
	blt	.L6
	ldr	r1, [fp, #-8]
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L7
	ldr	r0, .L12+16
	bl	puts
	ldr	r3, .L12+20
	str	r3, [fp, #-12]
	b	.L8
.L10:
	ldr	r2, .L12+4
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #14]
	ldr	r3, [fp, #-12]
	add	r3, r3, #5
	cmp	r2, r3
	beq	.L9
	ldr	r0, .L12+24
	bl	puts
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L10
	ldr	r0, .L12+28
	bl	puts
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	sparse
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	511
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
