	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyctl_reject_key              ## -- Begin function keyctl_reject_key
	.p2align	4, 0x90
_keyctl_reject_key:                     ## @keyctl_reject_key
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_current_cred
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movq	%r15, %r8
	callq	_kenter
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.1:
	movq	_MAX_ERRNO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jbe	LBB0_6
## %bb.2:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.3:
	movq	_ERESTARTNOINTR@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_ERESTARTNOHAND@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ERESTART_RESTARTBLOCK@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.7:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subq	(%rax), %r13
	movq	(%r14), %r14
	testq	%r14, %r14
	je	LBB0_13
## %bb.8:
	movq	(%r14), %rsi
	movq	(%rsi), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_13
## %bb.9:
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rsi, %r15
	callq	_get_instantiation_keyring
	testq	%rax, %rax
	js	LBB0_10
## %bb.11:
	movq	(%r15), %rdi
	movq	-56(%rbp), %rcx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movq	%r14, %r8
	callq	_key_reject_and_link
	movq	%rax, %r13
	movq	-56(%rbp), %rdi
	callq	_key_put
	testq	%r13, %r13
	jne	LBB0_13
## %bb.12:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_keyctl_change_reqkey_auth
	jmp	LBB0_13
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subq	(%rax), %r13
LBB0_13:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%rax, %r13
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d,%u,%u,%d"

	.comm	_MAX_ERRNO,4,2                  ## @MAX_ERRNO
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.comm	_ERESTARTNOINTR,4,2             ## @ERESTARTNOINTR
	.comm	_ERESTARTNOHAND,4,2             ## @ERESTARTNOHAND
	.comm	_ERESTART_RESTARTBLOCK,4,2      ## @ERESTART_RESTARTBLOCK
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_EPERM,8,3                      ## @EPERM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyctl_reject_key              ; -- Begin function keyctl_reject_key
	.p2align	2
_keyctl_reject_key:                     ; @keyctl_reject_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_current_cred
	mov	x24, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	mov	x4, x21
	bl	_kenter
	cbz	w19, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _MAX_ERRNO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_ERRNO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _ERESTARTSYS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ERESTARTSYS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _ERESTARTNOINTR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ERESTARTNOINTR@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _ERESTARTNOHAND@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ERESTARTNOHAND@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
Lloh14:
	adrp	x12, _ERESTART_RESTARTBLOCK@GOTPAGE
Lloh15:
	ldr	x12, [x12, _ERESTART_RESTARTBLOCK@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	cmp	w8, w19
	ccmp	w9, w19, #4, hi
	ccmp	w10, w19, #4, ne
	ccmp	w11, w19, #4, ne
	ccmp	w12, w19, #4, ne
	b.eq	LBB0_7
; %bb.2:
Lloh17:
	adrp	x8, _EPERM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	neg	x23, x8
	ldr	x24, [x24]
	cbz	x24, LBB0_8
; %bb.3:
	ldr	x25, [x24]
	ldr	x8, [x25]
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_8
; %bb.4:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x25
	bl	_get_instantiation_keyring
	tbnz	x0, #63, LBB0_9
; %bb.5:
	ldr	x0, [x25]
	ldr	x3, [sp, #8]
	mov	x1, x20
	mov	x2, x19
	mov	x4, x24
	bl	_key_reject_and_link
	mov	x23, x0
	ldr	x0, [sp, #8]
	bl	_key_put
	cbnz	x23, LBB0_8
; %bb.6:
	mov	x0, #0
	bl	_keyctl_change_reqkey_auth
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	neg	x23, x8
LBB0_8:
	mov	x0, x23
	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
	add	sp, sp, #96
	ret
LBB0_9:
	mov	x23, x0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d,%u,%u,%d"

	.comm	_MAX_ERRNO,4,2                  ; @MAX_ERRNO
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.comm	_ERESTARTNOINTR,4,2             ; @ERESTARTNOINTR
	.comm	_ERESTARTNOHAND,4,2             ; @ERESTARTNOHAND
	.comm	_ERESTART_RESTARTBLOCK,4,2      ; @ERESTART_RESTARTBLOCK
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_EPERM,8,3                      ; @EPERM
.subsections_via_symbols
