	.file	"896008.c"
	.intel_syntax noprefix
	.text
	.globl	equal
	.type	equal, @function
equal:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jne	.L2
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	equal, .-equal
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter count rows and columns of array: "
.LC1:
	.string	"%i %i"
.LC2:
	.string	"Enter array: "
.LC3:
	.string	"%i"
.LC4:
	.string	"%i %i\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -116[rbp]
	lea	rax, -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	edx, DWORD PTR -112[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rbx, [rcx+rdx]
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -112[rbp], 1
.L6:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L7
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L8
.L11:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -104[rbp], 1
.L9:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -104[rbp], eax
	jl	.L10
	add	DWORD PTR -108[rbp], 1
.L8:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L11
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L12
.L16:
	mov	DWORD PTR -96[rbp], 1000000000
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -96[rbp], eax
	jle	.L14
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -92[rbp], eax
.L14:
	add	DWORD PTR -88[rbp], 1
.L13:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -88[rbp], eax
	jl	.L15
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -100[rbp], 1
.L12:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L16
	mov	DWORD PTR -84[rbp], 0
	jmp	.L17
.L21:
	mov	DWORD PTR -80[rbp], -1000000000
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -80[rbp], eax
	jge	.L19
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -76[rbp], eax
.L19:
	add	DWORD PTR -72[rbp], 1
.L18:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -72[rbp], eax
	jl	.L20
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -84[rbp], 1
.L17:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -84[rbp], eax
	jl	.L21
	mov	DWORD PTR -68[rbp], 0
	jmp	.L22
.L26:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	rdi, QWORD PTR [rax]
	call	equal
	test	al, al
	je	.L24
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L24:
	add	DWORD PTR -64[rbp], 1
.L23:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L25
	add	DWORD PTR -68[rbp], 1
.L22:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -68[rbp], eax
	jl	.L26
	mov	DWORD PTR -60[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -60[rbp], 1
.L27:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L28
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"896008.c"
	.text
	.align	2
	.global	equal
	.syntax unified
	.arm
	.fpu softvfp
	.type	equal, %function
equal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	sub	ip, fp, #12
	stm	ip, {r0, r1}
	sub	r1, fp, #20
	stm	r1, {r2, r3}
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L2
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
.L3:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	equal, .-equal
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter count rows and columns of array: \000"
	.align	2
.LC1:
	.ascii	"%i %i\000"
	.align	2
.LC2:
	.ascii	"Enter array: \000"
	.align	2
.LC3:
	.ascii	"%i\000"
	.align	2
.LC4:
	.ascii	"%i %i\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-96]
	ldr	r0, .L31+4
	bl	printf
	sub	r2, fp, #96
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, .L31+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-100]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L6
.L7:
	ldr	r3, [fp, #-96]
	mov	r0, r3
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r4, r2, r3
	mov	r1, #4
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L6:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L7
	ldr	r0, .L31+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L8
.L11:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L9
.L10:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L31+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L9:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L8:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L12
.L16:
	ldr	r3, .L31+20
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L13
.L15:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	ble	.L14
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-72]
.L14:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L13:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #24
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L12:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	blt	.L16
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L17
.L21:
	ldr	r3, .L31+24
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L18
.L20:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	bge	.L19
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-56]
.L19:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L18:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #24
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L17:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L22
.L26:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L23
.L25:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r1, r2, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldm	r3, {r2, r3}
	ldm	r1, {r0, r1}
	bl	equal
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L31+28
	bl	printf
.L24:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L23:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L22:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	blt	.L26
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L27
.L28:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L27:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L28
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r0, [fp, #-32]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1000000000
	.word	-1000000000
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
