	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ang_tap_dance_ta_finished
_ang_tap_dance_ta_finished:             ## @ang_tap_dance_ta_finished
	.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
	movq	%rsi, %rbx
	cmpl	$0, (%rsi)
	je	LBB0_1
## %bb.6:
	movq	$0, (%rbx)
	movq	_ARRW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_layer_off                      ## TAILCALL
LBB0_1:
	movq	%rdi, %r14
	cmpl	$1, (%rdi)
	jne	LBB0_4
## %bb.2:
	cmpl	$0, 4(%r14)
	je	LBB0_3
LBB0_4:
	movl	$1, 4(%rbx)
	movq	_ARRW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	xorl	%eax, %eax
	cmpl	$2, (%r14)
	sete	%al
	movl	%eax, (%rbx)
	jmp	LBB0_5
LBB0_3:
	movq	_KC_TAB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_register_code
	movq	$0, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARRW,4,2                       ## @ARRW
	.comm	_KC_TAB,4,2                     ## @KC_TAB
	.no_dead_strip	_ang_tap_dance_ta_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ang_tap_dance_ta_finished
_ang_tap_dance_ta_finished:             ; @ang_tap_dance_ta_finished
	.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, x1
	ldr	w8, [x1]
	cbz	w8, LBB0_2
; %bb.1:
	str	xzr, [x19]
Lloh0:
	adrp	x8, _ARRW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARRW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_layer_off
LBB0_2:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_5
LBB0_4:
	mov	w8, #1
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _ARRW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARRW@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_layer_on
	ldr	w8, [x20]
	cmp	w8, #2
	cset	w8, eq
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _KC_TAB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_TAB@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_register_code
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ARRW,4,2                       ; @ARRW
	.comm	_KC_TAB,4,2                     ; @KC_TAB
	.no_dead_strip	_ang_tap_dance_ta_finished
.subsections_via_symbols
