	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_dance                      ## -- Begin function cmd_dance
	.p2align	4, 0x90
_cmd_dance:                             ## @cmd_dance
	.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
	movl	(%rdi), %eax
	decl	%eax
	cmpl	$2, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.cmd_dance(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	leaq	l_switch.table.cmd_dance.1(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
	leaq	l_switch.table.cmd_dance.2(%rip), %rcx
	movq	(%rcx,%rax,8), %r14
	movl	(%rbx), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_register_mods
	movl	(%r15), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_register_mods
	movl	(%r14), %edi
	callq	_register_code
	movl	(%rbx), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_unregister_mods
	movl	(%r15), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_unregister_mods
	movl	(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unregister_code                ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_LCTRL,4,2                   ## @KC_LCTRL
	.comm	_KC_LALT,4,2                    ## @KC_LALT
	.comm	_KC_DELETE,4,2                  ## @KC_DELETE
	.comm	_KC_LGUI,4,2                    ## @KC_LGUI
	.comm	_KC_ESC,4,2                     ## @KC_ESC
	.comm	_KC_LSHIFT,4,2                  ## @KC_LSHIFT
	.comm	_KC_4,4,2                       ## @KC_4
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.cmd_dance
l_switch.table.cmd_dance:
	.quad	_KC_LCTRL
	.quad	_KC_LGUI
	.quad	_KC_LGUI

	.p2align	3                               ## @switch.table.cmd_dance.1
l_switch.table.cmd_dance.1:
	.quad	_KC_LALT
	.quad	_KC_LALT
	.quad	_KC_LSHIFT

	.p2align	3                               ## @switch.table.cmd_dance.2
l_switch.table.cmd_dance.2:
	.quad	_KC_DELETE
	.quad	_KC_ESC
	.quad	_KC_4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd_dance                      ; -- Begin function cmd_dance
	.p2align	2
_cmd_dance:                             ; @cmd_dance
	.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
	ldr	w8, [x0]
	sub	w8, w8, #1
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.cmd_dance@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cmd_dance@PAGEOFF
	ldr	x19, [x9, x8]
Lloh2:
	adrp	x9, l_switch.table.cmd_dance.1@PAGE
Lloh3:
	add	x9, x9, l_switch.table.cmd_dance.1@PAGEOFF
	ldr	x20, [x9, x8]
Lloh4:
	adrp	x9, l_switch.table.cmd_dance.2@PAGE
Lloh5:
	add	x9, x9, l_switch.table.cmd_dance.2@PAGEOFF
	ldr	x21, [x9, x8]
	ldr	w0, [x19]
	bl	_MOD_BIT
	bl	_register_mods
	ldr	w0, [x20]
	bl	_MOD_BIT
	bl	_register_mods
	ldr	w0, [x21]
	bl	_register_code
	ldr	w0, [x19]
	bl	_MOD_BIT
	bl	_unregister_mods
	ldr	w0, [x20]
	bl	_MOD_BIT
	bl	_unregister_mods
	ldr	w0, [x21]
	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
	b	_unregister_code
LBB0_2:
	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 AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_LCTRL,4,2                   ; @KC_LCTRL
	.comm	_KC_LALT,4,2                    ; @KC_LALT
	.comm	_KC_DELETE,4,2                  ; @KC_DELETE
	.comm	_KC_LGUI,4,2                    ; @KC_LGUI
	.comm	_KC_ESC,4,2                     ; @KC_ESC
	.comm	_KC_LSHIFT,4,2                  ; @KC_LSHIFT
	.comm	_KC_4,4,2                       ; @KC_4
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.cmd_dance
l_switch.table.cmd_dance:
	.quad	_KC_LCTRL
	.quad	_KC_LGUI
	.quad	_KC_LGUI

	.p2align	3                               ; @switch.table.cmd_dance.1
l_switch.table.cmd_dance.1:
	.quad	_KC_LALT
	.quad	_KC_LALT
	.quad	_KC_LSHIFT

	.p2align	3                               ; @switch.table.cmd_dance.2
l_switch.table.cmd_dance.2:
	.quad	_KC_DELETE
	.quad	_KC_ESC
	.quad	_KC_4

.subsections_via_symbols
