	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shifted_layer                  ## -- Begin function shifted_layer
	.p2align	4, 0x90
_shifted_layer:                         ## @shifted_layer
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_c_lyr@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	__VL@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movb	_shifted_layer.is_shifted(%rip), %cl
	xorl	%eax, %eax
	cmpq	%rbx, %r14
	jne	LBB0_3
## %bb.1:
	testb	$1, %cl
	jne	LBB0_6
## %bb.2:
	movq	_KC_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_register_code
	jmp	LBB0_5
LBB0_3:
	testb	$1, %cl
	je	LBB0_6
## %bb.4:
	movq	_KC_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unregister_code
LBB0_5:
	cmpq	%rbx, %r14
	sete	_shifted_layer.is_shifted(%rip)
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_shifted_layer.is_shifted,1,2 ## @shifted_layer.is_shifted
	.comm	_c_lyr,8,3                      ## @c_lyr
	.comm	__VL,8,3                        ## @_VL
	.comm	_KC_LSFT,4,2                    ## @KC_LSFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_shifted_layer                  ; -- Begin function shifted_layer
	.p2align	2
_shifted_layer:                         ; @shifted_layer
	.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
Lloh0:
	adrp	x8, _c_lyr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _c_lyr@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, __VL@GOTPAGE
Lloh4:
	ldr	x8, [x8, __VL@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	adrp	x20, _shifted_layer.is_shifted@PAGE
	ldrb	w8, [x20, _shifted_layer.is_shifted@PAGEOFF]
	cmp	x19, x21
	b.ne	LBB0_3
; %bb.1:
	tbnz	w8, #0, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _KC_LSFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_LSFT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_register_code
	b	LBB0_5
LBB0_3:
	cbz	w8, LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _KC_LSFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KC_LSFT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_unregister_code
LBB0_5:
	cmp	x19, x21
	cset	w8, eq
	strb	w8, [x20, _shifted_layer.is_shifted@PAGEOFF]
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_shifted_layer.is_shifted,1,2 ; @shifted_layer.is_shifted
	.comm	_c_lyr,8,3                      ; @c_lyr
	.comm	__VL,8,3                        ; @_VL
	.comm	_KC_LSFT,4,2                    ; @KC_LSFT
.subsections_via_symbols
