	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function keyring_erase
_keyring_erase:                         ## @keyring_erase
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	$0, -16(%rbp)
	cmpl	$0, 12(%rdi)
	jne	LBB0_4
## %bb.1:
	cmpl	$0, 8(%rdi)
	jne	LBB0_4
## %bb.2:
	cmpl	$0, 4(%rdi)
	jne	LBB0_4
## %bb.3:
	cmpl	$0, (%rdi)
	je	LBB0_7
LBB0_4:
	callq	_make_attr_list
	movq	%rax, %rbx
	movq	_SECRET_SCHEMA_COMPAT_NETWORK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rcx
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_secret_password_clearv_sync
	movq	%rbx, %rdi
	callq	_g_hash_table_unref
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_g_critical
	movq	-16(%rbp), %rdi
	callq	_g_error_free
LBB0_7:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_SECRET_SCHEMA_COMPAT_NETWORK,4,2 ## @SECRET_SCHEMA_COMPAT_NETWORK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"erase failed: %s"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.no_dead_strip	_keyring_erase
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function keyring_erase
_keyring_erase:                         ; @keyring_erase
	.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
	str	xzr, [sp, #8]
	ldr	w8, [x0, #12]
	cbnz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
LBB0_4:
	bl	_make_attr_list
	mov	x19, x0
Lloh0:
	adrp	x8, _SECRET_SCHEMA_COMPAT_NETWORK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SECRET_SCHEMA_COMPAT_NETWORK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x3, sp, #8
	mov	x1, x19
	mov	x2, #0
	bl	_secret_password_clearv_sync
	mov	x0, x19
	bl	_g_hash_table_unref
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_critical
	ldr	x0, [sp, #8]
	bl	_g_error_free
LBB0_6:
Lloh5:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_SECRET_SCHEMA_COMPAT_NETWORK,4,2 ; @SECRET_SCHEMA_COMPAT_NETWORK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"erase failed: %s"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.no_dead_strip	_keyring_erase
.subsections_via_symbols
