	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_nth_codec_stream_index
_get_nth_codec_stream_index:            ## @get_nth_codec_stream_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	testl	%edx, %edx
	js	LBB0_9
## %bb.1:
	movl	(%rdi), %r9d
	cmpl	%edx, %r9d
	jle	LBB0_9
## %bb.2:
	testl	%r9d, %r9d
	je	LBB0_9
## %bb.3:
	movq	8(%rdi), %r8
	xorl	%edi, %edi
	xorl	%r10d, %r10d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	cmpq	%rdi, %r9
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r8,%rdi,8), %rcx
	movq	(%rcx), %rcx
	cmpl	%esi, (%rcx)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%edx, %r10d
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r10d
	jmp	LBB0_7
LBB0_8:
	movl	%edi, %eax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_nth_codec_stream_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_nth_codec_stream_index
_get_nth_codec_stream_index:            ; @get_nth_codec_stream_index
	.cfi_startproc
; %bb.0:
	tbnz	w2, #31, LBB0_2
; %bb.1:
	mov	x8, x0
	ldr	w9, [x0]
	cmp	w9, w2
	ccmp	w9, #0, #4, gt
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_4:
	mov	x0, #0
	mov	w10, #0
	ldr	x8, [x8, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x0, #1
	cmp	x9, x0
	b.eq	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, x0, lsl #3]
	ldr	x11, [x11]
	ldr	w11, [x11]
	cmp	w11, w1
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w10, w2
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w10, w10, #1
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_nth_codec_stream_index
.subsections_via_symbols
