	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_get_instantiation_authkey  ## -- Begin function key_get_instantiation_authkey
	.p2align	4, 0x90
_key_get_instantiation_authkey:         ## @key_get_instantiation_authkey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_current_cred
	movq	_key_get_instantiation_authkey_match@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_key_type_request_key_auth@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rcx
	callq	_search_process_keyrings
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_IS_ERR
	movl	%ebx, %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	callq	_ERR_CAST
	movq	%rax, %rbx
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_ERR_PTR
	cmpq	%rax, %rbx
	jne	LBB0_6
## %bb.2:
	movq	_ENOKEY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	callq	_key_ref_to_ptr
	movq	%rax, %rbx
	movq	_KEY_FLAG_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_key_put
	movq	_EKEYREVOKED@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_key_type_request_key_auth,4,2  ## @key_type_request_key_auth
	.comm	_key_get_instantiation_authkey_match,4,2 ## @key_get_instantiation_authkey_match
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ENOKEY,4,2                     ## @ENOKEY
	.comm	_KEY_FLAG_REVOKED,4,2           ## @KEY_FLAG_REVOKED
	.comm	_EKEYREVOKED,4,2                ## @EKEYREVOKED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_get_instantiation_authkey  ; -- Begin function key_get_instantiation_authkey
	.p2align	2
_key_get_instantiation_authkey:         ; @key_get_instantiation_authkey
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_current_cred
	mov	x3, x0
Lloh0:
	adrp	x8, _key_get_instantiation_authkey_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _key_get_instantiation_authkey_match@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, _key_type_request_key_auth@GOTPAGE
Lloh4:
	ldr	x0, [x0, _key_type_request_key_auth@GOTPAGEOFF]
	mov	x1, x19
	bl	_search_process_keyrings
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ERR_CAST
	mov	x19, x0
Lloh5:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	cmp	x19, x0
	b.ne	LBB0_6
; %bb.2:
Lloh8:
	adrp	x8, _ENOKEY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOKEY@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_key_ref_to_ptr
	mov	x19, x0
Lloh10:
	adrp	x8, _KEY_FLAG_REVOKED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KEY_FLAG_REVOKED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_key_put
Lloh13:
	adrp	x8, _EKEYREVOKED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EKEYREVOKED@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_key_type_request_key_auth,4,2  ; @key_type_request_key_auth
	.comm	_key_get_instantiation_authkey_match,4,2 ; @key_get_instantiation_authkey_match
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ENOKEY,4,2                     ; @ENOKEY
	.comm	_KEY_FLAG_REVOKED,4,2           ; @KEY_FLAG_REVOKED
	.comm	_EKEYREVOKED,4,2                ; @EKEYREVOKED
.subsections_via_symbols
