	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_key_definition
_dump_key_definition:                   ## @dump_key_definition
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rsi
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str(%rip), %rdi
	callq	_puts
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.1:
	movq	_NUM_STATES@GOTPCREL(%rip), %r14
	movq	_SPECIAL@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	movl	(%rax,%rcx,8), %esi
	movl	16(%rax,%rcx,8), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %rax
	leaq	(,%r13,2), %rdx
	addq	%r13, %rdx
	movl	(%rax,%rdx,8), %esi
	movl	%ebx, %ecx
	shll	%cl, %esi
	movsbl	%sil, %edi
	sarl	$7, %edi
	movq	8(%rax,%rdx,8), %rax
	andl	(%r15), %edi
	orl	(%rax,%rbx,4), %edi
	callq	_dump_entry
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_6:
	leaq	L_str.5(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"static keymap_t keymap_%s = { 0x%02x, {\n"

L_.str.2:                               ## @.str.2
	.asciz	"/*%02x*/{{"

	.comm	_NUM_STATES,4,2                 ## @NUM_STATES
	.comm	_SPECIAL,4,2                    ## @SPECIAL
L_.str.3:                               ## @.str.3
	.asciz	"}, 0x%02X,0x%02X },\n"

L_str:                                  ## @str
	.asciz	"/*                                                         alt\n * scan                       cntrl          alt    alt   cntrl\n * code  base   shift  cntrl  shift   alt   shift  cntrl  shift    spcl flgs\n * ---------------------------------------------------------------------------\n */"

L_str.5:                                ## @str.5
	.asciz	"} };\n"

	.no_dead_strip	_dump_key_definition
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_key_definition
_dump_key_definition:                   ; @dump_key_definition
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	ldr	w8, [x1]
	stp	x0, x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x0, l_str@PAGE
Lloh3:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh6:
	adrp	x23, _NUM_STATES@GOTPAGE
Lloh7:
	ldr	x23, [x23, _NUM_STATES@GOTPAGEOFF]
	mov	w24, #24
Lloh8:
	adrp	x25, _SPECIAL@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SPECIAL@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.3@PAGE
Lloh11:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	madd	x8, x22, x24, x8
	ldr	x9, [x8, #16]
	ldr	w8, [x8]
	stp	x8, x9, [sp]
	mov	x0, x21
	bl	_printf
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	str	x22, [sp]
	mov	x0, x20
	bl	_printf
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	madd	x8, x22, x24, x8
	ldr	x9, [x8, #8]
	ldr	w9, [x9, x26, lsl #2]
	ldr	w8, [x8]
	ldr	w10, [x25]
	lsl	w8, w8, w26
	lsl	w8, w8, #24
	and	w8, w10, w8, asr #31
	orr	w0, w9, w8
	bl	_dump_entry
	add	x26, x26, #1
	ldrsw	x8, [x23]
	cmp	x26, x8
	b.lt	LBB0_5
	b	LBB0_2
LBB0_6:
Lloh12:
	adrp	x0, l_str.5@PAGE
Lloh13:
	add	x0, x0, l_str.5@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_puts
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"static keymap_t keymap_%s = { 0x%02x, {\n"

l_.str.2:                               ; @.str.2
	.asciz	"/*%02x*/{{"

	.comm	_NUM_STATES,4,2                 ; @NUM_STATES
	.comm	_SPECIAL,4,2                    ; @SPECIAL
l_.str.3:                               ; @.str.3
	.asciz	"}, 0x%02X,0x%02X },\n"

l_str:                                  ; @str
	.asciz	"/*                                                         alt\n * scan                       cntrl          alt    alt   cntrl\n * code  base   shift  cntrl  shift   alt   shift  cntrl  shift    spcl flgs\n * ---------------------------------------------------------------------------\n */"

l_str.5:                                ; @str.5
	.asciz	"} };\n"

	.no_dead_strip	_dump_key_definition
.subsections_via_symbols
