	.file	"extr_dsi.c_dsi_request_vc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cannot get VC for display %s"
	.text
	.p2align 4
	.type	dsi_request_vc, @function
dsi_request_vc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
	call	dsi_get_dsidev_from_dssdev@PLT
	mov	rdi, rax
	call	dsi_get_dsidrv_data@PLT
	mov	rdi, QWORD PTR [rax]
	mov	rbp, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 0[rbp]
	lea	rax, [rdi+rbx*8]
	add	rbx, 1
	cmp	QWORD PTR [rax], 0
	je	.L8
.L2:
	mov	r12d, ebx
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L4
	mov	esi, DWORD PTR 0[r13]
	lea	rdi, .LC0[rip]
	call	DSSERR@PLT
	mov	eax, DWORD PTR ENOSPC[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	QWORD PTR [rax], r13
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	DWORD PTR [r14], r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dsi_request_vc, .-dsi_request_vc
	.comm	ENOSPC,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_dsi.c_dsi_request_vc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cannot get VC for display %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsi_request_vc, %function
dsi_request_vc:
	@ 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, r0
	bl	dsi_get_dsidev_from_dssdev
	bl	dsi_get_dsidrv_data
	mov	r4, #0
	mov	r5, r0
	ldr	r0, [r0]
	b	.L2
.L5:
	ldr	r0, [r5]
	ldr	r3, [r0, r4, lsl #2]
	add	r2, r0, r4, lsl #2
	cmp	r3, #0
	beq	.L8
	add	r4, r4, #1
.L2:
	bl	ARRAY_SIZE
	cmp	r0, r4
	bgt	.L5
	ldr	r1, [r7]
	ldr	r0, .L9
	bl	DSSERR
	ldr	r3, .L9+4
	ldr	r3, [r3]
	rsb	r0, r3, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	str	r7, [r2]
	mov	r0, r3
	str	r4, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	ENOSPC
	.size	dsi_request_vc, .-dsi_request_vc
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
