	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_enum_fmt_vid_cap
_vino_enum_fmt_vid_cap:                 ## @vino_enum_fmt_vid_cap
	.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	%rdx, %rbx
	movq	(%rdx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	movq	(%rbx), %rax
	movq	_VINO_DATA_FMT_COUNT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_1
## %bb.2:
	movq	_vino_data_formats@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_dprintk
	movq	(%r14), %rax
	movq	(%rbx), %rcx
	shlq	$4, %rcx
	movl	8(%rax,%rcx), %edx
	movl	%edx, 12(%rbx)
	movl	8(%rbx), %edi
	movq	(%rax,%rcx), %rsi
	callq	_strcpy
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"format index = %d\n"

	.comm	_VINO_DATA_FMT_COUNT,8,3        ## @VINO_DATA_FMT_COUNT
	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"format name = %s\n"

	.comm	_vino_data_formats,8,3          ## @vino_data_formats
	.no_dead_strip	_vino_enum_fmt_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_enum_fmt_vid_cap
_vino_enum_fmt_vid_cap:                 ; @vino_enum_fmt_vid_cap
	.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
	mov	x19, x2
	ldr	x1, [x2]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _VINO_DATA_FMT_COUNT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VINO_DATA_FMT_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_2
; %bb.1:
Lloh5:
	adrp	x20, _vino_data_formats@GOTPAGE
Lloh6:
	ldr	x20, [x20, _vino_data_formats@GOTPAGEOFF]
	ldr	x9, [x20]
	lsl	x8, x8, #4
	ldr	x1, [x9, x8]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	ldr	x8, [x20]
	ldr	x9, [x19]
	add	x8, x8, x9, lsl #4
	ldr	w9, [x8, #8]
	str	w9, [x19, #12]
	ldr	w0, [x19, #8]
	ldr	x1, [x8]
	bl	_strcpy
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"format index = %d\n"

	.comm	_VINO_DATA_FMT_COUNT,8,3        ; @VINO_DATA_FMT_COUNT
	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"format name = %s\n"

	.comm	_vino_data_formats,8,3          ; @vino_data_formats
	.no_dead_strip	_vino_enum_fmt_vid_cap
.subsections_via_symbols
