	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decode_program_map             ## -- Begin function decode_program_map
	.p2align	4, 0x90
_decode_program_map:                    ## @decode_program_map
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	24(%rdi), %edx
	movl	28(%rdi), %esi
	leaq	-44(%rbp), %rbx
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_bits_init
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_bits_get
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_bits_get
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r14)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_bits_get
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$3, %eax
	jl	LBB0_12
## %bb.1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	$-2, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	leaq	-44(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%r12d, %r13d
	movl	%r13d, %r15d
	cmpl	-76(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r12
	leal	2(%r15), %ecx
	addl	%r15d, %eax
	addl	$2, %eax
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$5, %r13d
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$4, %r12d
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_bits_get
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	addl	$6, %r15d
	addl	$-4, %r12d
	movl	%r15d, %r13d
	testl	%r12d, %r12d
	jg	LBB0_9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %r13d
	testl	%r12d, %r12d
	jle	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bits_get
	decl	%ebx
	jne	LBB0_10
	jmp	LBB0_2
LBB0_11:
	movl	%ecx, %r13d
LBB0_12:
	cmpl	-56(%rbp), %r13d                ## 4-byte Folded Reload
	jge	LBB0_15
## %bb.13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	subl	%r13d, %ebx
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bits_get
	decl	%ebx
	jne	LBB0_14
LBB0_15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	$9, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	$-4, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=1
	leal	(,%r13,8), %esi
	leaq	-44(%rbp), %rdi
	callq	_bits_skip
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	addl	$5, %eax
	incl	%r12d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	jae	LBB0_23
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bits_get
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_bits_get
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bits_get
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_bits_get
	movq	%rax, %r13
	movzbl	%r14b, %ecx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	movl	$-1, %r8d
	leaq	-60(%rbp), %r9
	callq	_update_ts_streams
	movl	-60(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r14), %rcx
	movl	%r12d, (%rcx,%rax,4)
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	testl	%r13d, %r13d
	leaq	-92(%rbp), %rbx
	je	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rbx, %rdi
	leaq	-44(%rbp), %rsi
	movl	%r13d, %edx
	callq	_bits_clone
	movl	-60(%rbp), %esi
	testl	%esi, %esi
	js	LBB0_16
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_decode_element_descriptors
	jmp	LBB0_16
LBB0_23:
	movl	$1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_decode_program_map             ; -- Begin function decode_program_map
	.p2align	2
_decode_program_map:                    ; @decode_program_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldp	w2, w1, [x0, #24]
	add	x0, sp, #12
	mov	w3, #0
	bl	_bits_init
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #4
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #12
	bl	_bits_get
	mov	x20, x0
	add	x0, sp, #12
	mov	w1, #16
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #2
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #5
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #1
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #3
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #13
	bl	_bits_get
	str	x0, [x19, #16]
	add	x0, sp, #12
	mov	w1, #4
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #12
	bl	_bits_get
	mov	x21, x0
	mov	w25, #0
	cmp	w21, #3
	b.lt	LBB0_11
; %bb.1:
	mov	w25, #0
	sub	w24, w21, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w26, w22
	cmp	w25, w24
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	mov	x23, x0
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	mov	x22, x0
	add	w26, w25, #2
	add	w8, w26, w22
	cmp	w8, w21
	b.gt	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #5
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	w23, w22, #4
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #12
	mov	w1, #32
	bl	_bits_get
	str	x0, [x19, #8]
	add	w26, w25, #6
	mov	x22, x23
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x22
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	subs	w23, w23, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	mov	x25, x26
LBB0_11:
	cmp	w25, w21
	b.ge	LBB0_14
; %bb.12:
	sub	w22, w21, w25
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	subs	w22, w22, #1
	b.ne	LBB0_13
LBB0_14:
	mov	w23, #0
	add	w24, w21, #9
	sub	w25, w20, #4
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	lsl	w1, w20, #3
	add	x0, sp, #12
	bl	_bits_skip
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	w8, w24, w20
	add	w24, w8, #5
	add	w23, w23, #1
	cmp	w24, w25
	b.hs	LBB0_22
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	mov	w1, #8
	bl	_bits_get
	mov	x21, x0
	add	x0, sp, #12
	mov	w1, #3
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #13
	bl	_bits_get
	mov	x22, x0
	add	x0, sp, #12
	mov	w1, #4
	bl	_bits_get
	add	x0, sp, #12
	mov	w1, #12
	bl	_bits_get
	mov	x20, x0
	and	w3, w21, #0xff
	add	x5, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	mov	w4, #-1
	bl	_update_ts_streams
	ldr	w8, [sp, #8]
	tbnz	w8, #31, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x9, [x19]
	str	w23, [x9, x8, lsl #2]
LBB0_19:                                ;   in Loop: Header=BB0_17 Depth=1
	cbz	w20, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x0, sp, #4
	add	x1, sp, #12
	mov	x2, x20
	bl	_bits_clone
	ldr	w1, [sp, #8]
	tbnz	w1, #31, LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x2, sp, #4
	mov	x0, x19
	bl	_decode_element_descriptors
	b	LBB0_15
LBB0_22:
	mov	w0, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
