	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hb_ts_stream_init
_hb_ts_stream_init:                     ## @hb_ts_stream_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.2:
	cmpl	$1, %ecx
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_4:
	movl	%ecx, %esi
	andl	$-2, %esi
	leaq	40(%rax), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	$-1, -40(%rdi)
	movl	$-1, -32(%rdi)
	movq	$-1, -8(%rdi)
	movl	$-1, (%rdi)
	addq	$2, %rdx
	addq	$64, %rdi
	cmpq	%rdx, %rsi
	jne	LBB0_5
LBB0_6:
	testb	$1, %cl
	je	LBB0_8
## %bb.7:
	shlq	$5, %rdx
	movq	$-1, (%rax,%rdx)
	movl	$-1, 8(%rax,%rdx)
LBB0_8:
	movl	$0, 4(%r15)
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:
	movl	24(%r15), %edx
	testl	%edx, %edx
	jle	LBB0_11
## %bb.10:
	shlq	$3, %rdx
	movl	$255, %esi
	callq	_memset
LBB0_11:
	movq	$0, 40(%r15)
	movl	56(%r15), %edi
	callq	_malloc
	movl	%eax, 16(%r15)
	movq	%r15, %rdi
	callq	_hb_ts_stream_find_pids
	testq	%rax, %rax
	js	LBB0_12
## %bb.13:
	cmpl	$0, 4(%r15)
	jle	LBB0_16
## %bb.14:
	movl	$24, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	56(%r15), %edi
	callq	_hb_buffer_init
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%r14)
	movq	$0, (%rax)
	incq	%rbx
	movslq	4(%r15), %rax
	addq	$32, %r14
	cmpq	%rax, %rbx
	jl	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	callq	_hb_ts_resolve_pid_types
	cmpq	$0, 48(%r15)
	je	LBB0_17
## %bb.22:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	cmpl	$0, 4(%r15)
	jle	LBB0_27
## %bb.23:
	movq	_V@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	movslq	4(%r15), %rax
	addq	$32, %r14
	cmpq	%rax, %rbx
	jge	LBB0_27
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	cmpq	(%r12), %rax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r14), %r12d
	movslq	8(%rax,%r14), %rsi
	shlq	$3, %rsi
	addq	32(%r15), %rsi
	movq	%r15, %rdi
	callq	_stream_type_name2
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_type
	movq	8(%r15), %rcx
	cmpq	$0, 16(%rcx,%r14)
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rcx, %r8
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	movq	_V@GOTPCREL(%rip), %r12
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_hb_log
	jmp	LBB0_26
LBB0_27:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	cmpl	$0, 4(%r15)
	jle	LBB0_32
## %bb.28:
	movq	_A@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	movslq	4(%r15), %rax
	addq	$32, %r14
	cmpq	%rax, %rbx
	jge	LBB0_32
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	cmpq	(%r12), %rax
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r14), %r12d
	movslq	8(%rax,%r14), %rsi
	shlq	$3, %rsi
	addq	32(%r15), %rsi
	movq	%r15, %rdi
	callq	_stream_type_name2
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_type
	movq	8(%r15), %rcx
	cmpq	$0, 16(%rcx,%r14)
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rcx, %r8
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	movq	_A@GOTPCREL(%rip), %r12
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_hb_log
	jmp	LBB0_31
LBB0_32:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	cmpl	$0, 4(%r15)
	jle	LBB0_37
## %bb.33:
	movq	_S@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	incq	%rbx
	movslq	4(%r15), %rax
	addq	$32, %r12
	cmpq	%rax, %rbx
	jge	LBB0_37
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	cmpq	(%r13), %rax
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r12), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	8(%rax,%r12), %rsi
	shlq	$3, %rsi
	addq	32(%r15), %rsi
	movq	%r15, %rdi
	callq	_stream_type_name2
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_type
	movq	8(%r15), %rcx
	cmpq	$0, 16(%rcx,%r12)
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rcx, %r8
	leaq	L_.str.2(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_hb_log
	jmp	LBB0_36
LBB0_37:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_hb_log
	cmpl	$0, 4(%r15)
	movl	$0, %eax
	jle	LBB0_46
## %bb.38:
	movq	_N@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_39 Depth=1
	incq	%rbx
	movslq	4(%r15), %rax
	addq	$32, %r14
	cmpq	%rax, %rbx
	jge	LBB0_45
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	cmpq	(%r12), %rax
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	movq	_P@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_39 Depth=1
	movq	8(%r15), %rax
	movl	4(%rax,%r14), %r12d
	movslq	8(%rax,%r14), %rsi
	shlq	$3, %rsi
	addq	32(%r15), %rsi
	movq	%r15, %rdi
	callq	_stream_type_name2
	movl	%eax, %r13d
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_type
	movq	8(%r15), %rcx
	cmpq	$0, 16(%rcx,%r14)
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rcx, %r8
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	movq	_N@GOTPCREL(%rip), %r12
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_hb_log
LBB0_42:                                ##   in Loop: Header=BB0_39 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	cmpq	(%r12), %rax
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_39 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hb_stream_delete_ts_entry
	jmp	LBB0_44
LBB0_12:
	movl	$-1, %eax
	jmp	LBB0_46
LBB0_17:
	cmpl	$0, 4(%r15)
	jle	LBB0_45
## %bb.18:
	xorl	%ebx, %ebx
	movq	_N@GOTPCREL(%rip), %r14
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	incl	%ebx
	cmpl	4(%r15), %ebx
	jge	LBB0_45
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ts_stream_kind
	cmpq	(%r14), %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hb_stream_delete_ts_entry
	jmp	LBB0_21
LBB0_45:
	xorl	%eax, %eax
LBB0_46:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found the following PIDS"

L_.str.1:                               ## @.str.1
	.asciz	"    Video PIDS : "

	.comm	_V,8,3                          ## @V
L_.str.2:                               ## @.str.2
	.asciz	"      0x%x type %s (0x%x)%s"

L_.str.3:                               ## @.str.3
	.asciz	" (PCR)"

L_.str.4:                               ## @.str.4
	.space	1

L_.str.5:                               ## @.str.5
	.asciz	"    Audio PIDS : "

	.comm	_A,8,3                          ## @A
L_.str.6:                               ## @.str.6
	.asciz	"    Subtitle PIDS : "

	.comm	_S,8,3                          ## @S
L_.str.7:                               ## @.str.7
	.asciz	"    Other PIDS : "

	.comm	_N,8,3                          ## @N
	.comm	_P,8,3                          ## @P
	.no_dead_strip	_hb_ts_stream_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_ts_stream_init
_hb_ts_stream_init:                     ; @hb_ts_stream_init
	.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	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	cmp	w9, #4
	b.hs	LBB0_4
; %bb.3:
	mov	x10, #0
	b	LBB0_7
LBB0_4:
	and	x10, x9, #0xfffffffc
	add	x11, x8, #64
	movi.2d	v0, #0xffffffffffffffff
	mov	w12, #-1
	mov	x13, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stur	d0, [x11, #-64]
	stur	d0, [x11, #-32]
	str	d0, [x11]
	str	d0, [x11, #32]
	stur	w12, [x11, #-56]
	stur	w12, [x11, #-24]
	str	w12, [x11, #8]
	str	w12, [x11, #40]
	add	x11, x11, #128
	subs	x13, x13, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x9
	b.eq	LBB0_9
LBB0_7:
	add	x8, x8, x10, lsl #5
	add	x8, x8, #8
	sub	x9, x9, x10
	movi.2d	v0, #0xffffffffffffffff
	mov	w10, #-1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	stur	d0, [x8, #-8]
	str	w10, [x8], #32
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	str	wzr, [x19, #4]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_12
; %bb.10:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.11:
	lsl	x2, x8, #3
	mov	w1, #255
	bl	_memset
LBB0_12:
	str	xzr, [x19, #40]
	ldr	w0, [x19, #56]
	bl	_malloc
	str	w0, [x19, #16]
	mov	x0, x19
	bl	_hb_ts_stream_find_pids
	tbnz	x0, #63, LBB0_40
; %bb.13:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x20, #0
	mov	w21, #24
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #56]
	bl	_hb_buffer_init
	ldr	x8, [x19, #8]
	str	x0, [x8, x21]
	str	xzr, [x0]
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x21, x21, #32
	cmp	x20, x8
	b.lt	LBB0_15
LBB0_16:
	mov	x0, x19
	bl	_hb_ts_resolve_pid_types
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_41
; %bb.17:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_hb_log
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_hb_log
	ldr	w8, [x19, #4]
Lloh4:
	adrp	x23, l_.str.3@PAGE
Lloh5:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh6:
	adrp	x24, l_.str.4@PAGE
Lloh7:
	add	x24, x24, l_.str.4@PAGEOFF
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.18:
	mov	x25, #0
	mov	x20, #0
Lloh8:
	adrp	x26, _V@GOTPAGE
Lloh9:
	ldr	x26, [x26, _V@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x25, x25, #32
	cmp	x20, x8
	b.ge	LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x9, [x19, #32]
	ldp	w27, w10, [x8, #4]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	x1, x9, x10, lsl #3
	mov	x0, x19
	bl	_stream_type_name2
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_type
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x8, [x8, #16]
	cmp	x8, #0
	csel	x8, x24, x23, eq
	stp	x0, x8, [sp, #16]
	stp	x27, x22, [sp]
	mov	x0, x21
	bl	_hb_log
	b	LBB0_19
LBB0_22:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_hb_log
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.23:
	mov	x25, #0
	mov	x20, #0
Lloh14:
	adrp	x26, _A@GOTPAGE
Lloh15:
	ldr	x26, [x26, _A@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str.2@PAGE
Lloh17:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x25, x25, #32
	cmp	x20, x8
	b.ge	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x9, [x19, #32]
	ldp	w27, w10, [x8, #4]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	x1, x9, x10, lsl #3
	mov	x0, x19
	bl	_stream_type_name2
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_type
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x8, [x8, #16]
	cmp	x8, #0
	csel	x8, x24, x23, eq
	stp	x0, x8, [sp, #16]
	stp	x27, x22, [sp]
	mov	x0, x21
	bl	_hb_log
	b	LBB0_24
LBB0_27:
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_hb_log
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.28:
	mov	x25, #0
	mov	x20, #0
Lloh20:
	adrp	x26, _S@GOTPAGE
Lloh21:
	ldr	x26, [x26, _S@GOTPAGEOFF]
Lloh22:
	adrp	x21, l_.str.2@PAGE
Lloh23:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x25, x25, #32
	cmp	x20, x8
	b.ge	LBB0_32
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x9, [x19, #32]
	ldp	w27, w10, [x8, #4]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	x1, x9, x10, lsl #3
	mov	x0, x19
	bl	_stream_type_name2
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_type
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x8, [x8, #16]
	cmp	x8, #0
	csel	x8, x24, x23, eq
	stp	x0, x8, [sp, #16]
	stp	x27, x22, [sp]
	mov	x0, x21
	bl	_hb_log
	b	LBB0_29
LBB0_32:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_hb_log
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.33:
	mov	x25, #0
	mov	x20, #0
Lloh26:
	adrp	x26, _N@GOTPAGE
Lloh27:
	ldr	x26, [x26, _N@GOTPAGEOFF]
Lloh28:
	adrp	x27, _P@GOTPAGE
Lloh29:
	ldr	x27, [x27, _P@GOTPAGEOFF]
Lloh30:
	adrp	x21, l_.str.2@PAGE
Lloh31:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	add	x25, x25, #32
	cmp	x20, x8
	b.ge	LBB0_46
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x9, [x19, #32]
	ldp	w28, w10, [x8, #4]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	x1, x9, x10, lsl #3
	mov	x0, x19
	bl	_stream_type_name2
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_type
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldr	x8, [x8, #16]
	cmp	x8, #0
	csel	x8, x24, x23, eq
	stp	x0, x8, [sp, #16]
	stp	x28, x22, [sp]
	mov	x0, x21
	bl	_hb_log
LBB0_38:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_34
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hb_stream_delete_ts_entry
	b	LBB0_34
LBB0_40:
	mov	w0, #-1
	b	LBB0_47
LBB0_41:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.42:
	mov	w20, #0
Lloh32:
	adrp	x21, _N@GOTPAGE
Lloh33:
	ldr	x21, [x21, _N@GOTPAGEOFF]
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	cmp	w20, w8
	b.ge	LBB0_46
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hb_stream_delete_ts_entry
	b	LBB0_43
LBB0_46:
	mov	w0, #0
LBB0_47:
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found the following PIDS"

l_.str.1:                               ; @.str.1
	.asciz	"    Video PIDS : "

	.comm	_V,8,3                          ; @V
l_.str.2:                               ; @.str.2
	.asciz	"      0x%x type %s (0x%x)%s"

l_.str.3:                               ; @.str.3
	.asciz	" (PCR)"

l_.str.4:                               ; @.str.4
	.space	1

l_.str.5:                               ; @.str.5
	.asciz	"    Audio PIDS : "

	.comm	_A,8,3                          ; @A
l_.str.6:                               ; @.str.6
	.asciz	"    Subtitle PIDS : "

	.comm	_S,8,3                          ; @S
l_.str.7:                               ; @.str.7
	.asciz	"    Other PIDS : "

	.comm	_N,8,3                          ; @N
	.comm	_P,8,3                          ; @P
	.no_dead_strip	_hb_ts_stream_init
.subsections_via_symbols
