	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_gitmodules_file
_load_gitmodules_file:                  ## @load_gitmodules_file
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_GITMODULES_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_index_name_pos
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	(%r15), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rbx
	movl	(%rbx), %eax
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	movq	_CE_UPDATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.5:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_submodule_free
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_checkout_entry
	jmp	LBB0_6
LBB0_2:
	movq	_CE_WT_REMOVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
LBB0_6:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_repo_read_gitmodules           ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GITMODULES_FILE,4,2            ## @GITMODULES_FILE
	.comm	_CE_WT_REMOVE,4,2               ## @CE_WT_REMOVE
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_CE_UPDATE,4,2                  ## @CE_UPDATE
	.no_dead_strip	_load_gitmodules_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_gitmodules_file
_load_gitmodules_file:                  ; @load_gitmodules_file
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GITMODULES_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GITMODULES_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_index_name_pos
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	ldr	x20, [x8, w0, uxtw #3]
	ldr	w8, [x20]
Lloh3:
	adrp	x21, _the_repository@GOTPAGE
Lloh4:
	ldr	x21, [x21, _the_repository@GOTPAGEOFF]
	cbz	x19, LBB0_4
; %bb.2:
Lloh5:
	adrp	x9, _CE_UPDATE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CE_UPDATE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:
	ldr	w0, [x21]
	bl	_submodule_free
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_checkout_entry
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x9, _CE_WT_REMOVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CE_WT_REMOVE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_5:
	ldr	w0, [x21]
	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
	b	_repo_read_gitmodules
LBB0_6:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GITMODULES_FILE,4,2            ; @GITMODULES_FILE
	.comm	_CE_WT_REMOVE,4,2               ; @CE_WT_REMOVE
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_CE_UPDATE,4,2                  ; @CE_UPDATE
	.no_dead_strip	_load_gitmodules_file
.subsections_via_symbols
