	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyring_search_aux             ## -- Begin function keyring_search_aux
	.p2align	4, 0x90
_keyring_search_aux:                    ## @keyring_search_aux
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r14
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_KEYRING_SEARCH_MAX_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_key_ref_to_ptr
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_is_key_possessed
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_key_check
	movq	_KEY_SEARCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r13, %rsi
	callq	_key_task_permission
	testq	%rax, %rax
	js	LBB0_33
## %bb.1:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	_ENOTDIR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subq	(%rax), %rdi
	callq	_ERR_PTR
	movl	%eax, %r14d
	movq	24(%r12), %rax
	cmpq	_key_type_keyring@GOTPCREL(%rip), %rax
	jne	LBB0_42
## %bb.2:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	xorl	%eax, %eax
	callq	_current_kernel_time
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_EAGAIN@GOTPCREL(%rip), %r13
	subq	(%r13), %rbx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ERR_PTR
	movl	%eax, %r14d
	movq	(%r12), %r15
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, 24(%r12)
	je	LBB0_35
LBB0_3:
	xorl	%edi, %edi
	subq	(%r13), %rdi
	callq	_ERR_PTR
	movl	%eax, %r14d
	movq	_KEY_FLAG_REVOKED@GOTPCREL(%rip), %rdx
	movq	_KEY_FLAG_NEGATIVE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	(%rdx), %edi
	btsl	%edi, %eax
	cltq
	testq	%rax, %r15
	jne	LBB0_41
## %bb.4:
	movq	8(%r12), %rax
	testq	%rax, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_6
## %bb.5:
	cmpq	%rax, %rcx
	jge	LBB0_41
LBB0_6:
	xorl	%r13d, %r13d
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_31
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	40(%r12), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_31
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r14
	movl	(%rax), %r15d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_smp_rmb
	movq	%r15, %rdx
	testl	%edx, %edx
	jle	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%r15, %rdx
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%rbx
	cmpq	%rbx, %rdx
	je	LBB0_23
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %r12
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, 24(%r12)
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	(%r12), %rsi
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	*-96(%rbp)                      ## 8-byte Folded Reload
	testq	%rax, %rax
	je	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_make_key_ref
	movq	_KEY_SEARCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_key_task_permission
	testq	%rax, %rax
	movq	%r15, %rdx
	js	LBB0_12
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_37
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	_KEY_FLAG_NEGATIVE@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	cltq
	testq	%rax, -128(%rbp)                ## 8-byte Folded Reload
	je	LBB0_37
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=2
	xorl	%eax, %eax
	callq	_smp_rmb
	movq	%r15, %rdx
	movq	32(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=2
	movq	_KEY_FLAG_REVOKED@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	cltq
	testq	%rax, %rsi
	jne	LBB0_12
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	jge	LBB0_12
	jmp	LBB0_15
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %r15d
	xorl	%eax, %eax
	callq	_smp_rmb
	cmpl	%r15d, %ebx
	jge	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%ebx, %rbx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=2
	incq	%rbx
	cmpl	%ebx, %r15d
	je	LBB0_31
LBB0_27:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %r12
	movq	_key_type_keyring@GOTPCREL(%rip), %rax
	cmpq	%rax, 24(%r12)
	jne	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_KEYRING_SEARCH_MAX_DEPTH@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_make_key_ref
	movq	_KEY_SEARCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_key_task_permission
	testq	%rax, %rax
	js	LBB0_26
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r13d, %r13
	movq	%r13, %rax
	shlq	$4, %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%r14, (%rcx,%rax)
	movl	%ebx, 8(%rcx,%rax)
	incl	%r13d
	movq	_KEY_FLAG_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_7 Depth=1
	decl	%r13d
	movq	%r13, %rax
	shlq	$4, %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx,%rax), %r14
	movl	8(%rcx,%rax), %ebx
	incl	%ebx
	jmp	LBB0_24
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_49
## %bb.34:
	movq	%rax, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_35:
	movq	%r12, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	*-96(%rbp)                      ## 8-byte Folded Reload
	testq	%rax, %rax
	je	LBB0_3
## %bb.36:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_44
LBB0_37:
	leaq	16(%r12), %rdi
	callq	_atomic_inc
	movq	%r12, %rdi
	callq	_key_check
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_make_key_ref
	jmp	LBB0_40
LBB0_38:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
LBB0_39:
	callq	_ERR_PTR
LBB0_40:
	movl	%eax, %r14d
LBB0_41:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_49
## %bb.43:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	movq	_KEY_FLAG_REVOKED@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cltq
	testq	%rax, %r15
	jne	LBB0_41
## %bb.45:
	movq	8(%r12), %rax
	testq	%rax, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_47
## %bb.46:
	cmpq	%rax, %rcx
	jge	LBB0_41
LBB0_47:
	movq	_KEY_FLAG_NEGATIVE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	cltq
	testq	%rax, %r15
	je	LBB0_37
## %bb.48:
	xorl	%eax, %eax
	callq	_smp_rmb
	movq	32(%r12), %rax
	movq	(%rax), %rdi
	jmp	LBB0_39
LBB0_49:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYRING_SEARCH_MAX_DEPTH,4,2   ## @KEYRING_SEARCH_MAX_DEPTH
	.comm	_KEY_SEARCH,4,2                 ## @KEY_SEARCH
	.comm	_ENOTDIR,8,3                    ## @ENOTDIR
	.comm	_key_type_keyring,4,2           ## @key_type_keyring
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.comm	_KEY_FLAG_REVOKED,4,2           ## @KEY_FLAG_REVOKED
	.comm	_KEY_FLAG_NEGATIVE,4,2          ## @KEY_FLAG_NEGATIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyring_search_aux             ; -- Begin function keyring_search_aux
	.p2align	2
_keyring_search_aux:                    ; @keyring_search_aux
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #80
	mov	x20, x5
	mov	x22, x4
	mov	x23, x3
	stur	x2, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _KEYRING_SEARCH_MAX_DEPTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _KEYRING_SEARCH_MAX_DEPTH@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #4
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x8, x9, x8
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	mov	sp, x8
	bl	_key_ref_to_ptr
	mov	x27, x0
	mov	x0, x25
	bl	_is_key_possessed
	mov	x19, x0
	mov	x0, x27
	bl	_key_check
Lloh7:
	adrp	x8, _KEY_SEARCH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KEY_SEARCH@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x1, x24
	bl	_key_task_permission
	tbnz	x0, #63, LBB0_3
; %bb.1:
Lloh10:
	adrp	x8, _ENOTDIR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOTDIR@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	neg	x0, x8
	bl	_ERR_PTR
	ldr	x8, [x27, #24]
Lloh13:
	adrp	x25, _key_type_keyring@GOTPAGE
Lloh14:
	ldr	x25, [x25, _key_type_keyring@GOTPAGEOFF]
	cmp	x8, x25
	b.eq	LBB0_5
; %bb.2:
	mov	x28, x0
	b	LBB0_42
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.4:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_5:
	stur	w20, [x29, #-108]               ; 4-byte Folded Spill
	bl	_rcu_read_lock
	bl	_current_kernel_time
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
Lloh18:
	adrp	x21, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x21, [x21, _EAGAIN@GOTPAGEOFF]
	ldr	x8, [x21]
	neg	x0, x8
	stur	x0, [x29, #-120]                ; 8-byte Folded Spill
	bl	_ERR_PTR
	ldr	x20, [x27]
	ldr	x8, [x27, #24]
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_35
LBB0_6:
	ldr	x8, [x21]
	neg	x0, x8
	bl	_ERR_PTR
	mov	x28, x0
Lloh20:
	adrp	x8, _KEY_FLAG_REVOKED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KEY_FLAG_REVOKED@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	w8, #1
Lloh23:
	adrp	x10, _KEY_FLAG_NEGATIVE@GOTPAGE
Lloh24:
	ldr	x10, [x10, _KEY_FLAG_NEGATIVE@GOTPAGEOFF]
	lsl	w9, w8, w0
Lloh25:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w8, w8, w9
	sxtw	x8, w8
	tst	x20, x8
	b.ne	LBB0_41
; %bb.7:
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_9
; %bb.8:
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x9, x8
	b.ge	LBB0_41
LBB0_9:
	mov	w20, #0
	stp	x23, x22, [x29, #-152]          ; 16-byte Folded Spill
	ldur	x22, [x29, #-104]               ; 8-byte Folded Reload
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_29 Depth 2
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x27
	bl	_test_bit
	cbnz	x0, LBB0_33
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x27, #40]
	bl	_rcu_dereference
	cbz	x0, LBB0_33
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x28, x0
	ldr	w21, [x0]
	bl	_smp_rmb
	cmp	w21, #1
	b.lt	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, #0
	lsl	x10, x21, #3
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	mov	x10, x21
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	x23, x23, #8
	cmp	x10, x23
	b.eq	LBB0_25
LBB0_16:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x28, #8]
	ldr	x27, [x8, x23]
	ldr	x8, [x27, #24]
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x11, [x27]
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cbz	w8, LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=2
	stur	x11, [x29, #-136]               ; 8-byte Folded Spill
	mov	x21, x10
	mov	x0, x27
	ldp	x1, x8, [x29, #-152]            ; 16-byte Folded Reload
	blr	x8
	cbz	x0, LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x27
	mov	x1, x19
	bl	_make_key_ref
Lloh26:
	adrp	x8, _KEY_SEARCH@GOTPAGE
Lloh27:
	ldr	x8, [x8, _KEY_SEARCH@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_key_task_permission
	mov	x10, x21
	tbnz	x0, #63, LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=2
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cbnz	w8, LBB0_37
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=2
Lloh29:
	adrp	x8, _KEY_FLAG_NEGATIVE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _KEY_FLAG_NEGATIVE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	tst	x9, x8
	b.eq	LBB0_37
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=2
	bl	_smp_rmb
	mov	x10, x21
	ldr	x8, [x27, #32]
	ldr	x8, [x8]
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	b	LBB0_15
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=2
Lloh32:
	adrp	x8, _KEY_FLAG_REVOKED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _KEY_FLAG_REVOKED@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	tst	x11, x8
	b.ne	LBB0_15
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	x8, [x27, #8]
	cmp	x8, #0
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	ccmp	x9, x8, #8, ne
	b.ge	LBB0_15
	b	LBB0_18
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w23, #0
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w21, [x28]
	bl	_smp_rmb
	cmp	w23, w21
	b.ge	LBB0_33
; %bb.27:                               ;   in Loop: Header=BB0_10 Depth=1
	sbfiz	x22, x23, #3, #32
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	add	w23, w23, #1
	add	x22, x22, #8
	cmp	w21, w23
	b.eq	LBB0_32
LBB0_29:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x28, #8]
	ldr	x27, [x8, x22]
	ldr	x8, [x27, #24]
	ldr	w9, [x26]
	cmp	x8, x25
	ccmp	w20, w9, #0, eq
	b.ge	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x0, x27
	mov	x1, x19
	bl	_make_key_ref
Lloh35:
	adrp	x8, _KEY_SEARCH@GOTPAGE
Lloh36:
	ldr	x8, [x8, _KEY_SEARCH@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_key_task_permission
	tbnz	x0, #63, LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x22, [x29, #-104]               ; 8-byte Folded Reload
	add	x8, x22, w20, sxtw #4
	str	x28, [x8]
	str	w23, [x8, #8]
	add	w20, w20, #1
Lloh38:
	adrp	x8, _KEY_FLAG_REVOKED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _KEY_FLAG_REVOKED@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_32:                                ;   in Loop: Header=BB0_10 Depth=1
	ldur	x22, [x29, #-104]               ; 8-byte Folded Reload
LBB0_33:                                ;   in Loop: Header=BB0_10 Depth=1
	subs	w20, w20, #1
	b.lt	LBB0_38
; %bb.34:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x22, w20, uxtw #4
	ldr	x28, [x8]
	ldr	w8, [x8, #8]
	add	w23, w8, #1
	b	LBB0_26
LBB0_35:
	mov	x28, x0
	mov	x0, x27
	mov	x1, x23
	blr	x22
	cbz	x0, LBB0_6
; %bb.36:
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cbz	w8, LBB0_44
LBB0_37:
	add	x0, x27, #16
	bl	_atomic_inc
	mov	x0, x27
	bl	_key_check
	mov	x0, x27
	mov	x1, x19
	bl	_make_key_ref
	b	LBB0_40
LBB0_38:
	ldur	x0, [x29, #-120]                ; 8-byte Folded Reload
LBB0_39:
	bl	_ERR_PTR
LBB0_40:
	mov	x28, x0
LBB0_41:
	bl	_rcu_read_unlock
LBB0_42:
	ldur	x8, [x29, #-88]
Lloh41:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh42:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_49
; %bb.43:
	mov	x0, x28
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_44:
Lloh44:
	adrp	x8, _KEY_FLAG_REVOKED@GOTPAGE
Lloh45:
	ldr	x8, [x8, _KEY_FLAG_REVOKED@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	tst	x20, x8
	b.ne	LBB0_41
; %bb.45:
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_47
; %bb.46:
	ldur	x9, [x29, #-128]                ; 8-byte Folded Reload
	cmp	x9, x8
	b.ge	LBB0_41
LBB0_47:
Lloh47:
	adrp	x8, _KEY_FLAG_NEGATIVE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _KEY_FLAG_NEGATIVE@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
	sxtw	x8, w8
	tst	x20, x8
	b.eq	LBB0_37
; %bb.48:
	bl	_smp_rmb
	ldr	x8, [x27, #32]
	ldr	x0, [x8]
	b	LBB0_39
LBB0_49:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYRING_SEARCH_MAX_DEPTH,4,2   ; @KEYRING_SEARCH_MAX_DEPTH
	.comm	_KEY_SEARCH,4,2                 ; @KEY_SEARCH
	.comm	_ENOTDIR,8,3                    ; @ENOTDIR
	.comm	_key_type_keyring,4,2           ; @key_type_keyring
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.comm	_KEY_FLAG_REVOKED,4,2           ; @KEY_FLAG_REVOKED
	.comm	_KEY_FLAG_NEGATIVE,4,2          ; @KEY_FLAG_NEGATIVE
.subsections_via_symbols
