	.file	"extr_omapfb_main.c_omapfb_pan_display.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	omapfb_pan_display, @function
omapfb_pan_display:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 16[rsi]
	mov	r12, QWORD PTR [rax]
	mov	rdi, r12
	call	omapfb_rqueue_lock@PLT
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR [rbx], rax
	jne	.L2
	mov	rax, QWORD PTR 8[rbp]
	xor	r13d, r13d
	cmp	QWORD PTR 8[rbx], rax
	je	.L3
.L2:
	mov	rsi, rbp
	mov	rdi, r12
	mov	edx, 16
	call	memcpy@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rsi, r12
	mov	rdi, rbp
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 8[r12], rax
	call	set_fb_var@PLT
	test	rax, rax
	je	.L4
	mov	r13d, DWORD PTR EINVAL[rip]
	neg	r13d
.L3:
	mov	rdi, r12
	call	omapfb_rqueue_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, 16
	mov	rsi, r12
	mov	rdi, rbp
	xor	r13d, r13d
	call	memcpy@PLT
	mov	rdi, rbp
	call	ctrl_change_mode@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	omapfb_pan_display, .-omapfb_pan_display
	.comm	EINVAL,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_omapfb_main.c_omapfb_pan_display.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	omapfb_pan_display, %function
omapfb_pan_display:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r0
	ldr	r3, [r1, #8]
	ldr	r5, [r3]
	mov	r0, r5
	bl	omapfb_rqueue_lock
	ldr	r2, [r6]
	ldr	r3, [r4]
	cmp	r2, r3
	bne	.L2
	ldr	r2, [r6, #4]
	ldr	r3, [r4, #4]
	cmp	r2, r3
	moveq	r6, #0
	beq	.L3
.L2:
	mov	r2, #8
	mov	r1, r4
	mov	r0, r5
	bl	memcpy
	ldm	r6, {r2, r3}
	mov	r1, r5
	mov	r0, r4
	stm	r5, {r2, r3}
	bl	set_fb_var
	subs	r6, r0, #0
	beq	.L4
	ldr	r3, .L8
	ldr	r6, [r3]
	rsb	r6, r6, #0
.L3:
	mov	r0, r5
	bl	omapfb_rqueue_unlock
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L4:
	mov	r2, #8
	mov	r1, r5
	mov	r0, r4
	bl	memcpy
	mov	r0, r4
	bl	ctrl_change_mode
	b	.L3
.L9:
	.align	2
.L8:
	.word	EINVAL
	.size	omapfb_pan_display, .-omapfb_pan_display
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
