	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_process_keyrings        ## -- Begin function search_process_keyrings
	.p2align	4, 0x90
_search_process_keyrings:               ## @search_process_keyrings
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_EACCES@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_might_sleep
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_search_my_process_keyrings
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.3:
	xorl	%eax, %eax
	callq	_current_cred
	cmpq	_key_type_request_key_auth@GOTPCREL(%rip), %r14
	je	LBB0_8
## %bb.4:
	cmpq	%rbx, %rax
	jne	LBB0_8
## %bb.5:
	movq	(%rbx), %rdi
	callq	_down_read
	movq	(%rbx), %rdi
	callq	_key_validate
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	callq	_up_read
LBB0_8:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_9:
	movq	_ENOKEY@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	subl	(%r14), %edi
	callq	_ERR_PTR
	cmpq	%rax, %r15
	je	LBB0_13
## %bb.10:
	xorl	%edi, %edi
	subl	(%r14), %edi
	callq	_ERR_PTR
	cmpq	%rax, %r12
	jne	LBB0_11
LBB0_13:
	subl	(%r14), %ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_1:
	movq	%r15, %r12
	jmp	LBB0_12
LBB0_11:
	xorl	%edi, %edi
	movq	_EACCES@GOTPCREL(%rip), %rax
	subl	(%rax), %edi
	callq	_ERR_PTR
	cmpq	%rax, %r15
	cmovneq	%r15, %r12
LBB0_12:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_search_process_keyrings
	movq	%rax, %r12
	movq	(%rbx), %rdi
	callq	_up_read
	movq	%r12, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_9
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_key_type_request_key_auth,4,2  ## @key_type_request_key_auth
	.comm	_ENOKEY,4,2                     ## @ENOKEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_search_process_keyrings        ; -- Begin function search_process_keyrings
	.p2align	2
_search_process_keyrings:               ; @search_process_keyrings
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x25, _EACCES@GOTPAGE
Lloh1:
	ldr	x25, [x25, _EACCES@GOTPAGEOFF]
	ldr	w8, [x25]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x19, x0
	bl	_might_sleep
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	w3, #0
	mov	x4, x21
	bl	_search_my_process_keyrings
	mov	x20, x0
	bl	_IS_ERR
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.2:
	bl	_current_cred
Lloh2:
	adrp	x8, _key_type_request_key_auth@GOTPAGE
Lloh3:
	ldr	x8, [x8, _key_type_request_key_auth@GOTPAGEOFF]
	cmp	x24, x8
	b.eq	LBB0_8
; %bb.3:
	cmp	x0, x21
	b.ne	LBB0_8
; %bb.4:
	ldr	x0, [x21]
	bl	_down_read
	ldr	x0, [x21]
	bl	_key_validate
	mov	x8, x0
	ldr	x0, [x21]
	cbz	x8, LBB0_7
; %bb.5:
	bl	_up_read
	b	LBB0_8
LBB0_6:
	mov	x19, x20
	b	LBB0_12
LBB0_7:
	ldr	x8, [x0, #8]
	ldr	x3, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	bl	_search_process_keyrings
	mov	x19, x0
	ldr	x0, [x21]
	bl	_up_read
	mov	x0, x19
	bl	_IS_ERR
	cbz	w0, LBB0_12
LBB0_8:
Lloh4:
	adrp	x21, _ENOKEY@GOTPAGE
Lloh5:
	ldr	x21, [x21, _ENOKEY@GOTPAGEOFF]
	ldr	w8, [x21]
	neg	w0, w8
	bl	_ERR_PTR
	cmp	x20, x0
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x21]
	neg	w0, w8
	bl	_ERR_PTR
	cmp	x19, x0
	b.ne	LBB0_11
LBB0_10:
	ldr	w8, [x21]
	neg	w0, w8
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_11:
	ldr	w8, [x25]
	neg	w0, w8
	bl	_ERR_PTR
	cmp	x20, x0
	csel	x19, x19, x20, eq
LBB0_12:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_key_type_request_key_auth,4,2  ; @key_type_request_key_auth
	.comm	_ENOKEY,4,2                     ; @ENOKEY
.subsections_via_symbols
