	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_repo_settings          ## -- Begin function prepare_repo_settings
	.p2align	4, 0x90
_prepare_repo_settings:                 ## @prepare_repo_settings
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 32(%rdi)
	jne	LBB0_35
## %bb.1:
	movq	%rdi, %rbx
	movl	$-1, %esi
	movl	$40, %edx
	callq	_memset
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_bool
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_bool
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	-20(%rbp), %eax
	movl	%eax, 4(%rbx)
LBB0_5:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_UPDATE_DEFAULT_BOOL
	movl	4(%rbx), %edi
	movl	$1, %esi
	callq	_UPDATE_DEFAULT_BOOL
	leaq	L_.str.2(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_int
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	-20(%rbp), %eax
	movl	%eax, 8(%rbx)
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_maybe_bool
	testl	%eax, %eax
	je	LBB0_8
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_string
	testl	%eax, %eax
	jne	LBB0_16
## %bb.13:
	movq	-32(%rbp), %r14
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	_UNTRACKED_CACHE_KEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_15:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_16
LBB0_8:
	cmpl	$0, -20(%rbp)
	je	LBB0_9
## %bb.11:
	movq	_UNTRACKED_CACHE_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_UNTRACKED_CACHE_REMOVE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
LBB0_16:
	leaq	L_.str.5(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_string
	testl	%eax, %eax
	jne	LBB0_21
## %bb.17:
	movq	-32(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_18
## %bb.19:
	movq	_FETCH_NEGOTIATION_SKIPPING@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	_FETCH_NEGOTIATION_DEFAULT@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_21:
	leaq	L_.str.7(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_bool
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:
	movl	-20(%rbp), %eax
	movl	%eax, 20(%rbx)
LBB0_23:
	leaq	L_.str.8(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_bool
	testl	%eax, %eax
	jne	LBB0_26
## %bb.24:
	cmpl	$0, -20(%rbp)
	je	LBB0_26
## %bb.25:
	movl	8(%rbx), %edi
	movl	$4, %esi
	callq	_UPDATE_DEFAULT_BOOL
	movl	12(%rbx), %edi
	movq	_UNTRACKED_CACHE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UPDATE_DEFAULT_BOOL
LBB0_26:
	leaq	L_.str.9(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_bool
	testl	%eax, %eax
	jne	LBB0_28
## %bb.27:
	movl	-20(%rbp), %eax
	movl	%eax, 24(%rbx)
LBB0_28:
	leaq	L_.str.10(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_repo_config_get_bool
	testl	%eax, %eax
	jne	LBB0_31
## %bb.29:
	cmpl	$0, -20(%rbp)
	je	LBB0_31
## %bb.30:
	movl	20(%rbx), %edi
	movl	$1, %esi
	callq	_UPDATE_DEFAULT_BOOL
	movl	16(%rbx), %edi
	movq	_FETCH_NEGOTIATION_SKIPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UPDATE_DEFAULT_BOOL
	movl	24(%rbx), %edi
	movl	$1, %esi
	callq	_UPDATE_DEFAULT_BOOL
LBB0_31:
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	callq	_UPDATE_DEFAULT_BOOL
	movq	_ignore_untracked_cache_config@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_33
## %bb.32:
	movq	_UNTRACKED_CACHE_KEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	jmp	LBB0_34
LBB0_33:
	movl	12(%rbx), %edi
	movq	_UNTRACKED_CACHE_KEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UPDATE_DEFAULT_BOOL
LBB0_34:
	movl	16(%rbx), %edi
	movq	_FETCH_NEGOTIATION_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UPDATE_DEFAULT_BOOL
LBB0_35:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"core.commitgraph"

L_.str.1:                               ## @.str.1
	.asciz	"gc.writecommitgraph"

L_.str.2:                               ## @.str.2
	.asciz	"index.version"

L_.str.3:                               ## @.str.3
	.asciz	"core.untrackedcache"

	.comm	_UNTRACKED_CACHE_REMOVE,4,2     ## @UNTRACKED_CACHE_REMOVE
	.comm	_UNTRACKED_CACHE_WRITE,4,2      ## @UNTRACKED_CACHE_WRITE
L_.str.4:                               ## @.str.4
	.asciz	"keep"

	.comm	_UNTRACKED_CACHE_KEEP,4,2       ## @UNTRACKED_CACHE_KEEP
L_.str.5:                               ## @.str.5
	.asciz	"fetch.negotiationalgorithm"

L_.str.6:                               ## @.str.6
	.asciz	"skipping"

	.comm	_FETCH_NEGOTIATION_SKIPPING,4,2 ## @FETCH_NEGOTIATION_SKIPPING
	.comm	_FETCH_NEGOTIATION_DEFAULT,4,2  ## @FETCH_NEGOTIATION_DEFAULT
L_.str.7:                               ## @.str.7
	.asciz	"pack.usesparse"

L_.str.8:                               ## @.str.8
	.asciz	"feature.manyfiles"

L_.str.9:                               ## @.str.9
	.asciz	"fetch.writecommitgraph"

L_.str.10:                              ## @.str.10
	.asciz	"feature.experimental"

	.comm	_ignore_untracked_cache_config,8,3 ## @ignore_untracked_cache_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_repo_settings          ; -- Begin function prepare_repo_settings
	.p2align	2
_prepare_repo_settings:                 ; @prepare_repo_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x8, [x0, #32]
	cbnz	x8, LBB0_32
; %bb.1:
	mov	x19, x0
	mov	w1, #-1
	mov	w2, #40
	bl	_memset
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w8, [sp, #12]
	str	w8, [x19, #4]
LBB0_5:
	ldr	w0, [x19]
	mov	w1, #1
	bl	_UPDATE_DEFAULT_BOOL
	ldr	w0, [x19, #4]
	mov	w1, #1
	bl	_UPDATE_DEFAULT_BOOL
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_int
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
LBB0_7:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_maybe_bool
	cbz	w0, LBB0_12
; %bb.8:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, sp
	mov	x0, x19
	bl	_repo_config_get_string
	cbnz	w0, LBB0_16
; %bb.9:
	ldr	x20, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcasecmp
	cbnz	w0, LBB0_11
; %bb.10:
Lloh12:
	adrp	x8, _UNTRACKED_CACHE_KEEP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UNTRACKED_CACHE_KEEP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_11:
	mov	x0, x20
	bl	_free
	b	LBB0_16
LBB0_12:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _UNTRACKED_CACHE_WRITE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _UNTRACKED_CACHE_WRITE@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh17:
	adrp	x8, _UNTRACKED_CACHE_REMOVE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UNTRACKED_CACHE_REMOVE@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_16:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, sp
	mov	x0, x19
	bl	_repo_config_get_string
Lloh21:
	adrp	x20, _FETCH_NEGOTIATION_DEFAULT@GOTPAGE
Lloh22:
	ldr	x20, [x20, _FETCH_NEGOTIATION_DEFAULT@GOTPAGEOFF]
	cbnz	w0, LBB0_18
; %bb.17:
	ldr	x0, [sp]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcasecmp
Lloh25:
	adrp	x8, _FETCH_NEGOTIATION_SKIPPING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FETCH_NEGOTIATION_SKIPPING@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x20, eq
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_18:
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	cbnz	w0, LBB0_20
; %bb.19:
	ldr	w8, [sp, #12]
	str	w8, [x19, #20]
LBB0_20:
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	cbnz	w0, LBB0_23
; %bb.21:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_23
; %bb.22:
	ldr	w0, [x19, #8]
	mov	w1, #4
	bl	_UPDATE_DEFAULT_BOOL
	ldr	w0, [x19, #12]
Lloh31:
	adrp	x8, _UNTRACKED_CACHE_WRITE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _UNTRACKED_CACHE_WRITE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_UPDATE_DEFAULT_BOOL
LBB0_23:
Lloh34:
	adrp	x1, l_.str.9@PAGE
Lloh35:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	cbnz	w0, LBB0_25
; %bb.24:
	ldr	w8, [sp, #12]
	str	w8, [x19, #24]
LBB0_25:
Lloh36:
	adrp	x1, l_.str.10@PAGE
Lloh37:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	cbnz	w0, LBB0_28
; %bb.26:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_28
; %bb.27:
	ldr	w0, [x19, #20]
	mov	w1, #1
	bl	_UPDATE_DEFAULT_BOOL
	ldr	w0, [x19, #16]
Lloh38:
	adrp	x8, _FETCH_NEGOTIATION_SKIPPING@GOTPAGE
Lloh39:
	ldr	x8, [x8, _FETCH_NEGOTIATION_SKIPPING@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_UPDATE_DEFAULT_BOOL
	ldr	w0, [x19, #24]
	mov	w1, #1
	bl	_UPDATE_DEFAULT_BOOL
LBB0_28:
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_UPDATE_DEFAULT_BOOL
Lloh41:
	adrp	x8, _ignore_untracked_cache_config@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ignore_untracked_cache_config@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cbz	x8, LBB0_30
; %bb.29:
Lloh44:
	adrp	x8, _UNTRACKED_CACHE_KEEP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _UNTRACKED_CACHE_KEEP@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	b	LBB0_31
LBB0_30:
	ldr	w0, [x19, #12]
Lloh47:
	adrp	x8, _UNTRACKED_CACHE_KEEP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _UNTRACKED_CACHE_KEEP@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_UPDATE_DEFAULT_BOOL
LBB0_31:
	ldr	w0, [x19, #16]
	ldr	w1, [x20]
	bl	_UPDATE_DEFAULT_BOOL
LBB0_32:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"core.commitgraph"

l_.str.1:                               ; @.str.1
	.asciz	"gc.writecommitgraph"

l_.str.2:                               ; @.str.2
	.asciz	"index.version"

l_.str.3:                               ; @.str.3
	.asciz	"core.untrackedcache"

	.comm	_UNTRACKED_CACHE_REMOVE,4,2     ; @UNTRACKED_CACHE_REMOVE
	.comm	_UNTRACKED_CACHE_WRITE,4,2      ; @UNTRACKED_CACHE_WRITE
l_.str.4:                               ; @.str.4
	.asciz	"keep"

	.comm	_UNTRACKED_CACHE_KEEP,4,2       ; @UNTRACKED_CACHE_KEEP
l_.str.5:                               ; @.str.5
	.asciz	"fetch.negotiationalgorithm"

l_.str.6:                               ; @.str.6
	.asciz	"skipping"

	.comm	_FETCH_NEGOTIATION_SKIPPING,4,2 ; @FETCH_NEGOTIATION_SKIPPING
	.comm	_FETCH_NEGOTIATION_DEFAULT,4,2  ; @FETCH_NEGOTIATION_DEFAULT
l_.str.7:                               ; @.str.7
	.asciz	"pack.usesparse"

l_.str.8:                               ; @.str.8
	.asciz	"feature.manyfiles"

l_.str.9:                               ; @.str.9
	.asciz	"fetch.writecommitgraph"

l_.str.10:                              ; @.str.10
	.asciz	"feature.experimental"

	.comm	_ignore_untracked_cache_config,8,3 ; @ignore_untracked_cache_config
.subsections_via_symbols
