	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function k_slock
_k_slock:                               ## @k_slock
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r14d
	callq	_k_shift
	testb	%bl, %bl
	jne	LBB0_3
## %bb.1:
	movq	_rep@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_kbd@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movzbl	%r14b, %ebx
	movl	%ebx, %esi
	callq	_chg_vc_kbd_slock
	movq	_key_maps@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rdi
	movq	8(%rdi), %rcx
	xorq	(%rdi), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_4
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	$0, 8(%rdi)
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chg_vc_kbd_slock               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rep,8,3                        ## @rep
	.comm	_kbd,8,3                        ## @kbd
	.comm	_key_maps,8,3                   ## @key_maps
	.no_dead_strip	_k_slock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function k_slock
_k_slock:                               ; @k_slock
	.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	x20, x2
	mov	x19, x1
	bl	_k_shift
	cbnz	w20, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _rep@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rep@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x20, _kbd@GOTPAGE
Lloh4:
	ldr	x20, [x20, _kbd@GOTPAGEOFF]
	ldr	x0, [x20]
	mov	x1, x19
	bl	_chg_vc_kbd_slock
Lloh5:
	adrp	x8, _key_maps@GOTPAGE
Lloh6:
	ldr	x8, [x8, _key_maps@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x20]
	ldp	x9, x10, [x0]
	eor	x9, x10, x9
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	str	xzr, [x0, #8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_chg_vc_kbd_slock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_rep,8,3                        ; @rep
	.comm	_kbd,8,3                        ; @kbd
	.comm	_key_maps,8,3                   ; @key_maps
	.no_dead_strip	_k_slock
.subsections_via_symbols
