	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwGetKeyScancode             ## -- Begin function glfwGetKeyScancode
	.p2align	4, 0x90
_glfwGetKeyScancode:                    ## @glfwGetKeyScancode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movl	$-1, %edi
	callq	__GLFW_REQUIRE_INIT_OR_RETURN
	movq	_GLFW_KEY_SPACE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_GLFW_KEY_LAST@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jl	LBB0_2
## %bb.3:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	__glfwPlatformGetKeyScancode    ## TAILCALL
LBB0_2:
	movq	_GLFW_INVALID_ENUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	__glfwInputError
	movq	_GLFW_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_KEY_SPACE,4,2             ## @GLFW_KEY_SPACE
	.comm	_GLFW_KEY_LAST,4,2              ## @GLFW_KEY_LAST
	.comm	_GLFW_INVALID_ENUM,4,2          ## @GLFW_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid key %i"

	.comm	_GLFW_RELEASE,4,2               ## @GLFW_RELEASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwGetKeyScancode             ; -- Begin function glfwGetKeyScancode
	.p2align	2
_glfwGetKeyScancode:                    ; @glfwGetKeyScancode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #-1
	bl	__GLFW_REQUIRE_INIT_OR_RETURN
Lloh0:
	adrp	x8, _GLFW_KEY_SPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_KEY_SPACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GLFW_KEY_LAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLFW_KEY_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #8, le
	b.ge	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _GLFW_INVALID_ENUM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLFW_INVALID_ENUM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	__glfwInputError
Lloh11:
	adrp	x8, _GLFW_RELEASE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GLFW_RELEASE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__glfwPlatformGetKeyScancode
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_KEY_SPACE,4,2             ; @GLFW_KEY_SPACE
	.comm	_GLFW_KEY_LAST,4,2              ; @GLFW_KEY_LAST
	.comm	_GLFW_INVALID_ENUM,4,2          ; @GLFW_INVALID_ENUM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid key %i"

	.comm	_GLFW_RELEASE,4,2               ; @GLFW_RELEASE
.subsections_via_symbols
