	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInputKey                  ## -- Begin function _glfwInputKey
	.p2align	4, 0x90
__glfwInputKey:                         ## @_glfwInputKey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	js	LBB0_13
## %bb.1:
	movq	_GLFW_KEY_LAST@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_13
## %bb.2:
	movq	_GLFW_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_GLFW_RELEASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	%esi, %r10d
	cmpl	%ecx, %r11d
	jne	LBB0_4
## %bb.3:
	movq	(%rdi), %rax
	cmpl	%ecx, (%rax,%r10,4)
	je	LBB0_16
LBB0_4:
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	(%rdi), %rax
	cmpl	%ecx, (%rax,%r10,4)
	jne	LBB0_7
## %bb.6:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
LBB0_7:
	cmpl	%ecx, %r11d
	jne	LBB0_10
## %bb.8:
	cmpq	$0, 24(%rdi)
	je	LBB0_10
## %bb.9:
	movq	__GLFW_STICK@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	jmp	LBB0_11
LBB0_10:
	movsbl	%cl, %r11d
LBB0_11:
	movq	(%rdi), %rax
	movl	%r11d, (%rax,%r10,4)
	testq	%r9, %r9
	je	LBB0_13
## %bb.12:
	movq	_GLFW_REPEAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_13:
	cmpl	$0, 16(%rdi)
	jne	LBB0_15
## %bb.14:
	movq	_GLFW_MOD_CAPS_LOCK@GOTPCREL(%rip), %r9
	movq	_GLFW_MOD_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r9), %eax
	notl	%eax
	andl	%eax, %r8d
LBB0_15:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_KEY_LAST,4,2              ## @GLFW_KEY_LAST
	.comm	_GLFW_FALSE,8,3                 ## @GLFW_FALSE
	.comm	_GLFW_RELEASE,4,2               ## @GLFW_RELEASE
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_GLFW_TRUE,8,3                  ## @GLFW_TRUE
	.comm	__GLFW_STICK,4,2                ## @_GLFW_STICK
	.comm	_GLFW_REPEAT,4,2                ## @GLFW_REPEAT
	.comm	_GLFW_MOD_CAPS_LOCK,4,2         ## @GLFW_MOD_CAPS_LOCK
	.comm	_GLFW_MOD_NUM_LOCK,4,2          ## @GLFW_MOD_NUM_LOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInputKey                  ; -- Begin function _glfwInputKey
	.p2align	2
__glfwInputKey:                         ; @_glfwInputKey
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_11
; %bb.1:
Lloh0:
	adrp	x8, _GLFW_KEY_LAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_KEY_LAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_11
; %bb.2:
Lloh3:
	adrp	x8, _GLFW_FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_FALSE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _GLFW_RELEASE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GLFW_RELEASE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w3
	b.ne	LBB0_4
; %bb.3:
	ldr	x10, [x0]
	ldr	w10, [x10, w1, uxtw #2]
	cmp	w10, w3
	b.eq	LBB0_15
LBB0_4:
Lloh9:
	adrp	x10, _GLFW_PRESS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GLFW_PRESS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w10, w3
	b.ne	LBB0_6
; %bb.5:
	ldr	x10, [x0]
	ldr	w10, [x10, w1, uxtw #2]
Lloh12:
	adrp	x11, _GLFW_TRUE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _GLFW_TRUE@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	cmp	w10, w3
	csel	x8, x11, x8, eq
LBB0_6:
	cmp	w9, w3
	b.ne	LBB0_9
; %bb.7:
	ldr	x9, [x0, #24]
	cbz	x9, LBB0_9
; %bb.8:
Lloh15:
	adrp	x9, __GLFW_STICK@GOTPAGE
Lloh16:
	ldr	x9, [x9, __GLFW_STICK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	b	LBB0_10
LBB0_9:
	sxtb	w9, w3
LBB0_10:
	ldr	x10, [x0]
	str	w9, [x10, w1, uxtw #2]
Lloh18:
	adrp	x9, _GLFW_REPEAT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _GLFW_REPEAT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w3, w3, w9, eq
LBB0_11:
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_14
; %bb.12:
	ldr	x5, [x0, #8]
	cbz	x5, LBB0_15
LBB0_13:
	br	x5
LBB0_14:
Lloh21:
	adrp	x8, _GLFW_MOD_CAPS_LOCK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLFW_MOD_CAPS_LOCK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _GLFW_MOD_NUM_LOCK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GLFW_MOD_NUM_LOCK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w4, w4, w8
	ldr	x5, [x0, #8]
	cbnz	x5, LBB0_13
LBB0_15:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_KEY_LAST,4,2              ; @GLFW_KEY_LAST
	.comm	_GLFW_FALSE,8,3                 ; @GLFW_FALSE
	.comm	_GLFW_RELEASE,4,2               ; @GLFW_RELEASE
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_GLFW_TRUE,8,3                  ; @GLFW_TRUE
	.comm	__GLFW_STICK,4,2                ; @_GLFW_STICK
	.comm	_GLFW_REPEAT,4,2                ; @GLFW_REPEAT
	.comm	_GLFW_MOD_CAPS_LOCK,4,2         ; @GLFW_MOD_CAPS_LOCK
	.comm	_GLFW_MOD_NUM_LOCK,4,2          ; @GLFW_MOD_NUM_LOCK
.subsections_via_symbols
