	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_streams_one_to_one
_match_streams_one_to_one:              ## @match_streams_one_to_one
	.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
	movq	16(%rdi), %r15
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movslq	(%rax), %rbx
	xorl	%eax, %eax
	cmpl	(%rcx), %ebx
	jge	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avformat_new_stream
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rcx), %rcx
	movl	(%rcx,%rbx,4), %esi
	movq	%rax, %rdi
	callq	_copy_stream_props
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	8(%rax), %rax
	movl	%ebx, (%rax,%rbx,4)
	incq	%rbx
	movq	8(%r15), %rcx
	movslq	(%rcx), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_match_streams_one_to_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_streams_one_to_one
_match_streams_one_to_one:              ; @match_streams_one_to_one
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x20, [x0, #16]
	ldp	x9, x8, [x20]
	ldrsw	x21, [x9]
	ldr	w9, [x8]
	cmp	w21, w9
	b.ge	LBB0_8
; %bb.1:
	mov	x19, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x9, [x19]
	cmp	x21, x9
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x19, #8]
	ldr	x0, [x9, x21, lsl #3]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, #0
	bl	_avformat_new_stream
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8, #8]
	ldr	w1, [x8, x21, lsl #2]
	bl	_copy_stream_props
	tbnz	w0, #31, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x9, x8, [x20]
	ldr	x9, [x9, #8]
	str	w21, [x9, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x9, [x8]
	cmp	x21, x9
	b.lt	LBB0_2
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_match_streams_one_to_one
.subsections_via_symbols
