	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dance_game                     ## -- Begin function dance_game
	.p2align	4, 0x90
_dance_game:                            ## @dance_game
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$3, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_layer_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_biton32
	movq	__QWERTY@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	movq	__GAMING@GOTPCREL(%rip), %rcx
	cmovneq	(%rcx), %rax
	movl	$12, %edx
	movl	$1, %r14d
	cmovel	%edx, %r14d
	cmoveq	%rcx, %rbx
	movq	%rax, %rdi
	callq	_layer_off
	movq	(%rbx), %rdi
	callq	_layer_on
	movl	%r14d, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rgblight_mode_noeeprom         ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_layer_state,4,2                ## @layer_state
	.comm	__QWERTY,8,3                    ## @_QWERTY
	.comm	__GAMING,8,3                    ## @_GAMING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dance_game                     ; -- Begin function dance_game
	.p2align	2
_dance_game:                            ; @dance_game
	.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, #3
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _layer_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _layer_state@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_biton32
Lloh3:
	adrp	x8, __QWERTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
Lloh5:
	adrp	x9, __GAMING@GOTPAGE
Lloh6:
	ldr	x9, [x9, __GAMING@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x11, [x9]
	cmp	x0, x10
	csel	x0, x0, x11, eq
	mov	w10, #12
	csinc	w19, w10, wzr, eq
	csel	x20, x9, x8, eq
	bl	_layer_off
	ldr	x0, [x20]
	bl	_layer_on
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rgblight_mode_noeeprom
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_layer_state,4,2                ; @layer_state
	.comm	__QWERTY,8,3                    ; @_QWERTY
	.comm	__GAMING,8,3                    ; @_GAMING
.subsections_via_symbols
