	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	$0, -32(%rbp)
	movq	$0, -24(%rbp)
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rcx
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_2:
	movq	8(%r14), %rsi
	leaq	-24(%rbp), %rdi
	xorl	%edx, %edx
	callq	_open_and_probe_video_streams
	testl	%eax, %eax
	js	LBB0_3
## %bb.5:
	movq	8(%r14), %rsi
	leaq	-32(%rbp), %rdi
	movl	$1, %edx
	callq	_open_and_probe_video_streams
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	-32(%rbp), %rdi
	movq	-24(%rbp), %rsi
	callq	_check_video_streams
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_4
LBB0_6:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rcx
	leaq	L_.str.2(%rip), %rdx
LBB0_4:
	xorl	%edi, %edi
	callq	_av_log
LBB0_8:
	leaq	-32(%rbp), %rdi
	callq	_avformat_close_input
	leaq	-24(%rbp), %rdi
	callq	_avformat_close_input
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: %s <input>\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to probe '%s' without frame decoding\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to probe '%s' with frame decoding\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	stp	xzr, xzr, [sp]
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x3, [x20]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	bl	_av_log
	mov	w19, #-1
	b	LBB0_9
LBB0_2:
	ldr	x1, [x20, #8]
	mov	x0, sp
	mov	w2, #0
	bl	_open_and_probe_video_streams
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	x1, [x20, #8]
	add	x0, sp, #8
	mov	w2, #1
	bl	_open_and_probe_video_streams
	tbnz	w0, #31, LBB0_6
; %bb.4:
	ldp	x1, x0, [sp]
	bl	_check_video_streams
	mov	x19, x0
	b	LBB0_8
LBB0_5:
	mov	x19, x0
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	x3, [x20, #8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	mov	x19, x0
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	x3, [x20, #8]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, #0
	bl	_av_log
LBB0_8:
	add	x0, sp, #8
	bl	_avformat_close_input
	mov	x0, sp
	bl	_avformat_close_input
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: %s <input>\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to probe '%s' without frame decoding\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to probe '%s' with frame decoding\n"

.subsections_via_symbols
