	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_int_enum_input
_vino_int_enum_input:                   ## @vino_int_enum_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	_VINO_INPUT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_vino_drvdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rdi
	cmpq	$0, 16(%rdi)
	movq	8(%rdi), %rcx
	je	LBB0_6
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	cmpl	$2, %r15d
	je	LBB0_10
LBB0_3:
	cmpl	$1, %r15d
	je	LBB0_9
## %bb.4:
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.5:
	movq	_VINO_INPUT_COMPOSITE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movl	%r14d, %eax
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movq	_VINO_INPUT_D1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	testl	%r15d, %r15d
	cmovel	%eax, %r14d
	jmp	LBB0_12
LBB0_9:
	movq	_VINO_INPUT_SVIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_VINO_INPUT_D1@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %r14d
LBB0_12:
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VINO_INPUT_NONE,4,2            ## @VINO_INPUT_NONE
	.comm	_vino_drvdata,8,3               ## @vino_drvdata
	.comm	_VINO_INPUT_COMPOSITE,4,2       ## @VINO_INPUT_COMPOSITE
	.comm	_VINO_INPUT_SVIDEO,4,2          ## @VINO_INPUT_SVIDEO
	.comm	_VINO_INPUT_D1,4,2              ## @VINO_INPUT_D1
	.no_dead_strip	_vino_int_enum_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_int_enum_input
_vino_int_enum_input:                   ; @vino_int_enum_input
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
Lloh0:
	adrp	x8, _VINO_INPUT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VINO_INPUT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x21, _vino_drvdata@GOTPAGE
Lloh4:
	ldr	x21, [x21, _vino_drvdata@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_spin_lock_irqsave
	ldr	x0, [x21]
	ldp	x8, x9, [x0, #8]
	cbz	x9, LBB0_6
; %bb.1:
	cbz	x8, LBB0_3
; %bb.2:
	cmp	w20, #2
	b.eq	LBB0_8
LBB0_3:
	cmp	w20, #1
	b.eq	LBB0_7
; %bb.4:
	cbnz	w20, LBB0_10
; %bb.5:
Lloh5:
	adrp	x8, _VINO_INPUT_COMPOSITE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VINO_INPUT_COMPOSITE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	cmp	x8, #0
	ccmp	w20, #0, #0, ne
Lloh7:
	adrp	x8, _VINO_INPUT_D1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VINO_INPUT_D1@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	csel	w19, w8, w19, eq
	b	LBB0_10
LBB0_7:
Lloh10:
	adrp	x8, _VINO_INPUT_SVIDEO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VINO_INPUT_SVIDEO@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _VINO_INPUT_D1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VINO_INPUT_D1@GOTPAGEOFF]
LBB0_9:
	ldr	w19, [x8]
LBB0_10:
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VINO_INPUT_NONE,4,2            ; @VINO_INPUT_NONE
	.comm	_vino_drvdata,8,3               ; @vino_drvdata
	.comm	_VINO_INPUT_COMPOSITE,4,2       ; @VINO_INPUT_COMPOSITE
	.comm	_VINO_INPUT_SVIDEO,4,2          ; @VINO_INPUT_SVIDEO
	.comm	_VINO_INPUT_D1,4,2              ; @VINO_INPUT_D1
	.no_dead_strip	_vino_int_enum_input
.subsections_via_symbols
