	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_function                ## -- Begin function action_function
	.p2align	4, 0x90
_action_function:                       ## @action_function
	.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
	movq	_LFK_ESC_TILDE@GOTPCREL(%rip), %rcx
	movq	(%rdi), %rax
	cmpl	%esi, (%rcx)
	jne	LBB0_5
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_del_key@GOTPCREL(%rip), %r15
	jmp	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	cmpl	$136, %esi
	je	LBB0_10
## %bb.7:
	cmpl	$130, %esi
	je	LBB0_11
## %bb.8:
	cmpl	$128, %esi
	jne	LBB0_12
## %bb.9:
	movl	$1, %ebx
	movl	%edx, %ecx
	shlq	%cl, %rbx
	movq	%rbx, %rdi
	callq	_eeconfig_update_default_layer
	movq	%rbx, %rdi
	callq	_default_layer_set
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_layer_clear                    ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_add_key@GOTPCREL(%rip), %r15
LBB0_4:
	xorl	%eax, %eax
	callq	_get_mods
	movl	%eax, %r14d
	movq	_KC_LSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %ebx
	movq	_KC_RSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	orl	%ebx, %eax
	movq	_layer_state@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	_KC_GRAVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_KC_ESCAPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	cmovel	%edi, %edx
	cmovel	%ecx, %edi
	testl	%r14d, %eax
	cmovnel	%edx, %edi
	callq	*%r15
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_keyboard_report           ## TAILCALL
LBB0_11:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movq	_click_toggle@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movq	_click_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
	movq	_click_time@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LFK_ESC_TILDE,4,2              ## @LFK_ESC_TILDE
	.comm	_KC_LSHIFT,4,2                  ## @KC_LSHIFT
	.comm	_KC_RSHIFT,4,2                  ## @KC_RSHIFT
	.comm	_layer_state,8,3                ## @layer_state
	.comm	_KC_GRAVE,4,2                   ## @KC_GRAVE
	.comm	_KC_ESCAPE,4,2                  ## @KC_ESCAPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Click:\n"

L_.str.1:                               ## @.str.1
	.asciz	"  toggle: %d\n"

	.comm	_click_toggle,4,2               ## @click_toggle
L_.str.2:                               ## @.str.2
	.asciz	"  freq(hz): %d\n"

	.comm	_click_hz,4,2                   ## @click_hz
L_.str.3:                               ## @.str.3
	.asciz	"  duration(ms): %d\n"

	.comm	_click_time,4,2                 ## @click_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_action_function                ; -- Begin function action_function
	.p2align	2
_action_function:                       ; @action_function
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w2 killed $w2 def $x2
Lloh0:
	adrp	x8, _LFK_ESC_TILDE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LFK_ESC_TILDE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	x8, [x0]
	cmp	w9, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _add_key@GOTPAGE
Lloh4:
	ldr	x9, [x9, _add_key@GOTPAGEOFF]
Lloh5:
	adrp	x10, _del_key@GOTPAGE
Lloh6:
	ldr	x10, [x10, _del_key@GOTPAGEOFF]
	cmp	x8, #0
	csel	x21, x10, x9, eq
	bl	_get_mods
	mov	x19, x0
Lloh7:
	adrp	x8, _KC_LSHIFT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KC_LSHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_MOD_BIT
	mov	x20, x0
Lloh10:
	adrp	x8, _KC_RSHIFT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KC_RSHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_MOD_BIT
	orr	w8, w0, w20
Lloh13:
	adrp	x9, _layer_state@GOTPAGE
Lloh14:
	ldr	x9, [x9, _layer_state@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
Lloh16:
	adrp	x10, _KC_GRAVE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _KC_GRAVE@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
Lloh19:
	adrp	x11, _KC_ESCAPE@GOTPAGE
Lloh20:
	ldr	x11, [x11, _KC_ESCAPE@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	cmp	x9, #0
	csel	w9, w10, w11, eq
	csel	w10, w11, w10, eq
	tst	w8, w19
	csel	w0, w10, w9, eq
	blr	x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_send_keyboard_report
LBB0_2:
	cbz	x8, LBB0_9
; %bb.3:
	cmp	w1, #136
	b.eq	LBB0_7
; %bb.4:
	cmp	w1, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w1, #128
	b.ne	LBB0_9
; %bb.6:
	mov	w8, #1
	lsl	x19, x8, x2
	mov	x0, x19
	bl	_eeconfig_update_default_layer
	mov	x0, x19
	bl	_default_layer_set
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_layer_clear
LBB0_8:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
Lloh24:
	adrp	x8, _click_toggle@GOTPAGE
Lloh25:
	ldr	x8, [x8, _click_toggle@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintf
Lloh29:
	adrp	x8, _click_hz@GOTPAGE
Lloh30:
	ldr	x8, [x8, _click_hz@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dprintf
Lloh34:
	adrp	x8, _click_time@GOTPAGE
Lloh35:
	ldr	x8, [x8, _click_time@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dprintf
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LFK_ESC_TILDE,4,2              ; @LFK_ESC_TILDE
	.comm	_KC_LSHIFT,4,2                  ; @KC_LSHIFT
	.comm	_KC_RSHIFT,4,2                  ; @KC_RSHIFT
	.comm	_layer_state,8,3                ; @layer_state
	.comm	_KC_GRAVE,4,2                   ; @KC_GRAVE
	.comm	_KC_ESCAPE,4,2                  ; @KC_ESCAPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Click:\n"

l_.str.1:                               ; @.str.1
	.asciz	"  toggle: %d\n"

	.comm	_click_toggle,4,2               ; @click_toggle
l_.str.2:                               ; @.str.2
	.asciz	"  freq(hz): %d\n"

	.comm	_click_hz,4,2                   ; @click_hz
l_.str.3:                               ; @.str.3
	.asciz	"  duration(ms): %d\n"

	.comm	_click_time,4,2                 ; @click_time
.subsections_via_symbols
