	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpq	$0, 8(%rsi)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_2:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__fileno
	movq	__O_BINARY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	__setmode
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__fileno
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	__setmode
	xorl	%eax, %eax
	callq	_read_credential
	xorl	%eax, %eax
	callq	_load_cred_funcs
	movq	_protocol@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_16
## %bb.3:
	movq	_host@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_path@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_16
## %bb.4:
	movq	_target@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	l_.str.1(%rip), %rsi
	callq	_wcscpy
	movl	(%r13), %ebx
	movq	(%r15), %r15
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_wcsncat
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	leaq	l_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wcsncat
	movq	_wusername@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	movl	(%r13), %r15d
	movl	%r15d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_wcsncat
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	leaq	l_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wcsncat
LBB0_6:
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movl	(%r13), %r15d
	movl	%r15d, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_wcsncat
LBB0_8:
	movq	_path@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.9:
	movl	(%r13), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	leaq	l_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_wcsncat
	movl	(%r13), %ebx
	movq	(%r15), %r15
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_wcsncat
LBB0_10:
	movq	8(%r14), %rbx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_erase_credential
	jmp	LBB0_16
LBB0_11:
	xorl	%eax, %eax
	callq	_get_credential
	jmp	LBB0_16
LBB0_13:
	xorl	%eax, %eax
	callq	_store_credential
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: git credential-wincred <get|store|erase>\n"

	.comm	_stdin,4,2                      ## @stdin
	.comm	__O_BINARY,4,2                  ## @_O_BINARY
	.comm	_stdout,4,2                     ## @stdout
	.comm	_protocol,8,3                   ## @protocol
	.comm	_host,8,3                       ## @host
	.comm	_path,8,3                       ## @path
	.comm	_target,4,2                     ## @target
	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	103                             ## 0x67
	.long	105                             ## 0x69
	.long	116                             ## 0x74
	.long	58                              ## 0x3a
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.2
l_.str.2:
	.long	58                              ## 0x3a
	.long	47                              ## 0x2f
	.long	47                              ## 0x2f
	.long	0                               ## 0x0

	.comm	_wusername,8,3                  ## @wusername
	.p2align	2                               ## @.str.3
l_.str.3:
	.long	64                              ## 0x40
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.4
l_.str.4:
	.long	47                              ## 0x2f
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.5:                               ## @.str.5
	.asciz	"get"

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	x8, [x1, #8]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
Lloh2:
	adrp	x8, _stdin@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	__fileno
Lloh5:
	adrp	x20, __O_BINARY@GOTPAGE
Lloh6:
	ldr	x20, [x20, __O_BINARY@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	__setmode
Lloh7:
	adrp	x8, _stdout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	__fileno
	ldr	w1, [x20]
	bl	__setmode
	bl	_read_credential
	bl	_load_cred_funcs
Lloh10:
	adrp	x21, _protocol@GOTPAGE
Lloh11:
	ldr	x21, [x21, _protocol@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_16
; %bb.3:
Lloh12:
	adrp	x24, _host@GOTPAGE
Lloh13:
	ldr	x24, [x24, _host@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh14:
	adrp	x22, _path@GOTPAGE
Lloh15:
	ldr	x22, [x22, _path@GOTPAGEOFF]
	ldr	x9, [x22]
	orr	x8, x8, x9
	cbz	x8, LBB0_16
; %bb.4:
Lloh16:
	adrp	x23, _target@GOTPAGE
Lloh17:
	ldr	x23, [x23, _target@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wcscpy
	ldr	w20, [x23]
	ldr	x21, [x21]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_wcsncat
	ldr	w20, [x23]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_wcsncat
Lloh22:
	adrp	x8, _wusername@GOTPAGE
Lloh23:
	ldr	x8, [x8, _wusername@GOTPAGEOFF]
Lloh24:
	ldr	x20, [x8]
	cbz	x20, LBB0_6
; %bb.5:
	ldr	w21, [x23]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_wcsncat
	ldr	w20, [x23]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_wcsncat
LBB0_6:
	ldr	x20, [x24]
	cbz	x20, LBB0_8
; %bb.7:
	ldr	w21, [x23]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_wcsncat
LBB0_8:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w20, [x23]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_wcsncat
	ldr	w20, [x23]
	ldr	x21, [x22]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_wcsncat
LBB0_10:
	ldr	x19, [x19, #8]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.11:
Lloh31:
	adrp	x1, l_.str.6@PAGE
Lloh32:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.12:
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_16
; %bb.13:
	bl	_erase_credential
	b	LBB0_16
LBB0_14:
	bl	_get_credential
	b	LBB0_16
LBB0_15:
	bl	_store_credential
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: git credential-wincred <get|store|erase>\n"

	.comm	_stdin,4,2                      ; @stdin
	.comm	__O_BINARY,4,2                  ; @_O_BINARY
	.comm	_stdout,4,2                     ; @stdout
	.comm	_protocol,8,3                   ; @protocol
	.comm	_host,8,3                       ; @host
	.comm	_path,8,3                       ; @path
	.comm	_target,4,2                     ; @target
	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	103                             ; 0x67
	.long	105                             ; 0x69
	.long	116                             ; 0x74
	.long	58                              ; 0x3a
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.2
l_.str.2:
	.long	58                              ; 0x3a
	.long	47                              ; 0x2f
	.long	47                              ; 0x2f
	.long	0                               ; 0x0

	.comm	_wusername,8,3                  ; @wusername
	.p2align	2                               ; @.str.3
l_.str.3:
	.long	64                              ; 0x40
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.4
l_.str.4:
	.long	47                              ; 0x2f
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.5:                               ; @.str.5
	.asciz	"get"

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

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

.subsections_via_symbols
