	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_from_gitmodules
_config_from_gitmodules:                ## @config_from_gitmodules
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rsi)
	je	LBB0_10
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r15d
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	_GITMODULES_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_repo_worktree_path
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_file_exists
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, -80(%rbp)
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_3:
	movq	_GITMODULES_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_get_oid
	testq	%rax, %rax
	jns	LBB0_6
## %bb.4:
	movq	_GITMODULES_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_get_oid
	testq	%rax, %rax
	js	LBB0_5
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	movl	%eax, %edi
	callq	_xstrdup
	movq	%rax, %r13
	movq	%rax, -72(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_add_to_alternates_memory
LBB0_8:
	leaq	-80(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_config_with_options
LBB0_9:
	movq	%r13, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%r13d, %r13d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GITMODULES_FILE,4,2            ## @GITMODULES_FILE
	.comm	_GITMODULES_INDEX,4,2           ## @GITMODULES_INDEX
	.comm	_GITMODULES_HEAD,4,2            ## @GITMODULES_HEAD
	.comm	_the_repository,8,3             ## @the_repository
	.no_dead_strip	_config_from_gitmodules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_from_gitmodules
_config_from_gitmodules:                ; @config_from_gitmodules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #40]
	str	wzr, [sp, #16]
Lloh0:
	adrp	x8, _GITMODULES_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GITMODULES_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_repo_worktree_path
	mov	x21, x0
	bl	_file_exists
	cbz	x0, LBB0_3
; %bb.2:
	mov	x23, #0
	str	x21, [sp, #24]
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _GITMODULES_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GITMODULES_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x22
	bl	_repo_get_oid
	tbz	x0, #63, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _GITMODULES_HEAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GITMODULES_HEAD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x22
	bl	_repo_get_oid
	tbnz	x0, #63, LBB0_10
LBB0_5:
	add	x0, sp, #8
	bl	_oid_to_hex
	bl	_xstrdup
	mov	x23, x0
	str	x0, [sp, #32]
Lloh9:
	adrp	x8, _the_repository@GOTPAGE
Lloh10:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x22
	b.eq	LBB0_7
; %bb.6:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_add_to_alternates_memory
LBB0_7:
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	bl	_config_with_options
LBB0_8:
	mov	x0, x23
	bl	_free
	mov	x0, x21
	bl	_free
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_10:
	mov	x23, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_GITMODULES_FILE,4,2            ; @GITMODULES_FILE
	.comm	_GITMODULES_INDEX,4,2           ; @GITMODULES_INDEX
	.comm	_GITMODULES_HEAD,4,2            ; @GITMODULES_HEAD
	.comm	_the_repository,8,3             ; @the_repository
	.no_dead_strip	_config_from_gitmodules
.subsections_via_symbols
