	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hex_to_keycode                 ## -- Begin function hex_to_keycode
	.weak_definition	_hex_to_keycode
	.p2align	4, 0x90
_hex_to_keycode:                        ## @hex_to_keycode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	andl	$15, %edi
	je	LBB0_1
## %bb.2:
	cmpl	$9, %edi
	ja	LBB0_4
## %bb.3:
	movq	_KC_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%edi, %eax
	decl	%eax
	popq	%rbp
	retq
LBB0_1:
	movq	_KC_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_KC_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%edi, %eax
	addl	$-10, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_0,4,2                       ## @KC_0
	.comm	_KC_1,4,2                       ## @KC_1
	.comm	_KC_A,4,2                       ## @KC_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hex_to_keycode                 ; -- Begin function hex_to_keycode
	.weak_definition	_hex_to_keycode
	.p2align	2
_hex_to_keycode:                        ; @hex_to_keycode
	.cfi_startproc
; %bb.0:
	ands	w8, w0, #0xf
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #9
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _KC_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KC_1@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w8, w8, w9
	sub	w0, w8, #1
	ret
LBB0_3:
Lloh3:
	adrp	x8, _KC_0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KC_0@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh6:
	adrp	x9, _KC_A@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KC_A@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w8, w8, w9
	sub	w0, w8, #10
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_0,4,2                       ; @KC_0
	.comm	_KC_1,4,2                       ; @KC_1
	.comm	_KC_A,4,2                       ; @KC_A
.subsections_via_symbols
