	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_request_key_and_link           ## -- Begin function request_key_and_link
	.p2align	4, 0x90
_request_key_and_link:                  ## @request_key_and_link
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%r9, -48(%rbp)
	xorl	%eax, %eax
	callq	_current_cred
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rdx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rcx
	movq	%rbx, %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %r8
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %r9
	pushq	16(%rbp)
	pushq	%rbx
	callq	_kenter
	addq	$16, %rsp
	movl	(%r14), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_search_process_keyrings
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	%ebx, %edi
	callq	_PTR_ERR
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_4
## %bb.5:
	movq	%r15, %rbx
	movq	_ENOKEY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r8
	movq	%r13, %r9
	pushq	16(%rbp)
	callq	_construct_key_and_link
	addq	$16, %rsp
	jmp	LBB0_7
LBB0_1:
	movl	%ebx, %edi
	callq	_key_ref_to_ptr
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_8
## %bb.2:
	leaq	-48(%rbp), %rdi
	callq	_construct_get_dest_keyring
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_key_link
	movq	-48(%rbp), %rdi
	callq	_key_put
	jmp	LBB0_8
LBB0_4:
	movl	%ebx, %edi
	callq	_ERR_CAST
LBB0_7:
	movq	%rax, %r15
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_kleave
	movq	%r15, %rax
	addq	$40, %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	"%s,%s,%p,%zu,%p,%p,%lx"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ENOKEY,4,2                     ## @ENOKEY
L_.str.1:                               ## @.str.1
	.asciz	" = %p"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_request_key_and_link           ; -- Begin function request_key_and_link
	.p2align	2
_request_key_and_link:                  ; @request_key_and_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	str	x5, [sp, #8]
	bl	_current_cred
	mov	x26, x0
	ldr	w1, [x25, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x19
	mov	x7, x20
	bl	_kenter
	ldr	w2, [x25]
	mov	x0, x25
	mov	x1, x24
	mov	x3, x26
	bl	_search_process_keyrings
	mov	x26, x0
	bl	_IS_ERR
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x26
	bl	_PTR_ERR
Lloh2:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_6
; %bb.2:
Lloh5:
	adrp	x8, _ENOKEY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOKEY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	cbz	x23, LBB0_7
; %bb.3:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x19
	mov	x6, x20
	bl	_construct_key_and_link
	b	LBB0_7
LBB0_4:
	mov	x0, x26
	bl	_key_ref_to_ptr
	mov	x26, x0
	cbz	x19, LBB0_8
; %bb.5:
	add	x0, sp, #8
	bl	_construct_get_dest_keyring
	ldr	x0, [sp, #8]
	mov	x1, x26
	bl	_key_link
	ldr	x0, [sp, #8]
	bl	_key_put
	b	LBB0_8
LBB0_6:
	mov	x0, x26
	bl	_ERR_CAST
LBB0_7:
	mov	x26, x0
LBB0_8:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x26
	bl	_kleave
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s,%s,%p,%zu,%p,%p,%lx"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ENOKEY,4,2                     ; @ENOKEY
l_.str.1:                               ; @.str.1
	.asciz	" = %p"

.subsections_via_symbols
