	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyring_alloc                  ## -- Begin function keyring_alloc
	.p2align	4, 0x90
_keyring_alloc:                         ## @keyring_alloc
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_KEY_POS_ALL@GOTPCREL(%rip), %rbx
	movq	_KEY_POS_SETATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movq	%r9, %r14
	movq	%rcx, %rbx
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	%rdi, %rsi
	movq	_KEY_USR_ALL@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	movq	%r8, (%rsp)
	movq	_key_type_keyring@GOTPCREL(%rip), %rdi
	movq	%rbx, %r8
	movl	%eax, %r9d
	callq	_key_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_key_instantiate_and_link
	testl	%eax, %eax
	js	LBB0_3
LBB0_2:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_key_put
	movl	%r14d, %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_key_type_keyring,4,2           ## @key_type_keyring
	.comm	_KEY_POS_ALL,4,2                ## @KEY_POS_ALL
	.comm	_KEY_POS_SETATTR,4,2            ## @KEY_POS_SETATTR
	.comm	_KEY_USR_ALL,4,2                ## @KEY_USR_ALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyring_alloc                  ; -- Begin function keyring_alloc
	.p2align	2
_keyring_alloc:                         ; @keyring_alloc
	.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, x5
	mov	x6, x4
	mov	x4, x3
	mov	x3, x2
	mov	x2, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _KEY_POS_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_POS_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _KEY_POS_SETATTR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KEY_POS_SETATTR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh6:
	adrp	x9, _KEY_USR_ALL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KEY_USR_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w5, w8, w9
Lloh9:
	adrp	x0, _key_type_keyring@GOTPAGE
Lloh10:
	ldr	x0, [x0, _key_type_keyring@GOTPAGEOFF]
	bl	_key_alloc
	mov	x20, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, #0
	mov	w2, #0
	mov	x3, x19
	mov	x4, #0
	bl	_key_instantiate_and_link
	tbnz	w0, #31, LBB0_3
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x0
	mov	x0, x20
	bl	_key_put
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_key_type_keyring,4,2           ; @key_type_keyring
	.comm	_KEY_POS_ALL,4,2                ; @KEY_POS_ALL
	.comm	_KEY_POS_SETATTR,4,2            ; @KEY_POS_SETATTR
	.comm	_KEY_USR_ALL,4,2                ; @KEY_USR_ALL
.subsections_via_symbols
