	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_avcodec_descriptor_next
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
	cmpq	%rdi, (%r15)
	jl	LBB0_4
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_avcodec_descriptor_get
	cmpq	%rbx, %rax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %edi
	callq	_avcodec_descriptor_get_by_name
	movq	%rbx, %r15
	cmpq	%rbx, %rax
	je	LBB0_1
## %bb.9:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_10
LBB0_5:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
LBB0_10:
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_11
LBB0_7:
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %ecx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_av_log
LBB0_11:
	movl	$1, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsorted codec_descriptors '%s' and '%s'.\n"

L_.str.1:                               ## @.str.1
	.asciz	"avcodec_descriptor_get() failed with '%s'.\n"

L_.str.2:                               ## @.str.2
	.asciz	"avcodec_descriptor_get_by_name() failed with '%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, #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, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_avcodec_descriptor_next
	cbz	x0, LBB0_11
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x19, x0
	cbz	x20, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	ldr	x0, [x19]
	cmp	x8, x0
	b.lt	LBB0_5
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_avcodec_descriptor_get
	cmp	x0, x19
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19, #8]
	bl	_avcodec_descriptor_get_by_name
	mov	x20, x19
	cmp	x0, x19
	b.eq	LBB0_1
; %bb.7:
Lloh0:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
Lloh3:
	adrp	x2, l_.str.2@PAGE
Lloh4:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh5:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x19, #8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh10:
	adrp	x8, _AV_LOG_FATAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w3, [x20, #8]
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
LBB0_10:
	mov	x0, #0
	bl	_av_log
	mov	w0, #1
LBB0_11:
	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_FATAL,4,2               ; @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsorted codec_descriptors '%s' and '%s'.\n"

l_.str.1:                               ; @.str.1
	.asciz	"avcodec_descriptor_get() failed with '%s'.\n"

l_.str.2:                               ; @.str.2
	.asciz	"avcodec_descriptor_get_by_name() failed with '%s'.\n"

.subsections_via_symbols
