	.file	"extr_compare.c_bbox_comparator.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bbox_comparator
	.type	bbox_comparator, @function
bbox_comparator:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	ebp, DWORD PTR 8[rdi]
	mov	ebx, DWORD PTR 12[rdi]
	mov	r10d, DWORD PTR 16[rdi]
	mov	eax, DWORD PTR [rdi]
	mov	edi, DWORD PTR 4[rdi]
	mov	r12d, DWORD PTR 4[rsi]
	mov	edx, ebx
	mov	esi, ebp
	mov	DWORD PTR 28[rsp], r10d
	add	DWORD PTR total_compares[rip], 1
	mov	DWORD PTR 24[rsp], eax
	call	load_image_color@PLT
	mov	esi, ebp
	mov	edi, r12d
	mov	r15, rdx
	mov	QWORD PTR 16[rsp], rax
	mov	edx, ebx
	sar	rax, 32
	mov	QWORD PTR 8[rsp], rax
	call	load_image_color@PLT
	mov	edi, ebp
	mov	r10d, DWORD PTR 28[rsp]
	mov	esi, 4
	imul	edi, ebx
	mov	r13, rdx
	mov	r14, rax
	imul	edi, r10d
	call	calloc@PLT
	mov	r8, QWORD PTR 16[rsp]
	mov	edx, DWORD PTR 8[rsp]
	mov	rsi, r15
	sar	rsi, 32
	mov	rdi, rax
	mov	r12, rax
	imul	edx, r8d
	imul	edx, r15d
	movsx	rcx, edx
	sal	edx, 2
	mov	QWORD PTR 8[rsp], rcx
	call	memcpy@PLT
	mov	rdx, r14
	mov	rcx, QWORD PTR 8[rsp]
	mov	rsi, r13
	sar	rdx, 32
	sar	rsi, 32
	imul	edx, r14d
	lea	rdi, [r12+rcx*4]
	imul	edx, r13d
	sal	edx, 2
	call	memcpy@PLT
	mov	r10d, DWORD PTR 28[rsp]
	mov	DWORD PTR 36[rsp], ebp
	mov	rdx, r12
	mov	DWORD PTR 40[rsp], ebx
	mov	rdi, QWORD PTR 36[rsp]
	mov	esi, r10d
	mov	DWORD PTR 44[rsp], r10d
	call	network_predict@PLT
	mov	r8, QWORD PTR 16[rsp]
	mov	rsi, r15
	mov	rbx, rax
	mov	rdi, r8
	call	free_image@PLT
	mov	rdi, r14
	mov	rsi, r13
	call	free_image@PLT
	mov	rdi, r12
	call	free@PLT
	mov	eax, DWORD PTR 24[rsp]
	lea	ebp, [rax+rax]
	xor	eax, eax
	movsx	rbp, ebp
	movss	xmm0, DWORD PTR [rbx+rbp*4]
	comiss	xmm0, DWORD PTR 4[rbx+rbp*4]
	seta	al
	add	rsp, 56
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	lea	eax, -1[rax+rax]
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bbox_comparator, .-bbox_comparator
	.comm	total_compares,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_compare.c_bbox_comparator.c"
	.text
	.global	__aeabi_fcmpgt
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bbox_comparator
	.syntax unified
	.arm
	.fpu softvfp
	.type	bbox_comparator, %function
bbox_comparator:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, .L10
	sub	sp, sp, #60
	ldr	r8, [r0, #8]
	ldr	fp, [r0, #12]
	ldr	lr, [r5]
	ldr	r9, .L10+4
	add	r7, sp, #20
	ldr	r4, [r1, #4]
	add	lr, lr, #1
	ldr	r1, [r0, #4]
	mov	r2, r8
	mov	r3, fp
	mov	r0, r7
	ldr	r10, [ip, #16]
	ldr	r9, [r9]
	str	r9, [sp, #52]
	mov	r9,#0
	add	r6, sp, #36
	ldr	r9, [ip]
	str	lr, [r5]
	bl	load_image_color
	ldr	ip, [sp, #24]
	ldr	lr, [sp, #28]
	mov	r3, fp
	mov	r1, r4
	mov	r2, r8
	mov	r0, r6
	ldr	r4, [sp, #20]
	str	ip, [sp]
	str	lr, [sp, #4]
	bl	load_image_color
	mul	r0, fp, r8
	mov	r1, #4
	mul	r0, r10, r0
	bl	calloc
	mov	r5, r0
	ldr	ip, [sp]
	ldr	lr, [sp, #4]
	mul	ip, r4, ip
	mul	lr, ip, lr
	lsl	r4, lr, #2
	mov	r2, r4
	ldr	r1, [sp, #32]
	bl	memcpy
	ldr	r0, [sp, #40]
	ldr	r2, [sp, #36]
	ldr	r1, [sp, #44]
	mul	r2, r0, r2
	mul	r2, r1, r2
	add	r0, r5, r4
	ldr	r1, [sp, #48]
	lsl	r2, r2, #2
	bl	memcpy
	str	r8, [sp, #8]
	str	fp, [sp, #12]
	str	r10, [sp, #16]
	add	r3, sp, #8
	ldm	r3, {r0, r1, r2}
	mov	r3, r5
	bl	network_predict
	mov	r4, r0
	ldm	r7, {r0, r1, r2, r3}
	bl	free_image
	ldm	r6, {r0, r1, r2, r3}
	bl	free_image
	mov	r0, r5
	bl	free
	add	r3, r4, r9, lsl #3
	ldr	r1, [r3, #4]	@ float
	ldr	r0, [r4, r9, lsl #3]	@ float
	bl	__aeabi_fcmpgt
	ldr	r3, .L10+4
	cmp	r0, #0
	movne	r0, #1
	mvneq	r0, #0
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	total_compares
	.word	.LC0
	.size	bbox_comparator, .-bbox_comparator
	.comm	total_compares,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
