	.file	"212642087.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: injector [MEMSIZE GB] [ERROR IN EVERY N PAGES]"
.LC1:
	.string	"w"
.LC2:
	.string	"faults.txt"
.LC3:
	.string	"%lx\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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	cmp	DWORD PTR -68[rbp], 3
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L2:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	sal	eax, 18
	cdqe
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -40[rbp], rax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -56[rbp], 0
	jmp	.L3
.L6:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	div	QWORD PTR -40[rbp]
	mov	rax, rdx
	test	rax, rax
	jne	.L8
	mov	rax, QWORD PTR -56[rbp]
	sal	rax, 12
	mov	QWORD PTR -24[rbp], rax
	call	rand@PLT
	cdq
	shr	edx, 20
	add	eax, edx
	and	eax, 4095
	sub	eax, edx
	cdqe
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 337
	mov	eax, 0
	call	syscall@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L8:
	nop
.L5:
	add	QWORD PTR -56[rbp], 1
.L3:
	mov	rax, QWORD PTR -56[rbp]
	cmp	rax, QWORD PTR -48[rbp]
	jb	.L6
	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	"212642087.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: injector [MEMSIZE GB] [ERROR IN EVERY N PAGE"
	.ascii	"S]\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	"faults.txt\000"
	.global	__aeabi_uidivmod
	.align	2
.LC3:
	.ascii	"%lx\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	beq	.L2
	ldr	r0, .L9
	bl	puts
.L2:
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #18
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	str	r3, [fp, #-44]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	fopen
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L3
.L6:
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-44]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	lsl	r3, r3, #20
	lsr	r3, r3, #20
	lsl	r2, r2, #20
	lsr	r2, r2, #20
	rsbpl	r3, r2, #0
	mov	r2, r3
	asr	r3, r2, #31
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	str	r4, [fp, #-20]
	str	r5, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L9+12
	bl	syscall
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+16
	ldr	r0, [fp, #-40]
	bl	fprintf
	b	.L5
.L8:
	nop
.L5:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L3:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L6
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	337
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
