	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct_get_dest_keyring
_construct_get_dest_keyring:            ## @construct_get_dest_keyring
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_current_cred
	movq	%rax, %r14
	movq	(%r15), %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_kenter
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_key_get
LBB0_15:
	movq	%rbx, (%r15)
	movq	%rbx, %rdi
	callq	_key_serial
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kleave                         ## TAILCALL
LBB0_2:
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_14
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	32(%r14), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.5:
	movq	%r12, %rdi
	callq	_down_read
	movq	8(%r12), %rbx
	movq	_KEY_FLAG_REVOKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r12), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_up_read
	jmp	LBB0_8
LBB0_13:
	movq	8(%r14), %rax
	movq	(%rax), %rdi
	jmp	LBB0_12
LBB0_14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_15
LBB0_7:
	movq	(%rbx), %rdi
	callq	_key_get
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_up_read
	testq	%rbx, %rbx
	jne	LBB0_15
LBB0_8:
	movq	24(%r14), %rdi
	callq	_key_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_15
LBB0_9:
	movq	16(%r14), %rax
	movq	8(%rax), %rdi
	callq	_key_get
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_15
LBB0_10:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_rcu_dereference
	movq	%rax, %rdi
	callq	_key_get
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	testq	%rbx, %rbx
	jne	LBB0_15
LBB0_11:
	movq	8(%r14), %rax
	movq	8(%rax), %rdi
LBB0_12:
	callq	_key_get
	movq	%rax, %rbx
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_14
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p"

	.comm	_KEY_FLAG_REVOKED,4,2           ## @KEY_FLAG_REVOKED
L_.str.1:                               ## @.str.1
	.asciz	" [dk %d]"

	.no_dead_strip	_construct_get_dest_keyring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct_get_dest_keyring
_construct_get_dest_keyring:            ; @construct_get_dest_keyring
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_current_cred
	mov	x20, x0
	ldr	x21, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_kenter
	cbz	x21, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_key_get
LBB0_2:
	str	x21, [x19]
	mov	x0, x21
	bl	_key_serial
	mov	x1, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kleave
LBB0_3:
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_9
; %bb.4:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x22, [x20, #32]
	cbz	x22, LBB0_11
; %bb.6:
	mov	x0, x22
	bl	_down_read
	ldr	x21, [x22, #8]
Lloh6:
	adrp	x8, _KEY_FLAG_REVOKED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_FLAG_REVOKED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	add	x1, x22, #4
	bl	_test_bit
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x22
	bl	_up_read
	b	LBB0_11
LBB0_8:
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	b	LBB0_15
LBB0_9:
	bl	_BUG
	mov	x21, #0
	b	LBB0_2
LBB0_10:
	ldr	x0, [x21]
	bl	_key_get
	mov	x21, x0
	mov	x0, x22
	bl	_up_read
	cbnz	x21, LBB0_2
LBB0_11:
	ldr	x0, [x20, #24]
	bl	_key_get
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_12:
	ldr	x8, [x20, #16]
	ldr	x0, [x8, #8]
	bl	_key_get
	mov	x21, x0
	cbnz	x0, LBB0_2
LBB0_13:
	bl	_rcu_read_lock
	ldr	x8, [x20, #16]
	ldr	w0, [x8]
	bl	_rcu_dereference
	bl	_key_get
	mov	x21, x0
	bl	_rcu_read_unlock
	cbnz	x21, LBB0_2
LBB0_14:
	ldr	x8, [x20, #8]
	ldr	x0, [x8, #8]
LBB0_15:
	bl	_key_get
	mov	x21, x0
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p"

	.comm	_KEY_FLAG_REVOKED,4,2           ; @KEY_FLAG_REVOKED
l_.str.1:                               ; @.str.1
	.asciz	" [dk %d]"

	.no_dead_strip	_construct_get_dest_keyring
.subsections_via_symbols
