	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyctl_set_timeout             ## -- Begin function keyctl_set_timeout
	.p2align	4, 0x90
_keyctl_set_timeout:                    ## @keyctl_set_timeout
	.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
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_KEY_LOOKUP_CREATE@GOTPCREL(%rip), %rax
	movq	_KEY_LOOKUP_PARTIAL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	(%rax), %esi
	movq	_KEY_SETATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lookup_user_key
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_EACCES@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movl	%r15d, %edi
	callq	_key_get_instantiation_authkey
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	%r12, %rdi
	callq	_key_put
	movl	(%r13), %esi
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_lookup_user_key
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	callq	_key_ref_to_ptr
	movq	%rax, %r15
	movq	%rax, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_down_write
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.6:
	xorl	%eax, %eax
	callq	_current_kernel_time
	movl	%eax, %edi
	addl	%r14d, %edi
	jmp	LBB0_7
LBB0_5:
	xorl	%edi, %edi
LBB0_7:
	movl	%edi, (%r15)
	movq	_key_gc_delay@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	callq	_key_schedule_gc
	movq	%rbx, %rdi
	callq	_up_write
	movq	%r15, %rdi
	callq	_key_put
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEY_LOOKUP_CREATE,4,2          ## @KEY_LOOKUP_CREATE
	.comm	_KEY_LOOKUP_PARTIAL,4,2         ## @KEY_LOOKUP_PARTIAL
	.comm	_KEY_SETATTR,4,2                ## @KEY_SETATTR
	.comm	_EACCES,8,3                     ## @EACCES
	.comm	_key_gc_delay,4,2               ## @key_gc_delay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keyctl_set_timeout             ; -- Begin function keyctl_set_timeout
	.p2align	2
_keyctl_set_timeout:                    ; @keyctl_set_timeout
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _KEY_LOOKUP_CREATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEY_LOOKUP_CREATE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _KEY_LOOKUP_PARTIAL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _KEY_LOOKUP_PARTIAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w1, w9, w8
Lloh5:
	adrp	x8, _KEY_SETATTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KEY_SETATTR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_lookup_user_key
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_PTR_ERR
Lloh8:
	adrp	x8, _EACCES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmn	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_key_get_instantiation_authkey
	mov	x22, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_key_put
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_lookup_user_key
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
	mov	x0, x21
	bl	_key_ref_to_ptr
	mov	x20, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_down_write
	cbz	w19, LBB0_7
; %bb.6:
	bl	_current_kernel_time
	add	w8, w0, w19
	b	LBB0_8
LBB0_7:
	mov	w8, #0
LBB0_8:
	str	w8, [x20]
Lloh11:
	adrp	x9, _key_gc_delay@GOTPAGE
Lloh12:
	ldr	x9, [x9, _key_gc_delay@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	add	w0, w9, w8
	bl	_key_schedule_gc
	mov	x0, x21
	bl	_up_write
	mov	x0, x20
	bl	_key_put
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_KEY_LOOKUP_CREATE,4,2          ; @KEY_LOOKUP_CREATE
	.comm	_KEY_LOOKUP_PARTIAL,4,2         ; @KEY_LOOKUP_PARTIAL
	.comm	_KEY_SETATTR,4,2                ; @KEY_SETATTR
	.comm	_EACCES,8,3                     ; @EACCES
	.comm	_key_gc_delay,4,2               ; @key_gc_delay
.subsections_via_symbols
