	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkv_read_next_frame_header
_mkv_read_next_frame_header:            ## @mkv_read_next_frame_header
	.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	%rcx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	8(%rax), %r14
	movq	(%rsi), %rcx
	movq	72(%rsi), %r9
	leaq	(%rcx,%rcx,4), %rdi
	movq	(%r9,%rdi,8), %rax
	movq	_MKV_ELEMENT_ID_BLOCK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	je	LBB0_2
## %bb.1:
	movq	_MKV_ELEMENT_ID_SIMPLE_BLOCK@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_4
LBB0_2:
	movq	8(%r9,%rdi,8), %rax
	movq	16(%r9,%rdi,8), %rsi
	leaq	(%rsi,%rax), %rbx
	movq	24(%r9,%rdi,8), %rdi
	cmpq	%rdi, %rbx
	jge	LBB0_4
## %bb.3:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movl	64(%r12), %r8d
	xorl	%r14d, %r14d
	jmp	LBB0_77
LBB0_4:
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mkv_find_next_block
	movq	%rax, %rbx
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_91
## %bb.5:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	(%r12), %rax
	movq	72(%r12), %rcx
	leaq	(%rax,%rax,4), %rax
	movq	24(%rcx,%rax,8), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_MKV_READ_UINT
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_LOG_FORMAT
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_MKV_READ_U16
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_MKV_READ_U8
	movq	(%r12), %rcx
	movq	72(%r12), %rdx
	leaq	(%rcx,%rcx,4), %rcx
	movq	(%rdx,%rcx,8), %rcx
	movl	%eax, %ebx
	andl	$15, %ebx
	movq	_MKV_ELEMENT_ID_BLOCK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	cmovnel	%eax, %ebx
	testq	%r13, %r13
	js	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	testq	%rax, %rax
	jne	LBB0_92
## %bb.8:
	movl	(%r15), %edi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.9:
	movq	16(%r15), %rcx
	movq	(%rcx), %rdx
	movq	8(%rdx), %rdx
	movq	(%rdx), %rdx
	cmpl	%r14d, (%rdx)
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %r8d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movb	$1, %r9b
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_11:
	leaq	-1(%rdi), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rdx
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rcx,%rax,8), %rsi
	movq	8(%rsi), %rsi
	movq	(%rsi), %rsi
	incq	%rax
	cmpl	%r14d, (%rsi)
	jne	LBB0_13
## %bb.15:
	movl	%ebx, %r8d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rdi, %rax
	setb	%r9b
LBB0_16:
	movq	(%r12), %rdi
	movq	72(%r12), %r10
	leaq	(%rdi,%rdi,4), %rsi
	movq	(%r10,%rsi,8), %rbx
	movq	_MKV_ELEMENT_ID_BLOCK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rbx
	jne	LBB0_21
## %bb.17:
	movl	%eax, %ebx
	movq	(%rcx,%rbx,8), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rcx
	jne	LBB0_21
## %bb.18:
	cmpl	$0, 84(%r12)
	jne	LBB0_21
## %bb.19:
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	movq	-16(%r10,%rsi,8), %rcx
	movq	24(%r10,%rsi,8), %rdi
	addq	32(%r10,%rsi,8), %rdi
	addq	-8(%r10,%rsi,8), %rcx
	movl	%r8d, %edx
	orl	$128, %edx
	cmpq	%rcx, %rdi
	cmovgel	%edx, %r8d
LBB0_21:
	movl	$0, 8(%r12)
	xorl	%ecx, %ecx
	testb	%r9b, %r9b
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	je	LBB0_22
## %bb.23:
	movl	%r8d, %ebx
	andl	$6, %ebx
	je	LBB0_22
## %bb.24:
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_MKV_READ_U8
	movq	%rax, %rcx
	movl	%ecx, 8(%r12)
	movq	$0, 16(%r12)
	shrl	%ebx
	cmpl	$1, %ebx
	je	LBB0_33
## %bb.25:
	cmpl	$3, %ebx
	jne	LBB0_43
## %bb.26:
	testl	%ecx, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_49
## %bb.27:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_MKV_READ_UINT
	movl	%eax, %r14d
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_LOG_FORMAT
	movl	8(%r12), %ecx
	movq	_MKV_MAX_LACING_NUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	ja	LBB0_29
## %bb.28:
	movq	24(%r12), %rax
	decl	%ecx
	movl	%r14d, (%rax,%rcx,4)
	movl	8(%r12), %ecx
LBB0_29:
	cmpl	$2, %ecx
	jb	LBB0_47
## %bb.30:
	movl	$1, %ebx
	movl	$-2, %edx
	jmp	LBB0_31
LBB0_14:
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	$0, 8(%r12)
	xorl	%ecx, %ecx
	movl	%edi, %eax
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_65
LBB0_22:
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_65:
	movl	%eax, 40(%r12)
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	addl	48(%r12), %esi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movl	%eax, %edx
	imull	%esi, %edx
	testq	%rbx, %rbx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	je	LBB0_67
## %bb.66:
	imull	4(%rbx), %edx
LBB0_67:
	movslq	%edx, %rdx
	imulq	$274877907, %rdx, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$38, %rdx
	addl	%esi, %edx
	movl	%edx, 44(%r12)
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, 56(%r12)
	movslq	60(%r12), %rdx
	imulq	%rdx, %rax
	movabsq	$2361183241434822607, %rdx      ## imm = 0x20C49BA5E353F7CF
	imulq	%rdx
	movq	%rdx, %rax
	shrq	$63, %rdx
	shrq	$7, %rax
	addl	%edx, %eax
	testl	%ecx, %ecx
	je	LBB0_69
## %bb.68:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_69:
	movl	%eax, 60(%r12)
	testl	%eax, %eax
	jne	LBB0_72
## %bb.70:
	testq	%rbx, %rbx
	je	LBB0_72
## %bb.71:
	movslq	8(%rbx), %rax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$38, %rax
	addl	%ecx, %eax
	movl	%eax, 60(%r12)
LBB0_72:
	movq	%r15, %rdi
	callq	_STREAM_POSITION
	movq	(%r12), %rcx
	movq	72(%r12), %r9
	leaq	(%rcx,%rcx,4), %rsi
	subq	32(%r9,%rsi,8), %rax
	xorl	%r8d, %r8d
	movq	%rax, 8(%r9,%rsi,8)
	movq	$0, 16(%r9,%rsi,8)
	movl	$0, 64(%r12)
	testq	%rbx, %rbx
	je	LBB0_73
## %bb.74:
	cmpq	$0, 24(%rbx)
	movq	%rbx, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_76
## %bb.75:
	movq	16(%rdi), %rdi
	movl	(%rdi), %r8d
	movl	%r8d, 64(%r12)
	movl	4(%rdi), %edi
	movl	%edi, 80(%r12)
	jmp	LBB0_76
LBB0_73:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_76:
	movl	%r8d, 68(%r12)
	movq	24(%r9,%rsi,8), %rdi
	xorl	%esi, %esi
LBB0_77:
	addq	%rsi, %rax
	subl	%eax, %edi
	addl	%r8d, %edi
	movl	%edi, (%r13)
	movl	40(%r12), %edi
	movl	%edi, (%rdx)
	movl	8(%r12), %r8d
	testl	%r8d, %r8d
	je	LBB0_90
## %bb.78:
	movq	32(%r12), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_89
## %bb.79:
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%r9,%rcx,8), %rdx
	addq	$8, %rdx
	movl	%r8d, %ecx
	decl	%ecx
	movl	%ecx, 8(%r12)
	je	LBB0_83
## %bb.80:
	movq	16(%r12), %rsi
	testq	%rsi, %rsi
	jne	LBB0_82
## %bb.81:
	movq	24(%r12), %rsi
	addl	$-2, %r8d
	movl	(%rsi,%r8,4), %esi
LBB0_82:
	movl	%esi, %edi
	movq	%rdi, 32(%r12)
LBB0_83:
	movq	%rax, (%rdx)
	movq	$0, 8(%rdx)
	testl	%r14d, %r14d
	jne	LBB0_87
## %bb.84:
	movl	60(%r12), %eax
	testl	%eax, %eax
	je	LBB0_86
## %bb.85:
	addl	%eax, 44(%r12)
	jmp	LBB0_87
LBB0_41:                                ##   in Loop: Header=BB0_31 Depth=1
	movq	24(%r12), %rax
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	addl	%edx, %ecx
	movl	%r14d, (%rax,%rcx,4)
	movl	8(%r12), %ecx
LBB0_42:                                ##   in Loop: Header=BB0_31 Depth=1
	incl	%ebx
	decl	%edx
	cmpl	%ecx, %ebx
	jae	LBB0_47
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_MKV_READ_SINT
	movl	%eax, %r14d
	addl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edx
	callq	_LOG_FORMAT
	movl	8(%r12), %ecx
	movq	_MKV_MAX_LACING_NUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jbe	LBB0_41
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_42
LBB0_86:
	movq	_VC_CONTAINER_TIME_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r12)
LBB0_87:
	movl	64(%r12), %eax
	movl	68(%r12), %edx
	subl	%edx, %eax
	addl	%eax, 80(%r12)
	movl	%edx, 64(%r12)
	testl	%ecx, %ecx
	je	LBB0_90
## %bb.88:
	xorl	%esi, %esi
LBB0_89:
	subl	%esi, %edi
	addl	64(%r12), %edi
	movl	%edi, (%r13)
LBB0_90:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_91
LBB0_92:
	movq	%r15, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
LBB0_33:
	testl	%ecx, %ecx
	je	LBB0_34
## %bb.35:
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_40:                                ##   in Loop: Header=BB0_36 Depth=1
	incl	%ebx
	cmpl	%ecx, %ebx
	jae	LBB0_47
LBB0_36:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_37 Depth 2
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_37:                                ##   Parent Loop BB0_36 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rax
	movl	(%rax), %edi
	callq	_vc_container_io_read_uint8
	addl	%eax, %r14d
	decq	%r13
	cmpl	$255, %eax
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edx
	callq	_LOG_FORMAT
	movl	8(%r12), %ecx
	movq	_MKV_MAX_LACING_NUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	ja	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_36 Depth=1
	movq	24(%r12), %rax
	movl	%ebx, %edx
	notl	%edx
	addl	%edx, %ecx
	movl	%r14d, (%rax,%rcx,4)
	movl	8(%r12), %ecx
	jmp	LBB0_40
LBB0_43:
	movl	%ecx, %esi
	incl	%esi
	movq	%r13, %rax
	shrq	$32, %rax
	je	LBB0_44
## %bb.45:
	movq	%r13, %rax
	cqto
	idivq	%rsi
	jmp	LBB0_46
LBB0_34:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_49
LBB0_44:
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_46:
	movq	%rax, 16(%r12)
LBB0_47:
	movq	_MKV_MAX_LACING_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jbe	LBB0_49
## %bb.48:
	movl	%eax, 8(%r12)
LBB0_49:
	testq	%r13, %r13
	js	LBB0_6
## %bb.50:
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	testq	%rax, %rax
	jne	LBB0_92
## %bb.51:
	cmpq	$0, 16(%r12)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_52
LBB0_64:
	movq	$0, 32(%r12)
	movl	8(%r12), %ecx
	incl	%ecx
	movl	%ecx, 8(%r12)
	movl	$1, %r14d
	jmp	LBB0_65
LBB0_6:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_91:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	movl	8(%r12), %r8d
	testq	%r8, %r8
	je	LBB0_64
## %bb.53:
	movq	24(%r12), %r9
	cmpl	$1, %r8d
	jne	LBB0_55
## %bb.54:
	xorl	%esi, %esi
	movq	%r8, %rdx
LBB0_61:
	testb	$1, %r8b
	je	LBB0_64
## %bb.62:
	movl	-4(%r9,%rdx,4), %ecx
	addq	%rsi, %rcx
	cmpq	%r13, %rcx
	jle	LBB0_64
## %bb.63:
	subl	%esi, %r13d
	movl	%r13d, -4(%r9,%rdx,4)
	jmp	LBB0_64
LBB0_55:
	movl	%r8d, %edi
	andl	$-2, %edi
	xorl	%esi, %esi
	movq	%r8, %rdx
	jmp	LBB0_56
LBB0_60:                                ##   in Loop: Header=BB0_56 Depth=1
	addq	$-2, %rdx
	addq	$-2, %rdi
	je	LBB0_61
LBB0_56:                                ## =>This Inner Loop Header: Depth=1
	movl	-4(%r9,%rdx,4), %ecx
	addq	%rsi, %rcx
	cmpq	%r13, %rcx
	jle	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_56 Depth=1
	movq	%r13, %rcx
	subq	%rsi, %rcx
	movl	%ecx, -4(%r9,%rdx,4)
	movl	%ecx, %ecx
	addq	%rsi, %rcx
LBB0_58:                                ##   in Loop: Header=BB0_56 Depth=1
	movl	-8(%r9,%rdx,4), %esi
	addq	%rcx, %rsi
	cmpq	%r13, %rsi
	jle	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_56 Depth=1
	movq	%r13, %rsi
	subq	%rcx, %rsi
	movl	%esi, -8(%r9,%rdx,4)
	movl	%esi, %esi
	addq	%rcx, %rsi
	jmp	LBB0_60
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_BLOCK,8,3       ## @MKV_ELEMENT_ID_BLOCK
	.comm	_MKV_ELEMENT_ID_SIMPLE_BLOCK,8,3 ## @MKV_ELEMENT_ID_SIMPLE_BLOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Track Number"

L_.str.1:                               ## @.str.1
	.asciz	"Track Number: %u"

L_.str.2:                               ## @.str.2
	.asciz	"Timecode"

L_.str.3:                               ## @.str.3
	.asciz	"Flags"

	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ## @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
L_.str.4:                               ## @.str.4
	.asciz	"Lacing Head"

L_.str.5:                               ## @.str.5
	.asciz	"Frame Size: %i"

	.comm	_MKV_MAX_LACING_NUM,4,2         ## @MKV_MAX_LACING_NUM
L_.str.6:                               ## @.str.6
	.asciz	"Frame Size"

	.comm	_VC_CONTAINER_TIME_UNKNOWN,4,2  ## @VC_CONTAINER_TIME_UNKNOWN
	.no_dead_strip	_mkv_read_next_frame_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkv_read_next_frame_header
_mkv_read_next_frame_header:            ; @mkv_read_next_frame_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x27, [x8, #8]
	ldr	x8, [x1, #72]
	ldr	x9, [x1]
	mov	w10, #40
	mul	x10, x9, x10
	ldr	x10, [x8, x10]
Lloh0:
	adrp	x26, _MKV_ELEMENT_ID_BLOCK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MKV_ELEMENT_ID_BLOCK@GOTPAGEOFF]
Lloh2:
	adrp	x11, _MKV_ELEMENT_ID_SIMPLE_BLOCK@GOTPAGE
Lloh3:
	ldr	x11, [x11, _MKV_ELEMENT_ID_SIMPLE_BLOCK@GOTPAGEOFF]
	ldr	x12, [x26]
Lloh4:
	ldr	x11, [x11]
	cmp	x10, x12
	ccmp	x10, x11, #4, ne
Lloh5:
	adrp	x23, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b.ne	LBB0_3
; %bb.1:
	mov	w10, #40
	madd	x12, x9, x10, x8
	ldp	x10, x11, [x12, #8]
	ldr	x14, [x12, #24]
	add	x12, x11, x10
	cmp	x12, x14
	b.ge	LBB0_3
; %bb.2:
	mov	w25, #0
	ldr	x22, [x23]
	ldr	w12, [x21, #64]
	b	LBB0_59
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_mkv_find_next_block
	mov	x22, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_75
; %bb.4:
	ldr	x8, [x21, #72]
	ldr	x9, [x21]
	mov	w23, #40
	madd	x8, x9, x23, x8
	ldr	x28, [x8, #24]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_MKV_READ_UINT
	mov	x25, x0
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x25
	bl	_LOG_FORMAT
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_MKV_READ_U16
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_MKV_READ_U8
	ldr	x8, [x21, #72]
	ldr	x9, [x21]
	mul	x9, x9, x23
	ldr	x8, [x8, x9]
	ldr	x9, [x26]
	and	w10, w0, #0xf
	cmp	x8, x9
	csel	w23, w10, w0, eq
	tbnz	x28, #63, LBB0_56
; %bb.5:
	mov	x0, x19
	bl	_STREAM_STATUS
	cbnz	x0, LBB0_74
; %bb.6:
	str	w23, [sp, #20]                  ; 4-byte Folded Spill
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w9, [x19]
	cbz	w9, LBB0_27
; %bb.7:
	ldr	x8, [x19, #16]
	ldr	x10, [x8]
	ldr	x10, [x10, #8]
	ldr	x24, [x10]
	ldr	w10, [x24]
	cmp	w10, w25
	b.ne	LBB0_9
; %bb.8:
	mov	x23, #0
	mov	w9, #1
	b	LBB0_13
LBB0_9:
	mov	x23, #0
	add	x10, x8, #8
	sub	x11, x9, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	x11, x23
	b.eq	LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x12, [x10, x23, lsl #3]
	ldr	x12, [x12, #8]
	ldr	x24, [x12]
	ldr	w12, [x24]
	add	x23, x23, #1
	cmp	w12, w25
	b.ne	LBB0_10
; %bb.12:
	cmp	x23, x9
	cset	w9, lo
LBB0_13:
	ldr	x10, [x21, #72]
	ldr	x11, [x21]
	mov	w12, #40
	mul	x12, x11, x12
	ldr	x12, [x10, x12]
	ldr	x13, [x26]
	cmp	x12, x13
	b.ne	LBB0_18
; %bb.14:
	ldr	x8, [x8, w23, uxtw #3]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh15:
	adrp	x12, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh16:
	ldr	x12, [x12, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh17:
	ldr	x12, [x12]
	cmp	x8, x12
	b.ne	LBB0_18
; %bb.15:
	ldr	w8, [x21, #84]
	cbnz	w8, LBB0_18
; %bb.16:
	cbz	x11, LBB0_18
; %bb.17:
	mov	w8, #40
	madd	x8, x11, x8, x10
	ldp	x11, x10, [x8, #24]
	add	x10, x11, x10
	ldp	x8, x11, [x8, #-16]
	ldr	w13, [sp, #20]                  ; 4-byte Folded Reload
	orr	w12, w13, #0x80
	add	x8, x8, x11
	cmp	x10, x8
	csel	w13, w13, w12, lt
	str	w13, [sp, #20]                  ; 4-byte Folded Spill
LBB0_18:
	str	wzr, [x21, #8]
	cbz	w9, LBB0_31
; %bb.19:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	ands	w25, w8, #0x6
	b.eq	LBB0_32
; %bb.20:
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_MKV_READ_U8
	str	w0, [x21, #8]
	str	xzr, [x21, #16]
	lsr	w8, w25, #1
	cmp	w8, #1
	b.eq	LBB0_33
; %bb.21:
	cmp	w8, #3
	b.ne	LBB0_40
; %bb.22:
	cbz	w0, LBB0_43
; %bb.23:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_MKV_READ_UINT
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	bl	_LOG_FORMAT
	ldr	w0, [x21, #8]
Lloh24:
	adrp	x8, _MKV_MAX_LACING_NUM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MKV_MAX_LACING_NUM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hi	LBB0_25
; %bb.24:
	ldr	x8, [x21, #24]
	sub	w9, w0, #1
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	str	w10, [x8, w9, uxtw #2]
	ldr	w0, [x21, #8]
LBB0_25:
	cmp	w0, #2
	b.lo	LBB0_41
; %bb.26:
	mov	w26, #1
	mov	w25, #-2
	b	LBB0_29
LBB0_27:
	mov	w8, #0
	mov	x24, #0
	mov	w25, #0
	str	wzr, [x21, #8]
	mov	x23, x9
	b	LBB0_47
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	add	w26, w26, #1
	sub	w25, w25, #1
	cmp	w26, w0
	b.hs	LBB0_41
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_MKV_READ_SINT
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	add	w2, w0, w2
	mov	x0, x19
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	str	w2, [sp, #4]                    ; 4-byte Folded Spill
	bl	_LOG_FORMAT
	ldr	w0, [x21, #8]
Lloh31:
	adrp	x8, _MKV_MAX_LACING_NUM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MKV_MAX_LACING_NUM@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hi	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldr	x8, [x21, #24]
	add	w9, w25, w0
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	str	w10, [x8, w9, uxtw #2]
	ldr	w0, [x21, #8]
	b	LBB0_28
LBB0_31:
	mov	w8, #0
	mov	w25, #0
	b	LBB0_47
LBB0_32:
	mov	w8, #0
	b	LBB0_47
LBB0_33:
	cbz	w0, LBB0_43
; %bb.34:
	mov	w25, #0
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	w25, w25, #1
	cmp	w25, w0
	b.hs	LBB0_41
LBB0_36:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
	mov	w26, #0
LBB0_37:                                ;   Parent Loop BB0_36 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_vc_container_io_read_uint8
	add	w26, w0, w26
	sub	x28, x28, #1
	cmp	w0, #255
	b.eq	LBB0_37
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=1
	mov	x0, x19
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x26
	bl	_LOG_FORMAT
	ldr	w0, [x21, #8]
Lloh36:
	adrp	x8, _MKV_MAX_LACING_NUM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MKV_MAX_LACING_NUM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hi	LBB0_35
; %bb.39:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	x8, [x21, #24]
	mvn	w9, w25
	add	w9, w0, w9
	str	w26, [x8, w9, uxtw #2]
	ldr	w0, [x21, #8]
	b	LBB0_35
LBB0_40:
	add	w8, w0, #1
	sdiv	x8, x28, x8
	str	x8, [x21, #16]
LBB0_41:
Lloh39:
	adrp	x8, _MKV_MAX_LACING_NUM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MKV_MAX_LACING_NUM@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ls	LBB0_43
; %bb.42:
	str	w8, [x21, #8]
LBB0_43:
	tbnz	x28, #63, LBB0_56
; %bb.44:
	mov	x0, x19
	bl	_STREAM_STATUS
	cbnz	x0, LBB0_74
; %bb.45:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_76
LBB0_46:
	str	xzr, [x21, #32]
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	mov	w25, #1
LBB0_47:
	str	w23, [x21, #40]
	ldr	w9, [x21, #48]
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	w10, w9, w10
	ldr	x9, [x27]
	mul	w10, w10, w9
	cbz	x24, LBB0_49
; %bb.48:
	ldr	w11, [x24, #4]
	mul	w10, w11, w10
LBB0_49:
	ldr	w12, [sp, #20]                  ; 4-byte Folded Reload
	mov	w11, #19923
	movk	w11, #4194, lsl #16
	smull	x10, w10, w11
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w10, w10, w11
	str	w10, [x21, #44]
	str	w12, [x21, #56]
	ldrsw	x10, [x21, #60]
	mul	x9, x9, x10
	mov	x10, #63439
	movk	x10, #58195, lsl #16
	movk	x10, #39845, lsl #32
	movk	x10, #8388, lsl #48
	smulh	x9, x9, x10
	lsr	x10, x9, #63
	lsr	x9, x9, #7
	add	w9, w9, w10
	cbz	w8, LBB0_51
; %bb.50:
	udiv	w9, w9, w8
LBB0_51:
	str	w9, [x21, #60]
	cmp	w9, #0
	ccmp	x24, #0, #4, eq
	b.eq	LBB0_53
; %bb.52:
	ldrsw	x8, [x24, #8]
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	w8, [x21, #60]
LBB0_53:
	mov	x0, x19
	bl	_STREAM_POSITION
	ldr	x8, [x21, #72]
	ldr	x9, [x21]
	mov	w10, #40
	madd	x11, x9, x10, x8
	ldr	x10, [x11, #32]
	sub	x10, x0, x10
	stp	x10, xzr, [x11, #8]
	str	wzr, [x21, #64]
	cbz	x24, LBB0_57
; %bb.54:
	ldr	x11, [x24, #24]
	cbz	x11, LBB0_57
; %bb.55:
	ldr	x11, [x24, #16]
	ldp	w12, w11, [x11]
	str	w12, [x21, #64]
	str	w11, [x21, #80]
	b	LBB0_58
LBB0_56:
Lloh42:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh44:
	ldr	x22, [x8]
	b	LBB0_75
LBB0_57:
	mov	w12, #0
LBB0_58:
Lloh45:
	adrp	x23, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh46:
	ldr	x23, [x23, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	mov	x11, #0
	str	w12, [x21, #68]
	mov	w13, #40
	madd	x13, x9, x13, x8
	ldr	x14, [x13, #24]
LBB0_59:
	add	x13, x11, x10
	sub	w10, w14, w13
	add	w10, w12, w10
	str	w10, [x20]
	ldr	w10, [x21, #40]
	str	w10, [x24]
	ldr	w12, [x21, #8]
	cbz	w12, LBB0_73
; %bb.60:
	ldr	x10, [x21, #32]
	cmp	x11, x10
	b.lt	LBB0_72
; %bb.61:
	mov	w11, #40
	madd	x8, x9, x11, x8
	add	x11, x8, #8
	add	x9, x8, #16
	subs	w8, w12, #1
	str	w8, [x21, #8]
	b.eq	LBB0_65
; %bb.62:
	ldr	x10, [x21, #16]
	cbnz	x10, LBB0_64
; %bb.63:
	ldr	x10, [x21, #24]
	sub	w12, w12, #2
	ldr	w10, [x10, w12, uxtw #2]
LBB0_64:
	mov	w10, w10
	str	x10, [x21, #32]
LBB0_65:
	str	x13, [x11]
	str	xzr, [x9]
	cbnz	w25, LBB0_70
; %bb.66:
	ldr	w9, [x21, #60]
	cbz	w9, LBB0_68
; %bb.67:
	ldr	w11, [x21, #44]
	add	w9, w11, w9
	b	LBB0_69
LBB0_68:
Lloh47:
	adrp	x9, _VC_CONTAINER_TIME_UNKNOWN@GOTPAGE
Lloh48:
	ldr	x9, [x9, _VC_CONTAINER_TIME_UNKNOWN@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
LBB0_69:
	str	w9, [x21, #44]
LBB0_70:
	ldp	w11, w9, [x21, #64]
	ldr	w12, [x21, #80]
	sub	w11, w11, w9
	add	w11, w11, w12
	str	w11, [x21, #80]
	str	w9, [x21, #64]
	cbz	w8, LBB0_73
; %bb.71:
	mov	x11, #0
LBB0_72:
	ldr	w8, [x21, #64]
	sub	w9, w10, w11
	add	w8, w8, w9
	str	w8, [x20]
LBB0_73:
	ldr	x8, [x23]
	cmp	x22, x8
	b.ne	LBB0_75
LBB0_74:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_STREAM_STATUS
LBB0_75:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_76:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_46
; %bb.77:
	mov	x10, #0
	ldr	x9, [x21, #24]
	lsl	x8, x8, #2
	sub	x9, x9, #4
	b	LBB0_79
LBB0_78:                                ;   in Loop: Header=BB0_79 Depth=1
	mov	x10, x11
	subs	x8, x8, #4
	b.eq	LBB0_46
LBB0_79:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9, x8]
	add	x11, x10, x11
	cmp	x11, x28
	b.le	LBB0_78
; %bb.80:                               ;   in Loop: Header=BB0_79 Depth=1
	sub	x11, x28, x10
	str	w11, [x9, x8]
	add	x11, x10, w11, uxtw
	b	LBB0_78
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_MKV_ELEMENT_ID_BLOCK,8,3       ; @MKV_ELEMENT_ID_BLOCK
	.comm	_MKV_ELEMENT_ID_SIMPLE_BLOCK,8,3 ; @MKV_ELEMENT_ID_SIMPLE_BLOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Track Number"

l_.str.1:                               ; @.str.1
	.asciz	"Track Number: %u"

l_.str.2:                               ; @.str.2
	.asciz	"Timecode"

l_.str.3:                               ; @.str.3
	.asciz	"Flags"

	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ; @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
l_.str.4:                               ; @.str.4
	.asciz	"Lacing Head"

l_.str.5:                               ; @.str.5
	.asciz	"Frame Size: %i"

	.comm	_MKV_MAX_LACING_NUM,4,2         ; @MKV_MAX_LACING_NUM
l_.str.6:                               ; @.str.6
	.asciz	"Frame Size"

	.comm	_VC_CONTAINER_TIME_UNKNOWN,4,2  ; @VC_CONTAINER_TIME_UNKNOWN
	.no_dead_strip	_mkv_read_next_frame_header
.subsections_via_symbols
