	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AVISplitter_InitializeStreams
_AVISplitter_InitializeStreams:         ## @AVISplitter_InitializeStreams
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %rcx
	testq	%rcx, %rcx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_30
## %bb.1:
	movl	(%rdi), %eax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	24(%rdi), %r8
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	jmp	LBB0_6
LBB0_30:
	movq	24(%rdi), %rcx
	cmpq	$0, 8(%rcx)
	movl	(%rdi), %eax
	je	LBB0_31
LBB0_18:
	movq	_S_OK@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_51
## %bb.19:
	xorl	%ecx, %ecx
	movl	$2147483647, %r13d              ## imm = 0x7FFFFFFF
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r8,%r9), %esi
LBB0_49:                                ##   in Loop: Header=BB0_20 Depth=1
	imull	32(%r8,%r9), %esi
	imull	$10000000, %esi, %eax           ## imm = 0x989680
	movl	36(%r8,%r9), %ecx
	cltd
	idivl	%ecx
	movl	%eax, %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, 8(%r14)
	movl	%eax, 12(%r14)
	movq	$0, 16(%r14)
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movslq	%eax, %rbx
	imulq	$-1037155065, %rbx, %rax        ## imm = 0xC22E4507
	shrq	$32, %rax
	addl	%ebx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$16, %eax
	addl	%ecx, %eax
	movslq	%eax, %rsi
	imull	$86400, %esi, %eax              ## imm = 0x15180
	movl	%ebx, %ecx
	subl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$-1851608123, %rax, %rcx        ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$11, %eax
	addl	%ecx, %eax
	movslq	%eax, %r10
	imulq	$-1851608123, %rbx, %rax        ## imm = 0x91A2B3C5
	shrq	$32, %rax
	addl	%ebx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$11, %eax
	addl	%ecx, %eax
	imull	$3600, %eax, %eax               ## imm = 0xE10
	movl	%ebx, %ecx
	subl	%eax, %ecx
	movswl	%cx, %eax
	imull	$-30583, %eax, %eax             ## imm = 0x8889
	shrl	$16, %eax
	addl	%ecx, %eax
	movzwl	%ax, %eax
	movswl	%ax, %ecx
	shrl	$15, %eax
	sarl	$5, %ecx
	addl	%eax, %ecx
	movswq	%cx, %rcx
	imulq	$-2004318071, %rbx, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	addl	%ebx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	sarl	$5, %eax
	addl	%edx, %eax
	imull	$60, %eax, %eax
	subl	%eax, %ebx
	movslq	%edi, %rax
	imulq	$1759218605, %rax, %rax         ## imm = 0x68DB8BAD
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$44, %rax
	addl	%edx, %eax
	movslq	%eax, %r9
	movq	%r9, %rax
	shrq	$3, %rax
	movabsq	$2361183241434822607, %rdx      ## imm = 0x20C49BA5E353F7CF
	mulq	%rdx
	movslq	%ebx, %r8
	shrq	$4, %rdx
	imulq	$1000, %rdx, %rax               ## imm = 0x3E8
	subq	%rax, %r9
	leaq	L_.str.3(%rip), %rdi
	movq	%r10, %rdx
	callq	_TRACE
	movq	%r14, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movl	(%r14), %eax
	cmpq	%rax, %rcx
	jae	LBB0_50
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_41 Depth 2
                                        ##       Child Loop BB0_44 Depth 3
	movq	24(%rdi), %r8
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rcx, %r9
	shlq	$6, %r9
	movl	%eax, 56(%r8,%r9)
	movq	40(%r8,%r9), %r10
	testq	%r10, %r10
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_48
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	$0, 48(%r8,%r9)
	movl	$0, 4(%r8,%r9)
	movq	8(%r8,%r9), %r11
	testq	%r11, %r11
	je	LBB0_22
## %bb.40:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	16(%r8,%r9), %edi
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=2
	addl	%r14d, %ecx
LBB0_46:                                ##   in Loop: Header=BB0_41 Depth=2
	movl	%ecx, %esi
LBB0_47:                                ##   in Loop: Header=BB0_41 Depth=2
	incq	%rbx
	movl	%esi, %ecx
	cmpq	%r11, %rbx
	je	LBB0_49
LBB0_41:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_44 Depth 3
	movq	(%r10,%rbx,8), %rax
	movq	(%rax), %r14
	testl	%edi, %edi
	je	LBB0_45
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=2
	testq	%r14, %r14
	je	LBB0_46
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=2
	movq	8(%rax), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_44:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_41 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r15,%r12,4), %eax
	andl	%r13d, %eax
	xorl	%edx, %edx
	idivl	%edi
	movl	%eax, %esi
	addl	%ecx, %esi
	cmpl	$1, %edx
	sbbl	$-1, %esi
	incq	%r12
	movl	%esi, %ecx
	cmpq	%r12, %r14
	jne	LBB0_44
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	xorl	%esi, %esi
	jmp	LBB0_49
LBB0_4:
	movl	%eax, %r9d
	andl	$-2, %r9d
	xorl	%esi, %esi
	movabsq	$-4294967296, %rbx              ## imm = 0xFFFFFFFF00000000
	movq	%r8, %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, (%rdx)
	movq	$0, 48(%rdx)
	movq	%rbx, 64(%rdx)
	movq	$0, 112(%rdx)
	addq	$2, %rsi
	subq	$-128, %rdx
	cmpq	%rsi, %r9
	jne	LBB0_5
LBB0_6:
	testb	$1, %al
	je	LBB0_8
## %bb.7:
	shlq	$6, %rsi
	movabsq	$-4294967296, %rdx              ## imm = 0xFFFFFFFF00000000
	movq	%rdx, (%r8,%rsi)
	movq	$0, 48(%r8,%rsi)
LBB0_8:
	movslq	(%rcx), %rdx
	cmpq	$8, %rdx
	jb	LBB0_13
## %bb.9:
	shrq	$3, %rdx
	cmpq	$2, %rdx
	movl	$1, %r12d
	cmovaeq	%rdx, %r12
	decq	%r12
	movl	$4, %r13d
	leaq	L_.str(%rip), %r14
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rbx
	movq	8(%rcx), %rax
	movl	4(%rax,%r15,8), %edi
	callq	_StreamFromFOURCC
	movl	(%rbx), %ecx
	cmpq	%rcx, %rax
	movq	%rbx, %rdi
	jae	LBB0_11
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	24(%rdi), %rdx
	shlq	$6, %rax
	cmpl	$-1, 4(%rdx,%rax)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rdx,%rax), %rcx
	addq	$4, %rcx
	movl	%r15d, (%rcx)
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rdx,%rax), %rcx
	movl	16(%rdx,%rax), %esi
	testl	%esi, %esi
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	32(%rdi), %rax
	movq	8(%rax), %rax
	movl	(%rax,%r15,8), %eax
	cltd
	idivl	%esi
	addl	%eax, (%rcx)
	cmpq	%r15, %r12
	jne	LBB0_29
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	32(%rdi), %rax
	movq	8(%rax), %rdi
	addq	%r13, %rdi
	movl	$4, %esi
	callq	_debugstr_an
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_FIXME
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%r15, %r12
	jne	LBB0_29
	jmp	LBB0_12
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	(%rcx)
	cmpq	%r15, %r12
	je	LBB0_12
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	32(%rdi), %rcx
	addq	$8, %r13
	incq	%r15
	jmp	LBB0_10
LBB0_12:
	movl	(%rdi), %eax
LBB0_13:
	testl	%eax, %eax
	je	LBB0_50
## %bb.14:
	leaq	L_.str.1(%rip), %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r12
	movl	%eax, %ecx
	addq	$64, %rbx
	cmpq	%rcx, %r12
	jae	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%rdi), %rcx
	movslq	(%rcx,%rbx), %rdx
	movq	24(%rcx,%rbx), %rcx
	cmpq	%rdx, %rcx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_FIXME
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %eax
	jmp	LBB0_17
LBB0_50:
	movq	_S_OK@GOTPCREL(%rip), %rcx
LBB0_51:
	movl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	testl	%eax, %eax
	je	LBB0_39
## %bb.32:
	leaq	-1(%rax), %rsi
	movl	%eax, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_34
## %bb.33:
	xorl	%esi, %esi
	jmp	LBB0_36
LBB0_34:
	andl	$-4, %eax
	leaq	216(%rcx), %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movl	-192(%rdi), %ebx
	movl	-128(%rdi), %edx
	movl	%ebx, -216(%rdi)
	movl	%edx, -152(%rdi)
	movl	-64(%rdi), %edx
	movl	%edx, -88(%rdi)
	movl	(%rdi), %edx
	movl	%edx, -24(%rdi)
	addq	$4, %rsi
	addq	$256, %rdi                      ## imm = 0x100
	cmpq	%rsi, %rax
	jne	LBB0_35
LBB0_36:
	testq	%r8, %r8
	je	LBB0_39
## %bb.37:
	shlq	$6, %rsi
	addq	%rsi, %rcx
	shlq	$6, %r8
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%rcx,%rax), %edx
	movl	%edx, (%rcx,%rax)
	addq	$64, %rax
	cmpq	%rax, %r8
	jne	LBB0_38
LBB0_39:
	leaq	L_.str.2(%rip), %rdi
	callq	_ERR
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rcx
	jmp	LBB0_51
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stream id %s ignored\n"

L_.str.1:                               ## @.str.1
	.asciz	"stream %u: frames found: %u, frames meant to be found: %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"We should be manually seeking through the entire file to build an index, because the index is missing!!!\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.3:                               ## @.str.3
	.asciz	"Duration: %d days, %d hours, %d minutes and %d.%03u seconds\n"

	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_AVISplitter_InitializeStreams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AVISplitter_InitializeStreams
_AVISplitter_InitializeStreams:         ; @AVISplitter_InitializeStreams
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w9, [x19]
	cbz	w9, LBB0_29
; %bb.2:
	ldr	x10, [x19, #24]
	cmp	w9, #4
	b.hs	LBB0_24
; %bb.3:
	mov	x11, #0
	b	LBB0_27
LBB0_4:
	ldr	x8, [x19, #24]
	ldr	x10, [x8, #8]
	ldr	w9, [x19]
	cbz	x10, LBB0_48
LBB0_5:
	cbz	w9, LBB0_46
; %bb.6:
	mov	x22, #0
	mov	w23, #20864
	movk	w23, #1, lsl #16
	mov	w26, #46021
	movk	w26, #37282, lsl #16
	mov	w21, #34953
	movk	w21, #34952, lsl #16
	mov	w24, #60
	mov	w25, #35757
	movk	w25, #26843, lsl #16
	mov	x27, #63439
	movk	x27, #58195, lsl #16
	movk	x27, #39845, lsl #32
	movk	x27, #8388, lsl #48
	mov	w28, #1000
Lloh0:
	adrp	x20, l_.str.3@PAGE
Lloh1:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	lsl	x9, x22, #6
	ldr	w10, [x8, x9]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, x22, lsl #6
	ldp	w9, w8, [x8, #32]
	mul	w9, w9, w10
	mov	w10, #38528
	movk	w10, #152, lsl #16
	mul	w10, w9, w10
	sdiv	w10, w10, w8
	stp	w10, w10, [x19, #8]
	str	xzr, [x19, #16]
	sdiv	w8, w9, w8
	sdiv	w9, w8, w23
	sxtw	x1, w9
	msub	w9, w9, w23, w8
	smull	x11, w9, w26
	lsr	x11, x11, #32
	add	w9, w11, w9
	asr	w11, w9, #11
	add	w9, w11, w9, lsr #31
	sxtw	x2, w9
	smull	x9, w8, w26
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w11, w9, #11
	add	w9, w11, w9, lsr #31
	mov	w11, #3600
	msub	w9, w9, w11, w8
	sxth	w11, w9
	mov	w12, #-30583
	mul	w11, w11, w12
	add	w9, w9, w11, lsr #16
	and	w11, w9, #0x8000
	sbfx	w9, w9, #5, #11
	add	w9, w9, w11, lsr #15
	sxtw	x3, w9
	smull	x9, w8, w21
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w11, w9, #5
	add	w9, w11, w9, lsr #31
	msub	w8, w9, w24, w8
	sxtw	x4, w8
	smull	x8, w10, w25
	lsr	x9, x8, #63
	asr	x8, x8, #44
	add	w8, w8, w9
	sxtw	x8, w8
	lsr	x9, x8, #3
	umulh	x9, x9, x27
	lsr	x9, x9, #4
	msub	x5, x9, x28, x8
	mov	x0, x20
	bl	_TRACE
	add	x22, x22, #1
	ldr	w8, [x19]
	cmp	x22, x8
	b.hs	LBB0_46
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
	ldr	x8, [x19, #24]
Lloh2:
	adrp	x9, _TRUE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	add	x10, x8, x22, lsl #6
	str	w9, [x10, #56]
	ldr	x9, [x10, #40]
	cbz	x9, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	str	xzr, [x10, #48]
	str	wzr, [x10, #4]
	ldr	x11, [x10, #8]
	cbz	x11, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w10, #0
	mov	x12, #0
	add	x13, x8, x22, lsl #6
	ldr	w13, [x13, #16]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=2
	add	w10, w10, w14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x12, x12, #1
	cmp	x12, x11
	b.eq	LBB0_8
LBB0_14:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_22 Depth 3
	ldr	x15, [x9, x12, lsl #3]
	ldr	x14, [x15]
	cbz	w13, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	cbz	x14, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x15, [x15, #8]
	cmp	x14, #1
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x16, #0
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=2
	mov	w17, #0
	and	x16, x14, #0xfffffffffffffffe
	add	x0, x15, #4
	mov	x1, x16
LBB0_19:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	w2, w3, [x0, #-4]
	and	w2, w2, #0x7fffffff
	and	w3, w3, #0x7fffffff
	sdiv	w4, w2, w13
	sdiv	w5, w3, w13
	msub	w2, w4, w13, w2
	msub	w3, w5, w13, w3
	cmp	w2, #0
	add	w10, w4, w10
	cinc	w10, w10, ne
	cmp	w3, #0
	add	w17, w5, w17
	cinc	w17, w17, ne
	add	x0, x0, #8
	subs	x1, x1, #2
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=2
	add	w10, w17, w10
	cmp	x14, x16
	b.eq	LBB0_13
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=2
	sub	x14, x14, x16
	add	x15, x15, x16, lsl #2
LBB0_22:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w16, [x15], #4
	and	w16, w16, #0x7fffffff
	sdiv	w17, w16, w13
	msub	w16, w17, w13, w16
	cmp	w16, #0
	add	w10, w17, w10
	cinc	w10, w10, ne
	subs	x14, x14, #1
	b.ne	LBB0_22
	b	LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w10, #0
	b	LBB0_8
LBB0_24:
	and	x11, x9, #0xfffffffc
	add	x12, x10, #128
	movi	d0, #0xffffffff00000000
	mov	x13, x11
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	stur	d0, [x12, #-128]
	stur	d0, [x12, #-64]
	str	d0, [x12]
	str	d0, [x12, #64]
	stur	xzr, [x12, #-80]
	stur	xzr, [x12, #-16]
	str	xzr, [x12, #48]
	str	xzr, [x12, #112]
	add	x12, x12, #256
	subs	x13, x13, #4
	b.ne	LBB0_25
; %bb.26:
	cmp	x11, x9
	b.eq	LBB0_29
LBB0_27:
	add	x10, x10, x11, lsl #6
	sub	x11, x9, x11
	movi	d0, #0xffffffff00000000
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x10]
	str	xzr, [x10, #48]
	add	x10, x10, #64
	subs	x11, x11, #1
	b.ne	LBB0_28
LBB0_29:
	ldrsw	x10, [x8]
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	cmp	w10, #8
	b.lo	LBB0_41
; %bb.30:
	mov	x21, #0
	mov	x22, #0
	lsr	x9, x10, #3
	cmp	x9, #1
	csinc	x9, x9, xzr, hi
	sub	x23, x9, #1
Lloh5:
	adrp	x20, l_.str@PAGE
Lloh6:
	add	x20, x20, l_.str@PAGEOFF
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	ldr	w0, [x8, #4]
	bl	_StreamFromFOURCC
	ldr	w8, [x19]
	cmp	x0, x8
	b.hs	LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x0, lsl #6
	mov	x9, x8
	ldr	w10, [x9, #4]!
	cmn	w10, #1
	b.eq	LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_37
LBB0_34:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	x10, [x19, #32]
	ldr	x10, [x10, #8]
	ldr	w10, [x10, x21]
	sdiv	w9, w10, w9
	ldr	w10, [x8]
	add	w9, w10, w9
	b	LBB0_38
LBB0_35:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	add	x0, x8, #4
	mov	w1, #4
	bl	_debugstr_an
	mov	x1, x0
	mov	x0, x20
	bl	_FIXME
	cmp	x23, x22
	b.ne	LBB0_39
	b	LBB0_40
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=1
	str	w22, [x9]
	ldr	w9, [x8, #16]
	cbnz	w9, LBB0_34
LBB0_37:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	w9, [x8]
	add	w9, w9, #1
LBB0_38:                                ;   in Loop: Header=BB0_31 Depth=1
	str	w9, [x8]
	cmp	x23, x22
	b.eq	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_31 Depth=1
	ldr	x8, [x19, #32]
	add	x21, x21, #8
	add	x22, x22, #1
	b	LBB0_31
LBB0_40:
	ldr	w9, [x19]
LBB0_41:
	cbz	w9, LBB0_46
; %bb.42:
	mov	x22, #0
	mov	x20, #0
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	x20, x20, #1
	add	x22, x22, #64
	cmp	x20, w9, uxtw
	b.hs	LBB0_5
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x10, x8, x22
	ldrsw	x8, [x10]
	ldr	x10, [x10, #24]
	cmp	x10, x8
	b.eq	LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	stp	x8, x10, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_FIXME
	ldr	w9, [x19]
	b	LBB0_43
LBB0_46:
Lloh9:
	adrp	x8, _S_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_47:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_48:
	cbz	w9, LBB0_56
; %bb.49:
	cmp	w9, #4
	b.hs	LBB0_51
; %bb.50:
	mov	x10, #0
	b	LBB0_54
LBB0_51:
	and	x10, x9, #0xfffffffc
	add	x11, x8, #128
	mov	x12, x10
LBB0_52:                                ; =>This Inner Loop Header: Depth=1
	ldur	x13, [x11, #-104]
	ldur	x14, [x11, #-40]
	ldr	x15, [x11, #24]
	ldr	x16, [x11, #88]
	stur	w13, [x11, #-128]
	stur	w14, [x11, #-64]
	str	w15, [x11]
	str	w16, [x11, #64]
	add	x11, x11, #256
	subs	x12, x12, #4
	b.ne	LBB0_52
; %bb.53:
	cmp	x10, x9
	b.eq	LBB0_56
LBB0_54:
	add	x8, x8, x10, lsl #6
	sub	x9, x9, x10
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8, #24]
	str	w10, [x8], #64
	subs	x9, x9, #1
	b.ne	LBB0_55
LBB0_56:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_ERR
Lloh13:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
	b	LBB0_47
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stream id %s ignored\n"

l_.str.1:                               ; @.str.1
	.asciz	"stream %u: frames found: %u, frames meant to be found: %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"We should be manually seeking through the entire file to build an index, because the index is missing!!!\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.3:                               ; @.str.3
	.asciz	"Duration: %d days, %d hours, %d minutes and %d.%03u seconds\n"

	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_AVISplitter_InitializeStreams
.subsections_via_symbols
