	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_key_hton               ## -- Begin function netplay_key_hton
	.p2align	4, 0x90
_netplay_key_hton:                      ## @netplay_key_hton
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RETROK_LAST@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	ja	LBB0_1
## %bb.2:
	movq	_NETPLAY_KEY_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_mapping@GOTPCREL(%rip), %rcx
	movl	%edi, %eax
	shlq	$2, %rax
	addq	(%rcx), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RETROK_LAST,4,2                ## @RETROK_LAST
	.comm	_NETPLAY_KEY_UNKNOWN,4,2        ## @NETPLAY_KEY_UNKNOWN
	.comm	_mapping,8,3                    ## @mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netplay_key_hton               ; -- Begin function netplay_key_hton
	.p2align	2
_netplay_key_hton:                      ; @netplay_key_hton
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RETROK_LAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETROK_LAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _mapping@GOTPAGE
Lloh4:
	ldr	x9, [x9, _mapping@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, w0, uxtw #2
Lloh6:
	adrp	x10, _NETPLAY_KEY_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NETPLAY_KEY_UNKNOWN@GOTPAGEOFF]
	cmp	w8, w0
	csel	x8, x9, x10, hi
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RETROK_LAST,4,2                ; @RETROK_LAST
	.comm	_NETPLAY_KEY_UNKNOWN,4,2        ; @NETPLAY_KEY_UNKNOWN
	.comm	_mapping,8,3                    ; @mapping
.subsections_via_symbols
