	.file	"extr_pdfapp.c_pdfapp_panview.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pdfapp_panview, @function
pdfapp_panview:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	test	esi, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	mov	rcx, QWORD PTR 8[rdi]
	cmovg	ebx, ebp
	mov	rsi, QWORD PTR [rdi]
	test	edx, edx
	cmovle	ebp, edx
	mov	edx, ecx
	movsx	rax, ebx
	sub	edx, esi
	add	rax, rsi
	cmp	rax, rcx
	mov	rax, QWORD PTR 24[rdi]
	cmovl	ebx, edx
	mov	rdx, QWORD PTR 16[rdi]
	movsx	rdi, ebp
	mov	r8d, eax
	add	rdi, rdx
	sub	r8d, edx
	cmp	rdi, rax
	mov	rdi, rcx
	cmovl	ebp, r8d
	sub	rdi, rsi
	sar	rdi
	cmp	rsi, rcx
	mov	rcx, rax
	cmovle	ebx, edi
	sub	rcx, rdx
	sar	rcx
	cmp	rdx, rax
	cmovle	ebp, ecx
	cmp	DWORD PTR 32[r12], ebx
	jne	.L6
	cmp	DWORD PTR 36[r12], ebp
	je	.L7
.L6:
	mov	rdi, r12
	call	winrepaint@PLT
.L7:
	mov	DWORD PTR 32[r12], ebx
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	DWORD PTR 36[r12], ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pdfapp_panview, .-pdfapp_panview
	.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_pdfapp.c_pdfapp_panview.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdfapp_panview, %function
pdfapp_panview:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	and	r5, r1, r1, asr #31
	ldr	r1, [r4, #4]
	add	r3, r0, r5
	cmp	r3, r1
	ldr	r3, [r4, #8]
	and	r6, r2, r2, asr #31
	ldr	r2, [r4, #12]
	add	ip, r6, r3
	sublt	r5, r1, r0
	cmp	ip, r2
	sublt	r6, r2, r3
	cmp	r0, r1
	suble	r1, r1, r0
	asrle	r5, r1, #1
	cmp	r3, r2
	suble	r2, r2, r3
	ldr	r3, [r4, #16]
	asrle	r6, r2, #1
	cmp	r3, r5
	bne	.L6
	ldr	r3, [r4, #20]
	cmp	r3, r6
	beq	.L7
.L6:
	mov	r0, r4
	bl	winrepaint
.L7:
	str	r5, [r4, #16]
	str	r6, [r4, #20]
	pop	{r4, r5, r6, pc}
	.size	pdfapp_panview, .-pdfapp_panview
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
