	.file	"extr_usbvision-video.c_vidioc_enum_input.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"White Video Input"
.LC1:
	.string	"Television"
.LC2:
	.string	"Green Video Input"
.LC3:
	.string	"Composite Video Input"
.LC4:
	.string	"Yellow Video Input"
.LC5:
	.string	"S-Video Input"
.LC6:
	.string	"Red Video Input"
	.text
	.p2align 4
	.type	vidioc_enum_input, @function
vidioc_enum_input:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -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	r12d, DWORD PTR [rbx]
	cmp	r12d, DWORD PTR [rax]
	jge	.L19
	cmp	QWORD PTR 16[rax], 1
	adc	r12d, 0
	cmp	r12d, 2
	je	.L5
	jg	.L6
	test	r12d, r12d
	je	.L7
	cmp	r12d, 1
	jne	.L17
	mov	rdx, QWORD PTR V4L2_INPUT_TYPE_CAMERA[rip]
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR 24[rbx], rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR usbvision_device_data[rip]
	cmp	DWORD PTR [rax+rdx*4], 4
	mov	edx, 4
	je	.L20
	lea	rsi, .LC3[rip]
	call	strscpy@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	r12d, 3
	jne	.L17
	mov	rax, QWORD PTR V4L2_INPUT_TYPE_CAMERA[rip]
	mov	edi, DWORD PTR 16[rbx]
	mov	edx, 4
	lea	rsi, .LC6[rip]
	mov	QWORD PTR 24[rbx], rax
	call	strscpy@PLT
.L16:
	mov	rax, QWORD PTR USBVISION_NORMS[rip]
	mov	QWORD PTR 8[rbx], rax
.L17:
	xor	r12d, r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	r12d, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR usbvision_device_data[rip]
	mov	edi, DWORD PTR 16[rbx]
	cmp	DWORD PTR [rax+rdx*4], 4
	mov	edx, 4
	je	.L21
	lea	rsi, .LC1[rip]
	call	strscpy@PLT
	mov	rax, QWORD PTR V4L2_INPUT_TYPE_TUNER[rip]
	mov	DWORD PTR 4[rbx], 0
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR USBVISION_NORMS[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR V4L2_INPUT_TYPE_CAMERA[rip]
	mov	edi, DWORD PTR 16[rbx]
	mov	QWORD PTR 24[rbx], rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR usbvision_device_data[rip]
	cmp	DWORD PTR [rax+rdx*4], 4
	mov	edx, 4
	je	.L22
	lea	rsi, .LC5[rip]
	call	strscpy@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L20:
	lea	rsi, .LC2[rip]
	call	strscpy@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L21:
	lea	rsi, .LC0[rip]
	call	strscpy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	lea	rsi, .LC4[rip]
	call	strscpy@PLT
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	vidioc_enum_input, .-vidioc_enum_input
	.comm	usbvision_device_data,8,8
	.comm	V4L2_INPUT_TYPE_TUNER,8,8
	.comm	V4L2_INPUT_TYPE_CAMERA,8,8
	.comm	USBVISION_NORMS,8,8
	.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_usbvision-video.c_vidioc_enum_input.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"White Video Input\000"
	.align	2
.LC1:
	.ascii	"Television\000"
	.align	2
.LC2:
	.ascii	"Green Video Input\000"
	.align	2
.LC3:
	.ascii	"Composite Video Input\000"
	.align	2
.LC4:
	.ascii	"Yellow Video Input\000"
	.align	2
.LC5:
	.ascii	"S-Video Input\000"
	.align	2
.LC6:
	.ascii	"Red Video Input\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vidioc_enum_input, %function
vidioc_enum_input:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	bl	video_drvdata
	ldr	r4, [r5]
	ldr	r3, [r0]
	cmp	r4, r3
	bge	.L19
	ldr	r3, [r0, #8]
	cmp	r3, #0
	addeq	r4, r4, #1
	cmp	r4, #3
	ldrls	pc, [pc, r4, asl #2]
	b	.L15
.L6:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L19:
	ldr	r3, .L22
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L5:
	mov	r2, #4
	ldr	r3, .L22+4
	ldr	r1, .L22+8
	ldr	r3, [r3]
	ldr	r0, [r5, #12]
	str	r3, [r5, #16]
.L17:
	bl	strscpy
.L14:
	mov	r4, #0
	ldr	r3, .L22+12
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r5, #8]
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L22+16
	ldr	r2, [r0, #4]
	ldr	r3, [r3]
	ldr	r0, [r5, #12]
	ldr	r2, [r3, r2, lsl #2]
	cmp	r2, #4
	beq	.L20
	mov	r2, #4
	ldr	r1, .L22+20
	bl	strscpy
	mov	r3, #0
	ldr	r1, .L22+24
	ldr	r2, .L22+12
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r1, [r5, #16]
	str	r2, [r5, #8]
	str	r3, [r5, #4]
	b	.L1
.L8:
	ldr	r3, .L22+16
	ldr	r1, [r0, #4]
	ldr	r2, [r3]
	ldr	r3, .L22+4
	ldr	r2, [r2, r1, lsl #2]
	ldr	r3, [r3]
	cmp	r2, #4
	movne	r2, #4
	ldr	r0, [r5, #12]
	ldreq	r1, .L22+28
	ldrne	r1, .L22+32
	str	r3, [r5, #16]
	bl	strscpy
	b	.L14
.L7:
	ldr	r3, .L22+16
	ldr	r1, [r0, #4]
	ldr	r2, [r3]
	ldr	r3, .L22+4
	ldr	r2, [r2, r1, lsl #2]
	ldr	r3, [r3]
	cmp	r2, #4
	ldr	r0, [r5, #12]
	str	r3, [r5, #16]
	beq	.L21
	mov	r2, #4
	ldr	r1, .L22+36
	b	.L17
.L20:
	ldr	r1, .L22+40
	bl	strscpy
	b	.L1
.L21:
	ldr	r1, .L22+44
	bl	strscpy
	b	.L14
.L15:
	mov	r4, #0
	b	.L1
.L23:
	.align	2
.L22:
	.word	EINVAL
	.word	V4L2_INPUT_TYPE_CAMERA
	.word	.LC6
	.word	USBVISION_NORMS
	.word	usbvision_device_data
	.word	.LC1
	.word	V4L2_INPUT_TYPE_TUNER
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC0
	.word	.LC4
	.size	vidioc_enum_input, .-vidioc_enum_input
	.comm	usbvision_device_data,4,4
	.comm	V4L2_INPUT_TYPE_TUNER,4,4
	.comm	V4L2_INPUT_TYPE_CAMERA,4,4
	.comm	USBVISION_NORMS,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
