	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_find_program_from_stream    ## -- Begin function av_find_program_from_stream
	.p2align	4, 0x90
_av_find_program_from_stream:           ## @av_find_program_from_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_10
## %bb.1:
	movq	8(%rdi), %r8
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdi
	cmpq	%r9, %rdi
	je	LBB0_10
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%r8,%rdi,8), %rax
	cmpq	%rsi, %rax
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rax), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%edx, (%rcx,%rsi,4)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incq	%rsi
	cmpq	%rsi, %r10
	jne	LBB0_8
	jmp	LBB0_2
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_find_program_from_stream    ; -- Begin function av_find_program_from_stream
	.p2align	2
_av_find_program_from_stream:           ; @av_find_program_from_stream
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x9, #0
	ldr	x10, [x0, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x0, [x10, x9, lsl #3]
	cmp	x0, x1
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x1, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x0]
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x0, #8]
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w13, [x12]
	cmp	w13, w2
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x12, x12, #4
	subs	x11, x11, #1
	b.ne	LBB0_8
	b	LBB0_2
LBB0_10:
	mov	x0, #0
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
