	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_get_num                  ## -- Begin function index_get_num
	.p2align	4, 0x90
_index_get_num:                         ## @index_get_num
	.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
	movl	%edi, %r14d
	movq	_metafile_number@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.4:
	movq	_metafiles@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	$8, %rcx
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	movl	(%rdx), %edx
	addl	%r15d, %edx
	cmpl	%r14d, %edx
	jg	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	addq	$16, %rcx
	movl	%edx, %r15d
	cmpq	%rbx, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
LBB0_2:
	cmpl	%eax, %ebx
	jne	LBB0_3
LBB0_7:
	movq	_index_entry_not_found@GOTPCREL(%rip), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	%ebx, %edi
	callq	_metafile_load
	movq	_metafiles@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	%ebx, %r13d
	shlq	$4, %r13
	movl	(%r12,%r13), %edi
	callq	_assert
	subl	%r15d, %r14d
	movl	%r14d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	8(%r12,%r13), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	setl	%dil
	callq	_assert
	movl	%ebx, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_metafile_get_entry             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_metafile_number,4,2            ## @metafile_number
	.comm	_metafiles,8,3                  ## @metafiles
	.comm	_index_entry_not_found,4,2      ## @index_entry_not_found
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_get_num                  ; -- Begin function index_get_num
	.p2align	2
_index_get_num:                         ; @index_get_num
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
Lloh0:
	adrp	x8, _metafile_number@GOTPAGE
Lloh1:
	ldr	x8, [x8, _metafile_number@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, #0
	mov	w21, #0
Lloh3:
	adrp	x9, _metafiles@GOTPAGE
Lloh4:
	ldr	x9, [x9, _metafiles@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	w10, [x10]
	add	w10, w10, w21
	cmp	w10, w20
	b.gt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #1
	add	x9, x9, #16
	mov	x21, x10
	cmp	x8, x19
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w19, #0
	mov	w21, #0
LBB0_5:
	cmp	w19, w8
	b.ne	LBB0_7
LBB0_6:
Lloh6:
	adrp	x0, _index_entry_not_found@GOTPAGE
Lloh7:
	ldr	x0, [x0, _index_entry_not_found@GOTPAGEOFF]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_metafile_load
Lloh8:
	adrp	x8, _metafiles@GOTPAGE
Lloh9:
	ldr	x8, [x8, _metafiles@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x22, x8, w19, uxtw #4
	ldr	w0, [x22]
	bl	_assert
	sub	w20, w20, w21
	mvn	w8, w20
	lsr	w0, w8, #31
	bl	_assert
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cmp	w20, w8
	cset	w0, lt
	bl	_assert
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_metafile_get_entry
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_metafile_number,4,2            ; @metafile_number
	.comm	_metafiles,8,3                  ; @metafiles
	.comm	_index_entry_not_found,4,2      ; @index_entry_not_found
.subsections_via_symbols
