	.file	"865026.c"
	.intel_syntax noprefix
	.text
	.globl	f1
	.bss
	.align 8
	.type	f1, @object
	.size	f1, 8
f1:
	.zero	8
	.globl	r1
	.align 8
	.type	r1, @object
	.size	r1, 8
r1:
	.zero	8
	.globl	f2
	.align 8
	.type	f2, @object
	.size	f2, 8
f2:
	.zero	8
	.globl	r2
	.align 8
	.type	r2, @object
	.size	r2, 8
r2:
	.zero	8
	.globl	f3
	.align 8
	.type	f3, @object
	.size	f3, 8
f3:
	.zero	8
	.globl	r3
	.align 8
	.type	r3, @object
	.size	r3, 8
r3:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Queue1 is Full"
	.text
	.globl	enqueue1
	.type	enqueue1, @function
enqueue1:
.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	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:
	movsx	edx, BYTE PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR f1[rip]
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR r1[rip], rax
	mov	rax, QWORD PTR r1[rip]
	mov	QWORD PTR f1[rip], rax
	jmp	.L5
.L4:
	mov	rax, QWORD PTR r1[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR r1[rip], rax
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	enqueue1, .-enqueue1
	.section	.rodata
.LC1:
	.string	"Queue2 is Full"
	.text
	.globl	enqueue2
	.type	enqueue2, @function
enqueue2:
.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L7
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L10
.L7:
	movsx	edx, BYTE PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR f2[rip]
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR r2[rip], rax
	mov	rax, QWORD PTR r2[rip]
	mov	QWORD PTR f2[rip], rax
	jmp	.L10
.L9:
	mov	rax, QWORD PTR r2[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR r2[rip], rax
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	enqueue2, .-enqueue2
	.section	.rodata
.LC2:
	.string	"Queue3 is Full"
	.text
	.globl	enqueue3
	.type	enqueue3, @function
enqueue3:
.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	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L15
.L12:
	movsx	edx, BYTE PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR f3[rip]
	test	rax, rax
	jne	.L14
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR r3[rip], rax
	mov	rax, QWORD PTR r3[rip]
	mov	QWORD PTR f3[rip], rax
	jmp	.L15
.L14:
	mov	rax, QWORD PTR r3[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR r3[rip], rax
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	enqueue3, .-enqueue3
	.globl	Insert
	.type	Insert, @function
Insert:
.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, 16
	mov	eax, edi
	mov	DWORD PTR -8[rbp], esi
	mov	BYTE PTR -4[rbp], al
	cmp	DWORD PTR -8[rbp], 1
	jne	.L17
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	enqueue1
	jmp	.L20
.L17:
	cmp	DWORD PTR -8[rbp], 2
	jne	.L19
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	enqueue2
	jmp	.L20
.L19:
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	enqueue3
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Insert, .-Insert
	.section	.rodata
.LC3:
	.string	"%c "
	.text
	.globl	Display
	.type	Display, @function
Display:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
.L22:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L23
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Display, .-Display
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	esi, 1
	mov	edi, 65
	call	Insert
	mov	esi, 1
	mov	edi, 66
	call	Insert
	mov	esi, 2
	mov	edi, 67
	call	Insert
	mov	esi, 3
	mov	edi, 68
	call	Insert
	mov	esi, 2
	mov	edi, 69
	call	Insert
	mov	esi, 2
	mov	edi, 70
	call	Insert
	mov	esi, 1
	mov	edi, 71
	call	Insert
	mov	esi, 3
	mov	edi, 72
	call	Insert
	mov	rax, QWORD PTR f1[rip]
	mov	rdi, rax
	call	Display
	mov	rax, QWORD PTR f2[rip]
	mov	rdi, rax
	call	Display
	mov	rax, QWORD PTR f3[rip]
	mov	rdi, rax
	call	Display
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"865026.c"
	.text
	.comm	f1,4,4
	.comm	r1,4,4
	.comm	f2,4,4
	.comm	r2,4,4
	.comm	f3,4,4
	.global	r3
	.bss
	.align	2
	.type	r3, %object
	.size	r3, 4
r3:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Queue1 is Full\000"
	.text
	.align	2
	.global	enqueue1
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue1, %function
enqueue1:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	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:
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	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	.LC0
	.word	f1
	.word	r1
	.size	enqueue1, .-enqueue1
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Queue2 is Full\000"
	.text
	.align	2
	.global	enqueue2
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue2, %function
enqueue2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L13
	bl	puts
	b	.L12
.L9:
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r2, .L13+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, .L13+4
	str	r3, [r2]
	b	.L12
.L11:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L13+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	f2
	.word	r2
	.size	enqueue2, .-enqueue2
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Queue3 is Full\000"
	.text
	.align	2
	.global	enqueue3
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue3, %function
enqueue3:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L20
	bl	puts
	b	.L19
.L16:
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L18
	ldr	r2, .L20+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L20+8
	ldr	r3, [r3]
	ldr	r2, .L20+4
	str	r3, [r2]
	b	.L19
.L18:
	ldr	r3, .L20+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r2, .L20+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L19:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC2
	.word	f3
	.word	r3
	.size	enqueue3, .-enqueue3
	.align	2
	.global	Insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	Insert, %function
Insert:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L23
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	enqueue1
	b	.L26
.L23:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L25
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	enqueue2
	b	.L26
.L25:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	enqueue3
.L26:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Insert, .-Insert
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%c \000"
	.text
	.align	2
	.global	Display
	.syntax unified
	.arm
	.fpu softvfp
	.type	Display, %function
Display:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	b	.L28
.L29:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.size	Display, .-Display
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r1, #1
	mov	r0, #65
	bl	Insert
	mov	r1, #1
	mov	r0, #66
	bl	Insert
	mov	r1, #2
	mov	r0, #67
	bl	Insert
	mov	r1, #3
	mov	r0, #68
	bl	Insert
	mov	r1, #2
	mov	r0, #69
	bl	Insert
	mov	r1, #2
	mov	r0, #70
	bl	Insert
	mov	r1, #1
	mov	r0, #71
	bl	Insert
	mov	r1, #3
	mov	r0, #72
	bl	Insert
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r0, r3
	bl	Display
	ldr	r3, .L34+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	Display
	ldr	r3, .L34+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	Display
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	f1
	.word	f2
	.word	f3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
