	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_git_config_sequence
_do_git_config_sequence:                ## @do_git_config_sequence
	.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
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_xdg_config_home
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	callq	_expand_user_path
	movq	%rax, %r14
	movq	32(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	callq	_mkpathdup
LBB0_5:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_2:
	cmpq	$0, 24(%r15)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	callq	_BUG
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
LBB0_6:
	movq	_CONFIG_SCOPE_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_current_parsing_scope@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_git_config_system
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_git_etc_gitconfig
	movq	_R_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpq	$0, 16(%r15)
	movl	$0, %edx
	je	LBB0_9
## %bb.8:
	movq	_ACCESS_EACCES_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_9:
	movq	%rax, %rdi
	callq	_access_or_die
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_git_etc_gitconfig
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_git_config_from_file
	movq	%rax, %rbx
LBB0_11:
	movq	_CONFIG_SCOPE_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	testq	%r12, %r12
	je	LBB0_14
## %bb.12:
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACCESS_EACCES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_access_or_die
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_git_config_from_file
	addl	%eax, %ebx
LBB0_14:
	testq	%r14, %r14
	je	LBB0_17
## %bb.15:
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACCESS_EACCES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_access_or_die
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_git_config_from_file
	addl	%eax, %ebx
LBB0_17:
	movq	_CONFIG_SCOPE_REPO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	cmpl	$0, 8(%r15)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_21
## %bb.18:
	testq	%r13, %r13
	je	LBB0_21
## %bb.19:
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_access_or_die
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_git_config_from_file
	addl	%eax, %ebx
LBB0_21:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_current_parsing_scope@GOTPCREL(%rip), %rbx
	cmpl	$0, 4(%r15)
	jne	LBB0_26
## %bb.22:
	movq	_repository_format_worktree_config@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.23:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdi
	callq	_git_pathdup
	movq	%rax, %r13
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_access_or_die
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_git_config_from_file
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
LBB0_25:
	movq	%r13, %rdi
	callq	_free
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	_current_parsing_scope@GOTPCREL(%rip), %rbx
LBB0_26:
	movq	_CONFIG_SCOPE_CMDLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	cmpl	$0, (%r15)
	jne	LBB0_29
## %bb.27:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_git_config_from_parameters
	testq	%rax, %rax
	jns	LBB0_29
## %bb.28:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_29:
	movq	_CONFIG_SCOPE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"config"

L_.str.1:                               ## @.str.1
	.asciz	"~/.gitconfig"

L_.str.2:                               ## @.str.2
	.asciz	"%s/config"

L_.str.3:                               ## @.str.3
	.asciz	"git_dir without commondir"

	.comm	_CONFIG_SCOPE_SYSTEM,4,2        ## @CONFIG_SCOPE_SYSTEM
	.comm	_current_parsing_scope,4,2      ## @current_parsing_scope
	.comm	_R_OK,4,2                       ## @R_OK
	.comm	_ACCESS_EACCES_OK,4,2           ## @ACCESS_EACCES_OK
	.comm	_CONFIG_SCOPE_GLOBAL,4,2        ## @CONFIG_SCOPE_GLOBAL
	.comm	_CONFIG_SCOPE_REPO,4,2          ## @CONFIG_SCOPE_REPO
	.comm	_repository_format_worktree_config,8,3 ## @repository_format_worktree_config
L_.str.4:                               ## @.str.4
	.asciz	"config.worktree"

	.comm	_CONFIG_SCOPE_CMDLINE,4,2       ## @CONFIG_SCOPE_CMDLINE
L_.str.5:                               ## @.str.5
	.asciz	"unable to parse command-line config"

	.comm	_CONFIG_SCOPE_UNKNOWN,4,2       ## @CONFIG_SCOPE_UNKNOWN
	.no_dead_strip	_do_git_config_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_git_config_sequence
_do_git_config_sequence:                ; @do_git_config_sequence
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xdg_config_home
	mov	x19, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_expand_user_path
	mov	x20, x0
	ldr	x1, [x23, #32]
	cbz	x1, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_mkpathdup
	mov	x24, x0
	b	LBB0_5
LBB0_2:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BUG
                                        ; implicit-def: $x24
	b	LBB0_5
LBB0_4:
	mov	x24, #0
LBB0_5:
Lloh8:
	adrp	x8, _CONFIG_SCOPE_SYSTEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CONFIG_SCOPE_SYSTEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x27, _current_parsing_scope@GOTPAGE
Lloh12:
	ldr	x27, [x27, _current_parsing_scope@GOTPAGEOFF]
	str	w8, [x27]
	bl	_git_config_system
Lloh13:
	adrp	x28, _R_OK@GOTPAGE
Lloh14:
	ldr	x28, [x28, _R_OK@GOTPAGEOFF]
Lloh15:
	adrp	x26, _ACCESS_EACCES_OK@GOTPAGE
Lloh16:
	ldr	x26, [x26, _ACCESS_EACCES_OK@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.6:
	bl	_git_etc_gitconfig
	ldr	w1, [x28]
	ldr	x8, [x23, #16]
	ldr	w9, [x26]
	cmp	x8, #0
	csel	w2, wzr, w9, eq
	bl	_access_or_die
	mov	w25, #0
	cbnz	w0, LBB0_9
; %bb.7:
	bl	_git_etc_gitconfig
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_git_config_from_file
	mov	x25, x0
	b	LBB0_9
LBB0_8:
	mov	w25, #0
LBB0_9:
Lloh17:
	adrp	x8, _CONFIG_SCOPE_GLOBAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CONFIG_SCOPE_GLOBAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x27]
	cbz	x19, LBB0_12
; %bb.10:
	ldr	w1, [x28]
	ldr	w2, [x26]
	mov	x0, x19
	bl	_access_or_die
	cbnz	w0, LBB0_12
; %bb.11:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_git_config_from_file
	add	w25, w25, w0
LBB0_12:
	cbz	x20, LBB0_15
; %bb.13:
	ldr	w1, [x28]
	ldr	w2, [x26]
	mov	x0, x20
	bl	_access_or_die
	cbnz	w0, LBB0_15
; %bb.14:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_git_config_from_file
	add	w25, w25, w0
LBB0_15:
Lloh20:
	adrp	x8, _CONFIG_SCOPE_REPO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CONFIG_SCOPE_REPO@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x27]
	ldr	w8, [x23, #8]
	cbnz	w8, LBB0_19
; %bb.16:
	cbz	x24, LBB0_19
; %bb.17:
	ldr	w1, [x28]
	mov	x0, x24
	mov	w2, #0
	bl	_access_or_die
	cbnz	w0, LBB0_19
; %bb.18:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	bl	_git_config_from_file
	add	w25, w25, w0
LBB0_19:
	ldr	w8, [x23, #4]
	cbnz	w8, LBB0_24
; %bb.20:
Lloh23:
	adrp	x8, _repository_format_worktree_config@GOTPAGE
Lloh24:
	ldr	x8, [x8, _repository_format_worktree_config@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_24
; %bb.21:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_git_pathdup
	mov	x26, x0
	ldr	w1, [x28]
	mov	w2, #0
	bl	_access_or_die
	cbnz	w0, LBB0_23
; %bb.22:
	mov	x0, x22
	mov	x1, x26
	mov	x2, x21
	bl	_git_config_from_file
	add	w25, w25, w0
LBB0_23:
	mov	x0, x26
	bl	_free
LBB0_24:
Lloh28:
	adrp	x8, _CONFIG_SCOPE_CMDLINE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CONFIG_SCOPE_CMDLINE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	str	w8, [x27]
	ldr	w8, [x23]
	cbnz	w8, LBB0_27
; %bb.25:
	mov	x0, x22
	mov	x1, x21
	bl	_git_config_from_parameters
	tbz	x0, #63, LBB0_27
; %bb.26:
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	bl	_die
LBB0_27:
Lloh33:
	adrp	x8, _CONFIG_SCOPE_UNKNOWN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CONFIG_SCOPE_UNKNOWN@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [x27]
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x24
	bl	_free
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"config"

l_.str.1:                               ; @.str.1
	.asciz	"~/.gitconfig"

l_.str.2:                               ; @.str.2
	.asciz	"%s/config"

l_.str.3:                               ; @.str.3
	.asciz	"git_dir without commondir"

	.comm	_CONFIG_SCOPE_SYSTEM,4,2        ; @CONFIG_SCOPE_SYSTEM
	.comm	_current_parsing_scope,4,2      ; @current_parsing_scope
	.comm	_R_OK,4,2                       ; @R_OK
	.comm	_ACCESS_EACCES_OK,4,2           ; @ACCESS_EACCES_OK
	.comm	_CONFIG_SCOPE_GLOBAL,4,2        ; @CONFIG_SCOPE_GLOBAL
	.comm	_CONFIG_SCOPE_REPO,4,2          ; @CONFIG_SCOPE_REPO
	.comm	_repository_format_worktree_config,8,3 ; @repository_format_worktree_config
l_.str.4:                               ; @.str.4
	.asciz	"config.worktree"

	.comm	_CONFIG_SCOPE_CMDLINE,4,2       ; @CONFIG_SCOPE_CMDLINE
l_.str.5:                               ; @.str.5
	.asciz	"unable to parse command-line config"

	.comm	_CONFIG_SCOPE_UNKNOWN,4,2       ; @CONFIG_SCOPE_UNKNOWN
	.no_dead_strip	_do_git_config_sequence
.subsections_via_symbols
