	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function concat_read_packet
_concat_read_packet:                    ## @concat_read_packet
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	cmpq	$0, 24(%r14)
	je	LBB0_3
## %bb.1:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rdi, %r13
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.4:
	movq	%rsi, %r12
	movq	_AVERROR_EOF@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	callq	_av_read_frame
	cmpl	(%r15), %eax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	_match_streams
	testl	%eax, %eax
	js	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_packet_after_outpoint
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_av_packet_unref
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	_open_next_file
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r14), %rdi
	jmp	LBB0_7
LBB0_31:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_12:
	movl	%eax, %ebx
	jmp	LBB0_2
LBB0_13:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_av_packet_unref
	jmp	LBB0_2
LBB0_14:
	movq	(%r14), %rax
	movq	(%r12), %r15
	shlq	$3, %r15
	addq	40(%rax), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_filter_packet
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.15:
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%r12), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rdi
	movq	(%rcx,%rdx,8), %rbx
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	subq	16(%r14), %rax
	shrq	$4, %rax
	imull	$-1431655765, %eax, %eax        ## imm = 0xAAAAAAAB
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	callq	_av_ts2str
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rdi
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	movq	%rbx, %rsi
	callq	_av_ts2timestr
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	16(%r12), %rdi
	callq	_av_ts2str
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	16(%r12), %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_av_ts2timestr
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	callq	_av_log
	addq	$32, %rsp
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rax), %rdi
	subq	8(%rax), %rdi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rcx), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	8(%rax), %edx
	callq	_av_rescale_q
	movq	8(%r12), %rdi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rdi
	je	LBB0_17
## %bb.16:
	addq	%rax, %rdi
	movq	%rdi, 8(%r12)
LBB0_17:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rsi
	movq	16(%r12), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_19
## %bb.18:
	addq	%rax, %rdx
	movq	%rdx, 16(%r12)
LBB0_19:
	movl	(%rsi), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	callq	_av_ts2str
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r12), %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_av_ts2timestr
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rdi
	callq	_av_ts2str
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	16(%r12), %rdi
	movq	%rbx, %rsi
	callq	_av_ts2timestr
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	-72(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	callq	_av_log
	addq	$16, %rsp
	movq	(%r14), %rax
	movl	32(%rax), %edi
	testl	%edi, %edi
	je	LBB0_23
## %bb.20:
	leaq	-52(%rbp), %rsi
	callq	_av_packet_pack_dictionary
	movq	%rax, -88(%rbp)
	testq	%rax, %rax
	je	LBB0_30
## %bb.21:
	movq	%rax, %rbx
	movq	_AV_PKT_DATA_STRINGS_METADATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %edx
	movq	%r12, %rdi
	callq	_av_packet_new_side_data
	testq	%rax, %rax
	je	LBB0_29
## %bb.22:
	movl	-52(%rbp), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	leaq	-88(%rbp), %rdi
	callq	_av_freep
	movq	(%r14), %rax
LBB0_23:
	movq	16(%rax), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_28
## %bb.24:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rdi
	cmpq	%rax, %rdi
	je	LBB0_28
## %bb.25:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_av_rescale_q
	movq	(%r14), %rcx
	movq	24(%rcx), %rdx
	cmpq	(%rbx), %rdx
	je	LBB0_27
## %bb.26:
	cmpq	%rdx, %rax
	jle	LBB0_28
LBB0_27:
	movq	%rax, 24(%rcx)
LBB0_28:
	movq	(%r15), %rax
	movq	%rax, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_29:
	leaq	-88(%rbp), %rdi
	callq	_av_freep
LBB0_30:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %ebx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_EIO,4,2                        ## @EIO
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file:%d stream:%d pts:%s pts_time:%s dts:%s dts_time:%s"

	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
L_.str.1:                               ## @.str.1
	.asciz	" -> pts:%s pts_time:%s dts:%s dts_time:%s\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PKT_DATA_STRINGS_METADATA,4,2 ## @AV_PKT_DATA_STRINGS_METADATA
	.no_dead_strip	_concat_read_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function concat_read_packet
_concat_read_packet:                    ; @concat_read_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x20, [x0]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
LBB0_2:
	mov	x0, x23
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_3:
	mov	x22, x0
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_12
; %bb.4:
	mov	x19, x1
Lloh3:
	adrp	x21, _AVERROR_EOF@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AVERROR_EOF@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x19
	bl	_av_read_frame
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	tbnz	w0, #31, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_match_streams
	tbnz	w0, #31, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_packet_after_outpoint
	cbz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_av_packet_unref
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_open_next_file
	tbnz	w0, #31, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20, #8]
	b	LBB0_5
LBB0_12:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_AVERROR
LBB0_13:
	mov	x23, x0
	b	LBB0_2
LBB0_14:
	mov	x23, x0
	mov	x0, x19
	bl	_av_packet_unref
	b	LBB0_2
LBB0_15:
	ldr	x8, [x20]
	ldr	x8, [x8, #40]
	ldr	x9, [x19]
	add	x21, x8, x9, lsl #3
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_filter_packet
	mov	x23, x0
	cbnz	w0, LBB0_2
; %bb.16:
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	ldp	x9, x8, [x20]
	ldr	x8, [x8]
	ldp	x24, x0, [x19]
	ldr	x21, [x8, x24, lsl #3]
Lloh8:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w25, [x8]
	ldr	x8, [x20, #16]
	sub	x8, x9, x8
	lsr	x8, x8, #4
	mov	w9, #43691
	movk	w9, #43690, lsl #16
	mul	w26, w8, w9
	bl	_av_ts2str
	mov	x27, x0
	ldr	x0, [x19, #8]
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	add	x23, x21, #8
	mov	x1, x23
	bl	_av_ts2timestr
	mov	x28, x0
	ldr	x0, [x19, #16]
	bl	_av_ts2str
	mov	x21, x0
	ldr	x0, [x19, #16]
	mov	x1, x23
	bl	_av_ts2timestr
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	mov	x1, x25
	mov	x3, x26
	mov	x4, x24
	mov	x5, x27
	mov	x6, x28
	bl	_av_log
	ldp	x8, x9, [x20]
	ldp	x10, x8, [x8]
	sub	x0, x10, x8
Lloh13:
	adrp	x27, _AV_TIME_BASE_Q@GOTPAGE
Lloh14:
	ldr	x27, [x27, _AV_TIME_BASE_Q@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	x8, [x9]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w2, [x8, #8]
	bl	_av_rescale_q
	mov	x8, x0
	ldr	x0, [x19, #8]
Lloh15:
	adrp	x28, _AV_NOPTS_VALUE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _AV_NOPTS_VALUE@GOTPAGEOFF]
	ldr	x9, [x28]
	cmp	x0, x9
	b.eq	LBB0_18
; %bb.17:
	add	x0, x0, x8
	str	x0, [x19, #8]
LBB0_18:
	ldr	x10, [x19, #16]
	cmp	x10, x9
	b.eq	LBB0_20
; %bb.19:
	add	x8, x10, x8
	str	x8, [x19, #16]
LBB0_20:
Lloh17:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
	bl	_av_ts2str
	mov	x24, x0
	ldr	x0, [x19, #8]
	mov	x1, x23
	bl	_av_ts2timestr
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x25, w0
	ldr	x0, [x19, #16]
	bl	_av_ts2str
	mov	x26, x0
	ldr	x0, [x19, #16]
	mov	x1, x23
	bl	_av_ts2timestr
	mov	x6, x0
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	mov	x3, x24
	mov	x4, x25
	mov	x5, x26
	bl	_av_log
	ldr	x8, [x20]
	ldr	w0, [x8, #32]
	cbz	w0, LBB0_24
; %bb.21:
	add	x1, sp, #44
	bl	_av_packet_pack_dictionary
	str	x0, [sp, #32]
	cbz	x0, LBB0_31
; %bb.22:
	mov	x22, x0
Lloh22:
	adrp	x8, _AV_PKT_DATA_STRINGS_METADATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_PKT_DATA_STRINGS_METADATA@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [sp, #44]
	mov	x0, x19
	bl	_av_packet_new_side_data
	cbz	x0, LBB0_30
; %bb.23:
	ldr	w2, [sp, #44]
	mov	x1, x22
	bl	_memcpy
	add	x0, sp, #32
	bl	_av_freep
	ldr	x8, [x20]
LBB0_24:
	ldr	x8, [x8, #16]
	ldr	x9, [x28]
	cmp	x8, x9
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	b.ne	LBB0_29
; %bb.25:
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x0, [x9]
	cmp	x0, x8
	b.eq	LBB0_29
; %bb.26:
	ldr	w1, [x23]
	ldr	w2, [x27]
	bl	_av_rescale_q
	ldr	x8, [x20]
	ldr	x9, [x8, #24]
	ldr	x10, [x28]
	cmp	x9, x10
	b.eq	LBB0_28
; %bb.27:
	cmp	x0, x9
	b.le	LBB0_29
LBB0_28:
	str	x0, [x8, #24]
LBB0_29:
	mov	w23, #0
	ldr	x8, [x21]
	str	x8, [x19]
	b	LBB0_2
LBB0_30:
	add	x0, sp, #32
	bl	_av_freep
LBB0_31:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x23, x0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_EIO,4,2                        ; @EIO
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file:%d stream:%d pts:%s pts_time:%s dts:%s dts_time:%s"

	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
l_.str.1:                               ; @.str.1
	.asciz	" -> pts:%s pts_time:%s dts:%s dts_time:%s\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PKT_DATA_STRINGS_METADATA,4,2 ; @AV_PKT_DATA_STRINGS_METADATA
	.no_dead_strip	_concat_read_packet
.subsections_via_symbols
