	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function keyring_get
_keyring_get:                           ## @keyring_get
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -48(%rbp)
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %r13
	cmpl	$0, 32(%rdi)
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	jne	LBB0_3
## %bb.2:
	cmpq	$0, 16(%rbx)
	je	LBB0_14
LBB0_3:
	leaq	-48(%rbp), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_secret_service_get_sync
	movq	%rax, %r14
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_make_attr_list
	movq	%rax, %r15
	movq	_SECRET_SCHEMA_COMPAT_NETWORK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SECRET_SEARCH_LOAD_SECRETS@GOTPCREL(%rip), %rax
	movq	_SECRET_SEARCH_UNLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-48(%rbp), %r9
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_secret_service_search_sync
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_g_hash_table_unref
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	_g_critical
	movq	-48(%rbp), %rdi
	callq	_g_error_free
LBB0_14:
	movl	(%r13), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %r13
	testq	%r14, %r14
	je	LBB0_14
## %bb.9:
	movq	(%r14), %r12
	movq	%r12, %rdi
	callq	_secret_item_get_secret
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_secret_item_get_attributes
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_g_hash_table_lookup
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	callq	_g_free
	movq	%r15, %rdi
	callq	_g_strdup
	movq	%rax, 8(%rbx)
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_secret_value_get_text
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %r15
	movq	(%rbx), %rdi
	callq	_g_free
	movq	%r15, %rdi
	callq	_g_strdup
	movq	%rax, (%rbx)
LBB0_13:
	movq	%r12, %rdi
	callq	_g_hash_table_unref
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_secret_value_unref
	movq	_g_object_unref@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_g_list_free_full
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not connect to Secret Service: %s"

	.comm	_SECRET_SCHEMA_COMPAT_NETWORK,4,2 ## @SECRET_SCHEMA_COMPAT_NETWORK
	.comm	_SECRET_SEARCH_LOAD_SECRETS,4,2 ## @SECRET_SEARCH_LOAD_SECRETS
	.comm	_SECRET_SEARCH_UNLOCK,4,2       ## @SECRET_SEARCH_UNLOCK
L_.str.1:                               ## @.str.1
	.asciz	"lookup failed: %s"

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

	.comm	_g_object_unref,4,2             ## @g_object_unref
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.no_dead_strip	_keyring_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function keyring_get
_keyring_get:                           ; @keyring_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	str	xzr, [sp, #8]
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
LBB0_3:
	add	x2, sp, #8
	mov	w0, #0
	mov	x1, #0
	bl	_secret_service_get_sync
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	mov	x20, x0
	mov	x0, x19
	bl	_make_attr_list
	mov	x21, x0
Lloh2:
	adrp	x8, _SECRET_SCHEMA_COMPAT_NETWORK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SECRET_SCHEMA_COMPAT_NETWORK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _SECRET_SEARCH_LOAD_SECRETS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SECRET_SEARCH_LOAD_SECRETS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _SECRET_SEARCH_UNLOCK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SECRET_SEARCH_UNLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x5, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	x4, #0
	bl	_secret_service_search_sync
	mov	x20, x0
	mov	x0, x21
	bl	_g_hash_table_unref
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
; %bb.6:
	ldr	w1, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	bl	_g_critical
	ldr	x0, [sp, #8]
	bl	_g_error_free
LBB0_8:
Lloh13:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	cbz	x20, LBB0_16
; %bb.11:
	ldr	x22, [x20]
	mov	x0, x22
	bl	_secret_item_get_secret
	mov	x21, x0
	mov	x0, x22
	bl	_secret_item_get_attributes
	mov	x22, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_g_hash_table_lookup
	cbz	x0, LBB0_13
; %bb.12:
	mov	x23, x0
	ldr	x0, [x19, #8]
	bl	_g_free
	mov	x0, x23
	bl	_g_strdup
	str	x0, [x19, #8]
LBB0_13:
	mov	x0, x21
	bl	_secret_value_get_text
	cbz	x0, LBB0_15
; %bb.14:
	mov	x23, x0
	ldr	x0, [x19]
	bl	_g_free
	mov	x0, x23
	bl	_g_strdup
	str	x0, [x19]
LBB0_15:
	mov	x0, x22
	bl	_g_hash_table_unref
	mov	x0, x21
	bl	_secret_value_unref
Lloh17:
	adrp	x8, _g_object_unref@GOTPAGE
Lloh18:
	ldr	x8, [x8, _g_object_unref@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_g_list_free_full
LBB0_16:
Lloh20:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not connect to Secret Service: %s"

	.comm	_SECRET_SCHEMA_COMPAT_NETWORK,4,2 ; @SECRET_SCHEMA_COMPAT_NETWORK
	.comm	_SECRET_SEARCH_LOAD_SECRETS,4,2 ; @SECRET_SEARCH_LOAD_SECRETS
	.comm	_SECRET_SEARCH_UNLOCK,4,2       ; @SECRET_SEARCH_UNLOCK
l_.str.1:                               ; @.str.1
	.asciz	"lookup failed: %s"

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

	.comm	_g_object_unref,4,2             ; @g_object_unref
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.no_dead_strip	_keyring_get
.subsections_via_symbols
