	.file	"312037.c"
	.intel_syntax noprefix
	.text
	.globl	front
	.bss
	.align 8
	.type	front, @object
	.size	front, 8
front:
	.zero	8
	.globl	rear
	.align 8
	.type	rear, @object
	.size	rear, 8
rear:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Queue is FUll"
	.text
	.globl	enqueue
	.type	enqueue, @function
enqueue:
.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
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L5
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR front[rip]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR rear[rip], rax
	mov	rax, QWORD PTR rear[rip]
	mov	QWORD PTR front[rip], rax
	jmp	.L5
.L4:
	mov	rax, QWORD PTR rear[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR rear[rip], rax
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	enqueue, .-enqueue
	.section	.rodata
.LC1:
	.string	"Queue is Empty"
	.text
	.globl	dequeue
	.type	dequeue, @function
dequeue:
.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, 16
	mov	DWORD PTR -12[rbp], -1
	mov	rax, QWORD PTR front[rip]
	test	rax, rax
	jne	.L7
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L8
.L7:
	mov	rax, QWORD PTR front[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR front[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR front[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR front[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L8:
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	dequeue, .-dequeue
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR front[rip]
	test	rax, rax
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	isEmpty, .-isEmpty
	.section	.rodata
.LC2:
	.string	"%d "
	.text
	.globl	BFS
	.type	BFS, @function
BFS:
.LFB9:
	.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	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 1
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	enqueue
	jmp	.L13
.L17:
	mov	eax, 0
	call	dequeue
	mov	DWORD PTR -52[rbp], eax
	mov	DWORD PTR -56[rbp], 1
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	jne	.L15
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	eax, DWORD PTR -48[rbp+rax*4]
	test	eax, eax
	jne	.L15
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	mov	DWORD PTR -48[rbp+rax*4], 1
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	enqueue
.L15:
	add	DWORD PTR -56[rbp], 1
.L14:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jl	.L16
.L13:
	mov	eax, 0
	call	isEmpty
	test	eax, eax
	je	.L17
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	BFS, .-BFS
	.section	.rodata
.LC3:
	.string	"Transversal: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	mov	DWORD PTR -200[rbp], 0
	mov	DWORD PTR -196[rbp], 0
	mov	DWORD PTR -192[rbp], 0
	mov	DWORD PTR -188[rbp], 0
	mov	DWORD PTR -184[rbp], 0
	mov	DWORD PTR -180[rbp], 0
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -172[rbp], 1
	mov	DWORD PTR -168[rbp], 1
	mov	DWORD PTR -164[rbp], 0
	mov	DWORD PTR -160[rbp], 0
	mov	DWORD PTR -156[rbp], 0
	mov	DWORD PTR -152[rbp], 0
	mov	DWORD PTR -148[rbp], 1
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -136[rbp], 1
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 1
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 1
	mov	DWORD PTR -104[rbp], 0
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -84[rbp], 1
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 1
	mov	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -52[rbp], 1
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -208[rbp]
	mov	edx, 7
	mov	esi, 4
	mov	rdi, rax
	call	BFS
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"312037.c"
	.text
	.global	front
	.bss
	.align	2
	.type	front, %object
	.size	front, 4
front:
	.space	4
	.global	rear
	.align	2
	.type	rear, %object
	.size	rear, 4
rear:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Queue is FUll\000"
	.text
	.align	2
	.global	enqueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue, %function
enqueue:
	@ 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]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L6
	bl	puts
	b	.L5
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r2, .L6+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L6+8
	ldr	r3, [r3]
	ldr	r2, .L6+4
	str	r3, [r2]
	b	.L5
.L4:
	ldr	r3, .L6+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L6+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	front
	.word	rear
	.size	enqueue, .-enqueue
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Queue is Empty\000"
	.text
	.align	2
	.global	dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue, %function
dequeue:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mvn	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L12+4
	bl	puts
	b	.L10
.L9:
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L12
	str	r3, [r2]
	ldr	r0, [fp, #-8]
	bl	free
.L10:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	front
	.word	.LC2
	.size	dequeue, .-dequeue
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	front
	.size	isEmpty, .-isEmpty
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%d \000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	BFS
	.syntax unified
	.arm
	.fpu softvfp
	.type	BFS, %function
BFS:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	ldr	r1, [fp, #-40]
	ldr	r0, .L25+4
	bl	printf
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-32]
	ldr	r0, [fp, #-40]
	bl	enqueue
	b	.L19
.L23:
	bl	dequeue
	str	r0, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L20
.L22:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	bne	.L21
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	bne	.L21
	ldr	r1, [fp, #-44]
	ldr	r0, .L25+4
	bl	printf
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-32]
	ldr	r0, [fp, #-44]
	bl	enqueue
.L21:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L20:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L22
.L19:
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC4
	.word	.LC3
	.size	BFS, .-BFS
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Transversal: \000"
	.align	2
.LC0:
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	1
	.word	0
	.word	0
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #200
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L30+4
	sub	r3, fp, #204
	mov	r1, r2
	mov	r2, #196
	mov	r0, r3
	bl	memcpy
	ldr	r0, .L30+8
	bl	printf
	sub	r3, fp, #204
	mov	r2, #7
	mov	r1, #4
	mov	r0, r3
	bl	BFS
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC6
	.word	.LC0
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
