	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_fill_audio_input
_em28xx_fill_audio_input:               ## @em28xx_fill_audio_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	%ecx, %r15d
	movq	(%rdi), %rax
	movl	%ecx, %ecx
	movl	(%rax,%rcx,4), %eax
	leal	-128(%rax), %ecx
	cmpl	$130, %eax
	movl	$6, %eax
	cmovel	%ecx, %eax
	cmpq	$0, 8(%rdi)
	cmovel	%ecx, %eax
	cmpl	$9, %eax
	jae	LBB0_1
## %bb.2:
	movl	$507, %ecx                      ## imm = 0x1FB
	btl	%eax, %ecx
	jb	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	%rdx, %rbx
	movq	%rsi, %r14
	cltq
	leaq	l_reltable.em28xx_fill_audio_input(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	movl	4(%rdx), %edi
	movl	$4, %edx
	callq	_strscpy
	movl	%r15d, (%rbx)
	movq	_V4L2_AUDCAP_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %ecx
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_em28xx_videodbg
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Television"

L_.str.1:                               ## @.str.1
	.asciz	"Line In"

L_.str.2:                               ## @.str.2
	.asciz	"Television alt"

L_.str.3:                               ## @.str.3
	.asciz	"Phone"

L_.str.4:                               ## @.str.4
	.asciz	"Mic"

L_.str.5:                               ## @.str.5
	.asciz	"CD"

L_.str.6:                               ## @.str.6
	.asciz	"Aux"

L_.str.7:                               ## @.str.7
	.asciz	"PCM"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_AUDCAP_STEREO,4,2         ## @V4L2_AUDCAP_STEREO
L_.str.8:                               ## @.str.8
	.asciz	"%s: audio input index %d is '%s'\n"

	.no_dead_strip	_em28xx_fill_audio_input
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.em28xx_fill_audio_input
l_reltable.em28xx_fill_audio_input:
	.long	L_.str.2-l_reltable.em28xx_fill_audio_input
	.long	L_.str-l_reltable.em28xx_fill_audio_input
	.long	L_.str-l_reltable.em28xx_fill_audio_input
	.long	L_.str.3-l_reltable.em28xx_fill_audio_input
	.long	L_.str.7-l_reltable.em28xx_fill_audio_input
	.long	L_.str.4-l_reltable.em28xx_fill_audio_input
	.long	L_.str.1-l_reltable.em28xx_fill_audio_input
	.long	L_.str.5-l_reltable.em28xx_fill_audio_input
	.long	L_.str.6-l_reltable.em28xx_fill_audio_input

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_fill_audio_input
_em28xx_fill_audio_input:               ; @em28xx_fill_audio_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
	ldp	x8, x9, [x0]
	ldr	w8, [x8, w3, uxtw #2]
	sub	w10, w8, #128
	cmp	w8, #130
	ccmp	x9, #0, #4, ne
	mov	w8, #6
	csel	w8, w8, w10, ne
	cmp	w8, #9
	b.hs	LBB0_2
; %bb.1:
	mov	w9, #507
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
Lloh3:
	adrp	x9, l_switch.table.em28xx_fill_audio_input@PAGE
Lloh4:
	add	x9, x9, l_switch.table.em28xx_fill_audio_input@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
	ldr	w0, [x2, #4]
	mov	w2, #4
	bl	_strscpy
	str	w19, [x21]
Lloh5:
	adrp	x8, _V4L2_AUDCAP_STEREO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_AUDCAP_STEREO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	ldr	w3, [x21, #4]
Lloh8:
	adrp	x0, l_.str.8@PAGE
Lloh9:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_em28xx_videodbg
	mov	w0, #0
LBB0_4:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Television"

l_.str.1:                               ; @.str.1
	.asciz	"Line In"

l_.str.2:                               ; @.str.2
	.asciz	"Television alt"

l_.str.3:                               ; @.str.3
	.asciz	"Phone"

l_.str.4:                               ; @.str.4
	.asciz	"Mic"

l_.str.5:                               ; @.str.5
	.asciz	"CD"

l_.str.6:                               ; @.str.6
	.asciz	"Aux"

l_.str.7:                               ; @.str.7
	.asciz	"PCM"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_AUDCAP_STEREO,4,2         ; @V4L2_AUDCAP_STEREO
l_.str.8:                               ; @.str.8
	.asciz	"%s: audio input index %d is '%s'\n"

	.no_dead_strip	_em28xx_fill_audio_input
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.em28xx_fill_audio_input
l_switch.table.em28xx_fill_audio_input:
	.quad	l_.str.2
	.quad	l_.str
	.quad	l_.str
	.quad	l_.str.3
	.quad	l_.str.7
	.quad	l_.str.4
	.quad	l_.str.1
	.quad	l_.str.5
	.quad	l_.str.6

.subsections_via_symbols
