	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tap_dance_layer_switch         ## -- Begin function tap_dance_layer_switch
	.p2align	4, 0x90
_tap_dance_layer_switch:                ## @tap_dance_layer_switch
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$3, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$2, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.4:
	xorl	%eax, %eax
	callq	_on_qwerty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	movq	_SYMB_ON_BEPO@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_LAYERS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_MDIA@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_SYMB@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	callq	_layer_invert
LBB0_9:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_reset_tap_dance                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYMB,4,2                       ## @SYMB
	.comm	_SYMB_ON_BEPO,4,2               ## @SYMB_ON_BEPO
	.comm	_MDIA,4,2                       ## @MDIA
	.comm	_LAYERS,4,2                     ## @LAYERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tap_dance_layer_switch         ; -- Begin function tap_dance_layer_switch
	.p2align	2
_tap_dance_layer_switch:                ; @tap_dance_layer_switch
	.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	x19, x0
	ldr	w8, [x0]
	cmp	w8, #3
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.3:
	bl	_on_qwerty
Lloh0:
	adrp	x8, _SYMB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYMB@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SYMB_ON_BEPO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SYMB_ON_BEPO@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _LAYERS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LAYERS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _MDIA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIA@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	bl	_layer_invert
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reset_tap_dance
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SYMB,4,2                       ; @SYMB
	.comm	_SYMB_ON_BEPO,4,2               ; @SYMB_ON_BEPO
	.comm	_MDIA,4,2                       ; @MDIA
	.comm	_LAYERS,4,2                     ; @LAYERS
.subsections_via_symbols
