	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInputMouseClick           ## -- Begin function _glfwInputMouseClick
	.p2align	4, 0x90
__glfwInputMouseClick:                  ## @_glfwInputMouseClick
	.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_9
## %bb.1:
	movq	_GLFW_MOUSE_BUTTON_LAST@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_9
## %bb.2:
	cmpl	$0, 24(%rdi)
	jne	LBB0_4
## %bb.3:
	movq	_GLFW_MOD_CAPS_LOCK@GOTPCREL(%rip), %r8
	movq	_GLFW_MOD_NUM_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r8), %eax
	notl	%eax
	andl	%eax, %ecx
LBB0_4:
	movq	_GLFW_RELEASE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_7
## %bb.5:
	cmpq	$0, 16(%rdi)
	je	LBB0_7
## %bb.6:
	movq	__GLFW_STICK@GOTPCREL(%rip), %rax
	movb	(%rax), %r8b
	jmp	LBB0_8
LBB0_7:
	movl	%edx, %r8d
LBB0_8:
	movq	(%rdi), %r9
	movl	%esi, %eax
	movb	%r8b, (%r9,%rax)
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_MOUSE_BUTTON_LAST,4,2     ## @GLFW_MOUSE_BUTTON_LAST
	.comm	_GLFW_MOD_CAPS_LOCK,4,2         ## @GLFW_MOD_CAPS_LOCK
	.comm	_GLFW_MOD_NUM_LOCK,4,2          ## @GLFW_MOD_NUM_LOCK
	.comm	_GLFW_RELEASE,4,2               ## @GLFW_RELEASE
	.comm	__GLFW_STICK,1,0                ## @_GLFW_STICK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwInputMouseClick           ; -- Begin function _glfwInputMouseClick
	.p2align	2
__glfwInputMouseClick:                  ; @_glfwInputMouseClick
	.cfi_startproc
; %bb.0:
	tbnz	w1, #31, LBB0_10
; %bb.1:
Lloh0:
	adrp	x8, _GLFW_MOUSE_BUTTON_LAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_MOUSE_BUTTON_LAST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_10
; %bb.2:
	ldr	w8, [x0, #24]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _GLFW_MOD_CAPS_LOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_MOD_CAPS_LOCK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GLFW_MOD_NUM_LOCK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GLFW_MOD_NUM_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w3, w3, w8
LBB0_4:
Lloh9:
	adrp	x8, _GLFW_RELEASE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_RELEASE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, __GLFW_STICK@GOTPAGE
Lloh13:
	ldr	x8, [x8, __GLFW_STICK@GOTPAGEOFF]
	ldrb	w8, [x8]
	b	LBB0_8
LBB0_7:
	mov	x8, x2
LBB0_8:
	ldr	x9, [x0]
	strb	w8, [x9, w1, uxtw]
	ldr	x4, [x0, #8]
	cbz	x4, LBB0_10
; %bb.9:
	br	x4
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_MOUSE_BUTTON_LAST,4,2     ; @GLFW_MOUSE_BUTTON_LAST
	.comm	_GLFW_MOD_CAPS_LOCK,4,2         ; @GLFW_MOD_CAPS_LOCK
	.comm	_GLFW_MOD_NUM_LOCK,4,2          ; @GLFW_MOD_NUM_LOCK
	.comm	_GLFW_RELEASE,4,2               ; @GLFW_RELEASE
	.comm	__GLFW_STICK,1,0                ; @_GLFW_STICK
.subsections_via_symbols
