	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_early_config              ## -- Begin function read_early_config
	.p2align	4, 0x90
_read_early_config:                     ## @read_early_config
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	$0, -36(%rbp)
	movq	$0, -44(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	%eax, -24(%rbp)
	movl	$1, -48(%rbp)
	xorl	%eax, %eax
	callq	_have_git_dir
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_get_git_common_dir
	movl	%eax, -40(%rbp)
	xorl	%eax, %eax
	callq	_get_git_dir
LBB0_4:
	movl	%eax, -44(%rbp)
	jmp	LBB0_5
LBB0_2:
	leaq	-32(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_discover_git_directory
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	leaq	-48(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_config_with_options
	leaq	-32(%rbp), %rdi
	callq	_strbuf_release
	leaq	-24(%rbp), %rdi
	callq	_strbuf_release
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	-32(%rbp), %eax
	movl	%eax, -40(%rbp)
	movl	-24(%rbp), %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_early_config              ; -- Begin function read_early_config
	.p2align	2
_read_early_config:                     ; @read_early_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #28]
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
	stur	xzr, [sp, #20]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	w8, [sp]
	mov	w8, #1
	str	w8, [sp, #16]
	bl	_have_git_dir
	cbz	x0, LBB0_3
; %bb.1:
	bl	_get_git_common_dir
	str	w0, [sp, #24]
	bl	_get_git_dir
LBB0_2:
	str	w0, [sp, #20]
	b	LBB0_4
LBB0_3:
	add	x0, sp, #8
	mov	x1, sp
	bl	_discover_git_directory
	cbz	w0, LBB0_5
LBB0_4:
	add	x3, sp, #16
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_config_with_options
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, sp
	bl	_strbuf_release
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	w8, [sp, #8]
	str	w8, [sp, #24]
	ldr	w0, [sp]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
.subsections_via_symbols
