	.file	"extr_compare.c_bbox_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bbox_update
	.type	bbox_update, @function
bbox_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movsx	rbx, edx
	lea	rbp, 0[0+rbx*4]
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rsi]
	mov	edi, 10
	mov	eax, DWORD PTR [rax+rbx*4]
	sub	eax, DWORD PTR [rdx+rbx*4]
	cvtsi2sd	xmm0, eax
	divsd	xmm0, QWORD PTR .LC2[rip]
	cvttsd2si	esi, xmm0
	call	pow@PLT
	pxor	xmm0, xmm0
	mov	rdx, QWORD PTR [r12]
	movsd	xmm5, QWORD PTR .LC3[rip]
	add	eax, 1
	pxor	xmm7, xmm7
	mov	edi, 10
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR 0[r13]
	mov	eax, DWORD PTR [rax+rbx*4]
	sub	eax, DWORD PTR [rdx+rbx*4]
	divsd	xmm5, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	divsd	xmm0, QWORD PTR .LC2[rip]
	cvttsd2si	esi, xmm0
	cvtsd2ss	xmm7, xmm5
	movss	DWORD PTR 12[rsp], xmm7
	call	pow@PLT
	pxor	xmm0, xmm0
	movsd	xmm6, QWORD PTR .LC3[rip]
	add	eax, 1
	cvtsi2sd	xmm0, eax
	divsd	xmm6, xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, xmm6
	test	r14d, r14d
	jne	.L3
	movss	xmm2, DWORD PTR .LC0[rip]
	pxor	xmm3, xmm3
.L2:
	subss	xmm3, DWORD PTR 12[rsp]
	mov	rdx, QWORD PTR 0[r13]
	pxor	xmm1, xmm1
	subss	xmm2, xmm0
	movss	xmm4, DWORD PTR .LC4[rip]
	add	rdx, rbp
	add	rbp, QWORD PTR [r12]
	mulss	xmm3, xmm4
	cvtsi2ss	xmm1, DWORD PTR [rdx]
	movaps	xmm0, xmm2
	mulss	xmm0, xmm4
	addss	xmm1, xmm3
	cvttss2si	eax, xmm1
	pxor	xmm1, xmm1
	mov	DWORD PTR [rdx], eax
	cvtsi2ss	xmm1, DWORD PTR 0[rbp]
	addss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR 0[rbp], eax
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	movss	xmm3, DWORD PTR .LC0[rip]
	pxor	xmm2, xmm2
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	bbox_update, .-bbox_update
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1065353216
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC2:
	.long	0
	.long	1081671680
	.align 8
.LC3:
	.long	0
	.long	1072693248
	.section	.rodata.cst4
	.align 4
.LC4:
	.long	1107296256
	.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_update.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2iz
	.global	__aeabi_d2f
	.global	__aeabi_i2f
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_f2iz
	.align	2
	.global	bbox_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	bbox_update, %function
bbox_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r5, r1
	ldr	r2, [r0]
	ldr	r1, [r1]
	mov	r6, r0
	ldr	r2, [r2, r4, lsl #2]
	ldr	r0, [r1, r4, lsl #2]
	mov	r9, r3
	sub	r0, r0, r2
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L6
	bl	__aeabi_ddiv
	bl	__aeabi_d2iz
	mov	r1, r0
	mov	r0, #10
	bl	pow
	add	r0, r0, #1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L6+4
	bl	__aeabi_ddiv
	bl	__aeabi_d2f
	ldr	r2, [r6]
	ldr	r3, [r5]
	ldr	r2, [r2, r4, lsl #2]
	ldr	r3, [r3, r4, lsl #2]
	mov	r8, r0
	sub	r0, r2, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L6
	bl	__aeabi_ddiv
	bl	__aeabi_d2iz
	mov	r1, r0
	mov	r0, #10
	bl	pow
	add	r0, r0, #1
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L6+4
	bl	__aeabi_ddiv
	bl	__aeabi_d2f
	ldr	r10, [r6]
	cmp	r9, #0
	mov	r7, r0
	ldr	r0, [r10, r4, lsl #2]
	moveq	fp, #0
	moveq	r9, #1065353216
	movne	fp, #1065353216
	movne	r9, #0
	bl	__aeabi_i2f
	mov	r1, r8
	mov	r6, r0
	mov	r0, fp
	bl	__aeabi_fsub
	mov	r1, #1107296256
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	ldr	r6, [r5]
	str	r0, [r10, r4, lsl #2]
	ldr	r0, [r6, r4, lsl #2]
	bl	__aeabi_i2f
	mov	r1, r7
	mov	r5, r0
	mov	r0, r9
	bl	__aeabi_fsub
	mov	r1, #1107296256
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r5
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	str	r0, [r6, r4, lsl #2]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	.align	2
.L6:
	.word	1081671680
	.word	1072693248
	.size	bbox_update, .-bbox_update
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
