	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_vk_get_key_code
_in_vk_get_key_code:                    ## @in_vk_get_key_code
	.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	%rdi, %r15
	cmpb	$0, 1(%rdi)
	jne	LBB0_2
## %bb.1:
	movsbl	(%r15), %r14d
	leal	-65(%r14), %eax
	cmpb	$26, %al
	jb	LBB0_8
LBB0_2:
	movq	_IN_VK_NKEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$-1, %r14d
	testl	%r12d, %r12d
	jle	LBB0_8
## %bb.3:
	movq	_in_vk_keys@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:
	movl	%ebx, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IN_VK_NKEYS,4,2                ## @IN_VK_NKEYS
	.comm	_in_vk_keys,8,3                 ## @in_vk_keys
	.no_dead_strip	_in_vk_get_key_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_vk_get_key_code
_in_vk_get_key_code:                    ; @in_vk_get_key_code
	.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
	mov	x20, x0
	ldrb	w8, [x0, #1]
	cbnz	w8, LBB0_2
; %bb.1:
	ldrsb	w19, [x20]
	sub	w8, w19, #65
	cmp	w8, #26
	b.lo	LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _IN_VK_NKEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IN_VK_NKEYS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x19, #0
Lloh3:
	adrp	x8, _in_vk_keys@GOTPAGE
Lloh4:
	ldr	x8, [x8, _in_vk_keys@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, #1
	cmp	x21, x19
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22, x19, lsl #3]
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x20
	bl	_strcasecmp
	cbnz	x0, LBB0_4
	b	LBB0_8
LBB0_7:
	mov	w19, #-1
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IN_VK_NKEYS,4,2                ; @IN_VK_NKEYS
	.comm	_in_vk_keys,8,3                 ; @in_vk_keys
	.no_dead_strip	_in_vk_get_key_code
.subsections_via_symbols
