	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cake_count                     ## -- Begin function cake_count
	.p2align	4, 0x90
_cake_count:                            ## @cake_count
	.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	%rdi, %rbx
	cmpl	$2, (%rdi)
	movq	_SYMB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jne	LBB0_2
## %bb.1:
	callq	_layer_on
	jmp	LBB0_3
LBB0_2:
	callq	_layer_off
LBB0_3:
	movq	_MDIA@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_layer_off
	cmpl	$3, (%rbx)
	movq	_RIMW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jne	LBB0_5
## %bb.4:
	callq	_layer_on
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_layer_off                      ## TAILCALL
LBB0_5:
	callq	_layer_off
	movl	(%r14), %edi
	callq	_layer_off
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_reset_tap_dance                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYMB,4,2                       ## @SYMB
	.comm	_MDIA,4,2                       ## @MDIA
	.comm	_RIMW,4,2                       ## @RIMW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cake_count                     ; -- Begin function cake_count
	.p2align	2
_cake_count:                            ; @cake_count
	.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, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SYMB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYMB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cmp	w8, #2
	b.ne	LBB0_2
; %bb.1:
	bl	_layer_on
	b	LBB0_3
LBB0_2:
	bl	_layer_off
LBB0_3:
Lloh3:
	adrp	x20, _MDIA@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MDIA@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_layer_off
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _RIMW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RIMW@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	cmp	w8, #3
	b.ne	LBB0_5
; %bb.4:
	bl	_layer_on
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_layer_off
LBB0_5:
	bl	_layer_off
	ldr	w0, [x20]
	bl	_layer_off
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reset_tap_dance
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SYMB,4,2                       ; @SYMB
	.comm	_MDIA,4,2                       ; @MDIA
	.comm	_RIMW,4,2                       ; @RIMW
.subsections_via_symbols
