	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dance_toggle                   ## -- Begin function dance_toggle
	.p2align	4, 0x90
_dance_toggle:                          ## @dance_toggle
	.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
	cmpl	$2, (%rdi)
	jl	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_println
	movq	_LED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_state_is
	movl	(%rbx), %edi
	addq	$8, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	popq	%rbx
	popq	%rbp
	jmp	_layer_off                      ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_print
	movq	_LED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_state_is
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	popq	%rbx
	popq	%rbp
	jmp	_layer_on                       ## TAILCALL
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_println
	leaq	L_.str.3(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SEND_STRING                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Double tapped, switching layers"

	.comm	_LED,4,2                        ## @LED
L_.str.1:                               ## @.str.1
	.asciz	"Single tapped: "

L_.str.2:                               ## @.str.2
	.asciz	"Base layer, sending string"

L_.str.3:                               ## @.str.3
	.asciz	"This thing is BIG!!\n"

	.comm	_rgblight_config,4,2            ## @rgblight_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dance_toggle                   ; -- Begin function dance_toggle
	.p2align	2
_dance_toggle:                          ; @dance_toggle
	.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
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_println
Lloh2:
	adrp	x19, _LED@GOTPAGE
Lloh3:
	ldr	x19, [x19, _LED@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_state_is
	mov	x8, x0
	ldr	w0, [x19]
	cbz	x8, LBB0_5
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_layer_off
LBB0_3:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_print
Lloh6:
	adrp	x8, _LED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_layer_state_is
	cbz	x0, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_layer_on
LBB0_6:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_println
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SEND_STRING
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Double tapped, switching layers"

	.comm	_LED,4,2                        ; @LED
l_.str.1:                               ; @.str.1
	.asciz	"Single tapped: "

l_.str.2:                               ; @.str.2
	.asciz	"Base layer, sending string"

l_.str.3:                               ; @.str.3
	.asciz	"This thing is BIG!!\n"

	.comm	_rgblight_config,4,2            ; @rgblight_config
.subsections_via_symbols
