	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_config
_read_config:                           ## @read_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	cmpb	$0, _read_config.loaded(%rip)
	jne	LBB0_7
## %bb.1:
	movb	$1, _read_config.loaded(%rip)
	movq	_current_branch@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	movq	_startup_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rdi
	leaq	-12(%rbp), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_resolve_ref_unsafe
	movq	%rax, -24(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_REF_ISSYMREF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, -12(%rbp)
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rax, %rdi
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-24(%rbp), %rdi
	xorl	%esi, %esi
	callq	_make_branch
	movq	%rax, (%rbx)
LBB0_6:
	movq	_handle_config@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_config
	xorl	%eax, %eax
	callq	_alias_all_urls
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_read_config.loaded,1,2 ## @read_config.loaded
	.comm	_current_branch,8,3             ## @current_branch
	.comm	_startup_info,8,3               ## @startup_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HEAD"

	.comm	_REF_ISSYMREF,4,2               ## @REF_ISSYMREF
L_.str.1:                               ## @.str.1
	.asciz	"refs/heads/"

	.comm	_handle_config,4,2              ## @handle_config
	.no_dead_strip	_read_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_config
_read_config:                           ; @read_config
	.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
	adrp	x8, _read_config.loaded@PAGE
	ldrb	w9, [x8, _read_config.loaded@PAGEOFF]
	tbnz	w9, #0, LBB0_7
; %bb.1:
	mov	w9, #1
Lloh0:
	adrp	x19, _current_branch@GOTPAGE
Lloh1:
	ldr	x19, [x19, _current_branch@GOTPAGEOFF]
	strb	w9, [x8, _read_config.loaded@PAGEOFF]
	str	xzr, [x19]
Lloh2:
	adrp	x8, _startup_info@GOTPAGE
Lloh3:
	ldr	x8, [x8, _startup_info@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	add	x3, sp, #12
	mov	w1, #0
	mov	x2, #0
	bl	_resolve_ref_unsafe
	str	x0, [sp]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _REF_ISSYMREF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _REF_ISSYMREF@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, sp
	bl	_skip_prefix
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [sp]
	mov	w1, #0
	bl	_make_branch
	str	x0, [x19]
LBB0_6:
Lloh12:
	adrp	x8, _handle_config@GOTPAGE
Lloh13:
	ldr	x8, [x8, _handle_config@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_git_config
	bl	_alias_all_urls
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_read_config.loaded,1,2 ; @read_config.loaded
	.comm	_current_branch,8,3             ; @current_branch
	.comm	_startup_info,8,3               ; @startup_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HEAD"

	.comm	_REF_ISSYMREF,4,2               ; @REF_ISSYMREF
l_.str.1:                               ; @.str.1
	.asciz	"refs/heads/"

	.comm	_handle_config,4,2              ; @handle_config
	.no_dead_strip	_read_config
.subsections_via_symbols
