	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_index_range
_find_index_range:                      ## @find_index_range
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_AVIO_FLAG_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-72(%rbp), %rsi
	xorl	%r8d, %r8d
	callq	*(%rdi)
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	movq	-72(%rbp), %rdi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_avio_seek
	cmpl	%r15d, %eax
	jne	LBB0_2
## %bb.3:
	movq	-72(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	movl	$8, %edx
	callq	_avio_read
	movl	%eax, %r15d
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_format_io_close
	cmpl	$8, %r15d
	jl	LBB0_6
## %bb.4:
	leaq	-48(%rbp), %rdi
	callq	_AV_RL32
	movq	%rax, %rbx
	movl	$115, %edi
	movl	$105, %esi
	movl	$100, %edx
	movl	$120, %ecx
	callq	_MKTAG
	cmpq	%rax, %rbx
	jne	LBB0_6
## %bb.5:
	leaq	-64(%rbp), %rdi
	callq	_AV_RB32
	movl	%eax, (%r14)
	jmp	LBB0_6
LBB0_2:
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ff_format_io_close
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVIO_FLAG_READ,4,2             ## @AVIO_FLAG_READ
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_find_index_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_index_range
_find_index_range:                      ; @find_index_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x3
	mov	x21, x2
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _AVIO_FLAG_READ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVIO_FLAG_READ@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	mov	x1, sp
	mov	x4, #0
	blr	x8
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	x0, [sp]
Lloh6:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_avio_seek
	cmp	w0, w21
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [sp]
	add	x22, sp, #8
	add	x1, sp, #8
	mov	w2, #8
	bl	_avio_read
	mov	x21, x0
	mov	x1, sp
	mov	x0, x20
	bl	_ff_format_io_close
	cmp	w21, #8
	b.lt	LBB0_6
; %bb.3:
	add	x0, x22, #16
	bl	_AV_RL32
	mov	x20, x0
	mov	w0, #115
	mov	w1, #105
	mov	w2, #100
	mov	w3, #120
	bl	_MKTAG
	cmp	x20, x0
	b.ne	LBB0_6
; %bb.4:
	add	x0, sp, #8
	bl	_AV_RB32
	str	w0, [x19]
	b	LBB0_6
LBB0_5:
	mov	x1, sp
	mov	x0, x20
	bl	_ff_format_io_close
LBB0_6:
	ldr	x8, [sp, #40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AVIO_FLAG_READ,4,2             ; @AVIO_FLAG_READ
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_find_index_range
.subsections_via_symbols
