	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_enumaudio
_vidioc_enumaudio:                      ## @vidioc_enumaudio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	movq	_HDPVR_AUDIO_INPUTS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_1
## %bb.2:
	movq	_V4L2_AUDCAP_STEREO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdx)
	movl	4(%rdx), %edi
	movq	_audio_iname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %esi
	movl	$4, %edx
	callq	_strscpy
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDPVR_AUDIO_INPUTS,4,2         ## @HDPVR_AUDIO_INPUTS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_AUDCAP_STEREO,4,2         ## @V4L2_AUDCAP_STEREO
	.comm	_audio_iname,8,3                ## @audio_iname
	.no_dead_strip	_vidioc_enumaudio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_enumaudio
_vidioc_enumaudio:                      ; @vidioc_enumaudio
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x2]
Lloh0:
	adrp	x9, _HDPVR_AUDIO_INPUTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HDPVR_AUDIO_INPUTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.hs	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _V4L2_AUDCAP_STEREO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_AUDCAP_STEREO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x2, #8]
	ldr	w0, [x2, #4]
Lloh6:
	adrp	x9, _audio_iname@GOTPAGE
Lloh7:
	ldr	x9, [x9, _audio_iname@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w1, [x9, x8, lsl #2]
	mov	w2, #4
	bl	_strscpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HDPVR_AUDIO_INPUTS,4,2         ; @HDPVR_AUDIO_INPUTS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_AUDCAP_STEREO,4,2         ; @V4L2_AUDCAP_STEREO
	.comm	_audio_iname,8,3                ; @audio_iname
	.no_dead_strip	_vidioc_enumaudio
.subsections_via_symbols
