	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -48(%rbp)
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.2:
	movq	8(%rsi), %rsi
	leaq	-48(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_avformat_open_input
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_avformat_find_stream_info
	testl	%eax, %eax
	js	LBB0_9
## %bb.4:
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.2(%rip), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	-48(%rbp), %rax
	movl	(%rax), %edi
	movl	(%r13), %ecx
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_av_dict_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_avformat_close_input
	jmp	LBB0_8
LBB0_1:
	movq	(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	%eax, %r14d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s <input_file>\nexample program to demonstrate the use of the libavformat metadata API.\n\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Cannot find stream information\n"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
L_.str.3:                               ## @.str.3
	.asciz	"%s=%s\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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	xzr, [sp, #8]
	cmp	w0, #2
	b.ne	LBB0_7
; %bb.1:
	ldr	x1, [x1, #8]
	add	x0, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_avformat_open_input
	mov	x19, x0
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	x0, [sp, #8]
	mov	x1, #0
	bl	_avformat_find_stream_info
	tbnz	w0, #31, LBB0_9
; %bb.3:
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
Lloh0:
	adrp	x22, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x22]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
Lloh4:
	adrp	x19, l_.str.3@PAGE
Lloh5:
	add	x19, x19, l_.str.3@PAGEOFF
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x1, x8, [x20]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	ldr	w3, [x22]
	mov	x1, x21
	mov	x2, x20
	bl	_av_dict_get
	mov	x20, x0
	cbnz	x0, LBB0_5
LBB0_6:
	add	x0, sp, #8
	bl	_avformat_close_input
	mov	w19, #0
	b	LBB0_8
LBB0_7:
	ldr	x1, [x1]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w19, #1
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	mov	x19, x0
Lloh10:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	bl	_av_log
	b	LBB0_8
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s <input_file>\nexample program to demonstrate the use of the libavformat metadata API.\n\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Cannot find stream information\n"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
l_.str.3:                               ; @.str.3
	.asciz	"%s=%s\n"

.subsections_via_symbols
