	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_formats
_list_formats:                          ## @list_formats
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	(%r13), %edi
	movq	_VIDIOC_ENUM_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_v4l2_ioctl
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movl	-56(%rbp), %r8d
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r12), %esi
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	_VIDIOC_ENUM_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	callq	_v4l2_ioctl
	testl	%eax, %eax
	jne	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-60(%rbp), %edi
	callq	_ff_fmt_v4l2codec
	movl	%eax, %r15d
	movl	-60(%rbp), %edi
	movl	%eax, %esi
	callq	_ff_fmt_v4l2ff
	incl	-52(%rbp)
	movq	_V4L2_FMT_FLAG_COMPRESSED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, -64(%rbp)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_V4L_COMPFORMATS@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %edi
	callq	_avcodec_descriptor_get
	leaq	L_.str.1(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_V4L_RAWFORMATS@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	callq	_av_get_pix_fmt_name
	movl	(%r12), %esi
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rcx, %rax
	movl	-56(%rbp), %r8d
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rcx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_VIDIOC_ENUM_FMT,4,2            ## @VIDIOC_ENUM_FMT
	.comm	_V4L2_FMT_FLAG_COMPRESSED,4,2   ## @V4L2_FMT_FLAG_COMPRESSED
	.comm	_V4L_RAWFORMATS,4,2             ## @V4L_RAWFORMATS
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Raw       : %11s : %20s :"

L_.str.1:                               ## @.str.1
	.asciz	"Unsupported"

	.comm	_V4L_COMPFORMATS,4,2            ## @V4L_COMPFORMATS
L_.str.2:                               ## @.str.2
	.asciz	"Compressed: %11s : %20s :"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.comm	_V4L2_FMT_FLAG_EMULATED,4,2     ## @V4L2_FMT_FLAG_EMULATED
	.no_dead_strip	_list_formats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_formats
_list_formats:                          ; @list_formats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x25, [x0]
	stp	xzr, xzr, [sp, #24]
Lloh0:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldr	w0, [x25]
Lloh3:
	adrp	x26, _VIDIOC_ENUM_FMT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _VIDIOC_ENUM_FMT@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x2, sp, #24
	bl	_v4l2_ioctl
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
Lloh5:
	adrp	x27, _V4L2_FMT_FLAG_COMPRESSED@GOTPAGE
Lloh6:
	ldr	x27, [x27, _V4L2_FMT_FLAG_COMPRESSED@GOTPAGEOFF]
Lloh7:
	adrp	x28, _AV_LOG_INFO@GOTPAGE
Lloh8:
	ldr	x28, [x28, _AV_LOG_INFO@GOTPAGEOFF]
Lloh9:
	adrp	x22, l_.str.3@PAGE
Lloh10:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh11:
	adrp	x21, _V4L_COMPFORMATS@GOTPAGE
Lloh12:
	ldr	x21, [x21, _V4L_COMPFORMATS@GOTPAGEOFF]
Lloh13:
	adrp	x23, l_.str.2@PAGE
Lloh14:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x0]
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x28]
	ldr	w9, [sp, #32]
	stp	x8, x9, [sp]
	mov	x0, x20
	mov	x2, x23
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_av_log
	ldr	w1, [x28]
	mov	x0, x20
	mov	x2, x22
	bl	_av_log
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x25]
	ldr	w1, [x26]
	add	x2, sp, #24
	bl	_v4l2_ioctl
	cbnz	w0, LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #28]
	bl	_ff_fmt_v4l2codec
	mov	x24, x0
	ldr	w0, [sp, #28]
	mov	x1, x24
	bl	_ff_fmt_v4l2ff
	ldr	w8, [sp, #36]
	ldr	w9, [sp, #24]
	add	w8, w8, #1
	str	w8, [sp, #36]
	ldr	w8, [x27]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_avcodec_descriptor_get
	cbnz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh15:
	adrp	x8, l_.str.1@PAGE
Lloh16:
	add	x8, x8, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh17:
	adrp	x8, _V4L_RAWFORMATS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L_RAWFORMATS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	bl	_av_get_pix_fmt_name
	ldr	w1, [x28]
	cmp	x0, #0
Lloh20:
	adrp	x8, l_.str.1@PAGE
Lloh21:
	add	x8, x8, l_.str.1@PAGEOFF
	csel	x8, x8, x0, eq
	ldr	w9, [sp, #32]
	stp	x8, x9, [sp]
	mov	x0, x20
Lloh22:
	adrp	x2, l_.str@PAGE
Lloh23:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_VIDIOC_ENUM_FMT,4,2            ; @VIDIOC_ENUM_FMT
	.comm	_V4L2_FMT_FLAG_COMPRESSED,4,2   ; @V4L2_FMT_FLAG_COMPRESSED
	.comm	_V4L_RAWFORMATS,4,2             ; @V4L_RAWFORMATS
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Raw       : %11s : %20s :"

l_.str.1:                               ; @.str.1
	.asciz	"Unsupported"

	.comm	_V4L_COMPFORMATS,4,2            ; @V4L_COMPFORMATS
l_.str.2:                               ; @.str.2
	.asciz	"Compressed: %11s : %20s :"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.comm	_V4L2_FMT_FLAG_EMULATED,4,2     ; @V4L2_FMT_FLAG_EMULATED
	.no_dead_strip	_list_formats
.subsections_via_symbols
