	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_index
_create_index:                          ## @create_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_object_count@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_ALLOC_ARRAY
	movq	_blocks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	_pack_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
                                        ## implicit-def: $rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	8(%rax), %rdi
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdi
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$-8, %rdi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	leaq	-16(%rdi), %rbx
	addq	$-8, %rdi
	cmpq	%rsi, %rdi
	movq	%rbx, %rdi
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	-8(%rdi), %rcx
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rdi, (%rdx)
	addq	$8, %rdx
	jmp	LBB0_6
LBB0_8:
	movl	(%r14), %edx
	movq	_pack_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r8d
	movq	_pack_idx_opts@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	callq	_write_idx_file
	movq	%rax, %rbx
	callq	_free
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_object_count,4,2               ## @object_count
	.comm	_blocks,8,3                     ## @blocks
	.comm	_pack_id,8,3                    ## @pack_id
	.comm	_pack_idx_opts,4,2              ## @pack_idx_opts
	.comm	_pack_data,8,3                  ## @pack_data
	.no_dead_strip	_create_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_index
_create_index:                          ; @create_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _object_count@GOTPAGE
Lloh1:
	ldr	x19, [x19, _object_count@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_ALLOC_ARRAY
Lloh2:
	adrp	x8, _blocks@GOTPAGE
Lloh3:
	ldr	x8, [x8, _blocks@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.1:
Lloh5:
	adrp	x9, _pack_id@GOTPAGE
Lloh6:
	ldr	x9, [x9, _pack_id@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
                                        ; implicit-def: $x10
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x12, [x8, #8]
	ldrsw	x11, [x8]
	cmp	x12, x11
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x12, x12, #8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	sub	x13, x12, #8
	sub	x12, x12, #16
	cmp	x13, x11
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldur	x13, [x12, #-8]
	cmp	x9, x13
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	str	x12, [x10], #8
	b	LBB0_5
LBB0_8:
	ldr	w2, [x19]
Lloh8:
	adrp	x8, _pack_data@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pack_data@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w4, [x8]
Lloh11:
	adrp	x3, _pack_idx_opts@GOTPAGE
Lloh12:
	ldr	x3, [x3, _pack_idx_opts@GOTPAGEOFF]
	mov	x0, #0
	bl	_write_idx_file
	mov	x19, x0
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_object_count,4,2               ; @object_count
	.comm	_blocks,8,3                     ; @blocks
	.comm	_pack_id,8,3                    ; @pack_id
	.comm	_pack_idx_opts,4,2              ; @pack_idx_opts
	.comm	_pack_data,8,3                  ; @pack_data
	.no_dead_strip	_create_index
.subsections_via_symbols
