	.file	"extr_vc4_gem.c_vc4_queue_seqno_cb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vc4_queue_seqno_cb
	.type	vc4_queue_seqno_cb, @function
vc4_queue_seqno_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	lea	r14, 8[rbp]
	call	to_vc4_dev@PLT
	mov	QWORD PTR 0[rbp], r13
	mov	esi, DWORD PTR vc4_seqno_cb_work[rip]
	mov	rdi, r14
	mov	rbx, rax
	lea	r13, 8[rbx]
	call	INIT_WORK@PLT
	xor	esi, esi
	mov	rdi, r13
	call	spin_lock_irqsave@PLT
	cmp	QWORD PTR [rbx], r12
	jge	.L2
	mov	QWORD PTR 16[rbp], r12
	lea	rsi, 12[rbx]
	mov	rdi, r14
	call	list_add_tail@PLT
.L3:
	mov	rdi, r13
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r14
	call	schedule_work@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vc4_queue_seqno_cb, .-vc4_queue_seqno_cb
	.comm	vc4_seqno_cb_work,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_vc4_gem.c_vc4_queue_seqno_cb.c"
	.text
	.align	2
	.global	vc4_queue_seqno_cb
	.syntax unified
	.arm
	.fpu softvfp
	.type	vc4_queue_seqno_cb, %function
vc4_queue_seqno_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r7, r2
	mov	r8, r3
	bl	to_vc4_dev
	mov	r5, r6
	mov	r4, r0
	ldr	r3, .L6
	str	r8, [r5], #4
	ldr	r1, [r3]
	mov	r0, r5
	add	r8, r4, #4
	bl	INIT_WORK
	mov	r0, r8
	mov	r1, #0
	bl	spin_lock_irqsave
	ldr	r3, [r4]
	cmp	r3, r7
	bge	.L2
	mov	r0, r5
	str	r7, [r6, #8]
	add	r1, r4, #8
	bl	list_add_tail
.L3:
	mov	r0, r8
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r5
	bl	schedule_work
	b	.L3
.L7:
	.align	2
.L6:
	.word	vc4_seqno_cb_work
	.size	vc4_queue_seqno_cb, .-vc4_queue_seqno_cb
	.comm	vc4_seqno_cb_work,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
