	.file	"extr_window-copy.c_window_copy_cursor_jump_to.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	window_copy_cursor_jump_to, @function
window_copy_cursor_jump_to:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r14, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rdi
	mov	r12, QWORD PTR 32[r14]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [r14]
	mov	rdi, r12
	lea	r15, 2[rax]
	call	screen_hsize@PLT
	add	rax, QWORD PTR 8[r14]
	mov	rdi, rbp
	mov	rbx, rax
	sub	rbx, QWORD PTR 16[r14]
	mov	rsi, rbx
	call	window_copy_find_length@PLT
	cmp	r15, rax
	jge	.L1
	mov	rbp, rax
	lea	r13, 16[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	r15, 1
	cmp	rbp, r15
	je	.L1
.L4:
	mov	edi, DWORD PTR [r12]
	mov	rcx, r13
	mov	rdx, rbx
	mov	rsi, r15
	call	grid_get_cell@PLT
	mov	eax, DWORD PTR 16[rsp]
	test	DWORD PTR GRID_FLAG_PADDING[rip], eax
	jne	.L3
	cmp	DWORD PTR 24[rsp], 1
	jne	.L3
	mov	rax, QWORD PTR 32[rsp]
	mov	rcx, QWORD PTR 24[r14]
	cmp	QWORD PTR [rax], rcx
	jne	.L3
	mov	rbx, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR 8[r14]
	lea	rsi, -1[r15]
	mov	rdi, rbx
	call	window_copy_update_cursor@PLT
	mov	esi, 1
	mov	rdi, rbx
	call	window_copy_update_selection@PLT
	test	rax, rax
	jne	.L13
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L13:
	.cfi_restore_state
	mov	rsi, QWORD PTR 8[r14]
	mov	rdi, QWORD PTR 8[rsp]
	mov	edx, 1
	call	window_copy_redraw_lines@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	window_copy_cursor_jump_to, .-window_copy_cursor_jump_to
	.comm	GRID_FLAG_PADDING,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_window-copy.c_window_copy_cursor_jump_to.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	window_copy_cursor_jump_to, %function
window_copy_cursor_jump_to:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, [r0]
	ldr	r3, .L15
	ldr	r6, [r8, #16]
	sub	sp, sp, #20
	mov	r9, r0
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r4, [r8]
	bl	screen_hsize
	ldr	r10, [r8, #4]
	ldr	r2, [r8, #8]
	add	r10, r0, r10
	sub	r10, r10, r2
	mov	r1, r10
	mov	r0, r9
	bl	window_copy_find_length
	add	r4, r4, #2
	cmp	r4, r0
	bge	.L1
	mov	r5, r0
	ldr	r7, .L15+4
	b	.L4
.L3:
	add	r4, r4, #1
	cmp	r5, r4
	beq	.L1
.L4:
	mov	r3, sp
	mov	r1, r4
	mov	r2, r10
	ldr	r0, [r6]
	bl	grid_get_cell
	ldr	r1, [sp]
	ldr	r3, [r7]
	tst	r1, r3
	bne	.L3
	ldr	fp, [sp, #4]
	cmp	fp, #1
	bne	.L3
	ldr	r2, [sp, #8]
	ldr	r3, [r8, #12]
	ldr	r2, [r2]
	cmp	r2, r3
	bne	.L3
	ldr	r2, [r8, #4]
	sub	r1, r4, #1
	mov	r0, r9
	bl	window_copy_update_cursor
	mov	r1, fp
	mov	r0, r9
	bl	window_copy_update_selection
	cmp	r0, #0
	bne	.L13
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	mov	r2, fp
	mov	r0, r9
	ldr	r1, [r8, #4]
	bl	window_copy_redraw_lines
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	GRID_FLAG_PADDING
	.size	window_copy_cursor_jump_to, .-window_copy_cursor_jump_to
	.comm	GRID_FLAG_PADDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
