	.file	"681340.c"
	.intel_syntax noprefix
	.text
	.globl	getticks
	.type	getticks, @function
getticks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	clock_gettime@PLT
	test	eax, eax
	jns	.L2
	movss	xmm0, DWORD PTR .LC0[rip]
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -32[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, rax
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, rax
	movss	xmm0, DWORD PTR .LC1[rip]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
.L4:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	getticks, .-getticks
	.globl	mwcrand_r
	.type	mwcrand_r, @function
mwcrand_r:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 43690
.L7:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 48059
.L8:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movzx	eax, ax
	imul	edx, eax, 36969
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	shr	eax, 16
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	movzx	eax, ax
	imul	edx, eax, 18000
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	shr	eax, 16
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	sal	eax, 16
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mwcrand_r, .-mwcrand_r
	.globl	prngglobal
	.data
	.align 8
	.type	prngglobal, @object
	.size	prngglobal, 8
prngglobal:
	.quad	1311768464868769791
	.text
	.globl	smwcrand
	.type	smwcrand, @function
smwcrand:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	movabs	rdx, 1311768464868769791
	imul	rax, rdx
	mov	QWORD PTR prngglobal[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	smwcrand, .-smwcrand
	.globl	mwcrand
	.type	mwcrand, @function
mwcrand:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, prngglobal[rip]
	call	mwcrand_r
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	mwcrand, .-mwcrand
	.globl	N
	.bss
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.globl	ppixels
	.align 32
	.type	ppixels, @object
	.size	ppixels, 16000000
ppixels:
	.zero	16000000
	.globl	pdims
	.align 32
	.type	pdims, @object
	.size	pdims, 16000000
pdims:
	.zero	16000000
	.globl	nbackground
	.align 4
	.type	nbackground, @object
	.size	nbackground, 4
nbackground:
	.zero	4
	.globl	background
	.align 32
	.type	background, @object
	.size	background, 8000000
background:
	.zero	8000000
	.globl	nobjects
	.align 4
	.type	nobjects, @object
	.size	nobjects, 4
nobjects:
	.zero	4
	.globl	objects
	.align 32
	.type	objects, @object
	.size	objects, 32000000
objects:
	.zero	32000000
	.text
	.globl	load_image
	.type	load_image, @function
load_image:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L14
	mov	eax, 0
	jmp	.L15
.L14:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L16
	mov	eax, 0
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L17
	mov	eax, 0
	jmp	.L15
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rdx]
	mov	rdx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rdx]
	imul	edx, ecx
	movsx	rdx, edx
	cmp	rax, rdx
	je	.L18
	mov	eax, 0
	jmp	.L15
.L18:
	mov	eax, 1
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	load_image, .-load_image
	.section	.rodata
.LC2:
	.string	"rb"
	.text
	.globl	load_training_data
	.type	load_training_data, @function
load_training_data:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
	mov	eax, 0
	jmp	.L21
.L20:
	mov	DWORD PTR N[rip], 0
	mov	DWORD PTR nbackground[rip], 0
	mov	DWORD PTR nobjects[rip], 0
	jmp	.L22
.L28:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L23
	mov	eax, 1
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jne	.L24
	mov	edx, DWORD PTR nbackground[rip]
	mov	eax, DWORD PTR N[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, background[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR nbackground[rip]
	add	eax, 1
	mov	DWORD PTR nbackground[rip], eax
	jmp	.L25
.L24:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR nobjects[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, objects[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	eax, DWORD PTR nobjects[rip]
	cdqe
	sal	rax, 4
	lea	rdx, 4[rax]
	lea	rax, objects[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	eax, DWORD PTR nobjects[rip]
	cdqe
	sal	rax, 4
	lea	rdx, 8[rax]
	lea	rax, objects[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	edx, DWORD PTR nobjects[rip]
	mov	eax, DWORD PTR N[rip]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, objects[rip+12]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR nobjects[rip]
	add	eax, 1
	mov	DWORD PTR nobjects[rip], eax
	add	DWORD PTR -20[rbp], 1
.L26:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L27
.L25:
	mov	eax, DWORD PTR N[rip]
	add	eax, 1
	mov	DWORD PTR N[rip], eax
.L22:
	mov	eax, DWORD PTR N[rip]
	cdqe
	sal	rax, 3
	lea	rdx, 4[rax]
	lea	rax, pdims[rip]
	add	rdx, rax
	mov	eax, DWORD PTR N[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, pdims[rip]
	lea	rsi, [rcx+rax]
	mov	eax, DWORD PTR N[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, ppixels[rip]
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	call	load_image
	test	eax, eax
	jne	.L28
	mov	eax, 1
.L21:
	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
.LFE5:
	.size	load_training_data, .-load_training_data
	.globl	bintest
	.type	bintest, @function
bintest:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	DWORD PTR -44[rbp], edx
	mov	DWORD PTR -48[rbp], ecx
	mov	DWORD PTR -52[rbp], r8d
	lea	rax, -36[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	imul	eax, DWORD PTR -48[rbp]
	add	eax, edx
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	imul	eax, DWORD PTR -48[rbp]
	add	eax, edx
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	imul	eax, DWORD PTR -48[rbp]
	add	eax, edx
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	imul	eax, DWORD PTR -48[rbp]
	add	eax, edx
	lea	edx, 255[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 8
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, pdims[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, 0
	cmp	DWORD PTR -24[rbp], 0
	cmovns	eax, DWORD PTR -24[rbp]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, pdims[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, 0
	cmp	DWORD PTR -20[rbp], 0
	cmovns	eax, DWORD PTR -20[rbp]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, pdims[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, 0
	cmp	DWORD PTR -16[rbp], 0
	cmovns	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, pdims[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, 0
	cmp	DWORD PTR -12[rbp], 0
	cmovns	eax, DWORD PTR -12[rbp]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, ppixels[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, pdims[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	imul	eax, DWORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	cdqe
	add	rax, rcx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, ppixels[rip]
	mov	rsi, QWORD PTR [rcx+rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, pdims[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	imul	eax, DWORD PTR -16[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, ecx
	cdqe
	add	rax, rsi
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	setbe	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	bintest, .-bintest
	.globl	get_split_error
	.type	get_split_error, @function
get_split_error:
.LFB7:
	.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	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -120[rbp], r8
	mov	QWORD PTR -128[rbp], r9
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	movsd	QWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	bintest
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -56[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	jmp	.L35
.L34:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -64[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -48[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm2, DWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm2
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
.L35:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -72[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	add	DWORD PTR -76[rbp], 1
.L33:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR 32[rbp]
	jl	.L36
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	mulsd	xmm0, xmm0
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, QWORD PTR -72[rbp]
	cvtsd2ss	xmm0, xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_split_error, .-get_split_error
	.globl	split_training_data
	.type	split_training_data, @function
split_training_data:
.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, 64
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	QWORD PTR -64[rbp], r9
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR 32[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L39
.L43:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L54
	add	DWORD PTR -12[rbp], 1
.L40:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	bintest
	test	eax, eax
	je	.L43
	jmp	.L44
.L54:
	nop
	jmp	.L44
.L47:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L55
	sub	DWORD PTR -8[rbp], 1
.L44:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	bintest
	test	eax, eax
	jne	.L47
	jmp	.L46
.L55:
	nop
.L46:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L48
	mov	DWORD PTR -16[rbp], 1
	jmp	.L39
.L48:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	DWORD PTR [rax], edx
.L39:
	cmp	DWORD PTR -16[rbp], 0
	je	.L40
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L50
.L52:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edi, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR 24[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	bintest
	test	eax, eax
	jne	.L51
	add	DWORD PTR -4[rbp], 1
.L51:
	add	DWORD PTR -12[rbp], 1
.L50:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR 32[rbp]
	jl	.L52
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	split_training_data, .-split_training_data
	.globl	get_random_tcode
	.type	get_random_tcode, @function
get_random_tcode:
.LFB9:
	.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -36[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	ebx, eax
	mov	eax, 0
	call	mwcrand
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, 1
	movzx	edx, BYTE PTR [rdx]
	movsx	ecx, dl
	mov	rdx, QWORD PTR -56[rbp]
	movzx	edx, BYTE PTR [rdx]
	movsx	esi, dl
	sub	ecx, esi
	mov	edx, ecx
	add	edx, 1
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	add	eax, ebx
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	mov	ebx, eax
	mov	eax, 0
	call	mwcrand
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, 3
	movzx	edx, BYTE PTR [rdx]
	movsx	edx, dl
	mov	rcx, QWORD PTR -56[rbp]
	add	rcx, 2
	movzx	ecx, BYTE PTR [rcx]
	movsx	ecx, cl
	sub	edx, ecx
	add	edx, 1
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	lea	edx, [rbx+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	ebx, eax
	mov	eax, 0
	call	mwcrand
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, 1
	movzx	edx, BYTE PTR [rdx]
	movsx	ecx, dl
	mov	rdx, QWORD PTR -56[rbp]
	movzx	edx, BYTE PTR [rdx]
	movsx	esi, dl
	sub	ecx, esi
	mov	edx, ecx
	add	edx, 1
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	lea	edx, [rbx+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	mov	ebx, eax
	mov	eax, 0
	call	mwcrand
	mov	rdx, QWORD PTR -56[rbp]
	add	rdx, 3
	movzx	edx, BYTE PTR [rdx]
	movsx	edx, dl
	mov	rcx, QWORD PTR -56[rbp]
	add	rcx, 2
	movzx	ecx, BYTE PTR [rcx]
	movsx	ecx, cl
	sub	edx, ecx
	add	edx, 1
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	lea	edx, [rbx+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -36[rbp]
	mov	rdi, QWORD PTR -24[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_random_tcode, .-get_random_tcode
	.globl	grow_subtree
	.type	grow_subtree, @function
grow_subtree:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 160
	mov	QWORD PTR -16456[rbp], rdi
	mov	QWORD PTR -16464[rbp], rsi
	mov	DWORD PTR -16468[rbp], edx
	mov	DWORD PTR -16472[rbp], ecx
	mov	DWORD PTR -16476[rbp], r8d
	mov	QWORD PTR -16488[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -16496[rbp], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -16504[rbp], rax
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -16512[rbp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	QWORD PTR -16520[rbp], rax
	mov	rax, QWORD PTR 48[rbp]
	mov	QWORD PTR -16528[rbp], rax
	mov	rax, QWORD PTR 56[rbp]
	mov	QWORD PTR -16536[rbp], rax
	mov	rax, QWORD PTR 72[rbp]
	mov	QWORD PTR -16544[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -16472[rbp]
	cmp	eax, DWORD PTR -16476[rbp]
	jne	.L60
	mov	eax, DWORD PTR -16476[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -16468[rbp]
	sub	eax, edx
	mov	DWORD PTR -16420[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16416[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16408[rbp], xmm0
	mov	DWORD PTR -16436[rbp], 0
	jmp	.L61
.L62:
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16536[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16528[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16536[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16488[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -16416[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16416[rbp], xmm0
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16536[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16528[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -16408[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16408[rbp], xmm0
	add	DWORD PTR -16436[rbp], 1
.L61:
	mov	eax, DWORD PTR -16436[rbp]
	cmp	eax, DWORD PTR 64[rbp]
	jl	.L62
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -16408[rbp]
	jp	.L63
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -16408[rbp]
	jne	.L63
	mov	eax, DWORD PTR -16420[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16464[rbp]
	add	rax, rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	jmp	.L65
.L63:
	movsd	xmm0, QWORD PTR -16416[rbp]
	divsd	xmm0, QWORD PTR -16408[rbp]
	mov	eax, DWORD PTR -16420[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16464[rbp]
	add	rax, rdx
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
.L65:
	mov	eax, 1
	jmp	.L76
.L60:
	cmp	DWORD PTR 64[rbp], 1
	jg	.L67
	mov	eax, DWORD PTR -16468[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16456[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -16472[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16468[rbp]
	add	eax, eax
	lea	edx, 1[rax]
	mov	r9, QWORD PTR -16488[rbp]
	mov	r8d, DWORD PTR -16476[rbp]
	mov	rsi, QWORD PTR -16464[rbp]
	mov	rax, QWORD PTR -16456[rbp]
	push	QWORD PTR -16544[rbp]
	mov	edi, DWORD PTR 64[rbp]
	push	rdi
	push	QWORD PTR -16536[rbp]
	push	QWORD PTR -16528[rbp]
	push	QWORD PTR -16520[rbp]
	push	QWORD PTR -16512[rbp]
	push	QWORD PTR -16504[rbp]
	push	QWORD PTR -16496[rbp]
	mov	rdi, rax
	call	grow_subtree
	add	rsp, 64
	mov	eax, DWORD PTR -16472[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16468[rbp]
	add	eax, 1
	lea	edx, [rax+rax]
	mov	r9, QWORD PTR -16488[rbp]
	mov	r8d, DWORD PTR -16476[rbp]
	mov	rsi, QWORD PTR -16464[rbp]
	mov	rax, QWORD PTR -16456[rbp]
	push	QWORD PTR -16544[rbp]
	mov	edi, DWORD PTR 64[rbp]
	push	rdi
	push	QWORD PTR -16536[rbp]
	push	QWORD PTR -16528[rbp]
	push	QWORD PTR -16520[rbp]
	push	QWORD PTR -16512[rbp]
	push	QWORD PTR -16504[rbp]
	push	QWORD PTR -16496[rbp]
	mov	rdi, rax
	call	grow_subtree
	add	rsp, 64
	mov	eax, 1
	jmp	.L76
.L67:
	mov	DWORD PTR -16428[rbp], 1024
	mov	DWORD PTR -16436[rbp], 0
	jmp	.L68
.L69:
	mov	rax, QWORD PTR -16544[rbp]
	mov	rdi, rax
	call	get_random_tcode
	mov	edx, DWORD PTR -16436[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -16400[rbp+rdx*4], eax
	add	DWORD PTR -16436[rbp], 1
.L68:
	mov	eax, DWORD PTR -16436[rbp]
	cmp	eax, DWORD PTR -16428[rbp]
	jl	.L69
	mov	DWORD PTR -16436[rbp], 0
	jmp	.L70
.L71:
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	mov	eax, DWORD PTR -16400[rbp+rax*4]
	mov	r9, QWORD PTR -16520[rbp]
	mov	r8, QWORD PTR -16512[rbp]
	mov	rcx, QWORD PTR -16504[rbp]
	mov	rdx, QWORD PTR -16496[rbp]
	mov	rsi, QWORD PTR -16488[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR 64[rbp]
	push	rdi
	push	QWORD PTR -16536[rbp]
	push	QWORD PTR -16528[rbp]
	mov	edi, eax
	call	get_split_error
	add	rsp, 32
	movd	eax, xmm0
	mov	edx, DWORD PTR -16436[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -8208[rbp+rdx*4], eax
	add	DWORD PTR -16436[rbp], 1
.L70:
	mov	eax, DWORD PTR -16436[rbp]
	cmp	eax, DWORD PTR -16428[rbp]
	jl	.L71
	movss	xmm0, DWORD PTR -8208[rbp]
	movss	DWORD PTR -16432[rbp], xmm0
	mov	eax, DWORD PTR -16468[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16400[rbp]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -16436[rbp], 1
	jmp	.L72
.L75:
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	movss	xmm1, DWORD PTR -8208[rbp+rax*4]
	movss	xmm0, DWORD PTR -16432[rbp]
	comiss	xmm0, xmm1
	jbe	.L73
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	movss	xmm0, DWORD PTR -8208[rbp+rax*4]
	movss	DWORD PTR -16432[rbp], xmm0
	mov	eax, DWORD PTR -16468[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16456[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16436[rbp]
	cdqe
	mov	eax, DWORD PTR -16400[rbp+rax*4]
	mov	DWORD PTR [rdx], eax
.L73:
	add	DWORD PTR -16436[rbp], 1
.L72:
	mov	eax, DWORD PTR -16436[rbp]
	cmp	eax, DWORD PTR -16428[rbp]
	jl	.L75
	mov	eax, DWORD PTR -16468[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16456[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	r9, QWORD PTR -16520[rbp]
	mov	r8, QWORD PTR -16512[rbp]
	mov	rcx, QWORD PTR -16504[rbp]
	mov	rdx, QWORD PTR -16496[rbp]
	mov	rsi, QWORD PTR -16488[rbp]
	sub	rsp, 8
	mov	edi, DWORD PTR 64[rbp]
	push	rdi
	push	QWORD PTR -16536[rbp]
	push	QWORD PTR -16528[rbp]
	mov	edi, eax
	call	split_training_data
	add	rsp, 32
	mov	DWORD PTR -16424[rbp], eax
	mov	eax, DWORD PTR -16472[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16468[rbp]
	add	eax, eax
	lea	edx, 1[rax]
	mov	r9, QWORD PTR -16488[rbp]
	mov	r8d, DWORD PTR -16476[rbp]
	mov	rsi, QWORD PTR -16464[rbp]
	mov	rax, QWORD PTR -16456[rbp]
	push	QWORD PTR -16544[rbp]
	mov	edi, DWORD PTR -16424[rbp]
	push	rdi
	push	QWORD PTR -16536[rbp]
	push	QWORD PTR -16528[rbp]
	push	QWORD PTR -16520[rbp]
	push	QWORD PTR -16512[rbp]
	push	QWORD PTR -16504[rbp]
	push	QWORD PTR -16496[rbp]
	mov	rdi, rax
	call	grow_subtree
	add	rsp, 64
	mov	eax, DWORD PTR 64[rbp]
	sub	eax, DWORD PTR -16424[rbp]
	mov	edi, eax
	mov	eax, DWORD PTR -16424[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16536[rbp]
	lea	r8, [rdx+rax]
	mov	eax, DWORD PTR -16472[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -16468[rbp]
	add	eax, 1
	lea	edx, [rax+rax]
	mov	r9, QWORD PTR -16488[rbp]
	mov	r10d, DWORD PTR -16476[rbp]
	mov	rsi, QWORD PTR -16464[rbp]
	mov	rax, QWORD PTR -16456[rbp]
	push	QWORD PTR -16544[rbp]
	push	rdi
	push	r8
	push	QWORD PTR -16528[rbp]
	push	QWORD PTR -16520[rbp]
	push	QWORD PTR -16512[rbp]
	push	QWORD PTR -16504[rbp]
	push	QWORD PTR -16496[rbp]
	mov	r8d, r10d
	mov	rdi, rax
	call	grow_subtree
	add	rsp, 64
	mov	eax, 1
.L76:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	grow_subtree, .-grow_subtree
	.globl	grow_rtree
	.type	grow_rtree, @function
grow_rtree:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	QWORD PTR -64[rbp], r9
	mov	eax, DWORD PTR 40[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L81
.L82:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -12[rbp], 1
.L81:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR 40[rbp]
	jl	.L82
	mov	rdi, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	push	QWORD PTR 48[rbp]
	mov	edx, DWORD PTR 40[rbp]
	push	rdx
	push	QWORD PTR -8[rbp]
	push	QWORD PTR 32[rbp]
	push	QWORD PTR 24[rbp]
	push	QWORD PTR 16[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -56[rbp]
	mov	r9, rdi
	mov	r8d, ecx
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	grow_subtree
	add	rsp, 64
	test	eax, eax
	jne	.L83
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L84
.L83:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 1
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	grow_rtree, .-grow_rtree
	.globl	version
	.data
	.align 4
	.type	version, @object
	.size	version, 4
version:
	.long	3
	.globl	tdepth
	.bss
	.align 4
	.type	tdepth, @object
	.size	tdepth, 4
tdepth:
	.zero	4
	.globl	ntrees
	.align 4
	.type	ntrees, @object
	.size	ntrees, 4
ntrees:
	.zero	4
	.globl	bbox
	.type	bbox, @object
	.size	bbox, 4
bbox:
	.zero	4
	.globl	tcodes
	.align 32
	.type	tcodes, @object
	.size	tcodes, 16777216
tcodes:
	.zero	16777216
	.globl	luts
	.align 32
	.type	luts, @object
	.size	luts, 16777216
luts:
	.zero	16777216
	.globl	thresholds
	.align 32
	.type	thresholds, @object
	.size	thresholds, 16384
thresholds:
	.zero	16384
	.text
	.globl	load_cascade_from_file
	.type	load_cascade_from_file, @function
load_cascade_from_file:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L86
	mov	eax, 0
	jmp	.L87
.L86:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, version[rip]
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, bbox[rip]
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, tdepth[rip]
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, ntrees[rip]
	call	fread@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L88
.L89:
	mov	eax, DWORD PTR tdepth[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 12
	lea	rdx, tcodes[rip]
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 4
	call	fread@PLT
	mov	eax, DWORD PTR tdepth[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 12
	lea	rdx, luts[rip]
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 4
	call	fread@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, thresholds[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	add	DWORD PTR -12[rbp], 1
.L88:
	mov	eax, DWORD PTR ntrees[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L89
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	load_cascade_from_file, .-load_cascade_from_file
	.section	.rodata
.LC5:
	.string	"wb"
	.text
	.globl	save_cascade_to_file
	.type	save_cascade_to_file, @function
save_cascade_to_file:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L91
	mov	eax, 0
	jmp	.L92
.L91:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, version[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, bbox[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, tdepth[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	lea	rdi, ntrees[rip]
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L93
.L94:
	mov	eax, DWORD PTR tdepth[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 12
	lea	rdx, tcodes[rip]
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 4
	call	fwrite@PLT
	mov	eax, DWORD PTR tdepth[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 12
	lea	rdx, luts[rip]
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 4
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, thresholds[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fwrite@PLT
	add	DWORD PTR -12[rbp], 1
.L93:
	mov	eax, DWORD PTR ntrees[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L94
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	save_cascade_to_file, .-save_cascade_to_file
	.globl	get_tree_output
	.type	get_tree_output, @function
get_tree_output:
.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -28[rbp], edi
	mov	DWORD PTR -32[rbp], esi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
	mov	DWORD PTR -44[rbp], r8d
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L96
.L97:
	mov	eax, DWORD PTR -16[rbp]
	lea	ebx, [rax+rax]
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, tcodes[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -32[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	bintest
	add	eax, ebx
	mov	DWORD PTR -16[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L96:
	mov	eax, DWORD PTR tdepth[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L97
	mov	eax, DWORD PTR tdepth[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, edx
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 10
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, luts[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	get_tree_output, .-get_tree_output
	.globl	classify_region
	.type	classify_region, @function
classify_region:
.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, 40
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	rax, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR ntrees[rip]
	test	eax, eax
	jne	.L100
	mov	eax, 1
	jmp	.L101
.L100:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L102
.L105:
	mov	edi, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	get_tree_output
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR [rax]
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, thresholds[rip]
	movss	xmm0, DWORD PTR [rdx+rax]
	comiss	xmm0, xmm1
	jb	.L107
	mov	eax, -1
	jmp	.L101
.L107:
	add	DWORD PTR -4[rbp], 1
.L102:
	mov	eax, DWORD PTR ntrees[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L105
	mov	eax, 1
.L101:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	classify_region, .-classify_region
	.section	.rodata
.LC6:
	.string	"* learning a new stage ..."
	.align 8
.LC12:
	.string	"\t** tree %d (%d [s]) ... stage tpr=%f, stage fpr=%f\n"
.LC13:
	.string	"\t** threshold set to %f\n"
	.text
	.globl	learn_new_stage
	.type	learn_new_stage, @function
learn_new_stage:
.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, 120
	.cfi_offset 3, -24
	movss	DWORD PTR -68[rbp], xmm0
	movss	DWORD PTR -72[rbp], xmm1
	mov	DWORD PTR -76[rbp], edi
	mov	QWORD PTR -88[rbp], rsi
	mov	QWORD PTR -96[rbp], rdx
	mov	QWORD PTR -104[rbp], rcx
	mov	QWORD PTR -112[rbp], r8
	mov	QWORD PTR -120[rbp], r9
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	add	eax, edx
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR ntrees[rip]
	add	DWORD PTR -76[rbp], eax
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -56[rbp], xmm0
	jmp	.L109
.L129:
	mov	eax, 0
	call	getticks
	movd	eax, xmm0
	mov	DWORD PTR -44[rbp], eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -64[rbp], 0
	jmp	.L110
.L114:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L136
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	cvtss2sd	xmm0, xmm0
	movq	xmm1, QWORD PTR .LC8[rip]
	xorpd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR -64[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movq	xmm0, rax
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rdx], xmm0
	jmp	.L113
.L136:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR 32[rbp]
	mov	edx, DWORD PTR -64[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movq	xmm0, rax
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rdx], xmm0
.L113:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	add	DWORD PTR -64[rbp], 1
.L110:
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jl	.L114
	mov	DWORD PTR -64[rbp], 0
	jmp	.L115
.L116:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	divsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -64[rbp], 1
.L115:
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jl	.L116
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR tdepth[rip]
	mov	edx, DWORD PTR ntrees[rip]
	movsx	rdx, edx
	mov	rsi, rdx
	sal	rsi, 12
	lea	rdx, luts[rip]
	add	rsi, rdx
	mov	edx, DWORD PTR ntrees[rip]
	movsx	rdx, edx
	mov	rdi, rdx
	sal	rdi, 12
	lea	rdx, tcodes[rip]
	add	rdi, rdx
	mov	r9, QWORD PTR -104[rbp]
	mov	r10, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	sub	rsp, 8
	lea	r8, bbox[rip]
	push	r8
	push	rcx
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -120[rbp]
	push	QWORD PTR -112[rbp]
	mov	r8, r10
	mov	rcx, rdx
	mov	edx, eax
	call	grow_rtree
	add	rsp, 48
	mov	eax, DWORD PTR ntrees[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, thresholds[rip]
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR ntrees[rip]
	add	eax, 1
	mov	DWORD PTR ntrees[rip], eax
	mov	DWORD PTR -64[rbp], 0
	jmp	.L117
.L118:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	r8d, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	mov	esi, DWORD PTR ntrees[rip]
	lea	edi, -1[rsi]
	mov	esi, eax
	call	get_tree_output
	movd	eax, xmm0
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	addss	xmm0, DWORD PTR -36[rbp]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -64[rbp], 1
.L117:
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jl	.L118
	movss	xmm0, DWORD PTR .LC10[rip]
	movss	DWORD PTR -60[rbp], xmm0
.L127:
	movss	xmm0, DWORD PTR -60[rbp]
	movss	xmm1, DWORD PTR .LC11[rip]
	subss	xmm0, xmm1
	movss	DWORD PTR -60[rbp], xmm0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	jmp	.L119
.L126:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	comiss	xmm0, xmm1
	jbe	.L120
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -60[rbp]
	jbe	.L120
	add	DWORD PTR -52[rbp], 1
.L120:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	jbe	.L123
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 16[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -60[rbp]
	jbe	.L123
	add	DWORD PTR -48[rbp], 1
.L123:
	add	DWORD PTR -64[rbp], 1
.L119:
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	add	eax, edx
	cmp	DWORD PTR -64[rbp], eax
	jl	.L126
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -52[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR 24[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -48[rbp]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR 32[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -56[rbp], xmm0
	movss	xmm0, DWORD PTR -68[rbp]
	comiss	xmm0, DWORD PTR -40[rbp]
	ja	.L127
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -56[rbp]
	movsd	QWORD PTR -128[rbp], xmm3
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -40[rbp]
	movq	rbx, xmm4
	mov	eax, 0
	call	getticks
	movd	eax, xmm0
	movd	xmm0, eax
	subss	xmm0, DWORD PTR -44[rbp]
	cvttss2si	edx, xmm0
	mov	eax, DWORD PTR ntrees[rip]
	movsd	xmm1, QWORD PTR -128[rbp]
	movq	xmm0, rbx
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 2
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L109:
	mov	eax, DWORD PTR ntrees[rip]
	cmp	DWORD PTR -76[rbp], eax
	jle	.L128
	movss	xmm0, DWORD PTR -56[rbp]
	comiss	xmm0, DWORD PTR -72[rbp]
	ja	.L129
.L128:
	mov	eax, DWORD PTR ntrees[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, thresholds[rip]
	movss	xmm0, DWORD PTR -60[rbp]
	movss	DWORD PTR [rdx+rax], xmm0
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -60[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 1
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	learn_new_stage, .-learn_new_stage
	.section	.rodata
.LC14:
	.string	"* sampling finished ..."
.LC15:
	.string	"\t** elapsed time: %d\n"
.LC16:
	.string	"\t** cascade TPR=%.8f\n"
	.align 8
.LC17:
	.string	"\t** cascade FPR=%.8f (%d/%lld)\n"
	.text
	.globl	sample_training_data
	.type	sample_training_data, @function
sample_training_data:
.LFB17:
	.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, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -120[rbp], r8
	mov	QWORD PTR -128[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	getticks
	cvttss2si	eax, xmm0
	mov	DWORD PTR -64[rbp], eax
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L138
.L140:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, objects[rip+12]
	mov	r8d, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, objects[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, objects[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rsi, rax
	lea	rax, objects[rip]
	mov	eax, DWORD PTR [rsi+rax]
	mov	esi, DWORD PTR -72[rbp]
	movsx	rsi, esi
	lea	rdi, 0[0+rsi*4]
	mov	rsi, QWORD PTR -128[rbp]
	add	rdi, rsi
	mov	esi, eax
	call	classify_region
	cmp	eax, 1
	jne	.L139
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, objects[rip]
	mov	eax, DWORD PTR [rcx+rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, objects[rip+4]
	mov	eax, DWORD PTR [rcx+rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, objects[rip+8]
	mov	eax, DWORD PTR [rcx+rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rax, objects[rip+12]
	mov	eax, DWORD PTR [rcx+rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L139:
	add	DWORD PTR -76[rbp], 1
.L138:
	mov	eax, DWORD PTR nobjects[rip]
	cmp	DWORD PTR -76[rbp], eax
	jl	.L140
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, DWORD PTR -72[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR prngsinitialized.1[rip]
	test	eax, eax
	jne	.L141
	mov	DWORD PTR -76[rbp], 0
	jmp	.L142
.L143:
	mov	eax, 0
	call	mwcrand
	mov	edx, eax
	mov	eax, edx
	sal	eax, 16
	sub	eax, edx
	mov	ebx, eax
	mov	eax, 0
	call	mwcrand
	mov	edx, eax
	movabs	rax, -261456134209535
	imul	rax, rdx
	lea	rcx, [rbx+rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prngs.0[rip]
	mov	QWORD PTR [rdx+rax], rcx
	add	DWORD PTR -76[rbp], 1
.L142:
	cmp	DWORD PTR -76[rbp], 1023
	jle	.L143
	mov	DWORD PTR prngsinitialized.1[rip], 1
.L141:
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -144[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -68[rbp], 0
	mov	eax, DWORD PTR nbackground[rip]
	test	eax, eax
	je	.L144
	call	omp_get_thread_num@PLT
	mov	DWORD PTR -60[rbp], eax
	jmp	.L145
.L149:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prngs.0[rip]
	add	rax, rdx
	mov	rdi, rax
	call	mwcrand_r
	mov	edx, DWORD PTR nbackground[rip]
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, background[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prngs.0[rip]
	add	rax, rdx
	mov	rdi, rax
	call	mwcrand_r
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, pdims[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prngs.0[rip]
	add	rax, rdx
	mov	rdi, rax
	call	mwcrand_r
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, pdims[rip+4]
	mov	edx, DWORD PTR [rcx+rdx]
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, prngs.0[rip]
	add	rax, rdx
	mov	rdi, rax
	call	mwcrand_r
	mov	edx, DWORD PTR nobjects[rip]
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	mov	eax, eax
	sal	rax, 4
	mov	rdx, rax
	lea	rax, objects[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -44[rbp], eax
	mov	edi, DWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -52[rbp]
	lea	rax, -80[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	classify_region
	cmp	eax, 1
	jne	.L146
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L147
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR -80[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L146
.L147:
	mov	DWORD PTR -68[rbp], 1
.L146:
	cmp	DWORD PTR -68[rbp], 0
	jne	.L145
	add	QWORD PTR -32[rbp], 1
.L145:
	cmp	DWORD PTR -68[rbp], 0
	je	.L149
	jmp	.L150
.L144:
	mov	QWORD PTR -32[rbp], 1
.L150:
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	eax, DWORD PTR nobjects[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	movss	DWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -32[rbp]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, 0
	call	getticks
	movd	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -64[rbp]
	movd	xmm1, eax
	subss	xmm1, xmm0
	cvttss2si	eax, xmm1
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -40[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	ecx, DWORD PTR [rax]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -36[rbp]
	movq	rax, xmm3
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, ecx
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L152
	call	__stack_chk_fail@PLT
.L152:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	sample_training_data, .-sample_training_data
	.local	rs
	.comm	rs,16000000,32
	.local	cs
	.comm	cs,16000000,32
	.local	ss
	.comm	ss,16000000,32
	.local	iinds
	.comm	iinds,16000000,32
	.local	tvals
	.comm	tvals,16000000,32
	.local	os
	.comm	os,16000000,32
	.section	.rodata
	.align 8
.LC18:
	.string	"* cannot load training data ..."
	.align 8
.LC26:
	.string	"* target FPR achieved ... terminating the learning process ..."
	.text
	.globl	learn_with_default_parameters
	.type	learn_with_default_parameters, @function
learn_with_default_parameters:
.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	load_training_data
	test	eax, eax
	jne	.L154
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L153
.L154:
	mov	BYTE PTR bbox[rip], -127
	mov	BYTE PTR bbox[rip+1], 127
	mov	BYTE PTR bbox[rip+2], -127
	mov	BYTE PTR bbox[rip+3], 127
	mov	DWORD PTR tdepth[rip], 5
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	save_cascade_to_file
	test	eax, eax
	jne	.L156
	mov	eax, 0
	jmp	.L153
.L156:
	lea	rax, -12[rbp]
	push	rax
	lea	rax, -16[rbp]
	push	rax
	lea	r9, os[rip]
	lea	r8, iinds[rip]
	lea	rcx, ss[rip]
	lea	rdx, cs[rip]
	lea	rsi, rs[rip]
	lea	rdi, tvals[rip]
	call	sample_training_data
	add	rsp, 16
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	sub	rsp, 8
	push	rdx
	push	rax
	lea	rax, os[rip]
	push	rax
	lea	r9, iinds[rip]
	lea	r8, ss[rip]
	lea	rcx, cs[rip]
	lea	rdx, rs[rip]
	lea	rsi, tvals[rip]
	mov	edi, 4
	movss	xmm1, DWORD PTR .LC19[rip]
	movss	xmm0, DWORD PTR .LC20[rip]
	call	learn_new_stage
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	save_cascade_to_file
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -12[rbp]
	push	rax
	lea	rax, -16[rbp]
	push	rax
	lea	r9, os[rip]
	lea	r8, iinds[rip]
	lea	rcx, ss[rip]
	lea	rdx, cs[rip]
	lea	rsi, rs[rip]
	lea	rdi, tvals[rip]
	call	sample_training_data
	add	rsp, 16
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	sub	rsp, 8
	push	rdx
	push	rax
	lea	rax, os[rip]
	push	rax
	lea	r9, iinds[rip]
	lea	r8, ss[rip]
	lea	rcx, cs[rip]
	lea	rdx, rs[rip]
	lea	rsi, tvals[rip]
	mov	edi, 8
	movss	xmm1, DWORD PTR .LC19[rip]
	movss	xmm0, DWORD PTR .LC21[rip]
	call	learn_new_stage
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	save_cascade_to_file
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -12[rbp]
	push	rax
	lea	rax, -16[rbp]
	push	rax
	lea	r9, os[rip]
	lea	r8, iinds[rip]
	lea	rcx, ss[rip]
	lea	rdx, cs[rip]
	lea	rsi, rs[rip]
	lea	rdi, tvals[rip]
	call	sample_training_data
	add	rsp, 16
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	sub	rsp, 8
	push	rdx
	push	rax
	lea	rax, os[rip]
	push	rax
	lea	r9, iinds[rip]
	lea	r8, ss[rip]
	lea	rcx, cs[rip]
	lea	rdx, rs[rip]
	lea	rsi, tvals[rip]
	mov	edi, 16
	movss	xmm1, DWORD PTR .LC19[rip]
	movss	xmm0, DWORD PTR .LC22[rip]
	call	learn_new_stage
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	save_cascade_to_file
	mov	edi, 10
	call	putchar@PLT
	lea	rax, -12[rbp]
	push	rax
	lea	rax, -16[rbp]
	push	rax
	lea	r9, os[rip]
	lea	r8, iinds[rip]
	lea	rcx, ss[rip]
	lea	rdx, cs[rip]
	lea	rsi, rs[rip]
	lea	rdi, tvals[rip]
	call	sample_training_data
	add	rsp, 16
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	sub	rsp, 8
	push	rdx
	push	rax
	lea	rax, os[rip]
	push	rax
	lea	r9, iinds[rip]
	lea	r8, ss[rip]
	lea	rcx, cs[rip]
	lea	rdx, rs[rip]
	lea	rsi, tvals[rip]
	mov	edi, 32
	movss	xmm1, DWORD PTR .LC19[rip]
	movss	xmm0, DWORD PTR .LC23[rip]
	call	learn_new_stage
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	save_cascade_to_file
	mov	edi, 10
	call	putchar@PLT
	jmp	.L157
.L158:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	sub	rsp, 8
	push	rdx
	push	rax
	lea	rax, os[rip]
	push	rax
	lea	r9, iinds[rip]
	lea	r8, ss[rip]
	lea	rcx, cs[rip]
	lea	rdx, rs[rip]
	lea	rsi, tvals[rip]
	mov	edi, 64
	movss	xmm1, DWORD PTR .LC19[rip]
	movss	xmm0, DWORD PTR .LC24[rip]
	call	learn_new_stage
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	save_cascade_to_file
	mov	edi, 10
	call	putchar@PLT
.L157:
	lea	rax, -12[rbp]
	push	rax
	lea	rax, -16[rbp]
	push	rax
	lea	r9, os[rip]
	lea	r8, iinds[rip]
	lea	rcx, ss[rip]
	lea	rdx, cs[rip]
	lea	rsi, rs[rip]
	lea	rdi, tvals[rip]
	call	sample_training_data
	add	rsp, 16
	movd	eax, xmm0
	movd	xmm2, eax
	comiss	xmm2, DWORD PTR .LC25[rip]
	ja	.L158
	lea	rdi, .LC26[rip]
	call	puts@PLT
.L153:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L160
	call	__stack_chk_fail@PLT
.L160:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	learn_with_default_parameters, .-learn_with_default_parameters
	.section	.rodata
.LC27:
	.string	"TODO\n"
	.text
	.globl	howto
	.type	howto, @function
howto:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, .LC27[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	howto, .-howto
	.section	.rodata
.LC28:
	.string	"%d"
.LC29:
	.string	"* initializing:"
.LC30:
	.string	"\t** bbox = (%d, %d, %d, %d)\n"
.LC31:
	.string	"\t** tdepth = %d\n"
	.align 8
.LC32:
	.string	"* cannot load a cascade from '%s'\n"
	.align 8
.LC33:
	.string	"* cannot load the training data from '%s'\n"
.LC34:
	.string	"%f"
.LC35:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	smwcrand
	cmp	DWORD PTR -36[rbp], 3
	jne	.L164
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	learn_with_default_parameters
	jmp	.L165
.L164:
	cmp	DWORD PTR -36[rbp], 7
	jne	.L166
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -12[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	BYTE PTR bbox[rip], al
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -12[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	BYTE PTR bbox[rip+1], al
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rdx, -12[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	BYTE PTR bbox[rip+2], al
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	lea	rdx, -12[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	BYTE PTR bbox[rip+3], al
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	lea	rdx, tdepth[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR ntrees[rip], 0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	save_cascade_to_file
	test	eax, eax
	jne	.L167
	mov	eax, 0
	jmp	.L169
.L167:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	movzx	eax, BYTE PTR bbox[rip+3]
	movsx	esi, al
	movzx	eax, BYTE PTR bbox[rip+2]
	movsx	ecx, al
	movzx	eax, BYTE PTR bbox[rip+1]
	movsx	edx, al
	movzx	eax, BYTE PTR bbox[rip]
	movsx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR tdepth[rip]
	mov	esi, eax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L169
.L166:
	cmp	DWORD PTR -36[rbp], 7
	jne	.L170
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	load_cascade_from_file
	test	eax, eax
	jne	.L171
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L169
.L171:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	load_training_data
	test	eax, eax
	jne	.L173
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L169
.L173:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	lea	rdx, -28[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	lea	rdx, -24[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	lea	rdx, -20[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rax, -12[rbp]
	push	rax
	lea	rax, -16[rbp]
	push	rax
	lea	r9, os[rip]
	lea	r8, iinds[rip]
	lea	rcx, ss[rip]
	lea	rdx, cs[rip]
	lea	rsi, rs[rip]
	lea	rdi, tvals[rip]
	call	sample_training_data
	add	rsp, 16
	mov	ecx, DWORD PTR -12[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	edi, DWORD PTR -20[rbp]
	movss	xmm0, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	sub	rsp, 8
	push	rcx
	push	rdx
	lea	rdx, os[rip]
	push	rdx
	lea	r9, iinds[rip]
	lea	r8, ss[rip]
	lea	rcx, cs[rip]
	lea	rdx, rs[rip]
	lea	rsi, tvals[rip]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	learn_new_stage
	add	rsp, 32
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	save_cascade_to_file
	test	eax, eax
	jne	.L165
	mov	eax, 1
	jmp	.L169
.L170:
	mov	eax, 0
	call	howto
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L169
.L165:
	mov	eax, 0
.L169:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L175
	call	__stack_chk_fail@PLT
.L175:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	main, .-main
	.local	prngsinitialized.1
	.comm	prngsinitialized.1,4,4
	.local	prngs.0
	.comm	prngs.0,8192,32
	.section	.rodata
	.align 4
.LC0:
	.long	-1082130432
	.align 4
.LC1:
	.long	814313567
	.align 4
.LC7:
	.long	1065353216
	.align 16
.LC8:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 4
.LC9:
	.long	-995680256
	.align 4
.LC10:
	.long	1084227584
	.align 4
.LC11:
	.long	1000593162
	.align 4
.LC19:
	.long	1056964608
	.align 4
.LC20:
	.long	1065017672
	.align 4
.LC21:
	.long	1065101558
	.align 4
.LC22:
	.long	1065185444
	.align 4
.LC23:
	.long	1065269330
	.align 4
.LC24:
	.long	1065311273
	.align 4
.LC25:
	.long	897988541
	.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	"681340.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getticks
	.syntax unified
	.arm
	.fpu softvfp
	.type	getticks, %function
getticks:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #24
	mov	r1, r3
	mov	r0, #1
	bl	clock_gettime
	mov	r3, r0
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L6+4
	b	.L4
.L2:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L6+8
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	-1082130432
	.word	814313567
	.size	getticks, .-getticks
	.align	2
	.global	mwcrand_r
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwcrand_r, %function
mwcrand_r:
	@ 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]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-8]
	ldr	r2, .L12
	str	r2, [r3]
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, .L12+4
	str	r2, [r3]
.L10:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L12+8
	mul	r2, r3, r2
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsr	r3, r3, #16
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	lsl	r2, r3, #16
	lsr	r2, r2, #16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #4
	sub	r3, r3, r2
	lsl	r3, r3, #4
	mov	r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r2, r3, #16
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	43690
	.word	48059
	.word	36969
	.size	mwcrand_r, .-mwcrand_r
	.global	prngglobal
	.data
	.align	3
	.type	prngglobal, %object
	.size	prngglobal, 8
prngglobal:
	.word	1048575
	.word	305419896
	.text
	.align	2
	.global	smwcrand
	.syntax unified
	.arm
	.fpu softvfp
	.type	smwcrand, %function
smwcrand:
	@ 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	r3, [fp, #-8]
	mov	r2, r3
	mov	r3, #0
	ldr	r1, .L15
	mul	r0, r1, r3
	ldr	r1, .L15+4
	mul	r1, r2, r1
	add	ip, r0, r1
	ldr	lr, .L15
	umull	r0, r1, r2, lr
	add	r3, ip, r1
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L15+8
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	1048575
	.word	305419896
	.word	prngglobal
	.size	smwcrand, .-smwcrand
	.align	2
	.global	mwcrand
	.syntax unified
	.arm
	.fpu softvfp
	.type	mwcrand, %function
mwcrand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L19
	bl	mwcrand_r
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	prngglobal
	.size	mwcrand, .-mwcrand
	.global	N
	.bss
	.align	2
	.type	N, %object
	.size	N, 4
N:
	.space	4
	.comm	ppixels,8000000,4
	.comm	pdims,16000000,4
	.global	nbackground
	.align	2
	.type	nbackground, %object
	.size	nbackground, 4
nbackground:
	.space	4
	.comm	background,8000000,4
	.global	nobjects
	.align	2
	.type	nobjects, %object
	.size	nobjects, 4
nobjects:
	.space	4
	.comm	objects,32000000,4
	.text
	.align	2
	.global	load_image
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_image, %function
load_image:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, [fp, #-12]
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L22
	mov	r3, #0
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, [fp, #-16]
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L24
	mov	r3, #0
	b	.L23
.L24:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	b	.L23
.L25:
	ldr	r3, [fp, #-8]
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	mov	r1, #1
	bl	fread
	mov	r1, r0
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	mul	r3, r2, r3
	cmp	r1, r3
	beq	.L26
	mov	r3, #0
	b	.L23
.L26:
	mov	r3, #1
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	load_image, .-load_image
	.section	.rodata
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	load_training_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_training_data, %function
load_training_data:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L38+4
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	b	.L29
.L28:
	ldr	r3, .L38+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L38+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L38+16
	mov	r2, #0
	str	r2, [r3]
	b	.L30
.L36:
	sub	r0, fp, #20
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L31
	mov	r3, #1
	b	.L29
.L31:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L38+12
	ldr	r3, [r3]
	ldr	r2, .L38+8
	ldr	r2, [r2]
	ldr	r1, .L38+20
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L38+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L38+12
	str	r3, [r2]
	b	.L33
.L32:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L34
.L35:
	ldr	r3, .L38+16
	ldr	r3, [r3]
	lsl	r3, r3, #4
	ldr	r2, .L38+24
	add	r0, r3, r2
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, .L38+16
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, .L38+24
	add	r0, r3, r2
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, .L38+16
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L38+24
	add	r0, r3, r2
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, .L38+16
	ldr	r3, [r3]
	ldr	r2, .L38+8
	ldr	r2, [r2]
	ldr	r1, .L38+24
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #12]
	ldr	r3, .L38+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L38+16
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L34:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L35
.L33:
	ldr	r3, .L38+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L38+8
	str	r3, [r2]
.L30:
	ldr	r3, .L38+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, .L38+28
	add	r0, r3, r2
	ldr	r3, .L38+8
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, .L38+32
	add	r1, r3, r2
	ldr	r3, .L38+8
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r3, #4
	ldr	r2, .L38+32
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	bl	load_image
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	mov	r3, #1
.L29:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC2
	.word	.LC1
	.word	N
	.word	nbackground
	.word	nobjects
	.word	background
	.word	objects
	.word	ppixels
	.word	pdims
	.size	load_training_data, .-load_training_data
	.align	2
	.global	bintest
	.syntax unified
	.arm
	.fpu softvfp
	.type	bintest, %function
bintest:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	sub	r3, fp, #32
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #8
	ldr	r3, [fp, #-24]
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #8
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #8
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	lsl	r2, r3, #8
	ldr	r3, [fp, #-24]
	add	r3, r3, #3
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-44]
	mul	r3, r1, r3
	add	r3, r2, r3
	add	r2, r3, #255
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r2, .L42
	ldr	r3, [fp, #4]
	ldr	r3, [r2, r3, lsl #3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	bic	r3, r3, r3, asr #31
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-20]
	ldr	r2, .L42
	ldr	r3, [fp, #4]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	bic	r3, r3, r3, asr #31
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-16]
	ldr	r2, .L42
	ldr	r3, [fp, #4]
	ldr	r3, [r2, r3, lsl #3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	bic	r3, r3, r3, asr #31
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-12]
	ldr	r2, .L42
	ldr	r3, [fp, #4]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	bic	r3, r3, r3, asr #31
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-8]
	ldr	r2, .L42+4
	ldr	r3, [fp, #4]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L42
	ldr	r3, [fp, #4]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-20]
	mul	r1, r3, r1
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, .L42+4
	ldr	r3, [fp, #4]
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L42
	ldr	r3, [fp, #4]
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	ldr	r0, [fp, #-12]
	mul	r0, r3, r0
	ldr	r3, [fp, #-8]
	add	r3, r0, r3
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	movls	r3, #1
	movhi	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L43:
	.align	2
.L42:
	.word	pdims
	.word	ppixels
	.size	bintest, .-bintest
	.global	__aeabi_dadd
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.align	2
	.global	get_split_error
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_split_error, %function
get_split_error:
	@ args = 20, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #104
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-104]
	str	r3, [fp, #-108]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L45
.L48:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, [fp, #-96]
	bl	bintest
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	b	.L47
.L46:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L47:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #84
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L45:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	blt	.L48
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	get_split_error, .-get_split_error
	.align	2
	.global	split_training_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	split_training_data, %function
split_training_data:
	@ args = 20, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #20]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L51
.L55:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L66
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L52:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, [fp, #-24]
	bl	bintest
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	b	.L56
.L66:
	nop
	b	.L56
.L59:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L67
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, [fp, #-24]
	bl	bintest
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	b	.L58
.L67:
	nop
.L58:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L60
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L51
.L60:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r0, [fp, #16]
	add	r3, r0, r3
	eor	r2, r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r0, [fp, #16]
	add	r3, r0, r3
	eor	r2, r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r0, [fp, #16]
	add	r3, r0, r3
	eor	r2, r2, r1
	str	r2, [r3]
.L51:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L52
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L62
.L64:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, [fp, #-24]
	bl	bintest
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L63:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L62:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	blt	.L64
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	split_training_data, .-split_training_data
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	get_random_tcode
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_random_tcode, %function
get_random_tcode:
	@ 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, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #24
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldrsb	r3, [r3]
	and	r4, r3, #255
	bl	mwcrand
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	ldrsb	r3, [r3]
	sub	r3, r1, r3
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	and	r3, r3, #255
	add	r3, r4, r3
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-20]
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrsb	r3, [r3]
	and	r4, r3, #255
	bl	mwcrand
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrsb	r3, [r3]
	sub	r3, r1, r3
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	and	r3, r3, #255
	add	r3, r4, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	lsl	r2, r2, #24
	asr	r2, r2, #24
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	ldrsb	r3, [r3]
	and	r4, r3, #255
	bl	mwcrand
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	ldrsb	r3, [r3]
	sub	r3, r1, r3
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	and	r3, r3, #255
	add	r3, r4, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	lsl	r2, r2, #24
	asr	r2, r2, #24
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrsb	r3, [r3]
	and	r4, r3, #255
	bl	mwcrand
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrsb	r3, [r3]
	sub	r3, r1, r3
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	and	r3, r3, #255
	add	r3, r4, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	lsl	r2, r2, #24
	asr	r2, r2, #24
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC3
	.size	get_random_tcode, .-get_random_tcode
	.global	__aeabi_dcmpeq
	.global	__aeabi_fcmpgt
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	grow_subtree
	.syntax unified
	.arm
	.fpu softvfp
	.type	grow_subtree, %function
grow_subtree:
	@ args = 40, pretend = 0, frame = 16480
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #16384
	sub	sp, sp, #140
	sub	ip, fp, #16384
	sub	ip, ip, #20
	str	r0, [ip, #-52]
	sub	r0, fp, #16384
	sub	r0, r0, #20
	str	r1, [r0, #-56]
	sub	r1, fp, #16384
	sub	r1, r1, #20
	str	r2, [r1, #-60]
	sub	r2, fp, #16384
	sub	r2, r2, #20
	str	r3, [r2, #-64]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r5, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	lr, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, [fp, #8]
	str	r3, [r6, #-68]
	ldr	r3, [fp, #12]
	str	r3, [r5, #-72]
	ldr	r3, [fp, #16]
	str	r3, [r4, #-76]
	ldr	r3, [fp, #20]
	str	r3, [lr, #-80]
	ldr	r3, [fp, #24]
	str	r3, [ip, #-84]
	ldr	r3, [fp, #28]
	str	r3, [r0, #-88]
	ldr	r3, [fp, #32]
	str	r3, [r1, #-92]
	ldr	r3, [fp, #40]
	str	r3, [r2, #-96]
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, [r3, #-64]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	bne	.L74
	mov	r2, #1
	ldr	r3, [fp, #4]
	lsl	r3, r2, r3
	sub	r3, r3, #1
	sub	r2, fp, #16384
	sub	r2, r2, #20
	mov	r1, r2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-60]
	sub	r3, r2, r3
	str	r3, [r1, #-28]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L75
.L76:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-88]
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	ip, r3
	mov	r2, r0
	mov	r3, r1
	ldmdb	ip, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stmdb	r4, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #3
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-88]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	ip, r3
	mov	r2, r0
	mov	r3, r1
	ldmia	ip, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L75:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #36]
	cmp	r2, r3
	blt	.L76
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L94
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-56]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]	@ float
	b	.L79
.L94:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldmdb	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-28]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-56]
	add	r4, r2, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4]	@ float
.L79:
	mov	r3, #1
	b	.L90
.L74:
	ldr	r3, [fp, #36]
	cmp	r3, #1
	bgt	.L81
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-52]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #1
	add	r2, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	add	r1, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-96]
	str	r3, [sp, #36]
	ldr	r3, [fp, #36]
	str	r3, [sp, #32]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	str	r3, [sp, #28]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	str	r3, [sp, #24]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	str	r3, [sp, #20]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	str	r3, [sp, #16]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-76]
	str	r3, [sp, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-72]
	str	r3, [sp, #8]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-68]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [ip, #-56]
	ldr	r0, [r0, #-52]
	bl	grow_subtree
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	add	r3, r3, #1
	lsl	r2, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	add	r1, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-96]
	str	r3, [sp, #36]
	ldr	r3, [fp, #36]
	str	r3, [sp, #32]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	str	r3, [sp, #28]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	str	r3, [sp, #24]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	str	r3, [sp, #20]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	str	r3, [sp, #16]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-76]
	str	r3, [sp, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-72]
	str	r3, [sp, #8]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-68]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [ip, #-56]
	ldr	r0, [r0, #-52]
	bl	grow_subtree
	mov	r3, #1
	b	.L90
.L81:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1024
	str	r3, [r2, #-36]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L82
.L83:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r0, [r3, #-96]
	bl	get_random_tcode
	mov	r2, r0
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L82:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, [r2, #-44]
	ldr	r3, [r3, #-36]
	cmp	r2, r3
	blt	.L83
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L84
.L85:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3, #-4]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	ldr	r3, [fp, #36]
	str	r3, [sp, #16]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	str	r3, [sp, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	str	r3, [sp, #8]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	str	r3, [sp, #4]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	str	r3, [sp]
	ldr	r3, [ip, #-76]
	ldr	r2, [r2, #-72]
	ldr	r1, [r1, #-68]
	bl	get_split_error
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-4]	@ float
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L84:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, [r2, #-44]
	ldr	r3, [r3, #-36]
	cmp	r2, r3
	blt	.L85
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #20
	ldr	r3, [r3, #-4]	@ float
	str	r3, [r2, #-40]	@ float
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-52]
	add	r3, r2, r3
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-4]
	str	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-44]
	b	.L86
.L89:
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-4]	@ float
	sub	r2, fp, #16384
	sub	r2, r2, #20
	mov	r1, r3
	ldr	r0, [r2, #-40]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L87
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-4]	@ float
	str	r3, [r2, #-40]	@ float
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-52]
	add	r2, r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-4]
	str	r3, [r2]
.L87:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-44]
	add	r3, r3, #1
	str	r3, [r2, #-44]
.L86:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, [r2, #-44]
	ldr	r3, [r3, #-36]
	cmp	r2, r3
	blt	.L89
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-52]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	ldr	r3, [fp, #36]
	str	r3, [sp, #16]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	str	r3, [sp, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	str	r3, [sp, #8]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	str	r3, [sp, #4]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	str	r3, [sp]
	ldr	r3, [ip, #-76]
	ldr	r2, [r2, #-72]
	ldr	r1, [r1, #-68]
	bl	split_training_data
	str	r0, [r4, #-32]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	lsl	r3, r3, #1
	add	r2, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	add	r1, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-96]
	str	r3, [sp, #36]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-32]
	str	r3, [sp, #32]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-92]
	str	r3, [sp, #28]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	str	r3, [sp, #24]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	str	r3, [sp, #20]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	str	r3, [sp, #16]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-76]
	str	r3, [sp, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-72]
	str	r3, [sp, #8]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-68]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [ip, #-56]
	ldr	r0, [r0, #-52]
	bl	grow_subtree
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-60]
	add	r3, r3, #1
	lsl	r0, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-64]
	add	ip, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-92]
	add	r3, r2, r3
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r1, [fp, #36]
	ldr	r2, [r2, #-32]
	sub	r2, r1, r2
	sub	r1, fp, #16384
	sub	r1, r1, #20
	mov	r4, r1
	sub	r1, fp, #16384
	sub	r1, r1, #20
	mov	lr, r1
	sub	r1, fp, #16384
	sub	r1, r1, #20
	ldr	r1, [r1, #-96]
	str	r1, [sp, #36]
	str	r2, [sp, #32]
	str	r3, [sp, #28]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-88]
	str	r3, [sp, #24]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-84]
	str	r3, [sp, #20]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-80]
	str	r3, [sp, #16]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-76]
	str	r3, [sp, #12]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-72]
	str	r3, [sp, #8]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-68]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, [r4, #-56]
	ldr	r0, [lr, #-52]
	bl	grow_subtree
	mov	r3, #1
.L90:
	ldr	r2, .L95
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC4
	.size	grow_subtree, .-grow_subtree
	.align	2
	.global	grow_rtree
	.syntax unified
	.arm
	.fpu softvfp
	.type	grow_rtree, %function
grow_rtree:
	@ args = 28, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #24]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L98
.L99:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L98:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #24]
	cmp	r2, r3
	blt	.L99
	ldr	r3, [fp, #28]
	str	r3, [sp, #36]
	ldr	r3, [fp, #24]
	str	r3, [sp, #32]
	ldr	r3, [fp, #-8]
	str	r3, [sp, #28]
	ldr	r3, [fp, #20]
	str	r3, [sp, #24]
	ldr	r3, [fp, #16]
	str	r3, [sp, #20]
	ldr	r3, [fp, #12]
	str	r3, [sp, #16]
	ldr	r3, [fp, #8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #4]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	grow_subtree
	mov	r3, r0
	cmp	r3, #0
	bne	.L100
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	b	.L101
.L100:
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #1
.L101:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	grow_rtree, .-grow_rtree
	.global	version
	.data
	.align	2
	.type	version, %object
	.size	version, 4
version:
	.word	3
	.comm	tdepth,4,4
	.global	ntrees
	.bss
	.align	2
	.type	ntrees, %object
	.size	ntrees, 4
ntrees:
	.space	4
	.comm	bbox,4,4
	.comm	tcodes,16777216,4
	.comm	luts,16777216,4
	.comm	thresholds,16384,4
	.text
	.align	2
	.global	load_cascade_from_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_cascade_from_file, %function
load_cascade_from_file:
	@ 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	r1, .L107
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L103
	mov	r3, #0
	b	.L104
.L103:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L107+4
	bl	fread
	ldr	r3, [fp, #-8]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L107+8
	bl	fread
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L107+12
	bl	fread
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L107+16
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L105
.L106:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #12
	ldr	r2, .L107+20
	add	r0, r3, r2
	ldr	r3, .L107+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #12
	ldr	r2, .L107+24
	add	r0, r3, r2
	ldr	r3, .L107+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, .L107+28
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L105:
	ldr	r3, .L107+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L106
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #1
.L104:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L108:
	.align	2
.L107:
	.word	.LC1
	.word	version
	.word	bbox
	.word	tdepth
	.word	ntrees
	.word	tcodes
	.word	luts
	.word	thresholds
	.size	load_cascade_from_file, .-load_cascade_from_file
	.section	.rodata
	.align	2
.LC5:
	.ascii	"wb\000"
	.text
	.align	2
	.global	save_cascade_to_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_cascade_to_file, %function
save_cascade_to_file:
	@ 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	r1, .L114
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L110
	mov	r3, #0
	b	.L111
.L110:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L114+4
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L114+8
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L114+12
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	ldr	r0, .L114+16
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L112
.L113:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #12
	ldr	r2, .L114+20
	add	r0, r3, r2
	ldr	r3, .L114+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #12
	ldr	r2, .L114+24
	add	r0, r3, r2
	ldr	r3, .L114+12
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, .L114+28
	add	r0, r3, r2
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L112:
	ldr	r3, .L114+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L113
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #1
.L111:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	.LC5
	.word	version
	.word	bbox
	.word	tdepth
	.word	ntrees
	.word	tcodes
	.word	luts
	.word	thresholds
	.size	save_cascade_to_file, .-save_cascade_to_file
	.align	2
	.global	get_tree_output
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_tree_output, %function
get_tree_output:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L117
.L118:
	ldr	r3, [fp, #-20]
	lsl	r4, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r1, .L120
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #10
	add	r3, r2, r3
	ldr	r0, [r1, r3, lsl #2]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	bl	bintest
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L117:
	ldr	r3, .L120+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L118
	ldr	r3, .L120+4
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	ldr	r1, .L120+8
	ldr	r2, [fp, #-24]
	lsl	r2, r2, #10
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]	@ float
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L121:
	.align	2
.L120:
	.word	tcodes
	.word	tdepth
	.word	luts
	.size	get_tree_output, .-get_tree_output
	.global	__aeabi_fcmple
	.align	2
	.global	classify_region
	.syntax unified
	.arm
	.fpu softvfp
	.type	classify_region, %function
classify_region:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, .L131
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L123
	mov	r3, #1
	b	.L124
.L123:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L125
.L128:
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	get_tree_output
	mov	r2, r0
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]	@ float
	ldr	r1, .L131+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L130
	mvn	r3, #0
	b	.L124
.L130:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L125:
	ldr	r3, .L131
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L128
	mov	r3, #1
.L124:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L132:
	.align	2
.L131:
	.word	ntrees
	.word	thresholds
	.size	classify_region, .-classify_region
	.section	.rodata
	.align	2
.LC6:
	.ascii	"* learning a new stage ...\000"
	.global	__aeabi_i2d
	.global	__aeabi_fsub
	.global	__aeabi_fcmplt
	.global	__aeabi_fdiv
	.global	__aeabi_f2iz
	.align	2
.LC7:
	.ascii	"\011** tree %d (%d [s]) ... stage tpr=%f, stage fpr"
	.ascii	"=%f\012\000"
	.align	2
.LC8:
	.ascii	"\011** threshold set to %f\012\000"
	.text
	.align	2
	.global	learn_new_stage
	.syntax unified
	.arm
	.fpu softvfp
	.type	learn_new_stage, %function
learn_new_stage:
	@ args = 28, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #96
	str	r0, [fp, #-80]	@ float
	str	r1, [fp, #-84]	@ float
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r0, .L162
	bl	puts
	ldr	r2, [fp, #24]
	ldr	r3, [fp, #28]
	add	r3, r2, r3
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, .L162+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-88]
	mov	r3, #1065353216
	str	r3, [fp, #-64]	@ float
	b	.L134
.L154:
	bl	getticks
	str	r0, [fp, #-48]	@ float
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L135
.L139:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L161
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #20]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	mov	r0, r4
	mov	r1, r5
	bl	exp
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-72]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-52]
	add	r8, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r8, {r2-r3}
	b	.L138
.L161:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #20]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-72]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-52]
	add	r8, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r8, {r2-r3}
.L138:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L135:
	ldr	r2, [fp, #24]
	ldr	r3, [fp, #28]
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L139
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L140
.L141:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r6, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L140:
	ldr	r2, [fp, #24]
	ldr	r3, [fp, #28]
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L141
	ldr	r3, .L162+4
	ldr	r3, [r3]
	lsl	r3, r3, #12
	ldr	r2, .L162+8
	add	r0, r3, r2
	ldr	r3, .L162+4
	ldr	r3, [r3]
	lsl	r3, r3, #12
	ldr	r2, .L162+12
	add	r1, r3, r2
	ldr	r3, .L162+16
	ldr	ip, [r3]
	ldr	r2, [fp, #24]
	ldr	r3, [fp, #28]
	add	r3, r2, r3
	ldr	r2, .L162+20
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, [fp, #-52]
	str	r3, [sp, #16]
	ldr	r3, [fp, #16]
	str	r3, [sp, #12]
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-92]
	mov	r2, ip
	bl	grow_rtree
	ldr	r3, .L162+4
	ldr	r3, [r3]
	ldr	r2, .L162+24
	ldr	r1, .L162+28
	str	r1, [r2, r3, lsl #2]	@ float
	ldr	r3, .L162+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L162+4
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L142
.L143:
	ldr	r3, .L162+4
	ldr	r3, [r3]
	sub	r0, r3, #1
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #12]
	add	r3, r2, r3
	ldr	lr, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	get_tree_output
	str	r0, [fp, #-40]	@ float
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #20]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #20]
	add	r6, r2, r3
	ldr	r1, [fp, #-40]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [r6]	@ float
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L142:
	ldr	r2, [fp, #24]
	ldr	r3, [fp, #28]
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L143
	ldr	r3, .L162+32
	str	r3, [fp, #-68]	@ float
.L152:
	ldr	r1, .L162+36
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	str	r3, [fp, #-68]	@ float
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L144
.L151:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L145
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #20]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L145
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L145:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L148
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #20]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L148
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L148:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L144:
	ldr	r2, [fp, #24]
	ldr	r3, [fp, #28]
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L151
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2f
	mov	r6, r0
	ldr	r0, [fp, #24]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r0, [fp, #-56]
	bl	__aeabi_i2f
	mov	r6, r0
	ldr	r0, [fp, #28]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r6
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-64]	@ float
	ldr	r1, [fp, #-80]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L152
	ldr	r3, .L162+4
	ldr	r8, [r3]
	bl	getticks
	mov	r3, r0
	ldr	r1, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r9, r0
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r6-r7}
	mov	r2, r9
	mov	r1, r8
	ldr	r0, .L162+40
	bl	printf
	ldr	r3, .L162+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L134:
	ldr	r3, .L162+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	ble	.L153
	ldr	r1, [fp, #-84]	@ float
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L154
.L153:
	ldr	r3, .L162+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L162+24
	ldr	r2, [fp, #-68]	@ float
	str	r2, [r1, r3, lsl #2]	@ float
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L162+48
	bl	printf
	ldr	r0, [fp, #-52]
	bl	free
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L163:
	.align	2
.L162:
	.word	.LC6
	.word	ntrees
	.word	tcodes
	.word	luts
	.word	tdepth
	.word	bbox
	.word	thresholds
	.word	-995680256
	.word	1084227584
	.word	1000593162
	.word	.LC7
	.word	stdout
	.word	.LC8
	.size	learn_new_stage, .-learn_new_stage
	.global	__aeabi_l2d
	.section	.rodata
	.align	2
.LC9:
	.ascii	"* sampling finished ...\000"
	.align	2
.LC10:
	.ascii	"\011** elapsed time: %d\012\000"
	.align	2
.LC11:
	.ascii	"\011** cascade TPR=%.8f\012\000"
	.align	2
.LC12:
	.ascii	"\011** cascade FPR=%.8f (%d/%lld)\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sample_training_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	sample_training_data, %function
sample_training_data:
	@ args = 16, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #112
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-104]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-124]
	ldr	r3, .L180
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	getticks
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L165
.L167:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r0, r2, r3
	ldr	r2, .L180+4
	ldr	r3, [fp, #-88]
	ldr	r1, [r2, r3, lsl #4]
	ldr	r2, .L180+4
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	ip, .L180+4
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #4
	add	r3, ip, r3
	ldr	ip, [r3, #8]
	ldr	lr, .L180+4
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #4
	add	r3, lr, r3
	ldr	r3, [r3, #12]
	str	r3, [sp]
	mov	r3, ip
	bl	classify_region
	mov	r3, r0
	cmp	r3, #1
	bne	.L166
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r1, .L180+4
	ldr	r2, [fp, #-88]
	ldr	r2, [r1, r2, lsl #4]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r2, r2, r3
	ldr	r1, .L180+4
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	str	r3, [r2]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r2, r2, r3
	ldr	r1, .L180+4
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [r2]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r2, r2, r3
	ldr	r1, .L180+4
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	str	r3, [r2]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r2, #1065353216
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L166:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L165:
	ldr	r3, .L180+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	blt	.L167
	ldr	r3, [fp, #-120]
	ldr	r2, [fp, #-84]
	str	r2, [r3]
	ldr	r3, .L180+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L168
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L169
.L170:
	bl	mwcrand
	mov	r2, r0
	mov	r3, r2
	lsl	r3, r3, #16
	sub	r3, r3, r2
	mov	r4, r3
	mov	r5, #0
	bl	mwcrand
	mov	r3, r0
	mov	r0, r3
	mov	r1, #0
	ldr	r3, .L180+16
	mul	r2, r3, r1
	ldr	r3, .L180+20
	mul	r3, r0, r3
	add	ip, r2, r3
	ldr	lr, .L180+16
	umull	r2, r3, r0, lr
	add	r1, ip, r3
	mov	r3, r1
	adds	r8, r4, r2
	adc	r9, r5, r3
	ldr	r2, .L180+24
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r8-r9}
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L169:
	ldr	r3, [fp, #-88]
	cmp	r3, #1024
	blt	.L170
	ldr	r3, .L180+12
	mov	r2, #1
	str	r2, [r3]
.L168:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-124]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r3, .L180+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L171
	bl	omp_get_thread_num
	str	r0, [fp, #-72]
	b	.L172
.L176:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, .L180+24
	add	r3, r3, r2
	mov	r0, r3
	bl	mwcrand_r
	mov	r3, r0
	ldr	r2, .L180+28
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L180+32
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, .L180+24
	add	r3, r3, r2
	mov	r0, r3
	bl	mwcrand_r
	mov	r2, r0
	ldr	r1, .L180+36
	ldr	r3, [fp, #-68]
	ldr	r3, [r1, r3, lsl #3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, .L180+24
	add	r3, r3, r2
	mov	r0, r3
	bl	mwcrand_r
	mov	r2, r0
	ldr	r1, .L180+36
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #3
	ldr	r2, .L180+24
	add	r3, r3, r2
	mov	r0, r3
	bl	mwcrand_r
	mov	r3, r0
	ldr	r2, .L180+8
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	ldr	r2, .L180+4
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-56]
	sub	r0, fp, #92
	ldr	r3, [fp, #-68]
	str	r3, [sp]
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-60]
	ldr	r1, [fp, #-64]
	bl	classify_region
	mov	r3, r0
	cmp	r3, #1
	bne	.L173
	ldr	r3, [fp, #-124]
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L174
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	ldr	r2, [fp, #-64]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldr	r2, [fp, #-60]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r2, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldr	r2, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldr	r2, [fp, #-92]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r2, .L180+40
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-124]
	str	r2, [r3]
	b	.L173
.L174:
	mov	r3, #1
	str	r3, [fp, #-80]
.L173:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L172
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	str	r6, [fp, #-44]
	str	r7, [fp, #-40]
.L172:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L176
	b	.L177
.L171:
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
.L177:
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L180+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r3, [fp, #-124]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r0, .L180+44
	bl	puts
	bl	getticks
	mov	r4, r0
	ldr	r0, [fp, #-76]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L180+48
	bl	printf
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L180+52
	bl	printf
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_f2d
	ldr	r3, [fp, #-124]
	ldr	ip, [r3]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	ip, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L180+56
	bl	printf
	ldr	r3, [fp, #-48]	@ float
	ldr	r2, .L180
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L179
	bl	__stack_chk_fail
.L179:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L181:
	.align	2
.L180:
	.word	.LC13
	.word	objects
	.word	nobjects
	.word	prngsinitialized.6327
	.word	-65535
	.word	-60876
	.word	prngs.6328
	.word	nbackground
	.word	background
	.word	pdims
	.word	-1082130432
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	sample_training_data, .-sample_training_data
	.local	rs
	.comm	rs,16000000,4
	.local	cs
	.comm	cs,16000000,4
	.local	ss
	.comm	ss,16000000,4
	.local	iinds
	.comm	iinds,16000000,4
	.local	tvals
	.comm	tvals,16000000,4
	.local	os
	.comm	os,16000000,4
	.section	.rodata
	.align	2
.LC14:
	.ascii	"* cannot load training data ...\000"
	.align	2
.LC15:
	.ascii	"* target FPR achieved ... terminating the learning "
	.ascii	"process ...\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	learn_with_default_parameters
	.syntax unified
	.arm
	.fpu softvfp
	.type	learn_with_default_parameters, %function
learn_with_default_parameters:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L190
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-24]
	bl	load_training_data
	mov	r3, r0
	cmp	r3, #0
	bne	.L183
	ldr	r0, .L190+4
	bl	puts
	mov	r3, #0
	b	.L182
.L183:
	ldr	r3, .L190+8
	mvn	r2, #126
	strb	r2, [r3]
	ldr	r3, .L190+8
	mov	r2, #127
	strb	r2, [r3, #1]
	ldr	r3, .L190+8
	mvn	r2, #126
	strb	r2, [r3, #2]
	ldr	r3, .L190+8
	mov	r2, #127
	strb	r2, [r3, #3]
	ldr	r3, .L190+12
	mov	r2, #5
	str	r2, [r3]
	ldr	r0, [fp, #-28]
	bl	save_cascade_to_file
	mov	r3, r0
	cmp	r3, #0
	bne	.L185
	mov	r3, #0
	b	.L182
.L185:
	sub	r3, fp, #12
	str	r3, [sp, #12]
	sub	r3, fp, #16
	str	r3, [sp, #8]
	ldr	r3, .L190+16
	str	r3, [sp, #4]
	ldr	r3, .L190+20
	str	r3, [sp]
	ldr	r3, .L190+24
	ldr	r2, .L190+28
	ldr	r1, .L190+32
	ldr	r0, .L190+36
	bl	sample_training_data
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, .L190+16
	str	r3, [sp, #16]
	ldr	r3, .L190+20
	str	r3, [sp, #12]
	ldr	r3, .L190+24
	str	r3, [sp, #8]
	ldr	r3, .L190+28
	str	r3, [sp, #4]
	ldr	r3, .L190+32
	str	r3, [sp]
	ldr	r3, .L190+36
	mov	r2, #4
	mov	r1, #1056964608
	ldr	r0, .L190+40
	bl	learn_new_stage
	ldr	r0, [fp, #-28]
	bl	save_cascade_to_file
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #12
	str	r3, [sp, #12]
	sub	r3, fp, #16
	str	r3, [sp, #8]
	ldr	r3, .L190+16
	str	r3, [sp, #4]
	ldr	r3, .L190+20
	str	r3, [sp]
	ldr	r3, .L190+24
	ldr	r2, .L190+28
	ldr	r1, .L190+32
	ldr	r0, .L190+36
	bl	sample_training_data
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, .L190+16
	str	r3, [sp, #16]
	ldr	r3, .L190+20
	str	r3, [sp, #12]
	ldr	r3, .L190+24
	str	r3, [sp, #8]
	ldr	r3, .L190+28
	str	r3, [sp, #4]
	ldr	r3, .L190+32
	str	r3, [sp]
	ldr	r3, .L190+36
	mov	r2, #8
	mov	r1, #1056964608
	ldr	r0, .L190+44
	bl	learn_new_stage
	ldr	r0, [fp, #-28]
	bl	save_cascade_to_file
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #12
	str	r3, [sp, #12]
	sub	r3, fp, #16
	str	r3, [sp, #8]
	ldr	r3, .L190+16
	str	r3, [sp, #4]
	ldr	r3, .L190+20
	str	r3, [sp]
	ldr	r3, .L190+24
	ldr	r2, .L190+28
	ldr	r1, .L190+32
	ldr	r0, .L190+36
	bl	sample_training_data
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, .L190+16
	str	r3, [sp, #16]
	ldr	r3, .L190+20
	str	r3, [sp, #12]
	ldr	r3, .L190+24
	str	r3, [sp, #8]
	ldr	r3, .L190+28
	str	r3, [sp, #4]
	ldr	r3, .L190+32
	str	r3, [sp]
	ldr	r3, .L190+36
	mov	r2, #16
	mov	r1, #1056964608
	ldr	r0, .L190+48
	bl	learn_new_stage
	ldr	r0, [fp, #-28]
	bl	save_cascade_to_file
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #12
	str	r3, [sp, #12]
	sub	r3, fp, #16
	str	r3, [sp, #8]
	ldr	r3, .L190+16
	str	r3, [sp, #4]
	ldr	r3, .L190+20
	str	r3, [sp]
	ldr	r3, .L190+24
	ldr	r2, .L190+28
	ldr	r1, .L190+32
	ldr	r0, .L190+36
	bl	sample_training_data
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, .L190+16
	str	r3, [sp, #16]
	ldr	r3, .L190+20
	str	r3, [sp, #12]
	ldr	r3, .L190+24
	str	r3, [sp, #8]
	ldr	r3, .L190+28
	str	r3, [sp, #4]
	ldr	r3, .L190+32
	str	r3, [sp]
	ldr	r3, .L190+36
	mov	r2, #32
	mov	r1, #1056964608
	ldr	r0, .L190+52
	bl	learn_new_stage
	ldr	r0, [fp, #-28]
	bl	save_cascade_to_file
	mov	r0, #10
	bl	putchar
	b	.L186
.L187:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, .L190+16
	str	r3, [sp, #16]
	ldr	r3, .L190+20
	str	r3, [sp, #12]
	ldr	r3, .L190+24
	str	r3, [sp, #8]
	ldr	r3, .L190+28
	str	r3, [sp, #4]
	ldr	r3, .L190+32
	str	r3, [sp]
	ldr	r3, .L190+36
	mov	r2, #64
	mov	r1, #1056964608
	ldr	r0, .L190+56
	bl	learn_new_stage
	ldr	r0, [fp, #-28]
	bl	save_cascade_to_file
	mov	r0, #10
	bl	putchar
.L186:
	sub	r3, fp, #12
	str	r3, [sp, #12]
	sub	r3, fp, #16
	str	r3, [sp, #8]
	ldr	r3, .L190+16
	str	r3, [sp, #4]
	ldr	r3, .L190+20
	str	r3, [sp]
	ldr	r3, .L190+24
	ldr	r2, .L190+28
	ldr	r1, .L190+32
	ldr	r0, .L190+36
	bl	sample_training_data
	mov	r3, r0
	ldr	r1, .L190+60
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L187
	ldr	r0, .L190+64
	bl	puts
.L182:
	ldr	r2, .L190
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L189
	bl	__stack_chk_fail
.L189:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L191:
	.align	2
.L190:
	.word	.LC16
	.word	.LC14
	.word	bbox
	.word	tdepth
	.word	os
	.word	iinds
	.word	ss
	.word	cs
	.word	rs
	.word	tvals
	.word	1065017672
	.word	1065101558
	.word	1065185444
	.word	1065269330
	.word	1065311273
	.word	897988541
	.word	.LC15
	.size	learn_with_default_parameters, .-learn_with_default_parameters
	.section	.rodata
	.align	2
.LC17:
	.ascii	"TODO\012\000"
	.text
	.align	2
	.global	howto
	.syntax unified
	.arm
	.fpu softvfp
	.type	howto, %function
howto:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L194
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L195:
	.align	2
.L194:
	.word	.LC17
	.size	howto, .-howto
	.section	.rodata
	.align	2
.LC18:
	.ascii	"%d\000"
	.align	2
.LC19:
	.ascii	"* initializing:\000"
	.align	2
.LC20:
	.ascii	"\011** bbox = (%d, %d, %d, %d)\012\000"
	.align	2
.LC21:
	.ascii	"\011** tdepth = %d\012\000"
	.align	2
.LC22:
	.ascii	"* cannot load a cascade from '%s'\012\000"
	.align	2
.LC23:
	.ascii	"* cannot load the training data from '%s'\012\000"
	.align	2
.LC24:
	.ascii	"%f\000"
	.align	2
.LC25:
	.ascii	"%s\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L209
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	smwcrand
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	bne	.L197
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	learn_with_default_parameters
	b	.L198
.L197:
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	bne	.L199
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #12
	ldr	r1, .L209+4
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, .L209+8
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #12
	ldr	r1, .L209+4
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, .L209+8
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #12
	ldr	r1, .L209+4
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, .L209+8
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	sub	r2, fp, #12
	ldr	r1, .L209+4
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, .L209+8
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3]
	ldr	r2, .L209+12
	ldr	r1, .L209+4
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, .L209+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r0, r3
	bl	save_cascade_to_file
	mov	r3, r0
	cmp	r3, #0
	bne	.L200
	mov	r3, #0
	b	.L202
.L200:
	ldr	r0, .L209+20
	bl	puts
	ldr	r3, .L209+8
	ldrsb	r3, [r3]
	mov	r1, r3
	ldr	r3, .L209+8
	ldrsb	r3, [r3, #1]
	mov	r2, r3
	ldr	r3, .L209+8
	ldrsb	r3, [r3, #2]
	mov	r0, r3
	ldr	r3, .L209+8
	ldrsb	r3, [r3, #3]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L209+24
	bl	printf
	ldr	r3, .L209+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L209+28
	bl	printf
	mov	r3, #0
	b	.L202
.L199:
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	bne	.L203
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	load_cascade_from_file
	mov	r3, r0
	cmp	r3, #0
	bne	.L204
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L209+32
	bl	printf
	mov	r3, #1
	b	.L202
.L204:
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	load_training_data
	mov	r3, r0
	cmp	r3, #0
	bne	.L206
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L209+36
	bl	printf
	mov	r3, #1
	b	.L202
.L206:
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	sub	r2, fp, #28
	ldr	r1, .L209+40
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	sub	r2, fp, #24
	ldr	r1, .L209+40
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3]
	sub	r2, fp, #20
	ldr	r1, .L209+4
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r3, fp, #12
	str	r3, [sp, #12]
	sub	r3, fp, #16
	str	r3, [sp, #8]
	ldr	r3, .L209+44
	str	r3, [sp, #4]
	ldr	r3, .L209+48
	str	r3, [sp]
	ldr	r3, .L209+52
	ldr	r2, .L209+56
	ldr	r1, .L209+60
	ldr	r0, .L209+64
	bl	sample_training_data
	ldr	r0, [fp, #-28]	@ float
	ldr	r1, [fp, #-24]	@ float
	ldr	ip, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [sp, #24]
	str	r3, [sp, #20]
	ldr	r3, .L209+44
	str	r3, [sp, #16]
	ldr	r3, .L209+48
	str	r3, [sp, #12]
	ldr	r3, .L209+52
	str	r3, [sp, #8]
	ldr	r3, .L209+56
	str	r3, [sp, #4]
	ldr	r3, .L209+60
	str	r3, [sp]
	ldr	r3, .L209+64
	mov	r2, ip
	bl	learn_new_stage
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r0, r3
	bl	save_cascade_to_file
	mov	r3, r0
	cmp	r3, #0
	bne	.L198
	mov	r3, #1
	b	.L202
.L203:
	bl	howto
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L209+68
	bl	printf
	mov	r3, #0
	b	.L202
.L198:
	mov	r3, #0
.L202:
	ldr	r2, .L209
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L208
	bl	__stack_chk_fail
.L208:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L210:
	.align	2
.L209:
	.word	.LC26
	.word	.LC18
	.word	bbox
	.word	tdepth
	.word	ntrees
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	os
	.word	iinds
	.word	ss
	.word	cs
	.word	rs
	.word	tvals
	.word	.LC25
	.size	main, .-main
	.local	prngsinitialized.6327
	.comm	prngsinitialized.6327,4,4
	.local	prngs.6328
	.comm	prngs.6328,8192,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
