	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_indices                  ## -- Begin function build_indices
	.p2align	4, 0x90
_build_indices:                         ## @build_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ILHead@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_NoLock@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rax), %edi
	movl	(%r12), %esi
	callq	_table_open
	movl	%eax, %r14d
	movq	(%r15), %rax
	movl	4(%rax), %edi
	movl	(%r12), %esi
	callq	_index_open
	movl	%eax, %ebx
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_index_build
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_index_close
	movl	(%r12), %esi
	movl	%r14d, %edi
	callq	_table_close
	movq	(%r15), %rax
	movq	16(%rax), %rax
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ILHead,8,3                     ## @ILHead
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_build_indices                  ; -- Begin function build_indices
	.p2align	2
_build_indices:                         ; @build_indices
	.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
Lloh0:
	adrp	x21, _ILHead@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ILHead@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x22, _NoLock@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NoLock@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x8, #8]
	ldr	w1, [x22]
	bl	_table_open
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	ldr	w1, [x22]
	bl	_index_open
	mov	x20, x0
	ldr	x8, [x21]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	mov	w4, #0
	bl	_index_build
	ldr	w1, [x22]
	mov	x0, x20
	bl	_index_close
	ldr	w1, [x22]
	mov	x0, x19
	bl	_table_close
	ldr	x8, [x21]
	ldr	x8, [x8, #16]
	str	x8, [x21]
	cbnz	x8, LBB0_2
LBB0_3:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ILHead,8,3                     ; @ILHead
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
