	.file	"495857.c"
	.intel_syntax noprefix
	.text
	.globl	insertEnd
	.type	insertEnd, @function
insertEnd:
.LFB0:
	.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	DWORD PTR -20[rbp], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	insertEnd, .-insertEnd
	.globl	insertFront
	.type	insertFront, @function
insertFront:
.LFB1:
	.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	DWORD PTR -20[rbp], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	insertFront, .-insertFront
	.globl	isEmpty
	.type	isEmpty, @function
isEmpty:
.LFB2:
	.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	DWORD PTR -12[rbp], esi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	isEmpty, .-isEmpty
	.globl	isFull
	.type	isFull, @function
isFull:
.LFB3:
	.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	DWORD PTR -12[rbp], esi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	isFull, .-isFull
	.section	.rodata
.LC0:
	.string	"%3d "
	.text
	.globl	printList
	.type	printList, @function
printList:
.LFB4:
	.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L7
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	printList, .-printList
	.section	.rodata
.LC1:
	.string	"1 empty"
.LC2:
	.string	"1 notempty"
.LC3:
	.string	"1 full"
.LC4:
	.string	"1 notfull"
.LC5:
	.string	"2 empty"
.LC6:
	.string	"2 notempty"
.LC7:
	.string	"2 full"
.LC8:
	.string	"2 notfull"
.LC9:
	.string	"3 empty"
.LC10:
	.string	"3 notempty"
.LC11:
	.string	"3 full"
.LC12:
	.string	"3 notfull"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -208[rbp]
	mov	eax, 0
	mov	ecx, 25
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -220[rbp], 0
	mov	edi, 3
	mov	eax, 0
	call	srand@PLT
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isEmpty
	test	eax, eax
	je	.L9
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L10:
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isFull
	test	eax, eax
	je	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L12
.L11:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L12:
	mov	eax, 0
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -212[rbp], edx
	mov	edx, DWORD PTR -212[rbp]
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -212[rbp], eax
	mov	edx, DWORD PTR -212[rbp]
	lea	rcx, -220[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insertEnd
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printList
	mov	eax, 0
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -212[rbp], edx
	mov	edx, DWORD PTR -212[rbp]
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -212[rbp], eax
	mov	edx, DWORD PTR -212[rbp]
	lea	rcx, -220[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insertEnd
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printList
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isEmpty
	test	eax, eax
	je	.L13
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L14
.L13:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L14:
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isFull
	test	eax, eax
	je	.L15
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L16
.L15:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L16:
	mov	DWORD PTR -216[rbp], 0
	jmp	.L17
.L18:
	mov	eax, 0
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -212[rbp], edx
	mov	edx, DWORD PTR -212[rbp]
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -212[rbp], eax
	mov	edx, DWORD PTR -212[rbp]
	lea	rcx, -220[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insertEnd
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printList
	add	DWORD PTR -216[rbp], 1
.L17:
	cmp	DWORD PTR -216[rbp], 4
	jle	.L18
	mov	DWORD PTR -216[rbp], 0
	jmp	.L19
.L20:
	mov	eax, 0
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -212[rbp], edx
	mov	edx, DWORD PTR -212[rbp]
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -212[rbp], eax
	mov	edx, DWORD PTR -212[rbp]
	lea	rcx, -220[rbp]
	lea	rax, -208[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	insertFront
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printList
	add	DWORD PTR -216[rbp], 1
.L19:
	cmp	DWORD PTR -216[rbp], 4
	jle	.L20
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isEmpty
	test	eax, eax
	je	.L21
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L22
.L21:
	lea	rdi, .LC10[rip]
	call	puts@PLT
.L22:
	mov	edx, DWORD PTR -220[rbp]
	lea	rax, -208[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isFull
	test	eax, eax
	je	.L23
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L24
.L23:
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L24:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"495857.c"
	.text
	.align	2
	.global	insertEnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertEnd, %function
insertEnd:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	insertEnd, .-insertEnd
	.align	2
	.global	insertFront
	.syntax unified
	.arm
	.fpu softvfp
	.type	insertFront, %function
insertFront:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	insertFront, .-insertFront
	.align	2
	.global	isEmpty
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEmpty, %function
isEmpty:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isEmpty, .-isEmpty
	.align	2
	.global	isFull
	.syntax unified
	.arm
	.fpu softvfp
	.type	isFull, %function
isFull:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isFull, .-isFull
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%3d \000"
	.text
	.align	2
	.global	printList
	.syntax unified
	.arm
	.fpu softvfp
	.type	printList, %function
printList:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L7
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	printList, .-printList
	.section	.rodata
	.align	2
.LC1:
	.ascii	"1 empty\000"
	.align	2
.LC2:
	.ascii	"1 notempty\000"
	.align	2
.LC3:
	.ascii	"1 full\000"
	.align	2
.LC4:
	.ascii	"1 notfull\000"
	.align	2
.LC5:
	.ascii	"2 empty\000"
	.align	2
.LC6:
	.ascii	"2 notempty\000"
	.align	2
.LC7:
	.ascii	"2 full\000"
	.align	2
.LC8:
	.ascii	"2 notfull\000"
	.align	2
.LC9:
	.ascii	"3 empty\000"
	.align	2
.LC10:
	.ascii	"3 notempty\000"
	.align	2
.LC11:
	.ascii	"3 full\000"
	.align	2
.LC12:
	.ascii	"3 notfull\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #208
	mov	r2, #200
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r0, #3
	bl	srand
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L29+4
	bl	puts
	b	.L12
.L11:
	ldr	r0, .L29+8
	bl	puts
.L12:
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	isFull
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L29+12
	bl	puts
	b	.L14
.L13:
	ldr	r0, .L29+16
	bl	puts
.L14:
	bl	rand
	mov	r2, r0
	ldr	r3, .L29+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-212]
	sub	r1, fp, #220
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	mov	r0, r3
	bl	insertEnd
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	printList
	bl	rand
	mov	r2, r0
	ldr	r3, .L29+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-212]
	sub	r1, fp, #220
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	mov	r0, r3
	bl	insertEnd
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	printList
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L29+24
	bl	puts
	b	.L16
.L15:
	ldr	r0, .L29+28
	bl	puts
.L16:
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	isFull
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L29+32
	bl	puts
	b	.L18
.L17:
	ldr	r0, .L29+36
	bl	puts
.L18:
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L19
.L20:
	bl	rand
	mov	r2, r0
	ldr	r3, .L29+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-212]
	sub	r1, fp, #220
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	mov	r0, r3
	bl	insertEnd
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	printList
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L19:
	ldr	r3, [fp, #-216]
	cmp	r3, #4
	ble	.L20
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L21
.L22:
	bl	rand
	mov	r2, r0
	ldr	r3, .L29+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-212]
	sub	r1, fp, #220
	sub	r3, fp, #208
	ldr	r2, [fp, #-212]
	mov	r0, r3
	bl	insertFront
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	printList
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L21:
	ldr	r3, [fp, #-216]
	cmp	r3, #4
	ble	.L22
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	isEmpty
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r0, .L29+40
	bl	puts
	b	.L24
.L23:
	ldr	r0, .L29+44
	bl	puts
.L24:
	ldr	r2, [fp, #-220]
	sub	r3, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	isFull
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r0, .L29+48
	bl	puts
	b	.L26
.L25:
	ldr	r0, .L29+52
	bl	puts
.L26:
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC13
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	1374389535
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
