	.file	"70232.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"eatmem MB [msec/page]"
	.align 8
.LC1:
	.string	"specifying msec/page will cause eatmem to loop forever"
.LC2:
	.string	"loop0"
.LC3:
	.string	"loop"
.LC4:
	.string	"ok"
.LC5:
	.string	"done"
	.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
	cmp	DWORD PTR -36[rbp], 1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	sal	rax, 20
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
.L9:
	mov	QWORD PTR -24[rbp], 0
	jmp	.L3
.L6:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	add	edx, 1
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	imul	rax, rax, 1000
	mov	rdi, rax
	mov	eax, 0
	call	usleep@PLT
.L4:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L5:
	add	QWORD PTR -24[rbp], 4096
.L3:
	mov	rax, QWORD PTR -24[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jb	.L6
	cmp	DWORD PTR -36[rbp], 3
	jne	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L9
.L11:
	nop
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 10
	mov	eax, 0
	call	sleep@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.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	"70232.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"eatmem MB [msec/page]\000"
	.align	2
.LC1:
	.ascii	"specifying msec/page will cause eatmem to loop fore"
	.ascii	"ver\000"
	.align	2
.LC2:
	.ascii	"loop0\000"
	.align	2
.LC3:
	.ascii	"loop\000"
	.align	2
.LC4:
	.ascii	"ok\000"
	.align	2
.LC5:
	.ascii	"done\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]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L2
	ldr	r0, .L12
	bl	puts
	ldr	r0, .L12+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	lsl	r3, r3, #20
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
.L9:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r2, r0
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L12+8
	bl	puts
.L5:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4096
	str	r3, [fp, #-16]
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcc	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	bne	.L11
	ldr	r0, .L12+12
	bl	puts
	b	.L9
.L11:
	nop
	ldr	r0, .L12+16
	bl	puts
	mov	r0, #10
	bl	sleep
	ldr	r0, .L12+20
	bl	puts
	mov	r0, #0
	bl	exit
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.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
