	.file	"extr_solo6x10-v4l2.c_solo_enum_input.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Camera %d"
	.text
	.p2align 4
	.type	solo_enum_input, @function
solo_enum_input:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	video_drvdata@PLT
	mov	rcx, QWORD PTR [rbx]
	mov	rbp, rax
	cmp	rcx, QWORD PTR [rax]
	jl	.L2
	mov	rsi, rbx
	mov	rdi, rax
	call	solo_enum_ext_input@PLT
	test	eax, eax
	js	.L1
.L4:
	mov	eax, DWORD PTR V4L2_INPUT_TYPE_CAMERA[rip]
	mov	DWORD PTR 12[rbx], eax
	mov	rax, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 8[rbx], eax
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 20[rbx]
	add	rcx, 1
	mov	esi, 4
	lea	rdx, .LC0[rip]
	call	snprintf@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	tw28_get_video_status@PLT
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR V4L2_IN_ST_NO_SIGNAL[rip]
	mov	DWORD PTR 16[rbx], eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	solo_enum_input, .-solo_enum_input
	.comm	V4L2_IN_ST_NO_SIGNAL,4,4
	.comm	V4L2_INPUT_TYPE_CAMERA,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_solo6x10-v4l2.c_solo_enum_input.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Camera %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	solo_enum_input, %function
solo_enum_input:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r2
	bl	video_drvdata
	ldr	r3, [r4]
	ldr	r2, [r0]
	mov	r5, r0
	cmp	r3, r2
	blt	.L2
	mov	r1, r4
	bl	solo_enum_ext_input
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
.L4:
	ldr	r2, [r5, #4]
	ldr	r3, .L9
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, #0
	stmib	r4, {r2, r3}
	pop	{r4, r5, r6, pc}
.L2:
	add	r3, r3, #1
	mov	r1, #4
	ldr	r2, .L9+4
	ldr	r0, [r4, #16]
	bl	snprintf
	mov	r0, r5
	ldr	r1, [r4]
	bl	tw28_get_video_status
	cmp	r0, #0
	ldreq	r3, .L9+8
	ldreq	r3, [r3]
	streq	r3, [r4, #12]
	b	.L4
.L10:
	.align	2
.L9:
	.word	V4L2_INPUT_TYPE_CAMERA
	.word	.LC0
	.word	V4L2_IN_ST_NO_SIGNAL
	.size	solo_enum_input, .-solo_enum_input
	.comm	V4L2_IN_ST_NO_SIGNAL,4,4
	.comm	V4L2_INPUT_TYPE_CAMERA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
