	.file	"extr_bbox.c_aabb_extend_by_point.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	aabb_extend_by_point
	.type	aabb_extend_by_point, @function
aabb_extend_by_point:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
.L6:
	mov	rax, QWORD PTR [r12]
	mov	rbp, QWORD PTR 0[r13+rbx]
	sub	rbp, QWORD PTR [rax+rbx]
	mov	rdi, rbp
	call	fabs@PLT
	mov	rdi, QWORD PTR 8[r12]
	add	rdi, rbx
	mov	rdx, QWORD PTR [rdi]
	cmp	rax, rdx
	jle	.L2
	mov	rsi, QWORD PTR [r12]
	add	rsi, rbx
	test	rdx, rdx
	js	.L10
	mov	r8, QWORD PTR [rsi]
	lea	rcx, 0[rbp+r8]
	test	rbp, rbp
	jle	.L5
	mov	rax, r8
	sub	rax, rdx
.L4:
	add	rax, rcx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	mulss	xmm0, DWORD PTR .LC0[rip]
	cvttss2si	rax, xmm0
	sub	rcx, rax
	mov	QWORD PTR [rsi], rax
	mov	QWORD PTR [rdi], rcx
.L2:
	add	rbx, 8
	cmp	rbx, 24
	jne	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[r13+rbx]
	mov	rcx, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, rcx
	lea	rcx, [rdx+r8]
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	aabb_extend_by_point, .-aabb_extend_by_point
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1056964608
	.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_bbox.c_aabb_extend_by_point.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.align	2
	.global	aabb_extend_by_point
	.syntax unified
	.arm
	.fpu softvfp
	.type	aabb_extend_by_point, %function
aabb_extend_by_point:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	mov	r10, #1056964608
	sub	sp, sp, #12
	sub	r5, r1, #4
	add	r9, r1, #8
	rsb	r8, r1, #4
.L6:
	ldr	r3, [r7]
	add	r6, r8, r5
	ldr	r3, [r3, r6]
	ldr	r4, [r5, #4]!
	sub	r4, r4, r3
	mov	r0, r4
	bl	fabs
	ldr	fp, [r7, #4]
	ldr	r2, [fp, r6]
	cmp	r0, r2
	ble	.L2
	cmp	r2, #0
	ldr	r3, [r7]
	blt	.L10
	ldr	r1, [r3, r6]
	cmp	r4, #0
	add	r4, r4, r1
	movle	r0, r4
	subgt	r0, r1, r2
	addle	r4, r2, r1
.L4:
	add	r0, r0, r4
	str	r3, [sp, #4]
	bl	__aeabi_i2f
	mov	r1, r10
	bl	__aeabi_fmul
	bl	__aeabi_f2iz
	ldr	r3, [sp, #4]
	sub	r4, r4, r0
	str	r0, [r3, r6]
	str	r4, [fp, r6]
.L2:
	cmp	r9, r5
	bne	.L6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r0, [r5]
	mov	r4, r0
	b	.L4
	.size	aabb_extend_by_point, .-aabb_extend_by_point
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
