	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_audio
_vidioc_g_audio:                        ## @vidioc_g_audio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r14
	cmpl	$0, 4(%r14)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movl	4(%rdx), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	jae	LBB0_1
## %bb.3:
	cltq
	leaq	l_reltable.vidioc_g_audio(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	movl	8(%rbx), %edi
	callq	_strcpy
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_AUDCAP_STEREO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.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	_V4L2_AUDCAP_STEREO,4,2         ## @V4L2_AUDCAP_STEREO
	.no_dead_strip	_vidioc_g_audio
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.vidioc_g_audio
l_reltable.vidioc_g_audio:
	.long	L_.str.2-l_reltable.vidioc_g_audio
	.long	L_.str-l_reltable.vidioc_g_audio
	.long	L_.str.3-l_reltable.vidioc_g_audio
	.long	L_.str.7-l_reltable.vidioc_g_audio
	.long	L_.str.4-l_reltable.vidioc_g_audio
	.long	L_.str.1-l_reltable.vidioc_g_audio
	.long	L_.str.5-l_reltable.vidioc_g_audio
	.long	L_.str.6-l_reltable.vidioc_g_audio

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_g_audio
_vidioc_g_audio:                        ; @vidioc_g_audio
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x1]
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x2
	ldr	w8, [x2, #4]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hs	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, l_switch.table.vidioc_g_audio@PAGE
Lloh1:
	add	x9, x9, l_switch.table.vidioc_g_audio@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
	ldr	w0, [x19, #8]
	bl	_strcpy
	mov	w0, #0
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _V4L2_AUDCAP_STEREO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_AUDCAP_STEREO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.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	_V4L2_AUDCAP_STEREO,4,2         ; @V4L2_AUDCAP_STEREO
	.no_dead_strip	_vidioc_g_audio
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.vidioc_g_audio
l_switch.table.vidioc_g_audio:
	.quad	l_.str.2
	.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
