	.file	"extr_synctex_parser.c_synctex_edit_query.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	synctex_edit_query
	.type	synctex_edit_query, @function
synctex_edit_query:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	sub	rsp, 104
	.cfi_def_cfa_offset 128
	movss	DWORD PTR [rsp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR 12[rsp], xmm1
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR INT_MAX[rip]
	movaps	XMMWORD PTR 48[rsp], xmm0
	mov	QWORD PTR 32[rsp], 0
	mov	QWORD PTR 16[rsp], rax
	mov	QWORD PTR 24[rsp], rax
	movaps	XMMWORD PTR 64[rsp], xmm0
	call	synctex_scanner_parse@PLT
	test	rax, rax
	je	.L4
	movss	xmm2, DWORD PTR [rax]
	pxor	xmm0, xmm0
	mov	r12, rax
	comiss	xmm0, xmm2
	jnb	.L4
	movss	xmm0, DWORD PTR 12[rsp]
	subss	xmm0, DWORD PTR 8[rax]
	movss	xmm1, DWORD PTR [rsp]
	subss	xmm1, DWORD PTR 4[rax]
	mov	rdi, QWORD PTR SYNCTEX_START[rip]
	divss	xmm0, xmm2
	divss	xmm1, xmm2
	movd	eax, xmm0
	sal	rax, 32
	movd	edx, xmm1
	or	rdx, rax
	mov	QWORD PTR [rsp], rdx
	call	free@PLT
	mov	r12, QWORD PTR 16[r12]
	mov	QWORD PTR SYNCTEX_CUR[rip], 0
	mov	QWORD PTR SYNCTEX_END[rip], 0
	mov	QWORD PTR SYNCTEX_START[rip], 0
	test	r12, r12
	jne	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r12
	call	SYNCTEX_SIBLING@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
.L5:
	mov	rdi, r12
	call	SYNCTEX_PAGE@PLT
	cmp	eax, ebp
	jne	.L7
	mov	rdi, r12
	call	SYNCTEX_NEXT_HORIZ_BOX@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L27
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	SYNCTEX_NEXT_HORIZ_BOX@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L28
.L27:
	mov	edx, DWORD PTR synctex_YES[rip]
	movq	xmm0, QWORD PTR [rsp]
	xor	edi, edi
	mov	rsi, rbp
	call	_synctex_point_in_box@PLT
	test	rax, rax
	je	.L9
.L10:
	mov	rdi, rbp
	call	SYNCTEX_NEXT_HORIZ_BOX@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L13
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, r12
	call	SYNCTEX_NEXT_HORIZ_BOX@PLT
	mov	r12, rax
	test	rax, rax
	je	.L11
.L13:
	mov	edx, DWORD PTR synctex_YES[rip]
	movq	xmm0, QWORD PTR [rsp]
	xor	edi, edi
	mov	rsi, r12
	call	_synctex_point_in_box@PLT
	test	rax, rax
	je	.L12
	mov	rsi, rbp
	mov	rdi, r12
	call	_synctex_smallest_container@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	SYNCTEX_NEXT_HORIZ_BOX@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L13
.L11:
	mov	edx, DWORD PTR synctex_YES[rip]
	movq	xmm0, QWORD PTR [rsp]
	xor	edi, edi
	mov	rsi, rbp
	call	_synctex_eq_deepest_container@PLT
	movq	xmm0, QWORD PTR [rsp]
	lea	rcx, 16[rsp]
	mov	r8d, DWORD PTR synctex_YES[rip]
	test	rax, rax
	mov	r12, rax
	lea	rdx, 48[rsp]
	cmove	r12, rbp
	xor	edi, edi
	mov	rsi, r12
	call	_synctex_eq_get_closest_children_in_box@PLT
	mov	rdi, QWORD PTR 56[rsp]
	test	rdi, rdi
	je	.L15
	cmp	QWORD PTR 48[rsp], 0
	je	.L16
	call	SYNCTEX_TAG@PLT
	mov	rdi, QWORD PTR 48[rsp]
	mov	rbp, rax
	call	SYNCTEX_TAG@PLT
	cmp	rbp, rax
	je	.L17
.L20:
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR SYNCTEX_START[rip], rax
	test	rax, rax
	je	.L51
	mov	rcx, QWORD PTR 24[rsp]
	cmp	QWORD PTR 16[rsp], rcx
	jg	.L52
	mov	rdx, QWORD PTR 48[rsp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR 56[rsp]
	mov	QWORD PTR 8[rax], rdx
.L23:
	mov	QWORD PTR SYNCTEX_CUR[rip], 0
	add	rax, 16
	mov	QWORD PTR SYNCTEX_END[rip], rax
	mov	eax, 2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, r12
	call	SYNCTEX_CHILD@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
.L3:
	mov	rcx, QWORD PTR 88[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L53
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	mov	QWORD PTR 48[rsp], rdi
.L25:
	mov	edi, 8
	call	malloc@PLT
	mov	rdx, rax
	mov	QWORD PTR SYNCTEX_START[rip], rax
	mov	eax, DWORD PTR SYNCTEX_STATUS_ERROR[rip]
	test	rdx, rdx
	je	.L3
	mov	rax, QWORD PTR 48[rsp]
	add	rdx, 8
	mov	QWORD PTR -8[rdx], rax
	mov	eax, 1
	mov	QWORD PTR SYNCTEX_END[rip], rdx
	mov	QWORD PTR SYNCTEX_CUR[rip], 0
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	QWORD PTR 48[rsp], 0
	jne	.L25
	mov	QWORD PTR 48[rsp], r12
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L51:
	mov	eax, DWORD PTR SYNCTEX_STATUS_ERROR[rip]
	jmp	.L3
.L52:
	mov	rdx, QWORD PTR 56[rsp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR 48[rsp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L23
.L17:
	mov	rdi, QWORD PTR 56[rsp]
	call	SYNCTEX_LINE@PLT
	mov	rdi, QWORD PTR 48[rsp]
	mov	rbp, rax
	call	SYNCTEX_LINE@PLT
	cmp	rbp, rax
	jne	.L20
	mov	rdi, QWORD PTR 56[rsp]
	call	SYNCTEX_COLUMN@PLT
	mov	rdi, QWORD PTR 48[rsp]
	mov	rbp, rax
	call	SYNCTEX_COLUMN@PLT
	cmp	rbp, rax
	jne	.L20
	mov	rax, QWORD PTR 24[rsp]
	cmp	QWORD PTR 16[rsp], rax
	jle	.L24
	mov	rax, QWORD PTR 56[rsp]
	mov	QWORD PTR 48[rsp], rax
.L24:
	mov	QWORD PTR 56[rsp], 0
	jmp	.L25
.L53:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	synctex_edit_query, .-synctex_edit_query
	.comm	synctex_YES,4,4
	.comm	SYNCTEX_STATUS_ERROR,4,4
	.comm	SYNCTEX_START,8,8
	.comm	SYNCTEX_END,8,8
	.comm	SYNCTEX_CUR,8,8
	.comm	INT_MAX,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_synctex_parser.c_synctex_edit_query.c"
	.text
	.global	__aeabi_fcmple
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	synctex_edit_query
	.syntax unified
	.arm
	.fpu softvfp
	.type	synctex_edit_query, %function
synctex_edit_query:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	lr, .L52
	sub	sp, sp, #72
	ldr	lr, [lr]
	mov	r7, r3
	ldr	r3, .L52+4
	add	r4, sp, #20
	ldr	r3, [r3]
	str	r3, [sp, #68]
	mov	r3,#0
	mov	r5, r1
	mov	r8, r2
	str	lr, [sp, #52]
	str	lr, [sp, #56]
	str	ip, [sp, #20]
	str	ip, [sp, #36]
	str	ip, [sp, #60]
	str	ip, [sp, #64]
	str	ip, [r4, #4]
	str	ip, [r4, #8]
	str	ip, [r4, #12]
	str	ip, [sp, #40]
	str	ip, [sp, #44]
	str	ip, [sp, #48]
	bl	synctex_scanner_parse
	subs	r6, r0, #0
	beq	.L4
	ldr	r9, [r6]	@ float
	mov	r1, #0
	mov	r0, r9
	bl	__aeabi_fcmple
	subs	r10, r0, #0
	bne	.L4
	ldr	r1, [r6, #4]	@ float
	mov	r0, r8
	bl	__aeabi_fsub
	mov	r1, r9
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, [r6, #8]	@ float
	mov	r0, r7
	str	r3, [sp, #20]	@ float
	bl	__aeabi_fsub
	mov	r1, r9
	bl	__aeabi_fdiv
	ldr	r7, .L52+8
	str	r0, [sp, #24]	@ float
	ldr	r0, [r7]
	bl	free
	ldr	r6, [r6, #12]
	ldr	r8, .L52+12
	ldr	r9, .L52+16
	cmp	r6, #0
	str	r10, [r7]
	str	r10, [r8]
	str	r10, [r9]
	bne	.L5
	b	.L6
.L7:
	mov	r0, r6
	bl	SYNCTEX_SIBLING
	subs	r6, r0, #0
	beq	.L6
.L5:
	mov	r0, r6
	bl	SYNCTEX_PAGE
	cmp	r0, r5
	bne	.L7
	mov	r0, r6
	bl	SYNCTEX_NEXT_HORIZ_BOX
	subs	r5, r0, #0
	beq	.L28
	ldr	r10, .L52+20
	b	.L27
.L9:
	mov	r0, r5
	bl	SYNCTEX_NEXT_HORIZ_BOX
	subs	r5, r0, #0
	beq	.L28
.L27:
	ldr	r3, [r10]
	str	r5, [sp]
	str	r3, [sp, #4]
	ldm	r4, {r0, r1, r2, r3}
	bl	_synctex_point_in_box
	cmp	r0, #0
	beq	.L9
.L10:
	mov	r0, r5
	bl	SYNCTEX_NEXT_HORIZ_BOX
	subs	r6, r0, #0
	bne	.L13
	b	.L11
.L12:
	mov	r0, r6
	bl	SYNCTEX_NEXT_HORIZ_BOX
	subs	r6, r0, #0
	beq	.L11
.L13:
	ldm	r4, {r0, r1, r2, r3}
	ldr	ip, [r10]
	stm	sp, {r6, ip}
	bl	_synctex_point_in_box
	cmp	r0, #0
	beq	.L12
	mov	r1, r5
	mov	r0, r6
	bl	_synctex_smallest_container
	mov	r5, r0
	mov	r0, r6
	bl	SYNCTEX_NEXT_HORIZ_BOX
	subs	r6, r0, #0
	bne	.L13
.L11:
	ldm	r4, {r0, r1, r2, r3}
	ldr	ip, [r10]
	stm	sp, {r5, ip}
	bl	_synctex_eq_deepest_container
	mov	ip, r0
	ldm	r4, {r0, r1, r2, r3}
	cmp	ip, #0
	movne	r5, ip
	ldr	lr, [r10]
	add	ip, sp, #52
	str	lr, [sp, #12]
	add	lr, sp, #36
	str	r5, [sp]
	str	lr, [sp, #4]
	str	ip, [sp, #8]
	bl	_synctex_eq_get_closest_children_in_box
	ldr	r0, [sp, #40]
	ldr	r3, [sp, #36]
	cmp	r0, #0
	beq	.L15
	cmp	r3, #0
	beq	.L16
	bl	SYNCTEX_TAG
	mov	r4, r0
	ldr	r0, [sp, #36]
	bl	SYNCTEX_TAG
	cmp	r4, r0
	beq	.L17
.L20:
	mov	r0, #8
	bl	malloc
	cmp	r0, #0
	str	r0, [r7]
	beq	.L26
	ldr	r3, [sp, #56]
	ldr	r1, [sp, #52]
	ldr	r2, [sp, #36]
	cmp	r1, r3
	ldr	r3, [sp, #40]
	strgt	r2, [r0, #4]
	stmle	r0, {r2, r3}
	strgt	r3, [r0]
	mov	r3, #0
	add	r0, r0, #8
	str	r0, [r9]
	str	r3, [r8]
	mov	r0, #2
	b	.L1
.L28:
	mov	r0, r6
	bl	SYNCTEX_CHILD
	subs	r5, r0, #0
	bne	.L50
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L52+4
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L51
	add	sp, sp, #72
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mvn	r0, #0
	b	.L1
.L50:
	ldr	r10, .L52+20
	b	.L10
.L16:
	str	r0, [sp, #36]
.L25:
	mov	r0, #4
	bl	malloc
	cmp	r0, #0
	str	r0, [r7]
	beq	.L26
	mov	r2, #0
	ldr	r3, [sp, #36]
	str	r2, [r8]
	str	r3, [r0], #4
	str	r0, [r9]
	mov	r0, #1
	b	.L1
.L15:
	cmp	r3, #0
	streq	r5, [sp, #36]
	b	.L25
.L17:
	ldr	r0, [sp, #40]
	bl	SYNCTEX_LINE
	mov	r4, r0
	ldr	r0, [sp, #36]
	bl	SYNCTEX_LINE
	cmp	r4, r0
	bne	.L20
	ldr	r0, [sp, #40]
	bl	SYNCTEX_COLUMN
	mov	r4, r0
	ldr	r0, [sp, #36]
	bl	SYNCTEX_COLUMN
	cmp	r4, r0
	bne	.L20
	ldr	r3, [sp, #56]
	ldr	r2, [sp, #52]
	cmp	r2, r3
	ldrgt	r3, [sp, #40]
	strgt	r3, [sp, #36]
	mov	r3, #0
	str	r3, [sp, #40]
	b	.L25
.L51:
	bl	__stack_chk_fail
.L26:
	ldr	r3, .L52+24
	ldr	r0, [r3]
	b	.L1
.L53:
	.align	2
.L52:
	.word	INT_MAX
	.word	.LC0
	.word	SYNCTEX_START
	.word	SYNCTEX_CUR
	.word	SYNCTEX_END
	.word	synctex_YES
	.word	SYNCTEX_STATUS_ERROR
	.size	synctex_edit_query, .-synctex_edit_query
	.comm	synctex_YES,4,4
	.comm	SYNCTEX_STATUS_ERROR,4,4
	.comm	SYNCTEX_START,4,4
	.comm	SYNCTEX_END,4,4
	.comm	SYNCTEX_CUR,4,4
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
