	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avcodec_descriptor_next        ## -- Begin function avcodec_descriptor_next
	.p2align	4, 0x90
_avcodec_descriptor_next:               ## @avcodec_descriptor_next
	.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	_codec_descriptors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	movq	%rdi, %rbx
	subq	%rax, %rbx
	sarq	$2, %rbx
	movq	%rax, %rdi
	callq	_FF_ARRAY_ELEMS
	decl	%eax
	movslq	%eax, %rcx
	addq	$4, %r14
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	cmovlq	%r14, %rax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_codec_descriptors,8,3          ## @codec_descriptors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avcodec_descriptor_next        ; -- Begin function avcodec_descriptor_next
	.p2align	2
_avcodec_descriptor_next:               ; @avcodec_descriptor_next
	.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, x0
Lloh0:
	adrp	x8, _codec_descriptors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _codec_descriptors@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	sub	x20, x19, x0
	bl	_FF_ARRAY_ELEMS
	sub	w8, w0, #1
	sxtw	x8, w8
	add	x9, x19, #4
	cmp	x8, x20, asr #2
	csel	x0, x9, xzr, gt
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_codec_descriptors,8,3          ; @codec_descriptors
.subsections_via_symbols
