	.file	"extr_tsvector_op.c_silly_cmp_tsvector.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	silly_cmp_tsvector, @function
silly_cmp_tsvector:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	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, 40
	.cfi_def_cfa_offset 96
	call	VARSIZE@PLT
	mov	rdi, r15
	mov	rbx, rax
	call	VARSIZE@PLT
	cmp	rbx, rax
	jl	.L2
	mov	rdi, r13
	call	VARSIZE@PLT
	mov	rdi, r15
	mov	rbx, rax
	call	VARSIZE@PLT
	cmp	rbx, rax
	jg	.L3
	mov	rax, QWORD PTR [r15]
	cmp	QWORD PTR 0[r13], rax
	jl	.L2
	jle	.L22
.L3:
	mov	r12d, 1
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	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
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, r13
	call	ARRPTR@PLT
	mov	rdi, r15
	mov	rbp, rax
	call	ARRPTR@PLT
	cmp	QWORD PTR 0[r13], 0
	mov	r14, rax
	jle	.L8
	mov	QWORD PTR 16[rsp], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	add	QWORD PTR 16[rsp], 1
	add	rbp, 24
	mov	rax, QWORD PTR 16[rsp]
	add	r14, 24
	cmp	QWORD PTR 0[r13], rax
	jle	.L8
.L4:
	mov	rax, QWORD PTR [r14]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L20
	mov	ecx, DWORD PTR 8[r14]
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], ecx
	call	STRPTR@PLT
	mov	ebx, DWORD PTR 8[rbp]
	add	rax, QWORD PTR 16[r14]
	mov	rdi, r13
	mov	r12, rax
	call	STRPTR@PLT
	mov	ecx, DWORD PTR 8[rsp]
	add	rax, QWORD PTR 16[rbp]
	mov	rdx, r12
	mov	rdi, rax
	xor	r8d, r8d
	mov	esi, ebx
	call	tsCompareString@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	cmp	QWORD PTR 0[rbp], 0
	je	.L13
	mov	rsi, rbp
	mov	rdi, r13
	call	POSDATAPTR@PLT
	mov	rsi, r14
	mov	rdi, r15
	mov	rbx, rax
	call	POSDATAPTR@PLT
	mov	rsi, rbp
	mov	rdi, r13
	mov	QWORD PTR 8[rsp], rax
	call	POSDATALEN@PLT
	mov	rsi, r14
	mov	rdi, r15
	mov	DWORD PTR 24[rsp], eax
	call	POSDATALEN@PLT
	cmp	DWORD PTR 24[rsp], eax
	je	.L9
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L10:
	call	WEP_GETWEIGHT@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	edi, DWORD PTR [rsi]
	call	WEP_GETWEIGHT@PLT
	cmp	QWORD PTR 24[rsp], rax
	jne	.L24
	add	QWORD PTR 8[rsp], 4
	add	rbx, 4
	add	r12d, 1
.L9:
	mov	rsi, rbp
	mov	rdi, r13
	call	POSDATALEN@PLT
	cmp	eax, r12d
	jle	.L13
	mov	edi, DWORD PTR [rbx]
	call	WEP_GETPOS@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	edi, DWORD PTR [rdx]
	call	WEP_GETPOS@PLT
	mov	edi, DWORD PTR [rbx]
	cmp	QWORD PTR 24[rsp], rax
	je	.L10
	call	WEP_GETPOS@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	call	WEP_GETPOS@PLT
	cmp	rbx, rax
	jle	.L3
.L2:
	mov	r12d, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edi, DWORD PTR [rbx]
	call	WEP_GETWEIGHT@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	call	WEP_GETWEIGHT@PLT
	cmp	rbx, rax
.L20:
	jg	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r12d, r12d
	jmp	.L1
.L23:
	mov	rsi, rbp
	mov	rdi, r13
	call	POSDATALEN@PLT
	mov	rsi, r14
	mov	rdi, r15
	mov	ebx, eax
	call	POSDATALEN@PLT
	cmp	ebx, eax
	jg	.L2
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	silly_cmp_tsvector, .-silly_cmp_tsvector
	.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_tsvector_op.c_silly_cmp_tsvector.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	silly_cmp_tsvector, %function
silly_cmp_tsvector:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	mov	r10, r1
	mov	r6, r0
	bl	VARSIZE
	mov	r4, r0
	mov	r0, r10
	bl	VARSIZE
	cmp	r4, r0
	blt	.L2
	mov	r0, r6
	bl	VARSIZE
	mov	r4, r0
	mov	r0, r10
	bl	VARSIZE
	cmp	r4, r0
	bgt	.L3
	ldr	r2, [r6]
	ldr	r3, [r10]
	cmp	r2, r3
	blt	.L2
	ble	.L21
.L3:
	mov	r4, #1
.L1:
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	mov	r0, r6
	bl	ARRPTR
	mov	r5, r0
	mov	r0, r10
	bl	ARRPTR
	ldr	r3, [r6]
	mov	r9, r0
	cmp	r3, #0
	movgt	r3, #0
	addgt	r5, r5, #12
	strgt	r3, [sp, #8]
	strgt	r10, [sp, #12]
	bgt	.L8
	b	.L9
.L15:
	ldr	r2, [sp, #8]
	ldr	r3, [r6]
	add	r2, r2, #1
	cmp	r3, r2
	str	r2, [sp, #8]
	add	r9, r9, #12
	add	r5, r5, #12
	ble	.L9
.L8:
	ldr	r2, [r5, #-12]
	ldr	r3, [r9]
	sub	fp, r5, #12
	cmp	r2, r3
	bne	.L19
	mov	r0, r6
	bl	STRPTR
	mov	r4, r0
	ldr	r3, [r5, #-4]
	ldr	r0, [sp, #12]
	add	r4, r4, r3
	ldr	r7, [r5, #-8]
	bl	STRPTR
	mov	ip, r0
	ldr	r2, [r9, #8]
	mov	r0, r4
	add	r2, ip, r2
	mov	ip, #0
	ldr	r3, [r9, #4]
	mov	r1, r7
	str	ip, [sp]
	bl	tsCompareString
	subs	r4, r0, #0
	bne	.L1
	ldr	r3, [r5, #-12]
	cmp	r3, #0
	beq	.L15
	mov	r1, fp
	mov	r0, r6
	bl	POSDATAPTR
	mov	r1, r9
	mov	r8, r0
	ldr	r0, [sp, #12]
	bl	POSDATAPTR
	mov	r1, fp
	mov	r7, r0
	mov	r0, r6
	bl	POSDATALEN
	mov	r1, r9
	mov	r10, r0
	ldr	r0, [sp, #12]
	bl	POSDATALEN
	cmp	r10, r0
	bne	.L10
	str	r9, [sp, #16]
	str	r5, [sp, #20]
	b	.L11
.L14:
	ldr	r0, [r8]
	bl	WEP_GETPOS
	mov	r5, r0
	ldr	r0, [r7]
	bl	WEP_GETPOS
	cmp	r5, r0
	bne	.L22
	ldr	r0, [r9]
	bl	WEP_GETWEIGHT
	mov	r5, r0
	ldr	r0, [r10]
	bl	WEP_GETWEIGHT
	cmp	r5, r0
	add	r8, r8, #4
	add	r7, r7, #4
	bne	.L23
	add	r4, r4, #1
.L11:
	mov	r1, fp
	mov	r0, r6
	bl	POSDATALEN
	cmp	r0, r4
	mov	r10, r7
	mov	r9, r8
	bgt	.L14
	ldr	r9, [sp, #16]
	ldr	r5, [sp, #20]
	b	.L15
.L10:
	mov	r1, fp
	mov	r0, r6
	ldr	r10, [sp, #12]
	bl	POSDATALEN
	mov	r1, r9
	mov	r4, r0
	mov	r0, r10
	bl	POSDATALEN
	cmp	r4, r0
.L19:
	ble	.L3
.L2:
	mvn	r4, #0
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	ldr	r0, [r8]
	bl	WEP_GETPOS
	mov	r4, r0
	ldr	r0, [r7]
	bl	WEP_GETPOS
	cmp	r4, r0
	bgt	.L2
	b	.L3
.L23:
	ldr	r0, [r9]
	bl	WEP_GETWEIGHT
	mov	r4, r0
	ldr	r0, [r10]
	bl	WEP_GETWEIGHT
	cmp	r4, r0
	bgt	.L2
	b	.L3
.L9:
	mov	r4, #0
	b	.L1
	.size	silly_cmp_tsvector, .-silly_cmp_tsvector
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
