	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dance_dwly_finished            ## -- Begin function dance_dwly_finished
	.p2align	4, 0x90
_dance_dwly_finished:                   ## @dance_dwly_finished
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_cur_dance
                                        ## kill: def $eax killed $eax def $rax
	movq	_dwltap_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_gm_layer_act@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$1, (%rax)
	setne	%cl
	movl	%ecx, (%rax)
	jne	LBB0_6
## %bb.7:
	movq	__BL@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	__DL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movq	__AL@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	_active_layer@GOTPCREL(%rip), %rax
	movq	__DL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%edi, (%rax)
	je	LBB0_9
## %bb.11:
	popq	%rbp
	jmp	_layer_switcher_tap             ## TAILCALL
LBB0_6:
	movq	__GM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edi
	callq	_layer_switcher_tap
LBB0_9:
	movq	__BL@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_layer_switcher_tap             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_dwltap_state,4,2               ## @dwltap_state
	.comm	_active_layer,4,2               ## @active_layer
	.comm	__DL,4,2                        ## @_DL
	.comm	__BL,4,2                        ## @_BL
	.comm	__AL,4,2                        ## @_AL
	.comm	_gm_layer_act,4,2               ## @gm_layer_act
	.comm	__GM,4,2                        ## @_GM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dance_dwly_finished            ; -- Begin function dance_dwly_finished
	.p2align	2
_dance_dwly_finished:                   ; @dance_dwly_finished
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_cur_dance
Lloh0:
	adrp	x8, _dwltap_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dwltap_state@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh5:
	adrp	x8, _gm_layer_act@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gm_layer_act@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	cset	w9, ne
	str	w9, [x8]
Lloh7:
	adrp	x8, __BL@GOTPAGE
Lloh8:
	ldr	x8, [x8, __BL@GOTPAGEOFF]
Lloh9:
	adrp	x9, __GM@GOTPAGE
Lloh10:
	ldr	x9, [x9, __GM@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	bl	_layer_switcher_tap
LBB0_3:
Lloh11:
	adrp	x8, __BL@GOTPAGE
Lloh12:
	ldr	x8, [x8, __BL@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, _active_layer@GOTPAGE
Lloh14:
	ldr	x8, [x8, _active_layer@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, __DL@GOTPAGE
Lloh17:
	ldr	x9, [x9, __DL@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, __BL@GOTPAGE
Lloh20:
	ldr	x10, [x10, __BL@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w0, w10, w9, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_layer_switcher_tap
LBB0_5:
Lloh22:
	adrp	x8, __DL@GOTPAGE
Lloh23:
	ldr	x8, [x8, __DL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh24:
	adrp	x8, __AL@GOTPAGE
Lloh25:
	ldr	x8, [x8, __AL@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_layer_switcher_tap
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_dwltap_state,4,2               ; @dwltap_state
	.comm	_active_layer,4,2               ; @active_layer
	.comm	__DL,4,2                        ; @_DL
	.comm	__BL,4,2                        ; @_BL
	.comm	__AL,4,2                        ; @_AL
	.comm	_gm_layer_act,4,2               ; @gm_layer_act
	.comm	__GM,4,2                        ; @_GM
.subsections_via_symbols
