	.file	"819751.c"
	.intel_syntax noprefix
	.text
	.globl	tab
	.bss
	.align 32
	.type	tab, @object
	.size	tab, 10000
tab:
	.zero	10000
	.globl	vec
	.align 32
	.type	vec, @object
	.size	vec, 200
vec:
	.zero	200
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	nSlots
	.align 4
	.type	nSlots, @object
	.size	nSlots, 4
nSlots:
	.zero	4
	.text
	.globl	procrastination
	.type	procrastination, @function
procrastination:
.LFB0:
	.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	eax, DWORD PTR nSlots[rip]
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L4
	mov	eax, 1
	jmp	.L3
.L4:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L5
.L12:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vec[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	jne	.L7
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, tab[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	je	.L13
.L7:
	add	DWORD PTR -8[rbp], 1
.L6:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L9
	jmp	.L8
.L13:
	nop
.L8:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -8[rbp], eax
	jne	.L10
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, vec[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR nSlots[rip]
	add	eax, 1
	mov	DWORD PTR nSlots[rip], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	edi, eax
	call	procrastination
	cmp	eax, 1
	jne	.L11
	mov	eax, 1
	jmp	.L3
.L11:
	mov	eax, DWORD PTR nSlots[rip]
	sub	eax, 1
	mov	DWORD PTR nSlots[rip], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vec[rip]
	mov	DWORD PTR [rdx+rax], 0
.L10:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	eax, DWORD PTR k[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L12
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	procrastination, .-procrastination
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"YES!"
.LC2:
	.string	"NO!"
.LC3:
	.string	"%d %d %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L15
.L19:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L16
.L17:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, tab[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, tab[rip]
	mov	DWORD PTR [rdx+rax], 1
	add	DWORD PTR -12[rbp], 1
.L16:
	mov	eax, DWORD PTR m[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L17
	mov	eax, DWORD PTR k[rip]
	mov	DWORD PTR nSlots[rip], eax
	mov	edi, -1
	call	procrastination
	cmp	eax, 1
	jne	.L18
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L15
.L18:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L15:
	lea	rcx, k[rip]
	lea	rdx, m[rip]
	lea	rsi, n[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L19
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"819751.c"
	.text
	.comm	tab,10000,4
	.comm	vec,200,4
	.comm	n,4,4
	.comm	m,4,4
	.comm	k,4,4
	.comm	nSlots,4,4
	.align	2
	.global	procrastination
	.syntax unified
	.arm
	.fpu softvfp
	.type	procrastination, %function
procrastination:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L2
	mov	r3, #0
	b	.L3
.L2:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L4
	mov	r3, #1
	b	.L3
.L4:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L5
.L12:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L9:
	ldr	r2, .L14+8
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L7
	ldr	r1, .L14+12
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #1
	beq	.L13
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L9
	b	.L8
.L13:
	nop
.L8:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L10
	ldr	r1, .L14+8
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r0, r3
	bl	procrastination
	mov	r3, r0
	cmp	r3, #1
	bne	.L11
	mov	r3, #1
	b	.L3
.L11:
	ldr	r3, .L14
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L14
	str	r3, [r2]
	ldr	r2, .L14+8
	ldr	r3, [fp, #-16]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L10:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L12
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	nSlots
	.word	n
	.word	vec
	.word	tab
	.word	k
	.size	procrastination, .-procrastination
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\000"
	.align	2
.LC1:
	.ascii	"YES!\000"
	.align	2
.LC2:
	.ascii	"NO!\000"
	.align	2
.LC3:
	.ascii	"%d %d %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L17
.L21:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L18
.L19:
	sub	r2, fp, #16
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L24+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r0, .L24+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	mov	r2, #1
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	sub	r1, r3, #1
	ldr	r0, .L24+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r1
	mov	r2, #1
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L18:
	ldr	r3, .L24+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L19
	ldr	r3, .L24+16
	ldr	r3, [r3]
	ldr	r2, .L24+20
	str	r3, [r2]
	mvn	r0, #0
	bl	procrastination
	mov	r3, r0
	cmp	r3, #1
	bne	.L20
	ldr	r0, .L24+24
	bl	puts
	b	.L17
.L20:
	ldr	r0, .L24+28
	bl	puts
.L17:
	ldr	r3, .L24+16
	ldr	r2, .L24+12
	ldr	r1, .L24+32
	ldr	r0, .L24+36
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L21
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC4
	.word	.LC0
	.word	tab
	.word	m
	.word	k
	.word	nSlots
	.word	.LC1
	.word	.LC2
	.word	n
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
