	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prune_streams
_prune_streams:                         ## @prune_streams
	.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	(%rdi), %rax
	movq	_transport@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.1:
	cmpl	$0, 24(%r15)
	jle	LBB0_25
## %bb.2:
	xorl	%r14d, %r14d
	movq	_U@GOTPCREL(%rip), %r12
	movq	_A@GOTPCREL(%rip), %r13
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_hb_stream_delete_ts_entry
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	24(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_25
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ts_stream_kind
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	cmpl	$0, 4(%rax,%r14,8)
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ts_stream_kind
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	movl	(%rax,%r14,8), %ebx
	cmpl	$-1, %ebx
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %r12
	movq	16(%r15), %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	16(%r15), %rax
	movl	(%rax,%r13,8), %ebx
	cmpl	$-1, %ebx
	je	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,2), %r13
	movl	16(%rax,%r13,8), %edx
	movl	20(%rax,%r13,8), %esi
	movq	%r15, %rdi
	callq	_audio_inactive
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hb_stream_delete_ps_entry
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	movq	%r12, %r13
	movq	_U@GOTPCREL(%rip), %r12
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 4(%rax,%r14,8)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_hb_stream_try_delete_ts_entry
	jmp	LBB0_15
LBB0_16:
	movq	_program@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.17:
	cmpl	$0, 8(%r15)
	jle	LBB0_25
## %bb.18:
	xorl	%ebx, %ebx
	movq	_U@GOTPCREL(%rip), %r12
	movq	_A@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%r14
	movslq	8(%r15), %rax
	addq	$24, %rbx
	cmpq	%rax, %r14
	jge	LBB0_25
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	8(%rax,%rbx), %rcx
	cmpq	(%r12), %rcx
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_hb_stream_delete_ps_entry
	movq	16(%r15), %rax
	movq	8(%rax,%rbx), %rcx
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpq	(%r13), %rcx
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	16(%rax,%rbx), %edx
	movl	20(%rax,%rbx), %esi
	movq	%r15, %rdi
	callq	_audio_inactive
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_hb_stream_delete_ps_entry
	jmp	LBB0_24
LBB0_25:
	movq	%r15, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hb_stream_seek                 ## TAILCALL
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_transport,8,3                  ## @transport
	.comm	_U,8,3                          ## @U
	.comm	_A,8,3                          ## @A
	.comm	_program,8,3                    ## @program
	.no_dead_strip	_prune_streams
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prune_streams
_prune_streams:                         ; @prune_streams
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _transport@GOTPAGE
Lloh1:
	ldr	x9, [x9, _transport@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.1:
	ldr	w8, [x19, #24]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.2:
	mov	x20, #0
Lloh3:
	adrp	x22, _U@GOTPAGE
Lloh4:
	ldr	x22, [x22, _U@GOTPAGEOFF]
Lloh5:
	adrp	x23, _A@GOTPAGE
Lloh6:
	ldr	x23, [x23, _A@GOTPAGEOFF]
	mov	w24, #24
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hb_stream_delete_ts_entry
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #24]
	cmp	x20, x8
	b.ge	LBB0_25
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	add	x8, x8, x20, lsl #3
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ts_stream_kind
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #32]
	lsl	x8, x20, #3
	ldr	w8, [x9, x8]
	cmn	w8, #1
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #16]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x9, [x19, #16]
	mul	x8, x21, x24
	ldr	w8, [x9, x8]
	cmn	w8, #1
	b.eq	LBB0_13
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x21, w8
	smaddl	x8, w8, w24, x9
	ldp	w2, w1, [x8, #16]
	mov	x0, x19
	bl	_audio_inactive
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_hb_stream_delete_ps_entry
	b	LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #32]
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x9, x20, lsl #3
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hb_stream_try_delete_ts_entry
	b	LBB0_4
LBB0_16:
Lloh7:
	adrp	x9, _program@GOTPAGE
Lloh8:
	ldr	x9, [x9, _program@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.17:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.18:
	mov	x21, #0
	mov	x20, #0
Lloh10:
	adrp	x22, _U@GOTPAGE
Lloh11:
	ldr	x22, [x22, _U@GOTPAGEOFF]
Lloh12:
	adrp	x23, _A@GOTPAGE
Lloh13:
	ldr	x23, [x23, _A@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #8]
	add	x21, x21, #24
	cmp	x20, x8
	b.ge	LBB0_25
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x9, x8, x21
	ldr	x9, [x9, #8]
	ldr	x10, [x22]
	cmp	x9, x10
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hb_stream_delete_ps_entry
	ldr	x8, [x19, #16]
	add	x9, x8, x21
	ldr	x9, [x9, #8]
LBB0_22:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x8, x8, x21
	ldp	w2, w1, [x8, #16]
	mov	x0, x19
	bl	_audio_inactive
	cbz	x0, LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_hb_stream_delete_ps_entry
	b	LBB0_19
LBB0_25:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hb_stream_seek
LBB0_26:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_transport,8,3                  ; @transport
	.comm	_U,8,3                          ; @U
	.comm	_A,8,3                          ; @A
	.comm	_program,8,3                    ; @program
	.no_dead_strip	_prune_streams
.subsections_via_symbols
