	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set                ## -- Begin function layer_state_set
	.p2align	4, 0x90
_layer_state_set:                       ## @layer_state_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_layer_state_set_kb
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_dprint
	xorl	%eax, %eax
	callq	_layer_debug
	leaq	L_.str.1(%rip), %rdi
	callq	_dprint
	movq	_layer_state@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	xorl	%eax, %eax
	callq	_layer_debug
	xorl	%eax, %eax
	callq	_dprintln
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_clear_keyboard_but_mods_and_keys ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"layer_state: "

L_.str.1:                               ## @.str.1
	.asciz	" to "

	.comm	_layer_state,4,2                ## @layer_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_state_set                ; -- Begin function layer_state_set
	.p2align	2
_layer_state_set:                       ; @layer_state_set
	.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
	bl	_layer_state_set_kb
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprint
	bl	_layer_debug
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprint
Lloh4:
	adrp	x8, _layer_state@GOTPAGE
Lloh5:
	ldr	x8, [x8, _layer_state@GOTPAGEOFF]
Lloh6:
	str	w19, [x8]
	bl	_layer_debug
	bl	_dprintln
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clear_keyboard_but_mods_and_keys
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"layer_state: "

l_.str.1:                               ; @.str.1
	.asciz	" to "

	.comm	_layer_state,4,2                ; @layer_state
.subsections_via_symbols
