	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_main                       ## -- Begin function cmd_main
	.p2align	4, 0x90
_cmd_main:                              ## @cmd_main
	.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	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movaps	l___const.cmd_main.usage(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	_CREDENTIAL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -80(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	leaq	-80(%rbp), %rdx
	xorl	%edi, %edi
	callq	_OPT_STRING
	movl	%eax, -56(%rbp)
	xorl	%eax, %eax
	callq	_OPT_END
	movl	%eax, -52(%rbp)
	movl	$63, %edi
	callq	_umask
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movl	%r14d, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_parse_options
	cmpl	$1, %eax
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_usage_with_options
LBB0_2:
	movq	(%rbx), %rbx
	movq	-80(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	leaq	-64(%rbp), %rdi
	callq	_string_list_append
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.4(%rip), %rdi
	xorl	%esi, %esi
	callq	_expand_user_path
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	callq	_string_list_append_nodup
LBB0_6:
	leaq	L_.str.5(%rip), %rdi
	callq	_xdg_config_home
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	callq	_string_list_append_nodup
LBB0_8:
	cmpl	$0, -64(%rbp)
	jne	LBB0_10
## %bb.9:
	leaq	L_.str.6(%rip), %rdi
	callq	_die
LBB0_10:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdi
	callq	_credential_read
	testq	%rax, %rax
	jns	LBB0_12
## %bb.11:
	leaq	L_.str.7(%rip), %rdi
	callq	_die
LBB0_12:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_store_credential
	jmp	LBB0_18
LBB0_13:
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_lookup_credential
	jmp	LBB0_18
LBB0_15:
	leaq	-64(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_remove_credential
LBB0_18:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git credential-store [<options>] <action>"

	.section	__DATA,__const
	.p2align	4                               ## @__const.cmd_main.usage
l___const.cmd_main.usage:
	.quad	L_.str
	.quad	0

	.comm	_CREDENTIAL_INIT,4,2            ## @CREDENTIAL_INIT
	.comm	_STRING_LIST_INIT_DUP,4,2       ## @STRING_LIST_INIT_DUP
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"file"

L_.str.2:                               ## @.str.2
	.asciz	"path"

L_.str.3:                               ## @.str.3
	.asciz	"fetch and store credentials in <path>"

L_.str.4:                               ## @.str.4
	.asciz	"~/.git-credentials"

L_.str.5:                               ## @.str.5
	.asciz	"credentials"

L_.str.6:                               ## @.str.6
	.asciz	"unable to set up default path; use --file"

	.comm	_stdin,4,2                      ## @stdin
L_.str.7:                               ## @.str.7
	.asciz	"unable to read credential"

L_.str.8:                               ## @.str.8
	.asciz	"get"

L_.str.9:                               ## @.str.9
	.asciz	"erase"

L_.str.10:                              ## @.str.10
	.asciz	"store"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_main                       ; -- Begin function cmd_main
	.p2align	2
_cmd_main:                              ; @cmd_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	adrp	x9, l___const.cmd_main.usage@PAGE
	add	x9, x9, l___const.cmd_main.usage@PAGEOFF
	stur	x8, [x29, #-24]
	ldr	q0, [x9]
	str	q0, [sp, #32]
Lloh3:
	adrp	x8, _CREDENTIAL_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CREDENTIAL_INIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh6:
	adrp	x8, _STRING_LIST_INIT_DUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	xzr, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh13:
	adrp	x4, l_.str.3@PAGE
Lloh14:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x2, sp
	mov	w0, #0
	bl	_OPT_STRING
	str	w0, [sp, #24]
	bl	_OPT_END
	str	w0, [sp, #28]
	mov	w0, #63
	bl	_umask
	add	x3, sp, #24
	add	x4, sp, #32
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	w5, #0
	bl	_parse_options
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
	add	x0, sp, #32
	add	x1, sp, #24
	bl	_usage_with_options
LBB0_2:
	ldr	x19, [x19]
	ldr	x1, [sp]
	cbz	x1, LBB0_4
; %bb.3:
	add	x0, sp, #8
	bl	_string_list_append
	b	LBB0_8
LBB0_4:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_expand_user_path
	str	x0, [sp]
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
	add	x0, sp, #8
	bl	_string_list_append_nodup
LBB0_6:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_xdg_config_home
	str	x0, [sp]
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x0
	add	x0, sp, #8
	bl	_string_list_append_nodup
LBB0_8:
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_10
; %bb.9:
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_die
LBB0_10:
Lloh21:
	adrp	x8, _stdin@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_credential_read
	tbz	x0, #63, LBB0_12
; %bb.11:
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_die
LBB0_12:
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_16
; %bb.13:
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.14:
Lloh30:
	adrp	x1, l_.str.10@PAGE
Lloh31:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_18
; %bb.15:
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_store_credential
	b	LBB0_18
LBB0_16:
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_lookup_credential
	b	LBB0_18
LBB0_17:
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_remove_credential
LBB0_18:
	add	x0, sp, #8
	mov	w1, #0
	bl	_string_list_clear
	ldur	x8, [x29, #-24]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git credential-store [<options>] <action>"

	.section	__DATA,__const
	.p2align	3                               ; @__const.cmd_main.usage
l___const.cmd_main.usage:
	.quad	l_.str
	.quad	0

	.comm	_CREDENTIAL_INIT,4,2            ; @CREDENTIAL_INIT
	.comm	_STRING_LIST_INIT_DUP,4,2       ; @STRING_LIST_INIT_DUP
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"file"

l_.str.2:                               ; @.str.2
	.asciz	"path"

l_.str.3:                               ; @.str.3
	.asciz	"fetch and store credentials in <path>"

l_.str.4:                               ; @.str.4
	.asciz	"~/.git-credentials"

l_.str.5:                               ; @.str.5
	.asciz	"credentials"

l_.str.6:                               ; @.str.6
	.asciz	"unable to set up default path; use --file"

	.comm	_stdin,4,2                      ; @stdin
l_.str.7:                               ; @.str.7
	.asciz	"unable to read credential"

l_.str.8:                               ; @.str.8
	.asciz	"get"

l_.str.9:                               ; @.str.9
	.asciz	"erase"

l_.str.10:                              ; @.str.10
	.asciz	"store"

.subsections_via_symbols
