	.file	"227522.c"
	.intel_syntax noprefix
	.text
	.local	N
	.comm	N,8,8
	.local	P
	.comm	P,8,8
	.local	C
	.comm	C,8,8
	.local	X
	.comm	X,8,8
	.local	Ptime
	.comm	Ptime,16,16
	.local	Ctime
	.comm	Ctime,16,16
	.local	expected_produced_amount_total
	.comm	expected_produced_amount_total,8,8
	.local	consume_amount_per_thread
	.comm	consume_amount_per_thread,8,8
	.local	sneaky_mutex
	.comm	sneaky_mutex,40,32
	.local	is_overconsume
	.comm	is_overconsume,4,4
	.local	over_consume_amount
	.comm	over_consume_amount,8,8
	.local	queue
	.comm	queue,192,32
	.section	.rodata
	.align 8
.LC0:
	.string	"Failed to create a producer thread..."
	.align 8
.LC1:
	.string	"Failed to create a consumer thread..."
	.align 8
.LC2:
	.string	"Failed to join a producer thread..."
.LC3:
	.string	"Producer Thread #%d joined.\n"
	.align 8
.LC4:
	.string	"Failed to join a consumer thread..."
.LC5:
	.string	"Consumer Thread #%d joined.\n"
.LC6:
	.string	"Match!"
.LC7:
	.string	"Do Not Match!"
	.align 8
.LC8:
	.string	"\nConsume and Produce Arrays %s\n\n"
.LC9:
	.string	"Total runtime: %6.1f seconds\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	cmp	DWORD PTR -84[rbp], 7
	je	.L2
	mov	eax, 0
	call	print_ux_message_wrong_number_of_arguments
	jmp	.L3
.L2:
	mov	eax, 0
	call	print_current_time
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR Ptime[rip], 0
	mov	QWORD PTR Ptime[rip+8], 0
	mov	QWORD PTR Ctime[rip], 0
	mov	QWORD PTR Ctime[rip+8], 0
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR N[rip], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR P[rip], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR C[rip], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR X[rip], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR Ptime[rip], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR Ctime[rip], rax
	mov	rdx, QWORD PTR P[rip]
	mov	rax, QWORD PTR X[rip]
	imul	rax, rdx
	mov	QWORD PTR expected_produced_amount_total[rip], rax
	mov	rdx, QWORD PTR P[rip]
	mov	rax, QWORD PTR X[rip]
	imul	rax, rdx
	mov	rcx, QWORD PTR C[rip]
	mov	edx, 0
	div	rcx
	mov	QWORD PTR consume_amount_per_thread[rip], rax
	mov	rdx, QWORD PTR P[rip]
	mov	rax, QWORD PTR X[rip]
	imul	rax, rdx
	mov	rcx, QWORD PTR C[rip]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	DWORD PTR is_overconsume[rip], eax
	mov	rdx, QWORD PTR P[rip]
	mov	rax, QWORD PTR X[rip]
	imul	rax, rdx
	mov	rcx, QWORD PTR C[rip]
	mov	edx, 0
	div	rcx
	mov	rax, rdx
	mov	QWORD PTR over_consume_amount[rip], rax
	mov	eax, 0
	call	print_ux_message_success
	mov	rax, QWORD PTR N[rip]
	mov	rsi, rax
	lea	rdi, queue[rip]
	call	init
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR P[rip]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR C[rip]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	esi, 0
	lea	rdi, sneaky_mutex[rip]
	call	pthread_mutex_init@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L4
.L5:
	add	QWORD PTR -48[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -72[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, produce[rip]
	mov	esi, 0
	call	pthread_create@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	check_for_errors_and_terminate
	add	DWORD PTR -72[rbp], 1
.L4:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR P[rip]
	cmp	rdx, rax
	jb	.L5
	mov	DWORD PTR -68[rbp], 0
	jmp	.L6
.L7:
	add	QWORD PTR -40[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -16[rbp]
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, consume[rip]
	mov	esi, 0
	call	pthread_create@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	check_for_errors_and_terminate
	add	DWORD PTR -68[rbp], 1
.L6:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR C[rip]
	cmp	rdx, rax
	jb	.L7
	mov	DWORD PTR -64[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	lea	rsi, .LC2[rip]
	mov	edi, eax
	call	check_for_errors_and_terminate
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -64[rbp], 1
.L8:
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR P[rip]
	cmp	rdx, rax
	jb	.L9
	mov	DWORD PTR -60[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	check_for_errors_and_terminate
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -60[rbp], 1
.L10:
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR C[rip]
	cmp	rdx, rax
	jb	.L11
	mov	eax, 0
	call	print_current_time
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR expected_produced_amount_total[rip]
	mov	rcx, QWORD PTR queue[rip+40]
	mov	rax, QWORD PTR queue[rip+32]
	mov	rsi, rcx
	mov	rdi, rax
	call	compare_two_arrays_verbose_mode
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jne	.L12
	lea	rax, .LC6[rip]
	jmp	.L13
.L12:
	lea	rax, .LC7[rip]
.L13:
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -8[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -32[rbp]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
.L3:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC10:
	.string	"%zu\n"
	.text
	.globl	print_queue_recursively
	.type	print_queue_recursively, @function
print_queue_recursively:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	je	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	print_queue_recursively
	jmp	.L15
.L18:
	nop
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_queue_recursively, .-print_queue_recursively
	.globl	check_for_errors_and_terminate
	.type	check_for_errors_and_terminate, @function
check_for_errors_and_terminate:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 0
	jns	.L21
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	perror@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L21:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	check_for_errors_and_terminate, .-check_for_errors_and_terminate
	.section	.rodata
	.align 8
.LC11:
	.string	"\033[32mItem #%zu was produced by producer thread #%zu\n"
.LC12:
	.string	"\033[0m"
	.text
	.globl	produce
	.type	produce, @function
produce:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L23
.L24:
	lea	rdi, queue[rip+128]
	call	sem_wait@PLT
	lea	rdi, queue[rip+88]
	call	pthread_mutex_lock@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, queue[rip]
	call	enqueue_item
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, queue[rip+88]
	call	pthread_mutex_unlock@PLT
	lea	rdi, queue[rip+160]
	call	sem_post@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 0
	lea	rdi, Ptime[rip]
	call	nanosleep@PLT
	add	DWORD PTR -12[rbp], 1
.L23:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR X[rip]
	cmp	rdx, rax
	jb	.L24
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	produce, .-produce
	.section	.rodata
	.align 8
.LC13:
	.string	"\033[33mItem #%zu was consumed by consumer thread #%zu\n"
	.text
	.globl	consume
	.type	consume, @function
consume:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L27
.L29:
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, queue[rip+128]
	call	sem_getvalue@PLT
	mov	eax, DWORD PTR is_overconsume[rip]
	test	eax, eax
	je	.L28
	mov	rax, QWORD PTR over_consume_amount[rip]
	test	rax, rax
	je	.L28
	lea	rdi, sneaky_mutex[rip]
	call	pthread_mutex_lock@PLT
	sub	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR over_consume_amount[rip]
	sub	rax, 1
	mov	QWORD PTR over_consume_amount[rip], rax
	lea	rdi, sneaky_mutex[rip]
	call	pthread_mutex_unlock@PLT
.L28:
	lea	rdi, queue[rip+160]
	call	sem_wait@PLT
	lea	rdi, queue[rip+48]
	call	pthread_mutex_lock@PLT
	lea	rdi, queue[rip]
	call	dequeue_item
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, queue[rip+48]
	call	pthread_mutex_unlock@PLT
	lea	rdi, queue[rip+128]
	call	sem_post@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 0
	lea	rdi, Ctime[rip]
	call	nanosleep@PLT
	add	DWORD PTR -20[rbp], 1
.L27:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR consume_amount_per_thread[rip]
	cmp	rdx, rax
	jb	.L29
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	consume, .-consume
	.section	.rodata
	.align 8
.LC14:
	.string	"Failed to initialize a semaphore..."
	.text
	.globl	init
	.type	init, @function
init:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rdx, QWORD PTR P[rip]
	mov	rax, QWORD PTR X[rip]
	imul	rax, rdx
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rdx, QWORD PTR P[rip]
	mov	rax, QWORD PTR X[rip]
	imul	rax, rdx
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 48
	mov	esi, 0
	mov	rdi, rax
	call	pthread_mutex_init@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 88
	mov	esi, 0
	mov	rdi, rax
	call	pthread_mutex_init@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, -128
	mov	esi, 0
	mov	rdi, rax
	call	sem_init@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rsi, .LC14[rip]
	mov	edi, eax
	call	check_for_errors_and_terminate
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 160
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	sem_init@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	rsi, .LC14[rip]
	mov	edi, eax
	call	check_for_errors_and_terminate
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	init, .-init
	.section	.rodata
	.align 8
.LC15:
	.string	"Failed to dequeue an item: the queue is empty..."
	.text
	.globl	dequeue_item
	.type	dequeue_item, @function
dequeue_item:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L34
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	dequeue_item, .-dequeue_item
	.section	.rodata
	.align 8
.LC16:
	.string	"Failed to allocate memory for new node..."
	.text
	.globl	enqueue_item
	.type	enqueue_item, @function
enqueue_item:
.LFB13:
	.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	QWORD PTR -32[rbp], rsi
	mov	esi, 16
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L37
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	eax, 0
	jmp	.L38
.L37:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	is_queue_empty
	test	rax, rax
	je	.L39
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 32[rdx]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rdx]
	sal	rdx, 3
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	is_queue_full
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR 8[rax], rdx
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	enqueue_item, .-enqueue_item
	.globl	is_queue_full
	.type	is_queue_full, @function
is_queue_full:
.LFB14:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 128[rax]
	lea	rax, -12[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	sem_getvalue@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L42
	mov	eax, 1
	jmp	.L44
.L42:
	mov	eax, 0
.L44:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	is_queue_full, .-is_queue_full
	.globl	is_queue_empty
	.type	is_queue_empty, @function
is_queue_empty:
.LFB15:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 160[rax]
	lea	rax, -12[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	sem_getvalue@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L47
	mov	eax, 1
	jmp	.L49
.L47:
	mov	eax, 0
.L49:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	is_queue_empty, .-is_queue_empty
	.section	.rodata
.LC17:
	.string	"Wrong number of arguments."
	.align 8
.LC18:
	.string	"Please specify 6 command line arguments as follows:"
	.align 8
.LC19:
	.string	"\t$ ./pandc <N> <P> <C> <X> <Ptime> <Ctime>"
.LC20:
	.string	"where"
	.align 8
.LC21:
	.string	"\tN - number of buffers of size 1 (size of the queue)"
	.align 8
.LC22:
	.string	"\tP - number of Producer threads"
	.align 8
.LC23:
	.string	"\tC - number of Consumer threads"
	.align 8
.LC24:
	.string	"\tX - number of items to enqueue for each Producer thread"
	.align 8
.LC25:
	.string	"\tPtime - sleep time (seconds) for a Producer thread after Enqueue() call"
	.align 8
.LC26:
	.string	"\tCtime - sleep time (seconds) for a Consumer thread after Dequeue() call"
	.text
	.globl	print_ux_message_wrong_number_of_arguments
	.type	print_ux_message_wrong_number_of_arguments, @function
print_ux_message_wrong_number_of_arguments:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	print_ux_message_wrong_number_of_arguments, .-print_ux_message_wrong_number_of_arguments
	.section	.rodata
	.align 8
.LC27:
	.string	"                 Number of buffers of size1, N : %6zu\n"
	.align 8
.LC28:
	.string	"                 Number of Producer threads, P : %6zu\n"
	.align 8
.LC29:
	.string	"                 Number of Consumer threads, C : %6zu\n"
	.align 8
.LC30:
	.string	"Number of items to produce by each Producer, X : %6zu\n"
	.align 8
.LC31:
	.string	"   Number of items to consume by each Consumer : %6zu\n"
	.align 8
.LC32:
	.string	"                              Over consume on? : %6d\n"
	.align 8
.LC33:
	.string	"\033[36m                           Over consume amount : %6zu\n"
	.align 8
.LC34:
	.string	"           Time each Producer sleeps (seconds) : %6zu\n"
	.align 8
.LC35:
	.string	"           Time each Consumer sleeps (seconds) : %6zu\n"
.LC36:
	.string	""
	.text
	.globl	print_ux_message_success
	.type	print_ux_message_success, @function
print_ux_message_success:
.LFB17:
	.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 N[rip]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR P[rip]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR C[rip]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR X[rip]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR consume_amount_per_thread[rip]
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR is_overconsume[rip]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR is_overconsume[rip]
	test	eax, eax
	je	.L53
	mov	rdx, QWORD PTR consume_amount_per_thread[rip]
	mov	rax, QWORD PTR over_consume_amount[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L53:
	mov	rax, QWORD PTR Ptime[rip]
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR Ctime[rip]
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC36[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print_ux_message_success, .-print_ux_message_success
	.section	.rodata
.LC37:
	.string	"Current time: %s\n\n"
	.text
	.globl	print_current_time
	.type	print_current_time, @function
print_current_time:
.LFB18:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	asctime@PLT
	mov	rsi, rax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	print_current_time, .-print_current_time
	.section	.rodata
	.align 8
.LC38:
	.string	"Producer Array\t| Consumer Array"
.LC39:
	.string	"\033[32m%3zu\t\t| %3zu\n"
.LC40:
	.string	"\033[31m%3zu\t\t| %3zu\n"
	.text
	.globl	compare_two_arrays_verbose_mode
	.type	compare_two_arrays_verbose_mode, @function
compare_two_arrays_verbose_mode:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -8[rbp], 0
	lea	rdi, .LC38[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L58
.L61:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L59
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L59:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 1
.L60:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L58:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -40[rbp], rax
	ja	.L61
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	compare_two_arrays_verbose_mode, .-compare_two_arrays_verbose_mode
	.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	"227522.c"
	.text
	.local	N
	.comm	N,4,4
	.local	P
	.comm	P,4,4
	.local	C
	.comm	C,4,4
	.local	X
	.comm	X,4,4
	.local	Ptime
	.comm	Ptime,8,4
	.local	Ctime
	.comm	Ctime,8,4
	.local	expected_produced_amount_total
	.comm	expected_produced_amount_total,4,4
	.local	consume_amount_per_thread
	.comm	consume_amount_per_thread,4,4
	.local	sneaky_mutex
	.comm	sneaky_mutex,24,4
	.local	is_overconsume
	.comm	is_overconsume,4,4
	.local	over_consume_amount
	.comm	over_consume_amount,4,4
	.local	queue
	.comm	queue,104,4
	.global	__aeabi_uidiv
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Failed to create a producer thread...\000"
	.align	2
.LC1:
	.ascii	"Failed to create a consumer thread...\000"
	.align	2
.LC2:
	.ascii	"Failed to join a producer thread...\000"
	.align	2
.LC3:
	.ascii	"Producer Thread #%d joined.\012\000"
	.align	2
.LC4:
	.ascii	"Failed to join a consumer thread...\000"
	.align	2
.LC5:
	.ascii	"Consumer Thread #%d joined.\012\000"
	.align	2
.LC6:
	.ascii	"Match!\000"
	.align	2
.LC7:
	.ascii	"Do Not Match!\000"
	.align	2
.LC8:
	.ascii	"\012Consume and Produce Arrays %s\012\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.align	2
.LC9:
	.ascii	"Total runtime: %6.1f seconds\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r3, #7
	beq	.L2
	bl	print_ux_message_wrong_number_of_arguments
	b	.L3
.L2:
	bl	print_current_time
	str	r0, [fp, #-36]
	ldr	r3, .L15
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L15+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L15+4
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+8
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+12
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+16
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+20
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L15
	str	r3, [r2]
	ldr	r3, [fp, #-68]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L15+4
	str	r3, [r2]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L15+24
	str	r3, [r2]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L15+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+28
	str	r2, [r3]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L15+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L15+32
	str	r2, [r3]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r2, .L15+20
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L15+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L15+36
	str	r2, [r3]
	bl	print_ux_message_success
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+40
	bl	init
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, .L15+16
	ldr	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r1, #0
	ldr	r0, .L15+44
	bl	pthread_mutex_init
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L4
.L5:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r0, r2, r3
	ldr	r3, [fp, #-60]
	ldr	r2, .L15+48
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-16]
	ldr	r1, .L15+52
	ldr	r0, [fp, #-16]
	bl	check_for_errors_and_terminate
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L4:
	ldr	r2, [fp, #-52]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L5
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L6
.L7:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r0, r2, r3
	ldr	r3, [fp, #-56]
	ldr	r2, .L15+56
	mov	r1, #0
	bl	pthread_create
	str	r0, [fp, #-16]
	ldr	r1, .L15+60
	ldr	r0, [fp, #-16]
	bl	check_for_errors_and_terminate
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L6:
	ldr	r2, [fp, #-48]
	ldr	r3, .L15+16
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L7
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L8
.L9:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-16]
	ldr	r1, .L15+64
	ldr	r0, [fp, #-16]
	bl	check_for_errors_and_terminate
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L15+68
	bl	printf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L8:
	ldr	r2, [fp, #-44]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L9
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L10
.L11:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	str	r0, [fp, #-16]
	ldr	r1, .L15+72
	ldr	r0, [fp, #-16]
	bl	check_for_errors_and_terminate
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L15+76
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L10:
	ldr	r2, [fp, #-40]
	ldr	r3, .L15+16
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L11
	bl	print_current_time
	str	r0, [fp, #-24]
	ldr	r3, .L15+40
	ldr	r3, [r3, #16]
	ldr	r2, .L15+40
	ldr	r1, [r2, #20]
	ldr	r2, .L15+24
	ldr	r2, [r2]
	mov	r0, r3
	bl	compare_two_arrays_verbose_mode
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L15+80
	b	.L13
.L12:
	ldr	r3, .L15+84
.L13:
	mov	r1, r3
	ldr	r0, .L15+88
	bl	printf
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L15+92
	bl	printf
.L3:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L16:
	.align	2
.L15:
	.word	Ptime
	.word	Ctime
	.word	N
	.word	P
	.word	C
	.word	X
	.word	expected_produced_amount_total
	.word	consume_amount_per_thread
	.word	is_overconsume
	.word	over_consume_amount
	.word	queue
	.word	sneaky_mutex
	.word	produce
	.word	.LC0
	.word	consume
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%zu\012\000"
	.text
	.align	2
	.global	print_queue_recursively
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_queue_recursively, %function
print_queue_recursively:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21
	bl	printf
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L20
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	print_queue_recursively
	b	.L17
.L20:
	nop
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC10
	.size	print_queue_recursively, .-print_queue_recursively
	.align	2
	.global	check_for_errors_and_terminate
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_for_errors_and_terminate, %function
check_for_errors_and_terminate:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L25
	ldr	r0, [fp, #-12]
	bl	perror
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L25:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	check_for_errors_and_terminate, .-check_for_errors_and_terminate
	.section	.rodata
	.align	2
.LC11:
	.ascii	"\033[32mItem #%zu was produced by producer thread #"
	.ascii	"%zu\012\000"
	.align	2
.LC12:
	.ascii	"\033[0m\000"
	.text
	.align	2
	.global	produce
	.syntax unified
	.arm
	.fpu softvfp
	.type	produce, %function
produce:
	@ 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	r3, #0
	str	r3, [fp, #-12]
	b	.L27
.L28:
	ldr	r0, .L30
	bl	sem_wait
	ldr	r0, .L30+4
	bl	pthread_mutex_lock
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L30+8
	bl	enqueue_item
	str	r0, [fp, #-8]
	ldr	r0, .L30+4
	bl	pthread_mutex_unlock
	ldr	r0, .L30+12
	bl	sem_post
	ldr	r3, [fp, #-16]
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L30+16
	bl	printf
	ldr	r0, .L30+20
	bl	printf
	mov	r1, #0
	ldr	r0, .L30+24
	bl	nanosleep
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L27:
	ldr	r2, [fp, #-12]
	ldr	r3, .L30+28
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L28
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	queue+72
	.word	queue+48
	.word	queue
	.word	queue+88
	.word	.LC11
	.word	.LC12
	.word	Ptime
	.word	X
	.size	produce, .-produce
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\033[33mItem #%zu was consumed by consumer thread #"
	.ascii	"%zu\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	consume
	.syntax unified
	.arm
	.fpu softvfp
	.type	consume, %function
consume:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L33
.L35:
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L38+4
	bl	sem_getvalue
	ldr	r3, .L38+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L38+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L38+16
	bl	pthread_mutex_lock
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L38+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L38+12
	str	r3, [r2]
	ldr	r0, .L38+16
	bl	pthread_mutex_unlock
.L34:
	ldr	r0, .L38+20
	bl	sem_wait
	ldr	r0, .L38+24
	bl	pthread_mutex_lock
	ldr	r0, .L38+28
	bl	dequeue_item
	str	r0, [fp, #-12]
	ldr	r0, .L38+24
	bl	pthread_mutex_unlock
	ldr	r0, .L38+4
	bl	sem_post
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L38+32
	bl	printf
	ldr	r0, .L38+36
	bl	printf
	mov	r1, #0
	ldr	r0, .L38+40
	bl	nanosleep
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L33:
	ldr	r2, [fp, #-16]
	ldr	r3, .L38+44
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L35
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC14
	.word	queue+72
	.word	is_overconsume
	.word	over_consume_amount
	.word	sneaky_mutex
	.word	queue+88
	.word	queue+24
	.word	queue
	.word	.LC13
	.word	.LC12
	.word	Ctime
	.word	consume_amount_per_thread
	.size	consume, .-consume
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Failed to initialize a semaphore...\000"
	.text
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ 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	r1, #8
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, .L41+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, .L41
	ldr	r3, [r3]
	ldr	r2, .L41+4
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	mov	r1, #0
	mov	r0, r3
	bl	pthread_mutex_init
	ldr	r3, [fp, #-16]
	add	r3, r3, #48
	mov	r1, #0
	mov	r0, r3
	bl	pthread_mutex_init
	ldr	r3, [fp, #-16]
	add	r3, r3, #72
	ldr	r2, [fp, #-20]
	mov	r1, #0
	mov	r0, r3
	bl	sem_init
	str	r0, [fp, #-8]
	ldr	r1, .L41+8
	ldr	r0, [fp, #-8]
	bl	check_for_errors_and_terminate
	ldr	r3, [fp, #-16]
	add	r3, r3, #88
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	sem_init
	str	r0, [fp, #-8]
	ldr	r1, .L41+8
	ldr	r0, [fp, #-8]
	bl	check_for_errors_and_terminate
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	P
	.word	X
	.word	.LC15
	.size	init, .-init
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Failed to dequeue an item: the queue is empty...\000"
	.text
	.align	2
	.global	dequeue_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue_item, %function
dequeue_item:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L46
	bl	perror
	mov	r3, #0
	b	.L45
.L44:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #8]
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-8]
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC16
	.size	dequeue_item, .-dequeue_item
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Failed to allocate memory for new node...\000"
	.text
	.align	2
	.global	enqueue_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue_item, %function
enqueue_item:
	@ 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	r1, #8
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L49
	ldr	r0, .L53
	bl	perror
	mov	r3, #0
	b	.L50
.L49:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-16]
	bl	is_queue_empty
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L51:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #12]
	ldr	r0, [fp, #-16]
	bl	is_queue_full
	mov	r3, r0
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	str	r2, [r3, #4]
.L52:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r3, [r3]
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC17
	.size	enqueue_item, .-enqueue_item
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	is_queue_full
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_queue_full, %function
is_queue_full:
	@ 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]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #72
	sub	r2, fp, #12
	mov	r1, r2
	mov	r0, r3
	bl	sem_getvalue
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L56
	mov	r3, #1
	b	.L58
.L56:
	mov	r3, #0
.L58:
	ldr	r2, .L60
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC18
	.size	is_queue_full, .-is_queue_full
	.section	.rodata
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	is_queue_empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_queue_empty, %function
is_queue_empty:
	@ 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]
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #88
	sub	r2, fp, #12
	mov	r1, r2
	mov	r0, r3
	bl	sem_getvalue
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L63
	mov	r3, #1
	b	.L65
.L63:
	mov	r3, #0
.L65:
	ldr	r2, .L67
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L66
	bl	__stack_chk_fail
.L66:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC19
	.size	is_queue_empty, .-is_queue_empty
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Wrong number of arguments.\000"
	.align	2
.LC21:
	.ascii	"Please specify 6 command line arguments as follows:"
	.ascii	"\000"
	.align	2
.LC22:
	.ascii	"\011$ ./pandc <N> <P> <C> <X> <Ptime> <Ctime>\000"
	.align	2
.LC23:
	.ascii	"where\000"
	.align	2
.LC24:
	.ascii	"\011N - number of buffers of size 1 (size of the qu"
	.ascii	"eue)\000"
	.align	2
.LC25:
	.ascii	"\011P - number of Producer threads\000"
	.align	2
.LC26:
	.ascii	"\011C - number of Consumer threads\000"
	.align	2
.LC27:
	.ascii	"\011X - number of items to enqueue for each Produce"
	.ascii	"r thread\000"
	.align	2
.LC28:
	.ascii	"\011Ptime - sleep time (seconds) for a Producer thr"
	.ascii	"ead after Enqueue() call\000"
	.align	2
.LC29:
	.ascii	"\011Ctime - sleep time (seconds) for a Consumer thr"
	.ascii	"ead after Dequeue() call\000"
	.text
	.align	2
	.global	print_ux_message_wrong_number_of_arguments
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_ux_message_wrong_number_of_arguments, %function
print_ux_message_wrong_number_of_arguments:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L70
	bl	puts
	ldr	r0, .L70+4
	bl	puts
	ldr	r0, .L70+8
	bl	puts
	ldr	r0, .L70+12
	bl	puts
	ldr	r0, .L70+16
	bl	puts
	ldr	r0, .L70+20
	bl	puts
	ldr	r0, .L70+24
	bl	puts
	ldr	r0, .L70+28
	bl	printf
	ldr	r0, .L70+32
	bl	puts
	ldr	r0, .L70+36
	bl	puts
	nop
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	print_ux_message_wrong_number_of_arguments, .-print_ux_message_wrong_number_of_arguments
	.section	.rodata
	.align	2
.LC30:
	.ascii	"                 Number of buffers of size1, N : %6"
	.ascii	"zu\012\000"
	.align	2
.LC31:
	.ascii	"                 Number of Producer threads, P : %6"
	.ascii	"zu\012\000"
	.align	2
.LC32:
	.ascii	"                 Number of Consumer threads, C : %6"
	.ascii	"zu\012\000"
	.align	2
.LC33:
	.ascii	"Number of items to produce by each Producer, X : %6"
	.ascii	"zu\012\000"
	.align	2
.LC34:
	.ascii	"   Number of items to consume by each Consumer : %6"
	.ascii	"zu\012\000"
	.align	2
.LC35:
	.ascii	"                              Over consume on? : %6"
	.ascii	"d\012\000"
	.align	2
.LC36:
	.ascii	"\033[36m                           Over consume amo"
	.ascii	"unt : %6zu\012\000"
	.align	2
.LC37:
	.ascii	"           Time each Producer sleeps (seconds) : %6"
	.ascii	"zu\012\000"
	.align	2
.LC38:
	.ascii	"           Time each Consumer sleeps (seconds) : %6"
	.ascii	"zu\012\000"
	.align	2
.LC39:
	.ascii	"\000"
	.text
	.align	2
	.global	print_ux_message_success
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_ux_message_success, %function
print_ux_message_success:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L74
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+4
	bl	printf
	ldr	r3, .L74+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+12
	bl	printf
	ldr	r3, .L74+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+20
	bl	printf
	ldr	r3, .L74+24
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+28
	bl	printf
	ldr	r3, .L74+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+36
	bl	printf
	ldr	r3, .L74+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+44
	bl	printf
	ldr	r3, .L74+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L74+32
	ldr	r2, [r3]
	ldr	r3, .L74+48
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L74+52
	bl	printf
	ldr	r0, .L74+56
	bl	printf
.L73:
	ldr	r3, .L74+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+64
	bl	printf
	ldr	r3, .L74+68
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L74+72
	bl	printf
	ldr	r0, .L74+76
	bl	puts
	nop
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	N
	.word	.LC30
	.word	P
	.word	.LC31
	.word	C
	.word	.LC32
	.word	X
	.word	.LC33
	.word	consume_amount_per_thread
	.word	.LC34
	.word	is_overconsume
	.word	.LC35
	.word	over_consume_amount
	.word	.LC36
	.word	.LC12
	.word	Ptime
	.word	.LC37
	.word	Ctime
	.word	.LC38
	.word	.LC39
	.size	print_ux_message_success, .-print_ux_message_success
	.section	.rodata
	.align	2
.LC40:
	.ascii	"Current time: %s\012\012\000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	print_current_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_current_time, %function
print_current_time:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r0, r3
	bl	time
	sub	r3, fp, #16
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	asctime
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L79+4
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r2, .L79
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC41
	.word	.LC40
	.size	print_current_time, .-print_current_time
	.section	.rodata
	.align	2
.LC42:
	.ascii	"Producer Array\011| Consumer Array\000"
	.align	2
.LC43:
	.ascii	"\033[32m%3zu\011\011| %3zu\012\000"
	.align	2
.LC44:
	.ascii	"\033[31m%3zu\011\011| %3zu\012\000"
	.text
	.align	2
	.global	compare_two_arrays_verbose_mode
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_two_arrays_verbose_mode, %function
compare_two_arrays_verbose_mode:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L87
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L82
.L85:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L83
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L87+4
	bl	printf
	b	.L84
.L83:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L87+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-12]
.L84:
	ldr	r0, .L87+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L82:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L85
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC12
	.size	compare_two_arrays_verbose_mode, .-compare_two_arrays_verbose_mode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
