	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_switcher_tap             ## -- Begin function layer_switcher_tap
	.p2align	4, 0x90
_layer_switcher_tap:                    ## @layer_switcher_tap
	.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
	movq	%rdi, %r15
	movq	_gm_layer_act@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_active_layer@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_layer_off
	cmpl	$1, %ebx
	jne	LBB0_3
## %bb.1:
	movq	__BL@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	__GM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_layer_on
	movq	(%rbx), %r15
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_layer_on
LBB0_4:
	movq	%r15, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gm_layer_act,4,2               ## @gm_layer_act
	.comm	_active_layer,8,3               ## @active_layer
	.comm	__BL,8,3                        ## @_BL
	.comm	__GM,8,3                        ## @_GM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_layer_switcher_tap             ; -- Begin function layer_switcher_tap
	.p2align	2
_layer_switcher_tap:                    ; @layer_switcher_tap
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _gm_layer_act@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gm_layer_act@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x20, _active_layer@GOTPAGE
Lloh4:
	ldr	x20, [x20, _active_layer@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_layer_off
	cmp	w21, #1
	b.ne	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, __BL@GOTPAGE
Lloh6:
	ldr	x8, [x8, __BL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x19, __GM@GOTPAGE
Lloh9:
	ldr	x19, [x19, __GM@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_layer_on
	ldr	x19, [x19]
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_layer_on
LBB0_4:
	str	x19, [x20]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_gm_layer_act,4,2               ; @gm_layer_act
	.comm	_active_layer,8,3               ; @active_layer
	.comm	__BL,8,3                        ; @_BL
	.comm	__GM,8,3                        ; @_GM
.subsections_via_symbols
