	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_indices
_parse_indices:                         ## @parse_indices
	.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
	cmpl	$0, (%rsi)
	jle	LBB0_21
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	16(%rsi), %rax
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%r12), %rdi
	shlq	$3, %rdi
	addq	8(%r13), %rdi
	shll	$3, %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	leaq	8(%r12), %rax
	cmpl	(%r13), %r15d
	jge	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	movq	%r12, %rbx
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_get_bits
	movl	(%r12), %r9d
	cmpl	%eax, %r9d
	jl	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	4(%r12), %r8
	movl	%eax, %esi
	leaq	-1(%rsi), %rcx
	movl	%eax, %edx
	andl	$3, %edx
	cmpq	$3, %rcx
	jae	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edx
	testl	%r15d, %r15d
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%rbx), %edx
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movslq	4(%r12), %rcx
	leaq	(%rax,%rcx,8), %rdi
	movslq	4(%rbx), %rcx
	leaq	(%rax,%rcx,8), %rsi
	shll	$3, %edx
	callq	_memcpy
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	%rdx, %rsi
	leaq	(,%r8,8), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rbx
	addq	%rcx, %rbx
	movq	$0, (%rbx,%rdi,8)
	movq	8(%r13), %rbx
	addq	%rcx, %rbx
	movq	$0, 8(%rbx,%rdi,8)
	movq	8(%r13), %rbx
	addq	%rcx, %rbx
	movq	$0, 16(%rbx,%rdi,8)
	movq	8(%r13), %rbx
	addq	%rcx, %rbx
	movq	$0, 24(%rbx,%rdi,8)
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r8, %rdi
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rcx
	movq	$0, (%rcx,%rdi,8)
	incq	%rdi
	decq	%rdx
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r9d, %eax
	jge	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rbx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_get_bits
	movq	8(%r13), %rcx
	movslq	4(%r12), %rdx
	addq	%rbx, %rdx
	movq	%rax, (%rcx,%rdx,8)
	incq	%rbx
	cmpl	(%r12), %ebx
	jl	LBB0_13
	jmp	LBB0_20
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_23:
	movl	4(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid start index\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_indices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_indices
_parse_indices:                         ; @parse_indices
	.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
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w21, #0
	mov	x22, #0
	ldr	x8, [x1, #16]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #8]
	ldrsw	x10, [x22, #4]
	add	x0, x9, x10, lsl #3
	lsl	w2, w8, #3
	mov	w1, #0
	bl	_memset
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	add	x8, x22, #8
	ldr	w9, [x20]
	cmp	w21, w9
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	mov	x23, x22
	mov	x22, x8
	mov	x0, x19
	bl	_get_bits1
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #6
	bl	_get_bits
	ldr	w8, [x22]
	cmp	w8, w0
	b.lt	LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x10, [x22, #4]
	and	x9, x0, #0xffffffff
	lsl	x10, x10, #3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x20, #8]
	str	xzr, [x11, x10]
	add	x10, x10, #8
	subs	x9, x9, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, w8
	b.ge	LBB0_3
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	cbz	w21, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20, #8]
	ldrsw	x10, [x22, #4]
	add	x0, x9, x10, lsl #3
	ldrsw	x10, [x23, #4]
	add	x1, x9, x10, lsl #3
	lsl	w2, w8, #3
	bl	_memcpy
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	cmp	w0, w8
	b.ge	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, w0
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #2
	bl	_get_bits
	ldr	x8, [x20, #8]
	ldp	w10, w9, [x22]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x9, x23, x9
	str	x0, [x8, x9, lsl #3]
	add	x23, x23, #1
	cmp	w23, w10
	b.lt	LBB0_15
	b	LBB0_3
LBB0_16:
	mov	w0, #0
	b	LBB0_18
LBB0_17:
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_18:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid start index\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_indices
.subsections_via_symbols
