	.file	"extr_tr_bsp.c_R_MergedHeightPoints.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	R_MergedHeightPoints
	.type	R_MergedHeightPoints, @function
R_MergedHeightPoints:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	cmp	eax, 2
	jle	.L16
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	edx, -1[rax]
	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
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, 1
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
.L2:
	lea	r12d, 1[rbp]
	cmp	r12d, edx
	jge	.L4
	mov	r14d, r12d
.L6:
	mov	eax, DWORD PTR 4[r13]
	mov	rcx, QWORD PTR 8[r13]
	mov	edx, eax
	imul	eax, r14d
	imul	edx, ebp
	add	eax, ebx
	add	edx, ebx
	cdqe
	movsx	rdx, edx
	mov	rax, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR [rcx+rdx*8]
	mov	rdi, QWORD PTR [rdx]
	sub	rdi, QWORD PTR [rax]
	call	fabs@PLT
	comisd	xmm0, QWORD PTR .LC0[rip]
	ja	.L5
	mov	eax, DWORD PTR 4[r13]
	mov	rcx, QWORD PTR 8[r13]
	mov	edx, eax
	imul	eax, r14d
	imul	edx, ebp
	add	eax, ebx
	add	edx, ebx
	cdqe
	movsx	rdx, edx
	mov	rax, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR [rcx+rdx*8]
	mov	rdi, QWORD PTR 8[rdx]
	sub	rdi, QWORD PTR 8[rax]
	call	fabs@PLT
	comisd	xmm0, QWORD PTR .LC0[rip]
	ja	.L5
	mov	eax, DWORD PTR 4[r13]
	mov	rcx, QWORD PTR 8[r13]
	mov	edx, eax
	imul	eax, r14d
	imul	edx, ebp
	add	eax, ebx
	add	edx, ebx
	cdqe
	movsx	rdx, edx
	mov	rax, QWORD PTR [rcx+rax*8]
	mov	rdx, QWORD PTR [rcx+rdx*8]
	mov	rdi, QWORD PTR 16[rdx]
	sub	rdi, QWORD PTR 16[rax]
	call	fabs@PLT
	comisd	xmm0, QWORD PTR .LC0[rip]
	ja	.L5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR qtrue[rip]
	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
.L5:
	.cfi_restore_state
	mov	eax, DWORD PTR 0[r13]
	add	r14d, 1
	lea	edx, -1[rax]
	cmp	edx, r14d
	jg	.L6
	cmp	edx, r12d
	jle	.L4
	mov	ebp, r12d
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR qfalse[rip]
	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
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	mov	eax, DWORD PTR qfalse[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	R_MergedHeightPoints, .-R_MergedHeightPoints
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	2576980378
	.long	1069128089
	.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_tr_bsp.c_R_MergedHeightPoints.c"
	.text
	.global	__aeabi_dcmpgt
	.align	2
	.global	R_MergedHeightPoints
	.syntax unified
	.arm
	.fpu softvfp
	.type	R_MergedHeightPoints, %function
R_MergedHeightPoints:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #2
	ble	.L14
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r8, r1
	mov	r9, #1
	ldr	r6, .L15
	ldr	r7, .L15+4
	sub	r3, r3, #1
.L2:
	add	r10, r9, #1
	cmp	r10, r3
	bge	.L4
	mov	r5, r10
.L6:
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	mla	r1, r9, r3, r8
	mla	r3, r5, r3, r8
	ldr	r1, [r2, r1, lsl #2]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r0, [r1]
	ldr	r3, [r3]
	sub	r0, r0, r3
	bl	fabs
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	mla	r1, r9, r3, r8
	mla	r3, r5, r3, r8
	ldr	r1, [r2, r1, lsl #2]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r0, [r1, #4]
	ldr	r3, [r3, #4]
	sub	r0, r0, r3
	bl	fabs
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	bne	.L5
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	mla	r1, r9, r3, r8
	mla	r3, r5, r3, r8
	ldr	r1, [r2, r1, lsl #2]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r0, [r1, #8]
	ldr	r3, [r3, #8]
	sub	r0, r0, r3
	bl	fabs
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	bne	.L5
	ldr	r3, .L15+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, [r4]
	add	r5, r5, #1
	sub	r3, r3, #1
	cmp	r3, r5
	bgt	.L6
	cmp	r3, r10
	movgt	r9, r10
	bgt	.L2
.L4:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	ldr	r3, .L15+12
	ldr	r0, [r3]
	bx	lr
.L16:
	.align	2
.L15:
	.word	-1717986918
	.word	1069128089
	.word	qtrue
	.word	qfalse
	.size	R_MergedHeightPoints, .-R_MergedHeightPoints
	.comm	qtrue,4,4
	.comm	qfalse,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
