	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_get                      ## -- Begin function index_get
	.p2align	4, 0x90
_index_get:                             ## @index_get
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_metafile_number@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movl	$-1, %r13d
	movq	_metafiles@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	subl	%r13d, %eax
	cmpl	$1, %eax
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r13), %ebx
	sarl	%ebx
	movq	(%r12), %rax
	movslq	%ebx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	8(%rax,%rcx,8), %rax
	movl	4(%rax), %ecx
	movl	8(%rax), %edx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mystrcmp
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r14d
	jmp	LBB0_5
LBB0_6:
	testl	%r13d, %r13d
	js	LBB0_7
## %bb.9:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	jl	LBB0_11
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_11:
	movq	(%r12), %rax
	movl	%r13d, %ecx
	leaq	(%rcx,%rcx,2), %rbx
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_13
## %bb.12:
	cmpq	$0, 16(%rax,%rbx,8)
	je	LBB0_16
LBB0_13:
	movl	%r13d, %edi
	callq	_load_metafile
	movq	(%r12), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_15
## %bb.14:
	cmpq	$0, 16(%rax,%rbx,8)
	je	LBB0_16
LBB0_15:
	movq	_metafiles_cache_miss@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_37
LBB0_7:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	_index_entry_not_found@GOTPCREL(%rip), %rbx
	cmpl	$4, (%rax)
	jl	LBB0_37
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
LBB0_36:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_37:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_metafiles_cache_ok@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	%r13d, %edi
	callq	_renew_use
	movq	(%r12), %rax
	movq	8(%rax,%rbx,8), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_17
## %bb.18:
	movl	$-1, %r14d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r15, %rcx
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%ecx, %eax
	subl	%r12d, %eax
	movl	%r12d, %r14d
	cmpl	$1, %eax
	jle	LBB0_23
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%rcx), %r12d
	sarl	%r12d
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%rcx, %r15
	callq	_metafile_get_entry
	movl	4(%rax), %ebx
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_metafile_get_entry
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_mystrcmp
	testq	%rax, %rax
	jns	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%r12d, %ecx
	movl	%r14d, %r12d
	jmp	LBB0_22
LBB0_17:
	movl	$-1, %r12d
LBB0_23:
	movq	_verbosity@GOTPCREL(%rip), %r14
	cmpl	$4, (%r14)
	jl	LBB0_25
## %bb.24:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_25:
	testl	%r12d, %r12d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	js	LBB0_26
## %bb.28:
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_metafile_get_entry
	movq	%rax, %rbx
	cmpl	$4, (%r14)
	jl	LBB0_30
## %bb.29:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_debug_dump_key
LBB0_30:
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mystrcmp
	movl	(%r14), %ecx
	testq	%rax, %rax
	je	LBB0_31
## %bb.34:
	movq	_index_entry_not_found@GOTPCREL(%rip), %rbx
	cmpl	$4, %ecx
	jl	LBB0_37
## %bb.35:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_36
LBB0_26:
	movq	_index_entry_not_found@GOTPCREL(%rip), %rbx
	cmpl	$4, (%r14)
	jl	LBB0_37
## %bb.27:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_36
LBB0_31:
	cmpl	$4, %ecx
	jl	LBB0_33
## %bb.32:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_33:
	movl	%r13d, %edi
	movl	%r12d, %esi
	addq	$24, %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	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not found[1]\n"

	.comm	_index_entry_not_found,8,2      ## @index_entry_not_found
L_.str.1:                               ## @.str.1
	.asciz	"(l,r) = (%d,%d)\n"

	.comm	_metafiles_cache_miss,4,2       ## @metafiles_cache_miss
	.comm	_metafiles_cache_ok,4,2         ## @metafiles_cache_ok
L_.str.2:                               ## @.str.2
	.asciz	"not found[2]\n"

L_.str.3:                               ## @.str.3
	.asciz	"metafile_get_entry (%d, %d)->key = "

L_.str.4:                               ## @.str.4
	.asciz	"Found. l=%d\n"

L_.str.5:                               ## @.str.5
	.asciz	"not found[3]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_get                      ; -- Begin function index_get
	.p2align	2
_index_get:                             ; @index_get
	.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
Lloh0:
	adrp	x8, _metafile_number@GOTPAGE
Lloh1:
	ldr	x8, [x8, _metafile_number@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	cmp	w23, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	w19, #-1
Lloh3:
	adrp	x22, _metafiles@GOTPAGE
Lloh4:
	ldr	x22, [x22, _metafiles@GOTPAGEOFF]
	mov	w24, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w19, w23
	asr	w25, w8, #1
	ldr	x8, [x22]
	smaddl	x8, w25, w24, x8
	ldr	x8, [x8, #8]
	ldp	w3, w2, [x8, #4]
	mov	x0, x21
	mov	x1, x20
	bl	_mystrcmp
	cmp	x0, #0
	csel	w23, w25, w23, lt
	csel	w19, w19, w25, lt
	sub	w8, w23, w19
	cmp	w8, #1
	b.gt	LBB0_2
; %bb.3:
	tbnz	w19, #31, LBB0_11
; %bb.4:
Lloh5:
	adrp	x25, _verbosity@GOTPAGE
Lloh6:
	ldr	x25, [x25, _verbosity@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #4
	b.lt	LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x8, x19
	stp	x8, x23, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_6:
	ldr	x8, [x22]
	mov	w9, #24
	umull	x9, w19, w9
	ldr	x9, [x8, x9]
	cbz	x9, LBB0_8
; %bb.7:
	mov	w9, #24
	madd	x8, x19, x9, x8
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_16
LBB0_8:
	mov	x0, x19
	bl	_load_metafile
	ldr	x8, [x22]
	mov	w9, #24
	mul	x9, x19, x9
	ldr	x9, [x8, x9]
	cbz	x9, LBB0_10
; %bb.9:
	mov	w9, #24
	madd	x8, x19, x9, x8
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_16
LBB0_10:
	mov	x0, #0
Lloh12:
	adrp	x8, _metafiles_cache_miss@GOTPAGE
Lloh13:
	ldr	x8, [x8, _metafiles_cache_miss@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_15
LBB0_11:
Lloh14:
	adrp	x8, _verbosity@GOTPAGE
Lloh15:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, #4
	b.lt	LBB0_14
; %bb.12:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
LBB0_13:
	bl	_fprintf
LBB0_14:
Lloh22:
	adrp	x0, _index_entry_not_found@GOTPAGE
Lloh23:
	ldr	x0, [x0, _index_entry_not_found@GOTPAGEOFF]
LBB0_15:
	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
LBB0_16:
Lloh24:
	adrp	x8, _metafiles_cache_ok@GOTPAGE
Lloh25:
	ldr	x8, [x8, _metafiles_cache_ok@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	bl	_renew_use
	ldr	x8, [x22]
	mov	w9, #24
	madd	x8, x19, x9, x8
	ldr	x8, [x8, #8]
	ldr	w26, [x8]
	mov	w22, #-1
	cmp	w26, #1
	b.lt	LBB0_18
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	w8, w22, w26
	asr	w23, w8, #1
	mov	x0, x19
	mov	x1, x23
	bl	_metafile_get_entry
	ldr	w24, [x0, #4]
	mov	x0, x19
	mov	x1, x23
	bl	_metafile_get_entry
	ldr	w3, [x0]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	bl	_mystrcmp
	cmp	x0, #0
	csel	w26, w23, w26, lt
	csel	w22, w22, w23, lt
	sub	w8, w26, w22
	cmp	w8, #1
	b.gt	LBB0_17
LBB0_18:
	ldr	w8, [x25]
	cmp	w8, #4
	b.lt	LBB0_20
; %bb.19:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	stp	x22, x26, [sp]
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_20:
	tbnz	w22, #31, LBB0_26
; %bb.21:
	mov	x0, x19
	mov	x1, x22
	bl	_metafile_get_entry
	mov	x23, x0
	ldr	w8, [x25]
	cmp	w8, #4
	b.lt	LBB0_23
; %bb.22:
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	mov	x8, x22
	mov	x9, x19
	stp	x9, x8, [sp]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldp	w1, w0, [x23]
	bl	_debug_dump_key
LBB0_23:
	ldp	w3, w2, [x23]
	mov	x0, x21
	mov	x1, x20
	bl	_mystrcmp
	ldr	w8, [x25]
	cmp	w8, #4
	cbz	x0, LBB0_28
; %bb.24:
	b.lt	LBB0_14
; %bb.25:
Lloh36:
	adrp	x8, _stderr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_26:
	ldr	w8, [x25]
	cmp	w8, #4
	b.lt	LBB0_14
; %bb.27:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_28:
	b.lt	LBB0_30
; %bb.29:
Lloh46:
	adrp	x8, _stderr@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	mov	x8, x22
	str	x8, [sp]
Lloh49:
	adrp	x1, l_.str.4@PAGE
Lloh50:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_30:
	mov	x0, x19
	mov	x1, x22
	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
	b	_metafile_get_entry
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_metafile_number,4,2            ; @metafile_number
	.comm	_metafiles,8,3                  ; @metafiles
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not found[1]\n"

	.comm	_index_entry_not_found,8,2      ; @index_entry_not_found
l_.str.1:                               ; @.str.1
	.asciz	"(l,r) = (%d,%d)\n"

	.comm	_metafiles_cache_miss,4,2       ; @metafiles_cache_miss
	.comm	_metafiles_cache_ok,4,2         ; @metafiles_cache_ok
l_.str.2:                               ; @.str.2
	.asciz	"not found[2]\n"

l_.str.3:                               ; @.str.3
	.asciz	"metafile_get_entry (%d, %d)->key = "

l_.str.4:                               ; @.str.4
	.asciz	"Found. l=%d\n"

l_.str.5:                               ; @.str.5
	.asciz	"not found[3]\n"

.subsections_via_symbols
