	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_credential_helper_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_CREDENTIAL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	cmpq	$0, 8(%rsi)
	je	LBB0_10
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_g_set_application_name
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_3
LBB0_9:
	leaq	-32(%rbp), %rdi
	callq	_credential_clear
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.6:
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.7:
	leaq	-32(%rbp), %rdi
	callq	_credential_read
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	callq	*(%rbx)
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_credential_write
	jmp	LBB0_9
LBB0_10:
	movq	(%r15), %rdi
	callq	_usage
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_credential_helper_ops,8,3      ## @credential_helper_ops
	.comm	_CREDENTIAL_INIT,4,2            ## @CREDENTIAL_INIT
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Git Credential Helper"

.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:
	sub	sp, sp, #64
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _credential_helper_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _credential_helper_ops@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
Lloh6:
	adrp	x8, _CREDENTIAL_INIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CREDENTIAL_INIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_9
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_set_application_name
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #8]
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x21, #24]
	add	x21, x21, #16
	cbnz	x1, LBB0_2
	b	LBB0_8
LBB0_4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.6:
	add	x0, sp, #8
	bl	_credential_read
	mov	x19, x0
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x8, [x21]
	add	x0, sp, #8
	blr	x8
	mov	x19, x0
	add	x0, sp, #8
	bl	_credential_write
LBB0_8:
	add	x0, sp, #8
	bl	_credential_clear
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	x0, [x20]
	bl	_usage
Lloh11:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_credential_helper_ops,8,3      ; @credential_helper_ops
	.comm	_CREDENTIAL_INIT,4,2            ; @CREDENTIAL_INIT
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Git Credential Helper"

.subsections_via_symbols
