	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MPEGSplitter_pre_connect
_MPEGSplitter_pre_connect:              ## @MPEGSplitter_pre_connect
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_impl_PullPin_from_IPin
	movq	%rax, %rbx
	movq	8(%rax), %r14
	movl	(%rax), %edi
	leaq	-132(%rbp), %rsi
	leaq	-156(%rbp), %rdx
	callq	_IAsyncReader_Length
	movl	-132(%rbp), %eax
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	movl	%eax, (%r14)
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movl	(%rbx), %edi
	leaq	-96(%rbp), %rcx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_IAsyncReader_SyncRead
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_SUCCEEDED
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
	shll	$2, %r14d
	movl	%r13d, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	leaq	L_.str(%rip), %rdi
	leaq	-96(%rbp), %rsi
	movl	$3, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-80(%rbp), %rcx
	movl	%r14d, %esi
	movl	$6, %edx
	callq	_IAsyncReader_SyncRead
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_12
## %bb.3:
	addl	$6, %r14d
	movl	-84(%rbp), %esi
	movl	-80(%rbp), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_TRACE
	cmpl	$4, -84(%rbp)
	jg	LBB0_11
## %bb.4:
	cmpl	$255, -80(%rbp)
	je	LBB0_11
## %bb.5:
	movl	-76(%rbp), %eax
	testb	$15, %al
	jne	LBB0_11
## %bb.6:
	movl	-72(%rbp), %edx
	testb	$-128, %dl
	jne	LBB0_11
## %bb.7:
	movl	-68(%rbp), %esi
	testb	$-128, %sil
	jne	LBB0_11
## %bb.8:
	movl	-64(%rbp), %ecx
	testb	$-128, %cl
	jne	LBB0_11
## %bb.9:
	movl	-60(%rbp), %edi
	testb	$-128, %dil
	jne	LBB0_11
## %bb.10:
	shll	$21, %edx
	shll	$14, %esi
	orl	%edx, %esi
	shll	$7, %ecx
	orl	%esi, %ecx
	orl	%edi, %ecx
	leal	10(%rcx), %r15d
	testb	$16, %al
	cmovel	%ecx, %r15d
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_TRACE
LBB0_11:
	leal	(%r14,%r15), %ebx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-96(%rbp), %rcx
	movl	%ebx, %esi
	movl	$4, %edx
	callq	_IAsyncReader_SyncRead
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	leal	4(%r14,%r15), %r14d
	cmovel	%ebx, %r14d
LBB0_12:
	movl	%r13d, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	leaq	-96(%rbp), %r12
	movl	%r14d, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rdi
	leaq	-92(%rbp), %rsi
	movl	$3, %edx
	callq	_memmove
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leal	1(%rbx), %r14d
	movl	%ebx, %esi
	movl	$1, %edx
	leaq	-84(%rbp), %rcx
	callq	_IAsyncReader_SyncRead
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_SUCCEEDED
	movl	%r14d, %ebx
	testq	%rax, %rax
	je	LBB0_24
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	-96(%rbp), %esi
	movl	-92(%rbp), %edx
	movl	-88(%rbp), %ecx
	movl	-84(%rbp), %r8d
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movq	%r12, %rdi
	callq	_MPEGSplitter_head_check
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$130, %r15d
	jne	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r12, %rdi
	leaq	-116(%rbp), %rsi
	xorl	%edx, %edx
	callq	_parse_header
	movq	_S_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movl	-116(%rbp), %eax
	leal	(%rbx,%rax), %esi
	addl	$-4, %esi
	movl	$4, %edx
	leaq	-112(%rbp), %r14
	movq	%r14, %rcx
	callq	_IAsyncReader_SyncRead
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	leaq	-116(%rbp), %rsi
	xorl	%edx, %edx
	callq	_parse_header
	movq	_S_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	-96(%rbp), %esi
	movl	-92(%rbp), %edx
	movl	-88(%rbp), %ecx
	movl	-84(%rbp), %r8d
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_21
LBB0_13:
                                        ## implicit-def: $r15d
	jmp	LBB0_24
LBB0_22:
	movl	$130, %r15d
LBB0_23:
	movl	%ebx, %r14d
LBB0_24:
	movl	%r13d, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_41
## %bb.25:
	addl	$-4, %r14d
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movl	%r14d, 4(%r12)
	movl	40(%r12), %edi
	leaq	-96(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	cmpl	$128, %r15d
	je	LBB0_37
## %bb.26:
	cmpl	$129, %r15d
	je	LBB0_38
## %bb.27:
	cmpl	$130, %r15d
	jne	LBB0_40
## %bb.28:
	leaq	-96(%rbp), %rsi
	leaq	-116(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	movq	%r12, %rdi
	callq	_MPEGSplitter_init_audio
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_29
## %bb.30:
	movq	-112(%rbp), %r14
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movl	$1, (%rbx)
	movl	$0, 12(%rbx)
	movl	$16384, %ecx                    ## imm = 0x4000
	movl	$16384, %eax                    ## imm = 0x4000
	xorl	%edx, %edx
	idivl	(%r14)
	subl	%edx, %ecx
	movl	%ecx, 4(%rbx)
	movl	$3, 8(%rbx)
	leaq	16(%r12), %rdi
	leaq	-116(%rbp), %rsi
	leaq	-112(%rbp), %rcx
	movq	%rbx, %rdx
	callq	_Parser_AddPin
	movl	%eax, %r13d
	jmp	LBB0_31
LBB0_37:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_39
LBB0_38:
	leaq	L_.str.9(%rip), %rdi
LBB0_39:
	callq	_FIXME
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_40
LBB0_29:
                                        ## implicit-def: $r14
LBB0_31:
	movl	%r13d, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	movq	-112(%rbp), %rdi
	callq	_CoTaskMemFree
	leaq	L_.str.5(%rip), %rdi
	movl	%r13d, %esi
	callq	_ERR
	jmp	LBB0_40
LBB0_33:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r12), %esi
	addl	$-128, %esi
	leaq	-96(%rbp), %rcx
	movl	$3, %edx
	callq	_IAsyncReader_SyncRead
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_40
## %bb.34:
	leaq	L_.str.6(%rip), %rsi
	leaq	-96(%rbp), %rdi
	movl	$3, %edx
	callq	_strncmp
	movl	(%r12), %edi
	testl	%eax, %eax
	jne	LBB0_36
## %bb.35:
	addl	$-128, %edi
	movl	%edi, (%r12)
LBB0_36:
	callq	_MEDIATIME_FROM_BYTES
	movq	32(%r12), %rcx
	movq	%rax, 16(%rcx)
	movl	4(%r12), %edi
	callq	_MEDIATIME_FROM_BYTES
	movq	32(%r12), %rcx
	movq	%rax, (%rcx)
	movq	%rax, 8(%rcx)
	movl	(%r12), %eax
	subl	4(%r12), %eax
	imull	$10000000, %eax, %eax           ## imm = 0x989680
	cltd
	idivl	4(%r14)
	movslq	%eax, %r14
	imulq	$1801439851, %r14, %rsi         ## imm = 0x6B5FCA6B
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$54, %rsi
	addl	%eax, %esi
	leaq	L_.str.7(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_TRACE
	movl	$0, 24(%r12)
	movl	%r14d, 16(%r12)
	movl	%r14d, 20(%r12)
LBB0_40:
	movq	$0, 8(%r12)
LBB0_41:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_43
## %bb.42:
	movl	%r13d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_43:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ID3"

L_.str.1:                               ## @.str.1
	.asciz	"Found ID3 v2.%d.%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Length: %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"Testing header %x:%x:%x:%x\n"

	.comm	_S_OK,8,3                       ## @S_OK
L_.str.4:                               ## @.str.4
	.asciz	"%x:%x:%x:%x is a fake audio header, looking for next...\n"

L_.str.5:                               ## @.str.5
	.asciz	"Could not create pin for MPEG audio stream (%x)\n"

L_.str.6:                               ## @.str.6
	.asciz	"TAG"

L_.str.7:                               ## @.str.7
	.asciz	"Duration: %d seconds\n"

L_.str.8:                               ## @.str.8
	.asciz	"MPEG video processing not yet supported!\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
L_.str.9:                               ## @.str.9
	.asciz	"MPEG system streams not yet supported!\n"

	.no_dead_strip	_MPEGSplitter_pre_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function MPEGSplitter_pre_connect
lCPI0_0:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_MPEGSplitter_pre_connect:              ; @MPEGSplitter_pre_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	str	x2, [sp, #32]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_impl_PullPin_from_IPin
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w0, [x0]
	add	x1, sp, #60
	add	x2, sp, #56
	bl	_IAsyncReader_Length
	ldr	w8, [sp, #60]
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	str	w8, [x19]
	ldr	w0, [x20]
	add	x3, sp, #80
	mov	w1, #0
	mov	w2, #4
	bl	_IAsyncReader_SyncRead
	mov	x22, x0
	bl	_SUCCEEDED
	cmp	x0, #0
	cset	w8, ne
	lsl	w21, w8, #2
	mov	x0, x22
	bl	_SUCCEEDED
	cbz	x0, LBB0_13
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x19, sp, #80
	add	x1, sp, #80
	mov	w2, #3
	bl	_memcmp
	cbnz	w0, LBB0_13
; %bb.2:
	ldr	w0, [x20]
	add	x3, x19, #16
	mov	x1, x21
	mov	w2, #6
	bl	_IAsyncReader_SyncRead
	mov	x22, x0
	bl	_FAILED
	cbnz	x0, LBB0_13
; %bb.3:
	add	w19, w21, #6
	ldp	w1, w8, [sp, #92]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	mov	w21, #0
	ldr	w8, [sp, #92]
	cmp	w8, #4
	b.gt	LBB0_12
; %bb.4:
	ldr	w8, [sp, #96]
	cmp	w8, #255
	b.eq	LBB0_12
; %bb.5:
	ldr	w8, [sp, #100]
	tst	w8, #0xf
	b.ne	LBB0_11
; %bb.6:
	ldr	w9, [sp, #104]
	tbnz	w9, #7, LBB0_11
; %bb.7:
	ldr	w10, [sp, #108]
	tbnz	w10, #7, LBB0_11
; %bb.8:
	ldr	w11, [sp, #112]
	tbnz	w11, #7, LBB0_11
; %bb.9:
	ldr	w12, [sp, #116]
	tbnz	w12, #7, LBB0_11
; %bb.10:
	lsl	w10, w10, #14
	orr	w9, w10, w9, lsl #21
	orr	w9, w9, w11, lsl #7
	orr	w9, w9, w12
	add	w10, w9, #10
	tst	w8, #0x10
	csel	w21, w9, w10, eq
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_TRACE
	b	LBB0_12
LBB0_11:
	mov	w21, #0
LBB0_12:
	add	w21, w19, w21
	ldr	w0, [x20]
	add	x3, sp, #80
	mov	x1, x21
	mov	w2, #4
	bl	_IAsyncReader_SyncRead
	mov	x22, x0
	bl	_SUCCEEDED
	add	w8, w21, #4
	cmp	x0, #0
	csel	w21, w21, w8, eq
LBB0_13:
	mov	x0, x22
	bl	_SUCCEEDED
	cbz	x0, LBB0_22
; %bb.14:
	add	x8, sp, #80
	add	x24, x8, #4
Lloh9:
	adrp	x25, l_.str.3@PAGE
Lloh10:
	add	x25, x25, l_.str.3@PAGEOFF
	add	x26, x8, #12
Lloh11:
	adrp	x19, _S_OK@GOTPAGE
Lloh12:
	ldr	x19, [x19, _S_OK@GOTPAGEOFF]
	mov	x28, x21
Lloh13:
	adrp	x27, l_.str.4@PAGE
Lloh14:
	add	x27, x27, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x0, sp, #80
	mov	x1, x24
	mov	w2, #3
	bl	_memmove
	ldr	w0, [x20]
	add	w21, w28, #1
	mov	x1, x28
	mov	w2, #1
	mov	x3, x26
	bl	_IAsyncReader_SyncRead
	mov	x22, x0
	bl	_SUCCEEDED
	mov	x28, x21
	cbz	x0, LBB0_25
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	w1, w8, [sp, #80]
	ldp	w9, w10, [sp, #88]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x25
	bl	_TRACE
	add	x0, sp, #80
	bl	_MPEGSplitter_head_check
	mov	x23, x0
	cbz	w0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w23, #130
	b.ne	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x0, sp, #80
	add	x1, sp, #52
	mov	x2, #0
	bl	_parse_header
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x20]
	ldr	w8, [sp, #52]
	add	w8, w28, w8
	sub	w1, w8, #4
	add	x3, sp, #64
	mov	w2, #4
	bl	_IAsyncReader_SyncRead
	mov	x22, x0
	bl	_FAILED
	cbnz	x0, LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x0, sp, #64
	add	x1, sp, #52
	mov	x2, #0
	bl	_parse_header
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	ldp	w1, w8, [sp, #80]
	ldp	w9, w10, [sp, #88]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x0, x27
	bl	_TRACE
	b	LBB0_15
LBB0_22:
                                        ; implicit-def: $w23
	b	LBB0_25
LBB0_23:
	mov	w23, #130
LBB0_24:
	mov	x21, x28
LBB0_25:
	mov	x0, x22
	bl	_FAILED
	cbnz	x0, LBB0_42
; %bb.26:
	sub	w8, w21, #4
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	str	w8, [x21, #4]
	ldr	w0, [x21, #40]
	add	x1, sp, #80
	mov	w2, #4
	bl	_memcpy
	cmp	w23, #128
	b.eq	LBB0_31
; %bb.27:
	cmp	w23, #129
	b.eq	LBB0_32
; %bb.28:
	cmp	w23, #130
	b.ne	LBB0_41
; %bb.29:
	add	x1, sp, #80
	add	x2, sp, #52
	add	x3, sp, #64
	mov	x0, x21
	bl	_MPEGSplitter_init_audio
	mov	x22, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_34
; %bb.30:
	ldr	x19, [sp, #64]
	mov	w8, #1
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
	str	w8, [x2]
	ldr	w8, [x19]
	mov	w9, #16384
	sdiv	w9, w9, w8
	mul	w8, w9, w8
	str	w8, [x2, #4]
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x2, #8]
	add	x0, x21, #16
	add	x1, sp, #52
	add	x3, sp, #64
	bl	_Parser_AddPin
	mov	x22, x0
	b	LBB0_35
LBB0_31:
Lloh17:
	adrp	x0, l_.str.8@PAGE
Lloh18:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_33
LBB0_32:
Lloh19:
	adrp	x0, l_.str.9@PAGE
Lloh20:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_33:
	bl	_FIXME
Lloh21:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
	b	LBB0_41
LBB0_34:
                                        ; implicit-def: $x19
LBB0_35:
	mov	x0, x22
	bl	_FAILED
	cbz	x0, LBB0_37
; %bb.36:
	ldr	x0, [sp, #64]
	bl	_CoTaskMemFree
Lloh24:
	adrp	x0, l_.str.5@PAGE
Lloh25:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x22
	bl	_ERR
	b	LBB0_41
LBB0_37:
	ldr	w0, [x20]
	ldr	w8, [x21]
	sub	w1, w8, #128
	add	x3, sp, #80
	mov	w2, #3
	bl	_IAsyncReader_SyncRead
	mov	x22, x0
	bl	_FAILED
	cbnz	x0, LBB0_41
; %bb.38:
Lloh26:
	adrp	x1, l_.str.6@PAGE
Lloh27:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #80
	mov	w2, #3
	bl	_strncmp
	mov	x8, x0
	ldr	w0, [x21]
	cbnz	w8, LBB0_40
; %bb.39:
	sub	w0, w0, #128
	str	w0, [x21]
LBB0_40:
	bl	_MEDIATIME_FROM_BYTES
	ldr	x8, [x21, #32]
	str	x0, [x8, #16]
	ldr	w0, [x21, #4]
	bl	_MEDIATIME_FROM_BYTES
	ldr	x8, [x21, #32]
	stp	x0, x0, [x8]
	ldp	w8, w9, [x21]
	sub	w8, w8, w9
	mov	w9, #38528
	movk	w9, #152, lsl #16
	mul	w8, w8, w9
	ldr	w9, [x19, #4]
	sdiv	w19, w8, w9
	mov	w8, #51819
	movk	w8, #27487, lsl #16
	smull	x8, w19, w8
	lsr	x9, x8, #63
	asr	x8, x8, #54
	add	w1, w8, w9
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_TRACE
	stp	w19, wzr, [x21, #20]
	str	w19, [x21, #16]
LBB0_41:
	str	xzr, [x21, #8]
LBB0_42:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.43:
	mov	x0, x22
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ID3"

l_.str.1:                               ; @.str.1
	.asciz	"Found ID3 v2.%d.%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Length: %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"Testing header %x:%x:%x:%x\n"

	.comm	_S_OK,8,3                       ; @S_OK
l_.str.4:                               ; @.str.4
	.asciz	"%x:%x:%x:%x is a fake audio header, looking for next...\n"

l_.str.5:                               ; @.str.5
	.asciz	"Could not create pin for MPEG audio stream (%x)\n"

l_.str.6:                               ; @.str.6
	.asciz	"TAG"

l_.str.7:                               ; @.str.7
	.asciz	"Duration: %d seconds\n"

l_.str.8:                               ; @.str.8
	.asciz	"MPEG video processing not yet supported!\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
l_.str.9:                               ; @.str.9
	.asciz	"MPEG system streams not yet supported!\n"

	.no_dead_strip	_MPEGSplitter_pre_connect
.subsections_via_symbols
