	.file	"extr_vino.c_vino_int_enum_input.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vino_int_enum_input, @function
vino_int_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	ebx, esi
	xor	esi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR vino_drvdata[rip]
	mov	r12d, DWORD PTR VINO_INPUT_NONE[rip]
	call	spin_lock_irqsave@PLT
	mov	rdi, QWORD PTR vino_drvdata[rip]
	cmp	QWORD PTR 16[rdi], 0
	jne	.L26
	cmp	QWORD PTR 8[rdi], 0
	je	.L6
	test	ebx, ebx
	je	.L5
.L6:
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	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
.L26:
	.cfi_restore_state
	cmp	QWORD PTR 8[rdi], 0
	jne	.L27
	test	ebx, ebx
	je	.L7
	cmp	ebx, 1
	jne	.L6
.L4:
	mov	r12d, DWORD PTR VINO_INPUT_SVIDEO[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L27:
	cmp	ebx, 1
	je	.L4
	cmp	ebx, 2
	je	.L5
	test	ebx, ebx
	jne	.L6
.L7:
	mov	r12d, DWORD PTR VINO_INPUT_COMPOSITE[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r12d, DWORD PTR VINO_INPUT_D1[rip]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	vino_int_enum_input, .-vino_int_enum_input
	.comm	vino_drvdata,8,8
	.comm	VINO_INPUT_SVIDEO,4,4
	.comm	VINO_INPUT_NONE,4,4
	.comm	VINO_INPUT_D1,4,4
	.comm	VINO_INPUT_COMPOSITE,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_vino.c_vino_int_enum_input.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vino_int_enum_input, %function
vino_int_enum_input:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L24
	ldr	r3, .L24+4
	mov	r4, r1
	ldr	r0, [r5]
	mov	r1, #0
	ldr	r6, [r3]
	bl	spin_lock_irqsave
	ldr	r0, [r5]
	ldr	r3, [r0, #8]
	cmp	r3, #0
	bne	.L22
	clz	r4, r4
	ldr	r3, [r0, #4]
	lsr	r4, r4, #5
	cmp	r3, #0
	moveq	r4, #0
	cmp	r4, #0
	bne	.L5
.L6:
	mov	r1, #0
	bl	spin_unlock_irqrestore
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L22:
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L23
	cmp	r4, #0
	beq	.L7
	cmp	r4, #1
	bne	.L6
.L4:
	ldr	r3, .L24+8
	ldr	r6, [r3]
	b	.L6
.L23:
	cmp	r4, #1
	beq	.L4
	cmp	r4, #2
	beq	.L5
	cmp	r4, #0
	bne	.L6
.L7:
	ldr	r3, .L24+12
	ldr	r6, [r3]
	b	.L6
.L5:
	ldr	r3, .L24+16
	ldr	r6, [r3]
	b	.L6
.L25:
	.align	2
.L24:
	.word	vino_drvdata
	.word	VINO_INPUT_NONE
	.word	VINO_INPUT_SVIDEO
	.word	VINO_INPUT_COMPOSITE
	.word	VINO_INPUT_D1
	.size	vino_int_enum_input, .-vino_int_enum_input
	.comm	vino_drvdata,4,4
	.comm	VINO_INPUT_SVIDEO,4,4
	.comm	VINO_INPUT_NONE,4,4
	.comm	VINO_INPUT_D1,4,4
	.comm	VINO_INPUT_COMPOSITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
