	.file	"464002.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"N is negative \n"
.LC1:
	.string	"out of memory\n"
	.text
	.globl	checkNEW
	.type	checkNEW, @function
checkNEW:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 0
	jg	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax
	add	eax, 1
	cdqe
	sal	rax, 2
	shr	rax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, eax
	add	eax, 1
	cdqe
	sal	rax, 2
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	checkNEW, .-checkNEW
	.section	.rodata
	.align 8
.LC2:
	.string	"either row or column value is out of boound \n"
	.align 8
.LC3:
	.string	"Cannot move to a square with different parity"
.LC4:
	.string	"Array does not exist \n"
	.text
	.globl	checkSTORE
	.type	checkSTORE, @function
checkSTORE:
.LFB7:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jg	.L6
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jg	.L6
	cmp	DWORD PTR -16[rbp], 0
	js	.L6
	cmp	DWORD PTR -20[rbp], 0
	jns	.L7
.L6:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L8
.L7:
	cmp	DWORD PTR -12[rbp], 0
	jg	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	ecx, eax
	je	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L8
.L10:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, 1
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	checkSTORE, .-checkSTORE
	.globl	checkFETCH
	.type	checkFETCH, @function
checkFETCH:
.LFB8:
	.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jg	.L13
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jg	.L13
	cmp	DWORD PTR -16[rbp], 0
	js	.L13
	cmp	DWORD PTR -20[rbp], 0
	jns	.L14
.L13:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -16[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	ecx, eax
	je	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L15
.L16:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L15
.L17:
	cmp	DWORD PTR -12[rbp], 0
	jg	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	checkFETCH, .-checkFETCH
	.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	"464002.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"N is negative \012\000"
	.align	2
.LC1:
	.ascii	"out of memory\012\000"
	.text
	.align	2
	.global	checkNEW
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkNEW, %function
checkNEW:
	@ 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, [fp, #-16]
	cmp	r3, #0
	bgt	.L2
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L5+4
	bl	fwrite
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #2
	lsr	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L5+8
	bl	fwrite
	mov	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	add	r3, r3, #1
	lsl	r3, r3, #2
	lsr	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.size	checkNEW, .-checkNEW
	.section	.rodata
	.align	2
.LC2:
	.ascii	"either row or column value is out of boound \012\000"
	.align	2
.LC3:
	.ascii	"Cannot move to a square with different parity\000"
	.align	2
.LC4:
	.ascii	"Array does not exist \012\000"
	.text
	.align	2
	.global	checkSTORE
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkSTORE, %function
checkSTORE:
	@ args = 4, 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L8
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L8
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L8
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L9
.L8:
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L14+4
	bl	fwrite
	mvn	r3, #0
	b	.L10
.L9:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L11
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L14+8
	bl	fwrite
	mvn	r3, #0
	b	.L10
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r2, r3
	beq	.L12
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L14+12
	bl	fwrite
	mvn	r3, #0
	b	.L10
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L14+16
	bl	fwrite
	mvn	r3, #0
	b	.L10
.L13:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r2, r3, r2
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	str	r2, [r3]
	mov	r3, #1
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	stderr
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.size	checkSTORE, .-checkSTORE
	.align	2
	.global	checkFETCH
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkFETCH, %function
checkFETCH:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L17
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bgt	.L17
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L17
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L18
.L17:
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L23+4
	bl	fwrite
	mvn	r3, #0
	b	.L19
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r2, r3
	beq	.L20
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L23+8
	bl	fwrite
	mvn	r3, #0
	b	.L19
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L23+12
	bl	fwrite
	mvn	r3, #0
	b	.L19
.L21:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L22
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L23+16
	bl	fwrite
	mvn	r3, #0
	b	.L19
.L22:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mul	r2, r3, r2
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC0
	.size	checkFETCH, .-checkFETCH
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
