	.file	"3092.c"
	.intel_syntax noprefix
	.text
	.globl	G_MAX_DEPTH
	.data
	.align 4
	.type	G_MAX_DEPTH, @object
	.size	G_MAX_DEPTH, 4
G_MAX_DEPTH:
	.long	7
	.globl	G_INC_DEPTH
	.bss
	.align 4
	.type	G_INC_DEPTH, @object
	.size	G_INC_DEPTH, 4
G_INC_DEPTH:
	.zero	4
	.globl	G_ITERATION
	.data
	.align 4
	.type	G_ITERATION, @object
	.size	G_ITERATION, 4
G_ITERATION:
	.long	11
	.globl	G_TRACEITER
	.align 4
	.type	G_TRACEITER, @object
	.size	G_TRACEITER, 4
G_TRACEITER:
	.long	-1
	.globl	G_ITER
	.bss
	.align 4
	.type	G_ITER, @object
	.size	G_ITER, 4
G_ITER:
	.zero	4
	.globl	G_MEMPOOL
	.align 8
	.type	G_MEMPOOL, @object
	.size	G_MEMPOOL, 8
G_MEMPOOL:
	.zero	8
	.globl	G_CONTMEM
	.align 8
	.type	G_CONTMEM, @object
	.size	G_CONTMEM, 8
G_CONTMEM:
	.zero	8
	.text
	.globl	tree_build_serial_topdown
	.type	tree_build_serial_topdown, @function
tree_build_serial_topdown:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	edx, eax
	jge	.L7
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	quick_base@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 72[rax]
	sal	eax, 3
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L6:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	edi, eax
	call	memp_get@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR 8[rdx+rcx*8], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	DWORD PTR -16[rbp], eax
	jge	.L5
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdi, rax
	call	tree_build_serial_topdown
.L5:
	add	DWORD PTR -20[rbp], 1
.L4:
	cmp	DWORD PTR -20[rbp], 7
	jle	.L6
	jmp	.L1
.L7:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	tree_build_serial_topdown, .-tree_build_serial_topdown
	.globl	tree_build_serial_downtop
	.type	tree_build_serial_downtop, @function
tree_build_serial_downtop:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 712
	.cfi_offset 3, -24
	mov	QWORD PTR -712[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -712[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	edx, eax
	jge	.L15
	mov	rax, QWORD PTR -712[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	DWORD PTR -688[rbp], eax
	lea	rax, -672[rbp]
	mov	edx, 640
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -688[rbp]
	mov	edi, eax
	call	quick_base@PLT
	mov	DWORD PTR -684[rbp], eax
	mov	rax, QWORD PTR -712[rbp]
	mov	eax, DWORD PTR 72[rax]
	sal	eax, 3
	mov	DWORD PTR -680[rbp], eax
	mov	DWORD PTR -692[rbp], 0
	jmp	.L11
.L13:
	mov	edx, DWORD PTR -680[rbp]
	mov	eax, DWORD PTR -692[rbp]
	add	eax, edx
	mov	DWORD PTR -676[rbp], eax
	mov	eax, DWORD PTR -692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -584[rax]
	mov	eax, DWORD PTR -676[rbp]
	mov	DWORD PTR [rdx], eax
	mov	edx, DWORD PTR -684[rbp]
	mov	eax, DWORD PTR -676[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 580
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -656[rax]
	mov	eax, DWORD PTR -688[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	DWORD PTR -688[rbp], eax
	jge	.L12
	lea	rcx, -672[rbp]
	mov	eax, DWORD PTR -692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdi, rax
	call	tree_build_serial_downtop
.L12:
	mov	eax, DWORD PTR -692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 580
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	memp_get@PLT
	mov	rdx, QWORD PTR -712[rbp]
	mov	ecx, DWORD PTR -692[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR 8[rdx+rcx*8], rax
	mov	rax, QWORD PTR -712[rbp]
	mov	edx, DWORD PTR -692[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -692[rbp]
	movsx	rcx, edx
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	sal	rdx, 4
	lea	rbx, -16[rdx]
	lea	rdx, [rbx+rbp]
	sub	rdx, 656
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	rbx, QWORD PTR 72[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	add	DWORD PTR -692[rbp], 1
.L11:
	cmp	DWORD PTR -692[rbp], 7
	jle	.L13
	jmp	.L8
.L15:
	nop
.L8:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	tree_build_serial_downtop, .-tree_build_serial_downtop
	.globl	tree_build_parallel_topdown
	.type	tree_build_parallel_topdown, @function
tree_build_parallel_topdown:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	edx, eax
	jl	.L17
	mov	eax, 0
	jmp	.L28
.L17:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	DWORD PTR -104[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	quick_base@PLT
	mov	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 72[rax]
	sal	eax, 3
	mov	DWORD PTR -96[rbp], eax
	mov	DWORD PTR -108[rbp], 0
	jmp	.L19
.L20:
	mov	edx, DWORD PTR -96[rbp]
	mov	eax, DWORD PTR -108[rbp]
	add	eax, edx
	mov	DWORD PTR -92[rbp], eax
	mov	edx, DWORD PTR -100[rbp]
	mov	eax, DWORD PTR -92[rbp]
	add	eax, edx
	mov	edi, eax
	call	memp_get@PLT
	mov	rdx, QWORD PTR -88[rbp]
	mov	ecx, DWORD PTR -108[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR 8[rdx+rcx*8], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -92[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -104[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -108[rbp], 1
.L19:
	cmp	DWORD PTR -108[rbp], 7
	jle	.L20
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	DWORD PTR -104[rbp], eax
	jl	.L21
	mov	eax, 0
	jmp	.L28
.L21:
	mov	DWORD PTR -108[rbp], 0
	jmp	.L22
.L25:
	cmp	DWORD PTR -108[rbp], 6
	jg	.L23
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	lea	rcx, -80[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, tree_build_parallel_topdown[rip]
	mov	esi, 0
	call	pthread_create@PLT
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdi, rax
	call	tree_build_parallel_topdown
.L24:
	add	DWORD PTR -108[rbp], 1
.L22:
	cmp	DWORD PTR -108[rbp], 7
	jle	.L25
	mov	DWORD PTR -108[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -108[rbp], 1
.L26:
	cmp	DWORD PTR -108[rbp], 6
	jle	.L27
	mov	eax, 0
.L28:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	tree_build_parallel_topdown, .-tree_build_parallel_topdown
	.globl	tree_build_parallel_downtop
	.type	tree_build_parallel_downtop, @function
tree_build_parallel_downtop:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 776
	.cfi_offset 3, -24
	mov	QWORD PTR -776[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -776[rbp]
	mov	QWORD PTR -744[rbp], rax
	mov	rax, QWORD PTR -744[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	edx, eax
	jl	.L31
	mov	eax, 0
	jmp	.L44
.L31:
	mov	rax, QWORD PTR -744[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 1
	mov	DWORD PTR -760[rbp], eax
	lea	rax, -672[rbp]
	mov	edx, 640
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -760[rbp]
	mov	edi, eax
	call	quick_base@PLT
	mov	DWORD PTR -756[rbp], eax
	mov	rax, QWORD PTR -744[rbp]
	mov	eax, DWORD PTR 72[rax]
	sal	eax, 3
	mov	DWORD PTR -752[rbp], eax
	mov	DWORD PTR -764[rbp], 0
	jmp	.L33
.L34:
	mov	edx, DWORD PTR -752[rbp]
	mov	eax, DWORD PTR -764[rbp]
	add	eax, edx
	mov	DWORD PTR -748[rbp], eax
	mov	eax, DWORD PTR -764[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -584[rax]
	mov	eax, DWORD PTR -748[rbp]
	mov	DWORD PTR [rdx], eax
	mov	edx, DWORD PTR -756[rbp]
	mov	eax, DWORD PTR -748[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -764[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 580
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -764[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -656[rax]
	mov	eax, DWORD PTR -760[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -764[rbp], 1
.L33:
	cmp	DWORD PTR -764[rbp], 7
	jle	.L34
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	DWORD PTR -760[rbp], eax
	jge	.L35
	mov	DWORD PTR -764[rbp], 0
	jmp	.L36
.L39:
	cmp	DWORD PTR -764[rbp], 6
	jg	.L37
	lea	rcx, -672[rbp]
	mov	eax, DWORD PTR -764[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	rcx, -736[rbp]
	mov	eax, DWORD PTR -764[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, tree_build_parallel_downtop[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	jmp	.L38
.L37:
	lea	rcx, -672[rbp]
	mov	eax, DWORD PTR -764[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	rdi, rax
	call	tree_build_parallel_downtop
.L38:
	add	DWORD PTR -764[rbp], 1
.L36:
	cmp	DWORD PTR -764[rbp], 7
	jle	.L39
	mov	DWORD PTR -764[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -764[rbp]
	cdqe
	mov	rax, QWORD PTR -736[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -764[rbp], 1
.L40:
	cmp	DWORD PTR -764[rbp], 6
	jle	.L41
.L35:
	mov	DWORD PTR -764[rbp], 0
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -764[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 580
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	memp_get@PLT
	mov	rdx, QWORD PTR -744[rbp]
	mov	ecx, DWORD PTR -764[rbp]
	movsx	rcx, ecx
	mov	QWORD PTR 8[rdx+rcx*8], rax
	mov	rax, QWORD PTR -744[rbp]
	mov	edx, DWORD PTR -764[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -764[rbp]
	movsx	rcx, edx
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	sal	rdx, 4
	lea	rbx, -16[rdx]
	lea	rdx, [rbx+rbp]
	sub	rdx, 656
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	rbx, QWORD PTR 72[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	add	DWORD PTR -764[rbp], 1
.L42:
	cmp	DWORD PTR -764[rbp], 7
	jle	.L43
	mov	eax, 0
.L44:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	tree_build_parallel_downtop, .-tree_build_parallel_downtop
	.globl	tree_build
	.type	tree_build, @function
tree_build:
.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
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	tree_build_parallel_downtop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	tree_build, .-tree_build
	.globl	tree_traversal_serial
	.type	tree_traversal_serial, @function
tree_traversal_serial:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	je	.L52
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tree_traversal_serial
	add	DWORD PTR -4[rbp], 1
.L50:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L51
	jmp	.L47
.L52:
	nop
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	tree_traversal_serial, .-tree_traversal_serial
	.globl	tree_traversal_parallel
	.type	tree_traversal_parallel, @function
tree_traversal_parallel:
.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, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -232[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L54
	mov	eax, 0
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -216[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L56
	mov	DWORD PTR -220[rbp], 0
	jmp	.L57
.L60:
	mov	rax, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	edx, DWORD PTR -220[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 144
	mov	QWORD PTR [rdx], rax
	cmp	DWORD PTR -220[rbp], 6
	jg	.L58
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	lea	rcx, -208[rbp]
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, rdx
	lea	rdx, tree_traversal_parallel[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	jmp	.L59
.L58:
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdi, rax
	call	tree_traversal_parallel
.L59:
	add	DWORD PTR -220[rbp], 1
.L57:
	cmp	DWORD PTR -220[rbp], 7
	jle	.L60
	mov	DWORD PTR -220[rbp], 0
	jmp	.L61
.L63:
	cmp	DWORD PTR -220[rbp], 6
	jg	.L62
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	mov	rax, QWORD PTR -208[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
.L62:
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -220[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 136
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	DWORD PTR 8[rax], edx
	add	DWORD PTR -220[rbp], 1
.L61:
	cmp	DWORD PTR -220[rbp], 7
	jle	.L63
.L56:
.L53:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	tree_traversal_parallel, .-tree_traversal_parallel
	.globl	tree_traversal
	.type	tree_traversal, @function
tree_traversal:
.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	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -24[rbp], 0
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	tree_traversal_parallel
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L66
	call	__stack_chk_fail@PLT
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	tree_traversal, .-tree_traversal
	.globl	tree_free_parallel
	.type	tree_free_parallel, @function
tree_free_parallel:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L68
	mov	eax, 0
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L70
	mov	DWORD PTR -92[rbp], 0
	jmp	.L71
.L72:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	lea	rcx, -80[rbp]
	mov	edx, DWORD PTR -92[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	lea	rdx, tree_free_parallel[rip]
	mov	esi, 0
	call	pthread_create@PLT
	add	DWORD PTR -92[rbp], 1
.L71:
	cmp	DWORD PTR -92[rbp], 7
	jle	.L72
	mov	DWORD PTR -92[rbp], 0
	jmp	.L73
.L74:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	mov	rax, QWORD PTR -80[rbp+rax*8]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	add	DWORD PTR -92[rbp], 1
.L73:
	cmp	DWORD PTR -92[rbp], 7
	jle	.L74
.L70:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR G_INC_DEPTH[rip]
	cmp	edx, eax
	jle	.L75
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	memp_put@PLT
.L75:
.L67:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	tree_free_parallel, .-tree_free_parallel
	.globl	tree_free_serial
	.type	tree_free_serial, @function
tree_free_serial:
.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	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L82
	mov	DWORD PTR -4[rbp], 0
	jmp	.L80
.L81:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR 8[rax+rdx*8]
	mov	rdi, rax
	call	tree_free_serial
	add	DWORD PTR -4[rbp], 1
.L80:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L81
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L77
.L82:
	nop
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	tree_free_serial, .-tree_free_serial
	.globl	tree_free
	.type	tree_free, @function
tree_free:
.LFB23:
	.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	rdi, rax
	call	tree_free_parallel
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	tree_free, .-tree_free
	.section	.rodata
	.align 8
.LC0:
	.string	"Arguments not sufficient, use default values"
	.align 8
.LC5:
	.string	"Depth: %d (inc %d), Iter: %d (mtrace the %dth), Nodes: %d\n"
	.align 8
.LC6:
	.string	"Tree check failed! (%d vs. %d)\n"
	.align 8
.LC7:
	.string	"[%02d] Build: %d Traversal: %d Free: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 1
	jg	.L85
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L86
.L85:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR G_MAX_DEPTH[rip], eax
	cmp	DWORD PTR -52[rbp], 2
	jle	.L87
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR G_ITERATION[rip], eax
.L87:
	cmp	DWORD PTR -52[rbp], 3
	jle	.L88
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR G_TRACEITER[rip], eax
	jmp	.L86
.L88:
	mov	eax, DWORD PTR G_ITERATION[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR G_TRACEITER[rip], eax
.L86:
	mov	edx, DWORD PTR G_INC_DEPTH[rip]
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	cmp	edx, eax
	jl	.L89
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	sub	eax, 1
	mov	DWORD PTR G_INC_DEPTH[rip], eax
.L89:
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC2[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movsd	xmm1, QWORD PTR .LC3[rip]
	movq	xmm0, rax
	subsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	xmalloc@PLT
	mov	QWORD PTR G_MEMPOOL[rip], rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR G_MEMPOOL[rip]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	esi, DWORD PTR G_TRACEITER[rip]
	mov	ecx, DWORD PTR G_ITERATION[rip]
	mov	edx, DWORD PTR G_INC_DEPTH[rip]
	mov	eax, DWORD PTR G_MAX_DEPTH[rip]
	mov	edi, DWORD PTR -40[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR G_INC_DEPTH[rip]
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR G_INC_DEPTH[rip], 0
	mov	DWORD PTR G_ITER[rip], 0
	jmp	.L90
.L95:
	mov	eax, DWORD PTR G_INC_DEPTH[rip]
	test	eax, eax
	jne	.L91
	mov	edi, 0
	call	memp_get@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 72[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 76[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
.L91:
	call	curr_time_micro@PLT
	mov	DWORD PTR -32[rbp], eax
	mov	edx, DWORD PTR G_ITER[rip]
	mov	eax, DWORD PTR G_TRACEITER[rip]
	cmp	edx, eax
	jne	.L92
	call	mtrace@PLT
.L92:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	tree_build
	mov	edx, DWORD PTR G_ITER[rip]
	mov	eax, DWORD PTR G_TRACEITER[rip]
	cmp	edx, eax
	jne	.L93
	call	muntrace@PLT
.L93:
	call	curr_time_micro@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -48[rbp], 0
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tree_traversal
	mov	eax, DWORD PTR -48[rbp]
	cmp	DWORD PTR -40[rbp], eax
	je	.L94
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L94:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR G_INC_DEPTH[rip], eax
	call	curr_time_micro@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	tree_free
	call	curr_time_micro@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, DWORD PTR -32[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR G_ITER[rip]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR G_ITER[rip]
	add	eax, 1
	mov	DWORD PTR G_ITER[rip], eax
.L90:
	mov	edx, DWORD PTR G_ITER[rip]
	mov	eax, DWORD PTR G_ITERATION[rip]
	cmp	edx, eax
	jl	.L95
	mov	DWORD PTR -44[rbp], 0
	jmp	.L96
.L97:
	mov	rdx, QWORD PTR G_MEMPOOL[rip]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -44[rbp], 1
.L96:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L97
	mov	rax, QWORD PTR G_MEMPOOL[rip]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	-1717986918
	.long	1072273817
	.align 8
.LC2:
	.long	0
	.long	1075838976
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.align 8
.LC4:
	.long	0
	.long	1075576832
	.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	"3092.c"
	.text
	.global	G_MAX_DEPTH
	.data
	.align	2
	.type	G_MAX_DEPTH, %object
	.size	G_MAX_DEPTH, 4
G_MAX_DEPTH:
	.word	7
	.global	G_INC_DEPTH
	.bss
	.align	2
	.type	G_INC_DEPTH, %object
	.size	G_INC_DEPTH, 4
G_INC_DEPTH:
	.space	4
	.global	G_ITERATION
	.data
	.align	2
	.type	G_ITERATION, %object
	.size	G_ITERATION, 4
G_ITERATION:
	.word	11
	.global	G_TRACEITER
	.align	2
	.type	G_TRACEITER, %object
	.size	G_TRACEITER, 4
G_TRACEITER:
	.word	-1
	.global	G_ITER
	.bss
	.align	2
	.type	G_ITER, %object
	.size	G_ITER, 4
G_ITER:
	.space	4
	.global	G_MEMPOOL
	.align	2
	.type	G_MEMPOOL, %object
	.size	G_MEMPOOL, 4
G_MEMPOOL:
	.space	4
	.global	G_CONTMEM
	.align	2
	.type	G_CONTMEM, %object
	.size	G_CONTMEM, 4
G_CONTMEM:
	.space	4
	.text
	.align	2
	.global	tree_build_serial_topdown
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_build_serial_topdown, %function
tree_build_serial_topdown:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, .L8
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	quick_base
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #36]
	lsl	r3, r3, #3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L4
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	bl	memp_get
	mov	r1, r0
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, .L8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L5
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	tree_build_serial_topdown
.L5:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L4:
	ldr	r3, [fp, #-24]
	cmp	r3, #7
	ble	.L6
	b	.L1
.L7:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	G_MAX_DEPTH
	.size	tree_build_serial_topdown, .-tree_build_serial_topdown
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tree_build_serial_downtop
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_build_serial_downtop, %function
tree_build_serial_downtop:
	@ args = 0, pretend = 0, frame = 384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #384
	str	r0, [fp, #-384]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-384]
	ldr	r2, [r3]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L17
	ldr	r3, [fp, #-384]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-376]
	sub	r3, fp, #360
	mov	r2, #352
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-376]
	bl	quick_base
	str	r0, [fp, #-372]
	ldr	r3, [fp, #-384]
	ldr	r3, [r3, #36]
	lsl	r3, r3, #3
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-380]
	b	.L13
.L15:
	ldr	r2, [fp, #-368]
	ldr	r3, [fp, #-380]
	add	r3, r2, r3
	str	r3, [fp, #-364]
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #320
	ldr	r2, [fp, #-364]
	str	r2, [r3]
	ldr	r2, [fp, #-372]
	ldr	r3, [fp, #-364]
	add	r1, r2, r3
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #316
	str	r1, [r3]
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #356
	ldr	r2, [fp, #-376]
	str	r2, [r3]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-376]
	cmp	r2, r3
	bge	.L14
	sub	r1, fp, #360
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r0, r3
	bl	tree_build_serial_downtop
.L14:
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #316
	ldr	r3, [r3]
	mov	r0, r3
	bl	memp_get
	mov	r1, r0
	ldr	r2, [fp, #-384]
	ldr	r3, [fp, #-380]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r2, [fp, #-384]
	ldr	r3, [fp, #-380]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-380]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #356
	mov	ip, r1
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-380]
	add	r3, r3, #1
	str	r3, [fp, #-380]
.L13:
	ldr	r3, [fp, #-380]
	cmp	r3, #7
	ble	.L15
	b	.L10
.L17:
	nop
.L10:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	G_MAX_DEPTH
	.size	tree_build_serial_downtop, .-tree_build_serial_downtop
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tree_build_parallel_topdown
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_build_parallel_topdown, %function
tree_build_parallel_topdown:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	ldr	r2, [r3]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	b	.L32
.L21:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r0, [fp, #-56]
	bl	quick_base
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #36]
	lsl	r3, r3, #3
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L23
.L24:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r0, r3
	bl	memp_get
	mov	r1, r0
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-44]
	str	r2, [r3, #36]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L23:
	ldr	r3, [fp, #-64]
	cmp	r3, #7
	ble	.L24
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	b	.L32
.L25:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L26
.L29:
	ldr	r3, [fp, #-64]
	cmp	r3, #6
	bgt	.L27
	sub	r2, fp, #40
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L34+8
	mov	r1, #0
	bl	pthread_create
	b	.L28
.L27:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	tree_build_parallel_topdown
.L28:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L26:
	ldr	r3, [fp, #-64]
	cmp	r3, #7
	ble	.L29
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L30
.L31:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L30:
	ldr	r3, [fp, #-64]
	cmp	r3, #6
	ble	.L31
	mov	r3, #0
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC1
	.word	G_MAX_DEPTH
	.word	tree_build_parallel_topdown
	.size	tree_build_parallel_topdown, .-tree_build_parallel_topdown
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tree_build_parallel_downtop
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_build_parallel_downtop, %function
tree_build_parallel_downtop:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	str	r0, [fp, #-424]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-424]
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-412]
	ldr	r2, [r3]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L37
	mov	r3, #0
	b	.L50
.L37:
	ldr	r3, [fp, #-412]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-408]
	sub	r3, fp, #360
	mov	r2, #352
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, [fp, #-408]
	bl	quick_base
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-412]
	ldr	r3, [r3, #36]
	lsl	r3, r3, #3
	str	r3, [fp, #-400]
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L39
.L40:
	ldr	r2, [fp, #-400]
	ldr	r3, [fp, #-416]
	add	r3, r2, r3
	str	r3, [fp, #-396]
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #320
	ldr	r2, [fp, #-396]
	str	r2, [r3]
	ldr	r2, [fp, #-404]
	ldr	r3, [fp, #-396]
	add	r1, r2, r3
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #316
	str	r1, [r3]
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #356
	ldr	r2, [fp, #-408]
	str	r2, [r3]
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L39:
	ldr	r3, [fp, #-416]
	cmp	r3, #7
	ble	.L40
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-408]
	cmp	r2, r3
	bge	.L41
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L42
.L45:
	ldr	r3, [fp, #-416]
	cmp	r3, #6
	bgt	.L43
	sub	r2, fp, #392
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r1, fp, #360
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, .L52+8
	mov	r1, #0
	bl	pthread_create
	b	.L44
.L43:
	sub	r1, fp, #360
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r0, r3
	bl	tree_build_parallel_downtop
.L44:
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L42:
	ldr	r3, [fp, #-416]
	cmp	r3, #7
	ble	.L45
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L46
.L47:
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-388]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L46:
	ldr	r3, [fp, #-416]
	cmp	r3, #6
	ble	.L47
.L41:
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L48
.L49:
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #316
	ldr	r3, [r3]
	mov	r0, r3
	bl	memp_get
	mov	r1, r0
	ldr	r2, [fp, #-412]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r1, [r3, #4]
	ldr	r2, [fp, #-412]
	ldr	r3, [fp, #-416]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #356
	mov	ip, r1
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L48:
	ldr	r3, [fp, #-416]
	cmp	r3, #7
	ble	.L49
	mov	r3, #0
.L50:
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC2
	.word	G_MAX_DEPTH
	.word	tree_build_parallel_downtop
	.size	tree_build_parallel_downtop, .-tree_build_parallel_downtop
	.align	2
	.global	tree_build
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_build, %function
tree_build:
	@ 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, [fp, #-8]
	bl	tree_build_parallel_downtop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tree_build, .-tree_build
	.align	2
	.global	tree_traversal_serial
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_traversal_serial, %function
tree_traversal_serial:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L58
.L59:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	tree_traversal_serial
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L58:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L59
	b	.L55
.L60:
	nop
.L55:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tree_traversal_serial, .-tree_traversal_serial
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tree_traversal_parallel
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_traversal_parallel, %function
tree_traversal_parallel:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	ldr	r3, .L73
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L62
	mov	r3, #0
	b	.L61
.L62:
	ldr	r3, [fp, #-108]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L64
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L65
.L68:
	ldr	r3, [fp, #-108]
	ldr	r2, [r3]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-68]
	ldr	r3, [fp, #-112]
	cmp	r3, #6
	bgt	.L66
	sub	r2, fp, #104
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r0, r2, r3
	sub	r2, fp, #72
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, .L73+4
	mov	r1, #0
	bl	pthread_create
	b	.L67
.L66:
	sub	r2, fp, #72
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	tree_traversal_parallel
.L67:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L65:
	ldr	r3, [fp, #-112]
	cmp	r3, #7
	ble	.L68
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L69
.L71:
	ldr	r3, [fp, #-112]
	cmp	r3, #6
	bgt	.L70
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-100]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
.L70:
	ldr	r3, [fp, #-108]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-64]
	add	r2, r2, r3
	ldr	r3, [fp, #-108]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L69:
	ldr	r3, [fp, #-112]
	cmp	r3, #7
	ble	.L71
.L64:
.L61:
	ldr	r2, .L73
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L72
	bl	__stack_chk_fail
.L72:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	.LC3
	.word	tree_traversal_parallel
	.size	tree_traversal_parallel, .-tree_traversal_parallel
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tree_traversal
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_traversal, %function
tree_traversal:
	@ 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]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r0, r3
	bl	tree_traversal_parallel
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	nop
	ldr	r3, .L77
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L76
	bl	__stack_chk_fail
.L76:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC4
	.size	tree_traversal, .-tree_traversal
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tree_free_parallel
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_free_parallel, %function
tree_free_parallel:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L80
	mov	r3, #0
	b	.L79
.L80:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L82
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L83
.L84:
	sub	r2, fp, #40
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, .L89+4
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L83:
	ldr	r3, [fp, #-48]
	cmp	r3, #7
	ble	.L84
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L85
.L86:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L85:
	ldr	r3, [fp, #-48]
	cmp	r3, #7
	ble	.L86
.L82:
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	ldr	r3, .L89+8
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L87
	ldr	r0, [fp, #-44]
	bl	memp_put
.L87:
.L79:
	ldr	r2, .L89
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC5
	.word	tree_free_parallel
	.word	G_INC_DEPTH
	.size	tree_free_parallel, .-tree_free_parallel
	.align	2
	.global	tree_free_serial
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_free_serial, %function
tree_free_serial:
	@ 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
	beq	.L96
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L94
.L95:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	tree_free_serial
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L94:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L95
	ldr	r0, [fp, #-16]
	bl	free
	b	.L91
.L96:
	nop
.L91:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tree_free_serial, .-tree_free_serial
	.align	2
	.global	tree_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	tree_free, %function
tree_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]
	ldr	r0, [fp, #-8]
	bl	tree_free_parallel
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tree_free, .-tree_free
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Arguments not sufficient, use default values\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2iz
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.align	2
.LC7:
	.ascii	"Depth: %d (inc %d), Iter: %d (mtrace the %dth), Nod"
	.ascii	"es: %d\012\000"
	.align	2
.LC8:
	.ascii	"Tree check failed! (%d vs. %d)\012\000"
	.align	2
.LC9:
	.ascii	"[%02d] Build: %d Traversal: %d Free: %d\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L114
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bgt	.L99
	ldr	r0, .L114+4
	bl	puts
	b	.L100
.L99:
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L114+8
	str	r3, [r2]
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L101
	ldr	r3, [fp, #-52]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L114+12
	str	r3, [r2]
.L101:
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	ble	.L102
	ldr	r3, [fp, #-52]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L114+16
	str	r3, [r2]
	b	.L100
.L102:
	ldr	r3, .L114+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L114+20
	ldr	r3, .L114+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L114+16
	str	r3, [r2]
.L100:
	ldr	r3, .L114+28
	ldr	r2, [r3]
	ldr	r3, .L114+8
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L103
	ldr	r3, .L114+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L114+28
	str	r3, [r2]
.L103:
	ldr	r3, .L114+8
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L114+32
	bl	pow
	mov	r2, #0
	ldr	r3, .L114+36
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L114+40
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	xmalloc
	mov	r3, r0
	ldr	r2, .L114+44
	str	r3, [r2]
	ldr	r3, .L114+44
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L114+8
	ldr	r1, [r3]
	ldr	r3, .L114+28
	ldr	r0, [r3]
	ldr	r3, .L114+12
	ldr	ip, [r3]
	ldr	r3, .L114+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L114+48
	bl	printf
	ldr	r3, .L114+28
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, .L114+28
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L114+52
	mov	r2, #0
	str	r2, [r3]
	b	.L104
.L109:
	ldr	r3, .L114+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L105
	mov	r0, #0
	bl	memp_get
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3]
.L105:
	bl	curr_time_micro
	str	r0, [fp, #-24]
	ldr	r3, .L114+52
	ldr	r2, [r3]
	ldr	r3, .L114+16
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L106
	bl	mtrace
.L106:
	ldr	r0, [fp, #-40]
	bl	tree_build
	ldr	r3, .L114+52
	ldr	r2, [r3]
	ldr	r3, .L114+16
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L107
	bl	muntrace
.L107:
	bl	curr_time_micro
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	tree_traversal
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	beq	.L108
	ldr	r3, [fp, #-44]
	mov	r2, r3
	ldr	r1, [fp, #-32]
	ldr	r0, .L114+56
	bl	printf
.L108:
	ldr	r2, .L114+28
	ldr	r3, [fp, #-28]
	str	r3, [r2]
	bl	curr_time_micro
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-40]
	bl	tree_free
	bl	curr_time_micro
	str	r0, [fp, #-12]
	ldr	r3, .L114+52
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r0, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	ip, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L114+60
	bl	printf
	ldr	r3, .L114+52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L114+52
	str	r3, [r2]
.L104:
	ldr	r3, .L114+52
	ldr	r2, [r3]
	ldr	r3, .L114+12
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L109
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L110
.L111:
	ldr	r3, .L114+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L110:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L111
	ldr	r3, .L114+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mov	r3, #0
	ldr	r2, .L114
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L113
	bl	__stack_chk_fail
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	.LC10
	.word	.LC6
	.word	G_MAX_DEPTH
	.word	G_ITERATION
	.word	G_TRACEITER
	.word	-1717986918
	.word	1072273817
	.word	G_INC_DEPTH
	.word	1075838976
	.word	1072693248
	.word	1075576832
	.word	G_MEMPOOL
	.word	.LC7
	.word	G_ITER
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
