	.file	"31388732.c"
	.intel_syntax noprefix
	.text
	.globl	memq_init
	.type	memq_init, @function
memq_init:
.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	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	memq_init, .-memq_init
	.globl	memq_enqueue
	.type	memq_enqueue, @function
memq_enqueue:
.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	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	memq_enqueue, .-memq_enqueue
	.globl	memq_dequeue
	.type	memq_dequeue, @function
memq_dequeue:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L6
	mov	eax, 0
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	memq_dequeue, .-memq_dequeue
	.globl	memq_ut
	.type	memq_ut, @function
memq_ut:
.LFB3:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -64[rbp]
	lea	rcx, -72[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memq_init
	mov	QWORD PTR -56[rbp], rax
	lea	rax, -48[rbp]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L10
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -48[rbp]
	cmp	rdx, rax
	jne	.L10
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -48[rbp]
	cmp	rdx, rax
	je	.L11
.L10:
	mov	eax, 1
	jmp	.L19
.L11:
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -72[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	memq_dequeue
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L13
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -48[rbp]
	cmp	rdx, rax
	je	.L14
.L13:
	mov	eax, 2
	jmp	.L19
.L14:
	lea	rdx, -64[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	memq_enqueue
	mov	QWORD PTR -56[rbp], rax
	lea	rax, -32[rbp]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L15
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -32[rbp]
	cmp	rdx, rax
	je	.L16
.L15:
	mov	eax, 3
	jmp	.L19
.L16:
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, -72[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	memq_dequeue
	mov	QWORD PTR -56[rbp], rax
	lea	rax, -48[rbp]
	cmp	QWORD PTR -56[rbp], rax
	jne	.L17
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -32[rbp]
	cmp	rdx, rax
	jne	.L17
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -32[rbp]
	cmp	rdx, rax
	je	.L18
.L17:
	mov	eax, 4
	jmp	.L19
.L18:
	mov	eax, 0
.L19:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	memq_ut, .-memq_ut
	.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	"31388732.c"
	.text
	.align	2
	.global	memq_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	memq_init, %function
memq_init:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	memq_init, .-memq_init
	.align	2
	.global	memq_enqueue
	.syntax unified
	.arm
	.fpu softvfp
	.type	memq_enqueue, %function
memq_enqueue:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	memq_enqueue, .-memq_enqueue
	.align	2
	.global	memq_dequeue
	.syntax unified
	.arm
	.fpu softvfp
	.type	memq_dequeue, %function
memq_dequeue:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L6
	mov	r3, #0
	b	.L7
.L6:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L8:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L7:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	memq_dequeue, .-memq_dequeue
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	memq_ut
	.syntax unified
	.arm
	.fpu softvfp
	.type	memq_ut, %function
memq_ut:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #32
	sub	r1, fp, #36
	sub	r3, fp, #24
	mov	r0, r3
	bl	memq_init
	str	r0, [fp, #-28]
	sub	r3, fp, #24
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L10
	ldr	r2, [fp, #-36]
	sub	r3, fp, #24
	cmp	r2, r3
	bne	.L10
	ldr	r2, [fp, #-32]
	sub	r3, fp, #24
	cmp	r2, r3
	beq	.L11
.L10:
	mov	r3, #1
	b	.L19
.L11:
	ldr	r3, [fp, #-32]
	sub	r1, fp, #36
	mov	r2, #0
	mov	r0, r3
	bl	memq_dequeue
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L13
	ldr	r2, [fp, #-36]
	sub	r3, fp, #24
	cmp	r2, r3
	beq	.L14
.L13:
	mov	r3, #2
	b	.L19
.L14:
	sub	r2, fp, #32
	sub	r3, fp, #16
	mov	r1, r3
	mov	r0, #0
	bl	memq_enqueue
	str	r0, [fp, #-28]
	sub	r3, fp, #16
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L15
	ldr	r2, [fp, #-32]
	sub	r3, fp, #16
	cmp	r2, r3
	beq	.L16
.L15:
	mov	r3, #3
	b	.L19
.L16:
	ldr	r3, [fp, #-32]
	sub	r1, fp, #36
	mov	r2, #0
	mov	r0, r3
	bl	memq_dequeue
	str	r0, [fp, #-28]
	sub	r3, fp, #24
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L17
	ldr	r2, [fp, #-32]
	sub	r3, fp, #16
	cmp	r2, r3
	bne	.L17
	ldr	r2, [fp, #-36]
	sub	r3, fp, #16
	cmp	r2, r3
	beq	.L18
.L17:
	mov	r3, #4
	b	.L19
.L18:
	mov	r3, #0
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC0
	.size	memq_ut, .-memq_ut
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
