	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mod_press                      ## -- Begin function mod_press
	.p2align	4, 0x90
_mod_press:                             ## @mod_press
	.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
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	_last_mod@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	%edx, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$10, %eax
	je	LBB0_3
## %bb.2:
	callq	_tap_code16
	movl	$10, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_timer_read
	movq	_tap_timer@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, (%r15)
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_register_code                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_last_mod,4,2                   ## @last_mod
	.comm	_tap_timer,4,2                  ## @tap_timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mod_press                      ; -- Begin function mod_press
	.p2align	2
_mod_press:                             ; @mod_press
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _last_mod@GOTPAGE
Lloh1:
	ldr	x21, [x21, _last_mod@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w2
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	bl	_timer_read
Lloh2:
	adrp	x8, _tap_timer@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tap_timer@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	str	w20, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_register_code
LBB0_2:
	bl	_tap_code16
	mov	w8, #10
	str	w8, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_last_mod,4,2                   ; @last_mod
	.comm	_tap_timer,4,2                  ; @tap_timer
.subsections_via_symbols
