	.file	"737071.c"
	.intel_syntax noprefix
	.text
	.globl	__log_count
	.bss
	.align 64
	.type	__log_count, @object
	.size	__log_count, 4
__log_count:
	.zero	4
	.local	__log_buf
	.comm	__log_buf,80000000,32
	.section	.rodata
.LC0:
	.string	"the_stack_data/737071.c"
.LC1:
	.string	"i < LOG_BUF_SIZE"
	.text
	.type	new_log, @function
new_log:
.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, 16
	mov	eax, 1
	lock xadd	DWORD PTR __log_count[rip], eax
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4999999
	jle	.L2
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 53
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, __log_buf[rip]
	add	rax, rdx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	new_log, .-new_log
	.type	do_log, @function
do_log:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, 0
	call	new_log
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	do_log, .-do_log
	.section	.rodata
.LC2:
	.string	"w"
.LC3:
	.string	"./mem.log"
.LC4:
	.string	"Error in `fopen`\n"
.LC5:
	.string	"%p,%lu\n"
.LC6:
	.string	"l < 100"
.LC7:
	.string	"#Total operations: %d\n"
	.text
	.type	do_finish, @function
do_finish:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	jmp	.L5
.L6:
	mov	eax, DWORD PTR __log_count[rip]
	mov	DWORD PTR -132[rbp], eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L8
.L12:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, __log_buf[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L9
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, __log_buf[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L14
.L9:
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, __log_buf[rip+8]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, __log_buf[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	lea	rax, -112[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	cdqe
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 99
	jbe	.L11
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 81
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L11:
	mov	rcx, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	jmp	.L10
.L14:
	nop
.L10:
	add	DWORD PTR -136[rbp], 1
.L8:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L12
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR __log_count[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	do_finish, .-do_finish
	.section	.rodata
.LC8:
	.string	"Error in `atexit`\n"
	.text
	.type	new_malloc_init, @function
new_malloc_init:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, do_finish[rip]
	call	atexit@PLT
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	new_malloc_init, .-new_malloc_init
	.section	.rodata
.LC9:
	.string	"size != 0"
	.text
	.type	new_malloc, @function
new_malloc:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L20
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 103
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	do_malloc@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	do_log
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	new_malloc, .-new_malloc
	.type	new_free, @function
new_free:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	do_log
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	do_free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	new_free, .-new_free
	.type	lran2_init, @function
lran2_init:
.LFB12:
	.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	eax, 150889
	sub	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	movabs	rdx, 6772456536477737753
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rdx, rax, 714025
	mov	rax, rcx
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jns	.L24
	neg	QWORD PTR -8[rbp]
.L24:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, 1366
	lea	rcx, 150889[rax]
	movabs	rdx, 6772456536477737753
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	imul	rdx, rax, 714025
	mov	rax, rcx
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rcx, 2[rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax+rcx*8], rdx
	add	DWORD PTR -12[rbp], 1
.L25:
	cmp	DWORD PTR -12[rbp], 96
	jle	.L26
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, rax, 1366
	lea	rcx, 150889[rax]
	movabs	rdx, 6772456536477737753
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 714025
	mov	rax, rcx
	sub	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	lran2_init, .-lran2_init
	.type	lran2, @function
lran2:
.LFB13:
	.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	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	movabs	rdx, -6275696437447579415
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 6
	mov	rsi, rcx
	sar	rsi, 63
	sub	rax, rsi
	mov	rdx, rax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 5
	add	rax, rdx
	sub	rcx, rax
	mov	rdx, rcx
	mov	DWORD PTR -4[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 2
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rax, rax, 1366
	lea	rcx, 150889[rax]
	movabs	rdx, 6772456536477737753
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 18
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 714025
	mov	rax, rcx
	sub	rax, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rcx, ecx
	add	rcx, 2
	mov	QWORD PTR [rax+rcx*8], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	lran2, .-lran2
	.globl	debug_flag
	.bss
	.align 4
	.type	debug_flag, @object
	.size	debug_flag, 4
debug_flag:
	.zero	4
	.globl	verbose_flag
	.align 4
	.type	verbose_flag, @object
	.size	verbose_flag, 4
verbose_flag:
	.zero	4
	.globl	num_workers
	.data
	.align 4
	.type	num_workers, @object
	.size	num_workers, 4
num_workers:
	.long	4
	.globl	run_time
	.align 8
	.type	run_time, @object
	.size	run_time, 8
run_time:
	.long	-1717986918
	.long	1070176665
	.globl	object_size
	.align 4
	.type	object_size, @object
	.size	object_size, 4
object_size:
	.long	1024
	.globl	thread_ids
	.bss
	.align 8
	.type	thread_ids, @object
	.size	thread_ids, 8
thread_ids:
	.zero	8
	.globl	counters
	.align 8
	.type	counters, @object
	.size	counters, 8
counters:
	.zero	8
	.globl	done_flag
	.align 4
	.type	done_flag, @object
	.size	done_flag, 4
done_flag:
	.zero	4
	.globl	begin
	.align 16
	.type	begin, @object
	.size	begin, 16
begin:
	.zero	16
	.text
	.type	tvsub, @function
tvsub:
.LFB14:
	.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 -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	sub	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sub	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jns	.L31
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1000000[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L31:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	tvsub, .-tvsub
	.globl	elapsed_time
	.type	elapsed_time, @function
elapsed_time:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -56[rbp], xmm0
	lea	rax, -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rdx, QWORD PTR -72[rbp]
	lea	rcx, -48[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	tvsub
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC11[rip]
	divsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	elapsed_time, .-elapsed_time
	.section	.rodata
	.align 32
	.type	possible_sizes, @object
	.size	possible_sizes, 136
possible_sizes:
	.quad	8
	.quad	12
	.quad	16
	.quad	24
	.quad	32
	.quad	48
	.quad	64
	.quad	96
	.quad	128
	.quad	192
	.quad	256
	.quad	384
	.quad	512
	.quad	768
	.quad	1024
	.quad	1536
	.quad	2048
	.align 4
	.type	n_sizes, @object
	.size	n_sizes, 4
n_sizes:
	.long	17
	.globl	batches
	.bss
	.align 8
	.type	batches, @object
	.size	batches, 8
batches:
	.zero	8
	.globl	batch_count
	.align 4
	.type	batch_count, @object
	.size	batch_count, 4
batch_count:
	.zero	4
	.globl	batch_count_limit
	.section	.rodata
	.align 4
	.type	batch_count_limit, @object
	.size	batch_count_limit, 4
batch_count_limit:
	.long	100
	.globl	empty_cv
	.bss
	.align 32
	.type	empty_cv, @object
	.size	empty_cv, 48
empty_cv:
	.zero	48
	.globl	full_cv
	.align 32
	.type	full_cv, @object
	.size	full_cv, 48
full_cv:
	.zero	48
	.globl	lock
	.align 32
	.type	lock, @object
	.size	lock, 40
lock:
	.zero	40
	.text
	.globl	enqueue_batch
	.type	enqueue_batch, @function
enqueue_batch:
.LFB16:
	.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
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	jmp	.L36
.L38:
	lea	rsi, lock[rip]
	lea	rdi, full_cv[rip]
	call	pthread_cond_wait@PLT
.L36:
	mov	eax, DWORD PTR batch_count[rip]
	mov	edx, 100
	cmp	eax, edx
	jl	.L37
	mov	eax, DWORD PTR done_flag[rip]
	test	eax, eax
	je	.L38
.L37:
	mov	rdx, QWORD PTR batches[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR batches[rip], rax
	mov	eax, DWORD PTR batch_count[rip]
	add	eax, 1
	mov	DWORD PTR batch_count[rip], eax
	lea	rdi, empty_cv[rip]
	call	pthread_cond_signal@PLT
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	enqueue_batch, .-enqueue_batch
	.globl	dequeue_batch
	.type	dequeue_batch, @function
dequeue_batch:
.LFB17:
	.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
	lea	rdi, lock[rip]
	call	pthread_mutex_lock@PLT
	jmp	.L40
.L42:
	lea	rsi, lock[rip]
	lea	rdi, empty_cv[rip]
	call	pthread_cond_wait@PLT
.L40:
	mov	rax, QWORD PTR batches[rip]
	test	rax, rax
	jne	.L41
	mov	eax, DWORD PTR done_flag[rip]
	test	eax, eax
	je	.L42
.L41:
	mov	rax, QWORD PTR batches[rip]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L43
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR batches[rip], rax
	mov	eax, DWORD PTR batch_count[rip]
	sub	eax, 1
	mov	DWORD PTR batch_count[rip], eax
	lea	rdi, full_cv[rip]
	call	pthread_cond_signal@PLT
.L43:
	lea	rdi, lock[rip]
	call	pthread_mutex_unlock@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	dequeue_batch, .-dequeue_batch
	.globl	mem_allocator
	.type	mem_allocator, @function
mem_allocator:
.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, 848
	mov	QWORD PTR -840[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -840[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -820[rbp], eax
	mov	eax, DWORD PTR -820[rbp]
	movsx	rdx, eax
	lea	rax, -800[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lran2_init
	jmp	.L46
.L51:
	mov	edi, 32776
	call	new_malloc
	mov	QWORD PTR -816[rbp], rax
	mov	DWORD PTR -824[rbp], 0
	jmp	.L47
.L50:
	mov	eax, DWORD PTR object_size[rip]
	test	eax, eax
	jle	.L48
	mov	eax, DWORD PTR object_size[rip]
	cdqe
	jmp	.L49
.L48:
	lea	rax, -800[rbp]
	mov	rdi, rax
	call	lran2
	mov	edx, 17
	movsx	rcx, edx
	cqo
	idiv	rcx
	mov	rax, rdx
	lea	rdx, 0[0+rax*8]
	lea	rax, possible_sizes[rip]
	mov	rax, QWORD PTR [rdx+rax]
.L49:
	mov	QWORD PTR -808[rbp], rax
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	new_malloc
	mov	rdx, QWORD PTR -816[rbp]
	mov	ecx, DWORD PTR -824[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR 8[rdx+rcx*8], rax
	add	DWORD PTR -824[rbp], 1
.L47:
	cmp	DWORD PTR -824[rbp], 4095
	jle	.L50
	mov	rax, QWORD PTR -816[rbp]
	mov	rdi, rax
	call	enqueue_batch
.L46:
	mov	eax, DWORD PTR done_flag[rip]
	test	eax, eax
	je	.L51
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	mem_allocator, .-mem_allocator
	.globl	mem_releaser
	.type	mem_releaser, @function
mem_releaser:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L55
.L59:
	mov	eax, 0
	call	dequeue_batch
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L56
	mov	DWORD PTR -16[rbp], 0
	jmp	.L57
.L58:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdi, rax
	call	new_free
	add	DWORD PTR -16[rbp], 1
.L57:
	cmp	DWORD PTR -16[rbp], 4095
	jle	.L58
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	new_free
.L56:
	mov	rdx, QWORD PTR counters[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR counters[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 6
	add	rax, rcx
	add	rdx, 4096
	mov	QWORD PTR [rax], rdx
.L55:
	mov	eax, DWORD PTR done_flag[rip]
	test	eax, eax
	je	.L59
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	mem_releaser, .-mem_releaser
	.section	.rodata
.LC12:
	.string	"Starting mem_releaser %i ...\n"
.LC13:
	.string	"pthread_create mem_releaser"
	.align 8
.LC14:
	.string	"Starting mem_allocator %i ...\n"
.LC15:
	.string	"pthread_create mem_allocator"
.LC16:
	.string	"Testing for %.2f seconds\n\n"
	.align 8
.LC17:
	.string	"Thread %2i frees %ld blocks in %.2f seconds. %.2f free/sec.\n"
	.align 8
.LC18:
	.string	"----------------------------------------------------------------"
	.align 8
.LC20:
	.string	"Total %ld freed in %.2f seconds. %.2fM free/second\n"
.LC21:
	.string	"%.0f\n"
.LC22:
	.string	"Program done"
	.text
	.globl	run_memory_free_test
	.type	run_memory_free_test, @function
run_memory_free_test:
.LFB20:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	QWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR num_workers[rip]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	new_malloc
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L62
.L63:
	mov	rdx, QWORD PTR counters[rip]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	add	DWORD PTR -44[rbp], 1
.L62:
	mov	eax, DWORD PTR num_workers[rip]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L63
	mov	esi, 0
	lea	rdi, begin[rip]
	call	gettimeofday@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L64
.L69:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L65
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L65:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR thread_ids[rip]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, eax
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, mem_releaser[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L66
	lea	rdi, .LC13[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L66:
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L67
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L67:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rcx, QWORD PTR thread_ids[rip]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, eax
	cdqe
	add	rax, 1
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, mem_allocator[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L68
	lea	rdi, .LC15[rip]
	call	perror@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	exit@PLT
.L68:
	add	DWORD PTR -44[rbp], 1
.L64:
	mov	eax, DWORD PTR num_workers[rip]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L69
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L74
	mov	rax, QWORD PTR run_time[rip]
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
.L74:
	mov	edi, 1000
	call	usleep@PLT
	lea	rdi, begin[rip]
	call	elapsed_time
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR run_time[rip]
	movq	xmm2, rax
	comisd	xmm2, xmm0
	jbe	.L89
	mov	eax, 1
	mov	DWORD PTR done_flag[rip], eax
	lea	rdi, empty_cv[rip]
	call	pthread_cond_broadcast@PLT
	lea	rdi, full_cv[rip]
	call	pthread_cond_broadcast@PLT
	nop
	mov	DWORD PTR -44[rbp], 0
	jmp	.L75
.L89:
	jmp	.L74
.L76:
	mov	rdx, QWORD PTR thread_ids[rip]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -44[rbp], 1
.L75:
	mov	eax, DWORD PTR num_workers[rip]
	add	eax, eax
	cmp	DWORD PTR -44[rbp], eax
	jl	.L76
	lea	rdi, begin[rip]
	call	elapsed_time
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L77
.L79:
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L78
	mov	rdx, QWORD PTR counters[rip]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR counters[rip]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 2
	call	printf@PLT
.L78:
	add	DWORD PTR -44[rbp], 1
.L77:
	mov	eax, DWORD PTR num_workers[rip]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L79
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L80
	lea	rdi, .LC18[rip]
	call	puts@PLT
.L80:
	mov	DWORD PTR -44[rbp], 0
	jmp	.L81
.L82:
	mov	rdx, QWORD PTR counters[rip]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 6
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	QWORD PTR -32[rbp], rax
	add	DWORD PTR -44[rbp], 1
.L81:
	mov	eax, DWORD PTR num_workers[rip]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L82
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L83
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC19[rip]
	mulsd	xmm0, xmm1
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L84
.L83:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC21[rip]
	mov	eax, 1
	call	printf@PLT
.L84:
	mov	eax, DWORD PTR verbose_flag[rip]
	test	eax, eax
	je	.L85
	lea	rdi, .LC22[rip]
	call	puts@PLT
.L85:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	run_memory_free_test, .-run_memory_free_test
	.section	.rodata
	.align 8
.LC23:
	.string	"%s [-w workers] [-t run_time] [-d] [-v]\n"
	.align 8
.LC24:
	.string	"\t -w number of producer threads (and number of consumer threads), default %d\n"
	.align 8
.LC25:
	.string	"\t -t run time in seconds, default 20.0 seconds."
	.align 8
.LC26:
	.string	"\t -s size of object to allocate (default %d bytes) (specify -1 to get many different object sizes)\n"
.LC27:
	.string	"\t -d debug mode"
	.align 8
.LC28:
	.string	"\t -v verbose mode (-v -v produces more verbose)"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB21:
	.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	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 4
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	esi, 1024
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE21:
	.size	usage, .-usage
	.section	.rodata
.LC29:
	.string	"w:t:ds:v"
	.text
	.globl	main
	.type	main, @function
main:
.LFB22:
	.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	QWORD PTR -32[rbp], rsi
	mov	eax, 0
	call	new_malloc_init
	jmp	.L92
.L100:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 100
	cmp	eax, 19
	ja	.L93
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L95[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L95[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L95:
	.long	.L99-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L93-.L95
	.long	.L98-.L95
	.long	.L97-.L95
	.long	.L93-.L95
	.long	.L96-.L95
	.long	.L94-.L95
	.text
.L94:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR num_workers[rip], eax
	jmp	.L92
.L97:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR run_time[rip], rax
	jmp	.L92
.L99:
	mov	DWORD PTR debug_flag[rip], 1
	jmp	.L92
.L98:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR object_size[rip], eax
	jmp	.L92
.L96:
	mov	eax, DWORD PTR verbose_flag[rip]
	add	eax, 1
	mov	DWORD PTR verbose_flag[rip], eax
	jmp	.L92
.L93:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
.L92:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, .LC29[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L100
	mov	eax, DWORD PTR num_workers[rip]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	call	new_malloc
	mov	QWORD PTR thread_ids[rip], rax
	mov	eax, DWORD PTR num_workers[rip]
	cdqe
	sal	rax, 6
	mov	rdi, rax
	call	new_malloc
	mov	QWORD PTR counters[rip], rax
	mov	eax, 0
	call	run_memory_free_test
	jmp	.L101
.L104:
	mov	rax, QWORD PTR batches[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR batches[rip], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L102
.L103:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdi, rax
	call	new_free
	add	DWORD PTR -16[rbp], 1
.L102:
	cmp	DWORD PTR -16[rbp], 4095
	jle	.L103
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	new_free
.L101:
	mov	rax, QWORD PTR batches[rip]
	test	rax, rax
	jne	.L104
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 8
__PRETTY_FUNCTION__.2:
	.string	"new_log"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 10
__PRETTY_FUNCTION__.1:
	.string	"do_finish"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
	.string	"new_malloc"
	.align 8
.LC11:
	.long	0
	.long	1093567616
	.align 8
.LC19:
	.long	-1598689907
	.long	1051772663
	.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	"737071.c"
	.text
	.global	__log_count
	.bss
	.align	6
	.type	__log_count, %object
	.size	__log_count, 4
__log_count:
	.space	4
	.local	__log_buf
	.comm	__log_buf,40000000,4
	.global	__sync_fetch_and_add_4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/737071.c\000"
	.align	2
.LC1:
	.ascii	"i < LOG_BUF_SIZE\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_log, %function
new_log:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L4
	mov	r1, #1
	mov	r0, r3
	bl	__sync_fetch_and_add_4
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L4+4
	cmp	r3, r2
	ble	.L2
	ldr	r3, .L4+8
	mov	r2, #53
	ldr	r1, .L4+12
	ldr	r0, .L4+16
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, .L4+20
	add	r3, r3, r2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	__log_count
	.word	4999999
	.word	__PRETTY_FUNCTION__.7331
	.word	.LC0
	.word	.LC1
	.word	__log_buf
	.size	new_log, .-new_log
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_log, %function
do_log:
	@ 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]
	bl	new_log
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	do_log, .-do_log
	.section	.rodata
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"./mem.log\000"
	.align	2
.LC4:
	.ascii	"Error in `fopen`\012\000"
	.global	__sync_synchronize
	.align	2
.LC5:
	.ascii	"%p,%lu\012\000"
	.align	2
.LC6:
	.ascii	"l < 100\000"
	.align	2
.LC7:
	.ascii	"#Total operations: %d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_finish, %function
do_finish:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #124
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L17+4
	ldr	r0, .L17+8
	bl	fopen
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L17+12
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L17+16
	bl	fwrite
	b	.L7
.L8:
	ldr	r4, .L17+20
	bl	__sync_synchronize
	ldr	r4, [r4]
	bl	__sync_synchronize
	str	r4, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L10
.L14:
	ldr	r2, .L17+24
	ldr	r3, [fp, #-132]
	ldr	r3, [r2, r3, lsl #3]
	cmp	r3, #0
	bne	.L11
	ldr	r2, .L17+24
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L16
.L11:
	ldr	r2, .L17+24
	ldr	r3, [fp, #-132]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r1, .L17+24
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r0, fp, #116
	ldr	r1, .L17+28
	bl	sprintf
	mov	r3, r0
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #99
	bls	.L13
	ldr	r3, .L17+32
	mov	r2, #81
	ldr	r1, .L17+36
	ldr	r0, .L17+40
	bl	__assert_fail
.L13:
	sub	r0, fp, #116
	ldr	r3, [fp, #-128]
	ldr	r2, [fp, #-120]
	mov	r1, #1
	bl	fwrite
	b	.L12
.L16:
	nop
.L12:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L10:
	ldr	r2, [fp, #-132]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	blt	.L14
	ldr	r0, [fp, #-128]
	bl	fclose
	ldr	r3, .L17+20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L17+44
	bl	printf
.L7:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC8
	.word	.LC2
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	__log_count
	.word	__log_buf
	.word	.LC5
	.word	__PRETTY_FUNCTION__.7345
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.size	do_finish, .-do_finish
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Error in `atexit`\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_malloc_init, %function
new_malloc_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L23
	bl	atexit
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, .L23+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L23+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L22:
	nop
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	do_finish
	.word	stderr
	.word	.LC9
	.size	new_malloc_init, .-new_malloc_init
	.section	.rodata
	.align	2
.LC10:
	.ascii	"size != 0\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_malloc, %function
new_malloc:
	@ 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, [fp, #-16]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L28
	mov	r2, #103
	ldr	r1, .L28+4
	ldr	r0, .L28+8
	bl	__assert_fail
.L26:
	ldr	r0, [fp, #-16]
	bl	do_malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	do_log
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	__PRETTY_FUNCTION__.7354
	.word	.LC0
	.word	.LC10
	.size	new_malloc, .-new_malloc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_free, %function
new_free:
	@ 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]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	do_log
	ldr	r0, [fp, #-8]
	bl	do_free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	new_free, .-new_free
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lran2_init, %function
lran2_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, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r1, .L35
	sub	r1, r1, r3
	ldr	r3, .L35+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #18
	asr	r3, r1, #31
	sub	r0, r2, r3
	mov	r2, r0
	lsl	r2, r2, #1
	add	r2, r2, r0
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r0
	lsl	r2, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	sub	r3, r1, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L32
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	str	r3, [fp, #-12]
.L32:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L33
.L34:
	ldr	r1, [fp, #-12]
	mov	r2, r1
	lsl	r2, r2, #1
	add	r2, r2, r1
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r1, .L35
	add	r1, r3, r1
	ldr	r3, .L35+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #18
	asr	r3, r1, #31
	sub	r0, r2, r3
	mov	r2, r0
	lsl	r2, r2, #1
	add	r2, r2, r0
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r0
	lsl	r2, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	sub	r3, r1, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	ldr	r1, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #96
	ble	.L34
	ldr	r1, [fp, #-12]
	mov	r2, r1
	lsl	r2, r2, #1
	add	r2, r2, r1
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r1, .L35
	add	r1, r3, r1
	ldr	r3, .L35+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #18
	asr	r3, r1, #31
	sub	r0, r2, r3
	mov	r2, r0
	lsl	r2, r2, #1
	add	r2, r2, r0
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r0
	lsl	r2, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	sub	r0, r1, r3
	ldr	r3, [fp, #-16]
	str	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L36:
	.align	2
.L35:
	.word	150889
	.word	1576835415
	.size	lran2_init, .-lran2_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lran2, %function
lran2:
	@ 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, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L39
	smull	r1, r3, r2, r3
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #5
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	mov	r2, r1
	lsl	r2, r2, #1
	add	r2, r2, r1
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r1, .L39+4
	add	r1, r3, r1
	ldr	r3, .L39+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #18
	asr	r3, r1, #31
	sub	r0, r2, r3
	mov	r2, r0
	lsl	r2, r2, #1
	add	r2, r2, r0
	lsl	r3, r2, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r0
	lsl	r2, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #6
	add	r3, r3, r2
	sub	r0, r1, r3
	ldr	r3, [fp, #-16]
	str	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L40:
	.align	2
.L39:
	.word	354224107
	.word	150889
	.word	1576835415
	.size	lran2, .-lran2
	.global	debug_flag
	.bss
	.align	2
	.type	debug_flag, %object
	.size	debug_flag, 4
debug_flag:
	.space	4
	.global	verbose_flag
	.align	2
	.type	verbose_flag, %object
	.size	verbose_flag, 4
verbose_flag:
	.space	4
	.global	num_workers
	.data
	.align	2
	.type	num_workers, %object
	.size	num_workers, 4
num_workers:
	.word	4
	.global	run_time
	.align	3
	.type	run_time, %object
	.size	run_time, 8
run_time:
	.word	2576980378
	.word	1070176665
	.global	object_size
	.align	2
	.type	object_size, %object
	.size	object_size, 4
object_size:
	.word	1024
	.comm	thread_ids,4,4
	.comm	counters,4,4
	.global	done_flag
	.bss
	.align	2
	.type	done_flag, %object
	.size	done_flag, 4
done_flag:
	.space	4
	.comm	begin,8,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tvsub, %function
tvsub:
	@ 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, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	sub	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bge	.L43
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	add	r3, r3, #999424
	add	r3, r3, #576
	ldr	r2, [fp, #-8]
	str	r3, [r2, #4]
.L43:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	tvsub, .-tvsub
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	elapsed_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	elapsed_time, %function
elapsed_time:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-48]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #32
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	sub	r1, fp, #32
	sub	r3, fp, #24
	ldr	r2, [fp, #-48]
	mov	r0, r3
	bl	tvsub
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L47+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r1, .L47
	ldr	r0, [r1]
	ldr	r1, [fp, #-16]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC11
	.word	1093567616
	.size	elapsed_time, .-elapsed_time
	.section	.rodata
	.align	2
	.type	possible_sizes, %object
	.size	possible_sizes, 68
possible_sizes:
	.word	8
	.word	12
	.word	16
	.word	24
	.word	32
	.word	48
	.word	64
	.word	96
	.word	128
	.word	192
	.word	256
	.word	384
	.word	512
	.word	768
	.word	1024
	.word	1536
	.word	2048
	.align	2
	.type	n_sizes, %object
	.size	n_sizes, 4
n_sizes:
	.word	17
	.global	batches
	.bss
	.align	2
	.type	batches, %object
	.size	batches, 4
batches:
	.space	4
	.global	batch_count
	.align	2
	.type	batch_count, %object
	.size	batch_count, 4
batch_count:
	.space	4
	.global	batch_count_limit
	.section	.rodata
	.align	2
	.type	batch_count_limit, %object
	.size	batch_count_limit, 4
batch_count_limit:
	.word	100
	.global	empty_cv
	.bss
	.align	3
	.type	empty_cv, %object
	.size	empty_cv, 48
empty_cv:
	.space	48
	.global	full_cv
	.align	3
	.type	full_cv, %object
	.size	full_cv, 48
full_cv:
	.space	48
	.global	lock
	.align	2
	.type	lock, %object
	.size	lock, 24
lock:
	.space	24
	.text
	.align	2
	.global	enqueue_batch
	.syntax unified
	.arm
	.fpu softvfp
	.type	enqueue_batch, %function
enqueue_batch:
	@ 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]
	ldr	r0, .L53
	bl	pthread_mutex_lock
	b	.L50
.L52:
	ldr	r1, .L53
	ldr	r0, .L53+4
	bl	pthread_cond_wait
.L50:
	ldr	r3, .L53+8
	ldr	r3, [r3]
	mov	r2, #100
	cmp	r3, r2
	blt	.L51
	ldr	r3, .L53+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L52
.L51:
	ldr	r3, .L53+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r2, .L53+16
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, .L53+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L53+8
	str	r3, [r2]
	ldr	r0, .L53+20
	bl	pthread_cond_signal
	ldr	r0, .L53
	bl	pthread_mutex_unlock
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	lock
	.word	full_cv
	.word	batch_count
	.word	done_flag
	.word	batches
	.word	empty_cv
	.size	enqueue_batch, .-enqueue_batch
	.align	2
	.global	dequeue_batch
	.syntax unified
	.arm
	.fpu softvfp
	.type	dequeue_batch, %function
dequeue_batch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L61
	bl	pthread_mutex_lock
	b	.L56
.L58:
	ldr	r1, .L61
	ldr	r0, .L61+4
	bl	pthread_cond_wait
.L56:
	ldr	r3, .L61+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L61+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L58
.L57:
	ldr	r3, .L61+8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L61+8
	str	r3, [r2]
	ldr	r3, .L61+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L61+16
	str	r3, [r2]
	ldr	r0, .L61+20
	bl	pthread_cond_signal
.L59:
	ldr	r0, .L61
	bl	pthread_mutex_unlock
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	lock
	.word	empty_cv
	.word	batches
	.word	done_flag
	.word	batch_count
	.word	full_cv
	.size	dequeue_batch, .-dequeue_batch
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mem_allocator
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_allocator, %function
mem_allocator:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #428
	str	r0, [fp, #-432]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-432]
	ldr	r3, [r3]
	str	r3, [fp, #-424]
	sub	r3, fp, #412
	ldr	r1, [fp, #-424]
	mov	r0, r3
	bl	lran2_init
	b	.L64
.L69:
	ldr	r0, .L72+4
	bl	new_malloc
	str	r0, [fp, #-420]
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L65
.L68:
	ldr	r3, .L72+8
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L66
	sub	r3, fp, #412
	mov	r0, r3
	bl	lran2
	mov	r3, r0
	mov	r2, #17
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L72+12
	ldr	r3, [r3, r2, lsl #2]
	b	.L67
.L66:
	ldr	r3, .L72+8
	ldr	r3, [r3]
.L67:
	str	r3, [fp, #-416]
	ldr	r0, [fp, #-416]
	bl	new_malloc
	mov	r1, r0
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-428]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L65:
	ldr	r3, [fp, #-428]
	cmp	r3, #4096
	blt	.L68
	ldr	r0, [fp, #-420]
	bl	enqueue_batch
.L64:
	ldr	r3, .L72+16
	ldr	r4, [r3]
	bl	__sync_synchronize
	cmp	r4, #0
	beq	.L69
	mov	r3, #0
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC12
	.word	16388
	.word	object_size
	.word	possible_sizes
	.word	done_flag
	.size	mem_allocator, .-mem_allocator
	.align	2
	.global	mem_releaser
	.syntax unified
	.arm
	.fpu softvfp
	.type	mem_releaser, %function
mem_releaser:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L75
.L79:
	bl	dequeue_batch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L76
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L77
.L78:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	new_free
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L77:
	ldr	r3, [fp, #-24]
	cmp	r3, #4096
	blt	.L78
	ldr	r0, [fp, #-16]
	bl	new_free
.L76:
	ldr	r3, .L81
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L81
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #6
	add	r3, r1, r3
	add	r2, r2, #4096
	str	r2, [r3]
.L75:
	ldr	r3, .L81+4
	ldr	r4, [r3]
	bl	__sync_synchronize
	cmp	r4, #0
	beq	.L79
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L82:
	.align	2
.L81:
	.word	counters
	.word	done_flag
	.size	mem_releaser, .-mem_releaser
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Starting mem_releaser %i ...\012\000"
	.align	2
.LC14:
	.ascii	"pthread_create mem_releaser\000"
	.align	2
.LC15:
	.ascii	"Starting mem_allocator %i ...\012\000"
	.align	2
.LC16:
	.ascii	"pthread_create mem_allocator\000"
	.align	2
.LC17:
	.ascii	"Testing for %.2f seconds\012\012\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC18:
	.ascii	"Thread %2i frees %ld blocks in %.2f seconds. %.2f f"
	.ascii	"ree/sec.\012\000"
	.align	2
.LC19:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------\000"
	.global	__aeabi_dmul
	.align	2
.LC20:
	.ascii	"Total %ld freed in %.2f seconds. %.2fM free/second\012"
	.ascii	"\000"
	.align	2
.LC21:
	.ascii	"%.0f\012\000"
	.align	2
.LC22:
	.ascii	"Program done\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run_memory_free_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_memory_free_test, %function
run_memory_free_test:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	ldr	r3, .L112
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L112+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	new_malloc
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L84
.L85:
	ldr	r3, .L112+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #6
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L84:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L85
	mov	r1, #0
	ldr	r0, .L112+12
	bl	gettimeofday
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L86
.L91:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-40]
	str	r2, [r3]
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L87
	ldr	r1, [fp, #-40]
	ldr	r0, .L112+20
	bl	printf
.L87:
	ldr	r3, .L112+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	add	r0, r2, r3
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, .L112+28
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L88
	ldr	r0, .L112+32
	bl	perror
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L88:
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L89
	ldr	r1, [fp, #-40]
	ldr	r0, .L112+36
	bl	printf
.L89:
	ldr	r3, .L112+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	add	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, .L112+40
	mov	r1, #0
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	ldr	r0, .L112+44
	bl	perror
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	exit
.L90:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L86:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L91
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L96
	ldr	r3, .L112+48
	ldmia	r3, {r2-r3}
	ldr	r0, .L112+52
	bl	printf
.L96:
	mov	r0, #1000
	bl	usleep
	ldr	r0, .L112+12
	bl	elapsed_time
	ldr	r3, .L112+48
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L111
	ldr	r4, .L112+56
	bl	__sync_synchronize
	mov	r3, #1
	str	r3, [r4]
	ldr	r0, .L112+60
	bl	pthread_cond_broadcast
	ldr	r0, .L112+64
	bl	pthread_cond_broadcast
	nop
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L97
.L111:
	b	.L96
.L98:
	ldr	r3, .L112+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L97:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L98
	ldr	r0, .L112+12
	bl	elapsed_time
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L99
.L101:
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L100
	ldr	r3, .L112+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r3, .L112+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r4
	ldr	r1, [fp, #-40]
	ldr	r0, .L112+68
	bl	printf
.L100:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L99:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L101
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L102
	ldr	r0, .L112+72
	bl	puts
.L102:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L103
.L104:
	ldr	r3, .L112+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #6
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L103:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L104
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L105
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L112+76
	ldr	r3, .L112+80
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-36]
	ldr	r0, .L112+84
	bl	printf
	b	.L106
.L105:
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L112+88
	bl	printf
.L106:
	ldr	r3, .L112+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L107
	ldr	r0, .L112+92
	bl	puts
.L107:
	mov	r3, #0
	ldr	r2, .L112
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L109
	bl	__stack_chk_fail
.L109:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC23
	.word	num_workers
	.word	counters
	.word	begin
	.word	verbose_flag
	.word	.LC13
	.word	thread_ids
	.word	mem_releaser
	.word	.LC14
	.word	.LC15
	.word	mem_allocator
	.word	.LC16
	.word	run_time
	.word	.LC17
	.word	done_flag
	.word	empty_cv
	.word	full_cv
	.word	.LC18
	.word	.LC19
	.word	-1598689907
	.word	1051772663
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	run_memory_free_test, .-run_memory_free_test
	.section	.rodata
	.align	2
.LC24:
	.ascii	"%s [-w workers] [-t run_time] [-d] [-v]\012\000"
	.align	2
.LC25:
	.ascii	"\011 -w number of producer threads (and number of c"
	.ascii	"onsumer threads), default %d\012\000"
	.align	2
.LC26:
	.ascii	"\011 -t run time in seconds, default 20.0 seconds.\000"
	.align	2
.LC27:
	.ascii	"\011 -s size of object to allocate (default %d byte"
	.ascii	"s) (specify -1 to get many different object sizes)\012"
	.ascii	"\000"
	.align	2
.LC28:
	.ascii	"\011 -d debug mode\000"
	.align	2
.LC29:
	.ascii	"\011 -v verbose mode (-v -v produces more verbose)\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ 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]
	ldr	r1, [fp, #-8]
	ldr	r0, .L115
	bl	printf
	mov	r1, #4
	ldr	r0, .L115+4
	bl	printf
	ldr	r0, .L115+8
	bl	puts
	mov	r1, #1024
	ldr	r0, .L115+12
	bl	printf
	ldr	r0, .L115+16
	bl	puts
	ldr	r0, .L115+20
	bl	puts
	mov	r0, #1
	bl	exit
.L116:
	.align	2
.L115:
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC30:
	.ascii	"w:t:ds:v\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-28]
	bl	new_malloc_init
	b	.L118
.L126:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #100
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L119
.L121:
	.word	.L125
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L119
	.word	.L124
	.word	.L123
	.word	.L119
	.word	.L122
	.word	.L120
.L120:
	ldr	r3, .L132
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L132+4
	str	r3, [r2]
	b	.L118
.L123:
	ldr	r3, .L132
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L132+8
	stm	r1, {r2-r3}
	b	.L118
.L125:
	ldr	r3, .L132+12
	mov	r2, #1
	str	r2, [r3]
	b	.L118
.L124:
	ldr	r3, .L132
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L132+16
	str	r3, [r2]
	b	.L118
.L122:
	ldr	r3, .L132+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L132+20
	str	r3, [r2]
	b	.L118
.L119:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
.L118:
	ldr	r2, .L132+24
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L126
	ldr	r3, .L132+4
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	new_malloc
	mov	r3, r0
	ldr	r2, .L132+28
	str	r3, [r2]
	ldr	r3, .L132+4
	ldr	r3, [r3]
	lsl	r3, r3, #6
	mov	r0, r3
	bl	new_malloc
	mov	r3, r0
	ldr	r2, .L132+32
	str	r3, [r2]
	bl	run_memory_free_test
	b	.L127
.L130:
	ldr	r3, .L132+36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L132+36
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L128
.L129:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	new_free
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L128:
	ldr	r3, [fp, #-16]
	cmp	r3, #4096
	blt	.L129
	ldr	r0, [fp, #-8]
	bl	new_free
.L127:
	ldr	r3, .L132+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L130
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L133:
	.align	2
.L132:
	.word	optarg
	.word	num_workers
	.word	run_time
	.word	debug_flag
	.word	object_size
	.word	verbose_flag
	.word	.LC30
	.word	thread_ids
	.word	counters
	.word	batches
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.7331, %object
	.size	__PRETTY_FUNCTION__.7331, 8
__PRETTY_FUNCTION__.7331:
	.ascii	"new_log\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7345, %object
	.size	__PRETTY_FUNCTION__.7345, 10
__PRETTY_FUNCTION__.7345:
	.ascii	"do_finish\000"
	.align	2
	.type	__PRETTY_FUNCTION__.7354, %object
	.size	__PRETTY_FUNCTION__.7354, 11
__PRETTY_FUNCTION__.7354:
	.ascii	"new_malloc\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
