	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mouse_button_callback          ## -- Begin function mouse_button_callback
	.p2align	4, 0x90
_mouse_button_callback:                 ## @mouse_button_callback
	.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
	movq	_GLFW_MOUSE_BUTTON_LEFT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	movq	_GLFW_CURSOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%edx, (%rax)
	jne	LBB0_2
## %bb.4:
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_glfwSetInputMode
	movq	_cursorX@GOTPCREL(%rip), %rsi
	movq	_cursorY@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwGetCursorPos               ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_GLFW_CURSOR_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwSetInputMode               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_MOUSE_BUTTON_LEFT,4,2     ## @GLFW_MOUSE_BUTTON_LEFT
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_GLFW_CURSOR,4,2                ## @GLFW_CURSOR
	.comm	_GLFW_CURSOR_DISABLED,4,2       ## @GLFW_CURSOR_DISABLED
	.comm	_cursorX,4,2                    ## @cursorX
	.comm	_cursorY,4,2                    ## @cursorY
	.comm	_GLFW_CURSOR_NORMAL,4,2         ## @GLFW_CURSOR_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mouse_button_callback          ; -- Begin function mouse_button_callback
	.p2align	2
_mouse_button_callback:                 ; @mouse_button_callback
	.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
Lloh0:
	adrp	x8, _GLFW_MOUSE_BUTTON_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_MOUSE_BUTTON_LEFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _GLFW_PRESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_PRESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GLFW_CURSOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GLFW_CURSOR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_glfwSetInputMode
Lloh12:
	adrp	x1, _cursorX@GOTPAGE
Lloh13:
	ldr	x1, [x1, _cursorX@GOTPAGEOFF]
Lloh14:
	adrp	x2, _cursorY@GOTPAGE
Lloh15:
	ldr	x2, [x2, _cursorY@GOTPAGEOFF]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_glfwGetCursorPos
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh16:
	adrp	x8, _GLFW_CURSOR_NORMAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GLFW_CURSOR_NORMAL@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_glfwSetInputMode
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_MOUSE_BUTTON_LEFT,4,2     ; @GLFW_MOUSE_BUTTON_LEFT
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_GLFW_CURSOR,4,2                ; @GLFW_CURSOR
	.comm	_GLFW_CURSOR_DISABLED,4,2       ; @GLFW_CURSOR_DISABLED
	.comm	_cursorX,4,2                    ; @cursorX
	.comm	_cursorY,4,2                    ; @cursorY
	.comm	_GLFW_CURSOR_NORMAL,4,2         ; @GLFW_CURSOR_NORMAL
.subsections_via_symbols
