	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dynamic_macro_record_key       ## -- Begin function dynamic_macro_record_key
	.p2align	4, 0x90
_dynamic_macro_record_key:              ## @dynamic_macro_record_key
	.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	%rdi, %r14
	movq	_dynamic_macros@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rdi, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rbx
	movl	(%rsi), %edx
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.6:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintln                       ## TAILCALL
LBB0_2:
	movq	_DYNAMIC_MACRO_SIZE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rbx
	jae	LBB0_4
## %bb.3:
	leaq	(%rax,%rcx), %rsi
	movq	8(%rax,%rcx), %rax
	movl	%edx, (%rax,%rbx,4)
	incq	%rbx
	movq	%rbx, (%rsi)
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	callq	_dynamic_macro_led_blink
LBB0_5:
	movq	(%r15), %rcx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dynamic_macros,8,3             ## @dynamic_macros
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dynamic macro: ignoring a leading key-up event"

	.comm	_DYNAMIC_MACRO_SIZE,8,3         ## @DYNAMIC_MACRO_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"dynamic macro: slot %d length: %d/%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dynamic_macro_record_key       ; -- Begin function dynamic_macro_record_key
	.p2align	2
_dynamic_macro_record_key:              ; @dynamic_macro_record_key
	.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	x8, _dynamic_macros@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dynamic_macros@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	add	x8, x9, x0, lsl #4
	ldr	x20, [x8]
	ldr	w10, [x1]
	cmp	w10, #0
	ccmp	x20, #0, #0, eq
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x21, _DYNAMIC_MACRO_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DYNAMIC_MACRO_SIZE@GOTPAGEOFF]
	ldr	x11, [x21]
	cmp	x20, x11
	b.hs	LBB0_4
; %bb.2:
	add	x9, x9, x19, lsl #4
	ldr	x9, [x9, #8]
	str	w10, [x9, x20, lsl #2]
	add	x20, x20, #1
	str	x20, [x8]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	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	_dprintln
LBB0_4:
	bl	_dynamic_macro_led_blink
LBB0_5:
	ldr	x3, [x21]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	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	_dprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_dynamic_macros,8,3             ; @dynamic_macros
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dynamic macro: ignoring a leading key-up event"

	.comm	_DYNAMIC_MACRO_SIZE,8,3         ; @DYNAMIC_MACRO_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"dynamic macro: slot %d length: %d/%d\n"

.subsections_via_symbols
