	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function module_list_compute
_module_list_compute:                   ## @module_list_compute
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %rcx
	movq	%rsi, %r8
	movq	_PATHSPEC_PREFER_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_parse_pathspec
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	$1, %esi
	callq	_xcalloc
	movq	%rax, %r12
LBB0_2:
	xorl	%eax, %eax
	callq	_read_cache
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_4:
	movq	_active_nr@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.5:
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	movl	%ebx, %r14d
	movq	_active_nr@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_14
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	_active_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r13
	movq	(%rax,%r13,8), %r15
	movq	%r12, %rbx
	movl	(%r15), %r12d
	movq	%r15, %rdi
	callq	_ce_namelen
	movl	$1, (%rsp)
	movq	_the_index@GOTPCREL(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movq	%rbx, %r12
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	movq	%rbx, %r9
	callq	_match_pathspec
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	4(%r15), %edi
	callq	_S_ISGITLINK
	testl	%eax, %eax
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	incq	%rsi
	movl	16(%rbx), %edx
	callq	_ALLOC_GROW
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rbx)
	movq	%r15, (%rcx,%rax,8)
	incq	%r13
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %ebx
	movq	_active_nr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	(%r15), %edi
	movq	_active_cache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %rax
	movl	(%rax), %esi
	callq	_strcmp
	leal	1(%rbx), %r14d
	incq	%r13
	testl	%eax, %eax
	je	LBB0_11
	jmp	LBB0_7
LBB0_14:
	testq	%r12, %r12
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_report_path_error
	xorl	%ebx, %ebx
	negq	%rax
	sbbl	%ebx, %ebx
	jmp	LBB0_17
LBB0_16:
	xorl	%ebx, %ebx
LBB0_17:
	movq	%r12, %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATHSPEC_PREFER_FULL,4,2       ## @PATHSPEC_PREFER_FULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index file corrupt"

	.comm	_active_nr,4,2                  ## @active_nr
	.comm	_active_cache,8,3               ## @active_cache
	.comm	_the_index,4,2                  ## @the_index
	.no_dead_strip	_module_list_compute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function module_list_compute
_module_list_compute:                   ; @module_list_compute
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x19, x3
	mov	x3, x2
	mov	x4, x1
Lloh0:
	adrp	x8, _PATHSPEC_PREFER_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATHSPEC_PREFER_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_parse_pathspec
	ldr	x0, [x19]
	cbz	x0, LBB0_14
; %bb.1:
	mov	w1, #1
	bl	_xcalloc
	mov	x21, x0
	bl	_read_cache
	tbz	x0, #63, LBB0_3
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_3:
Lloh5:
	adrp	x25, _active_nr@GOTPAGE
Lloh6:
	ldr	x25, [x25, _active_nr@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.4:
	mov	w27, #0
Lloh7:
	adrp	x26, _active_cache@GOTPAGE
Lloh8:
	ldr	x26, [x26, _active_cache@GOTPAGEOFF]
Lloh9:
	adrp	x22, _the_index@GOTPAGE
Lloh10:
	ldr	x22, [x22, _the_index@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x27
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w24, #1
	ldr	w8, [x25]
	cmp	w27, w8
	b.ge	LBB0_12
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x26]
	ldr	x23, [x8, w27, sxtw #3]
	ldr	w24, [x23]
	mov	x0, x23
	bl	_ce_namelen
	mov	x3, x0
	mov	x0, x22
	mov	x1, x19
	mov	x2, x24
	mov	w4, #0
	mov	x5, x21
	mov	w6, #1
	bl	_match_pathspec
	cbz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23, #4]
	bl	_S_ISGITLINK
	cbz	w0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x24, w27
	ldp	x8, x0, [x20]
	add	x1, x8, #1
	ldr	w2, [x20, #16]
	bl	_ALLOC_GROW
	ldp	x9, x8, [x20]
	add	x10, x9, #1
	str	x10, [x20]
	str	x23, [x8, x9, lsl #3]
	add	x28, x24, #1
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x27
	ldrsw	x8, [x25]
	cmp	x28, x8
	b.ge	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w0, [x23]
	ldr	x8, [x26]
	ldr	x8, [x8, x28, lsl #3]
	ldr	w1, [x8]
	bl	_strcmp
	add	w27, w24, #1
	add	x28, x28, #1
	cbz	w0, LBB0_10
	b	LBB0_6
LBB0_12:
	cbz	x21, LBB0_15
; %bb.13:
	mov	x0, x21
	mov	x1, x19
	bl	_report_path_error
	cmp	x0, #0
	csetm	w19, ne
	b	LBB0_16
LBB0_14:
	mov	x21, #0
	bl	_read_cache
	tbz	x0, #63, LBB0_3
	b	LBB0_2
LBB0_15:
	mov	w19, #0
LBB0_16:
	mov	x0, x21
	bl	_free
	mov	x0, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PATHSPEC_PREFER_FULL,4,2       ; @PATHSPEC_PREFER_FULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index file corrupt"

	.comm	_active_nr,4,2                  ; @active_nr
	.comm	_active_cache,8,3               ; @active_cache
	.comm	_the_index,4,2                  ; @the_index
	.no_dead_strip	_module_list_compute
.subsections_via_symbols
