	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function erase_credential
_erase_credential:                      ## @erase_credential
	.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
	leaq	l_.str(%rip), %rdi
	leaq	-12(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	xorl	%esi, %esi
	callq	_CredEnumerateW
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$0, -12(%rbp)
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	-12(%rbp), %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-24(%rbp), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_match_cred
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-24(%rbp), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	xorl	%edx, %edx
	callq	_CredDeleteW
	jmp	LBB0_5
LBB0_6:
	movq	-24(%rbp), %rdi
	callq	_CredFree
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	103                             ## 0x67
	.long	105                             ## 0x69
	.long	116                             ## 0x74
	.long	58                              ## 0x3a
	.long	42                              ## 0x2a
	.long	0                               ## 0x0

	.no_dead_strip	_erase_credential
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function erase_credential
_erase_credential:                      ; @erase_credential
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #4
	add	x3, sp, #8
	mov	w1, #0
	bl	_CredEnumerateW
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w8, [sp, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x19, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #1
	ldrsw	x8, [sp, #4]
	cmp	x19, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x0, [x8, x19, lsl #3]
	bl	_match_cred
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8, x19, lsl #3]
	ldp	w1, w0, [x8]
	mov	w2, #0
	bl	_CredDeleteW
	b	LBB0_3
LBB0_6:
	ldr	x0, [sp, #8]
	bl	_CredFree
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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	103                             ; 0x67
	.long	105                             ; 0x69
	.long	116                             ; 0x74
	.long	58                              ; 0x3a
	.long	42                              ; 0x2a
	.long	0                               ; 0x0

	.no_dead_strip	_erase_credential
.subsections_via_symbols
