	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function index_core
_index_core:                            ## @index_core
	.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
	movq	%rsi, %r12
	movq	%rdi, %r13
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.1:
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %r15d
	movq	_SMALL_FILE_SIZE@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jae	LBB0_2
## %bb.7:
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	%r14d, %r8d
	xorl	%r9d, %r9d
	callq	_xmmap
	movq	%rax, %r14
	movl	%r15d, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_index_mem
	movl	%eax, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_munmap
	movl	%r15d, %eax
	jmp	LBB0_6
LBB0_8:
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_index_mem                      ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_xmalloc
	movl	%r14d, %edi
	movq	%rax, %r14
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_read_in_full
	cmpq	%rbx, %rax
	jne	LBB0_3
## %bb.4:
	movl	%r15d, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_index_mem
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%rcx, %rsi
	movl	%eax, %edi
	callq	_error
LBB0_5:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_free
	movl	%ebx, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_SMALL_FILE_SIZE,8,3            ## @SMALL_FILE_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"<unknown>"

L_.str.3:                               ## @.str.3
	.asciz	"short read while indexing %s"

	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.no_dead_strip	_index_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function index_core
_index_core:                            ; @index_core
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x6
	mov	x19, x5
	mov	x21, x4
	mov	x23, x1
	mov	x24, x0
	cbz	x3, LBB0_3
; %bb.1:
	mov	x22, x3
	mov	x26, x2
Lloh0:
	adrp	x8, _SMALL_FILE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMALL_FILE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x3
	b.hs	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, x22
	mov	x4, x26
	mov	w5, #0
	bl	_xmmap
	mov	x25, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	mov	x6, x20
	bl	_index_mem
	mov	x19, x0
	mov	x0, x25
	mov	x1, x22
	bl	_munmap
	b	LBB0_8
LBB0_3:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x24
	mov	x1, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_index_mem
LBB0_4:
	mov	x0, x22
	bl	_xmalloc
	mov	x25, x0
	mov	x0, x26
	mov	x1, x25
	mov	x2, x22
	bl	_read_in_full
	cmp	x0, x22
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	mov	x6, x20
	bl	_index_mem
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
Lloh13:
	adrp	x8, l_.str.2@PAGE
Lloh14:
	add	x8, x8, l_.str.2@PAGEOFF
	cmp	x19, #0
	csel	x1, x8, x19, eq
	bl	_error
LBB0_7:
	mov	x19, x0
	mov	x0, x25
	bl	_free
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_SMALL_FILE_SIZE,8,3            ; @SMALL_FILE_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"<unknown>"

l_.str.3:                               ; @.str.3
	.asciz	"short read while indexing %s"

	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.no_dead_strip	_index_core
.subsections_via_symbols
