	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_terminal_keycode               ## -- Begin function terminal_keycode
	.p2align	4, 0x90
_terminal_keycode:                      ## @terminal_keycode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_arguments@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %r14
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %r15
	movq	(%rbx), %rax
	movl	12(%rax), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	_keymaps@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r14,8), %rcx
	leaq	(,%rax,4), %rdi
	addq	(%rcx,%r15,8), %rdi
	callq	_pgm_read_word
	movq	%rax, %rbx
	leaq	-34(%rbp), %r14
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$10, %edx
	callq	_itoa
	leaq	-29(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_itoa
	leaq	L_.str(%rip), %rdi
	callq	_SEND_STRING
	movq	%r15, %rdi
	callq	_send_string
	leaq	L_.str.1(%rip), %rdi
	callq	_SEND_STRING
	movq	%r14, %rdi
	callq	_send_string
	leaq	L_.str.2(%rip), %rdi
	callq	_SEND_STRING
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_arguments,8,3                  ## @arguments
	.comm	_keymaps,8,3                    ## @keymaps
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x"

L_.str.1:                               ## @.str.1
	.asciz	" ("

L_.str.2:                               ## @.str.2
	.asciz	")\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_terminal_keycode               ; -- Begin function terminal_keycode
	.p2align	2
_terminal_keycode:                      ; @terminal_keycode
	.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
Lloh0:
	adrp	x21, _arguments@GOTPAGE
Lloh1:
	ldr	x21, [x21, _arguments@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	bl	_strlen
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
	bl	_strlen
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x21]
	ldr	w0, [x8, #12]
	bl	_strlen
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	mov	x19, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	mov	x20, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #12]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
Lloh2:
	adrp	x8, _keymaps@GOTPAGE
Lloh3:
	ldr	x8, [x8, _keymaps@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8, x19, lsl #3]
	ldr	x8, [x8, x20, lsl #3]
	add	x0, x8, x0, lsl #2
	bl	_pgm_read_word
	mov	x19, x0
	add	x1, sp, #11
	mov	w2, #10
	bl	_itoa
	add	x1, sp, #6
	mov	x0, x19
	mov	w2, #16
	bl	_itoa
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_SEND_STRING
	add	x0, sp, #6
	bl	_send_string
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_SEND_STRING
	add	x0, sp, #11
	bl	_send_string
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_SEND_STRING
LBB0_4:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_arguments,8,3                  ; @arguments
	.comm	_keymaps,8,3                    ; @keymaps
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x"

l_.str.1:                               ; @.str.1
	.asciz	" ("

l_.str.2:                               ; @.str.2
	.asciz	")\n"

.subsections_via_symbols
