	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mouseButtonFun
_mouseButtonFun:                        ## @mouseButtonFun
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GLFW_MOUSE_BUTTON_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%esi, %ecx
	jne	LBB0_4
## %bb.1:
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_xpos@GOTPCREL(%rip), %rax
	movq	_width@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	xorl	%ecx, %ecx
	cmpl	%edx, (%rax)
	setl	%cl
	movl	$2, %eax
	subl	%ecx, %eax
	movq	_active_view@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_ypos@GOTPCREL(%rip), %rcx
	movq	_height@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	cmpl	%esi, (%rcx)
	jl	LBB0_6
## %bb.3:
	addl	$2, %eax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
	cmpl	%esi, %ecx
	jne	LBB0_6
LBB0_5:
	movq	_active_view@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_6:
	movq	_do_redraw@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_MOUSE_BUTTON_LEFT,4,2     ## @GLFW_MOUSE_BUTTON_LEFT
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_active_view,4,2                ## @active_view
	.comm	_xpos,4,2                       ## @xpos
	.comm	_width,4,2                      ## @width
	.comm	_ypos,4,2                       ## @ypos
	.comm	_height,4,2                     ## @height
	.comm	_do_redraw,4,2                  ## @do_redraw
	.no_dead_strip	_mouseButtonFun
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mouseButtonFun
_mouseButtonFun:                        ; @mouseButtonFun
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _GLFW_MOUSE_BUTTON_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_MOUSE_BUTTON_LEFT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _GLFW_PRESS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GLFW_PRESS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x8]
Lloh5:
	ldr	w8, [x10]
	cmp	w9, w1
	ccmp	w8, w2, #0, eq
Lloh6:
	adrp	x8, _active_view@GOTPAGE
Lloh7:
	ldr	x8, [x8, _active_view@GOTPAGEOFF]
	b.eq	LBB0_3
; %bb.1:
	cmp	w9, w1
	b.ne	LBB0_6
; %bb.2:
	mov	w9, #0
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x9, _xpos@GOTPAGE
Lloh9:
	ldr	x9, [x9, _xpos@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _width@GOTPAGE
Lloh12:
	ldr	x10, [x10, _width@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w10, #0
	cinc	w10, w10, lt
	cmp	w9, w10, asr #1
	mov	w9, #1
	cinc	w9, w9, ge
	str	w9, [x8]
Lloh14:
	adrp	x10, _ypos@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ypos@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
Lloh17:
	adrp	x11, _height@GOTPAGE
Lloh18:
	ldr	x11, [x11, _height@GOTPAGEOFF]
Lloh19:
	ldr	w11, [x11]
	cmp	w11, #0
	cinc	w11, w11, lt
	cmp	w10, w11, asr #1
	b.lt	LBB0_6
; %bb.4:
	add	w9, w9, #2
LBB0_5:
	str	w9, [x8]
LBB0_6:
Lloh20:
	adrp	x8, _do_redraw@GOTPAGE
Lloh21:
	ldr	x8, [x8, _do_redraw@GOTPAGEOFF]
	mov	w9, #1
Lloh22:
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_MOUSE_BUTTON_LEFT,4,2     ; @GLFW_MOUSE_BUTTON_LEFT
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_active_view,4,2                ; @active_view
	.comm	_xpos,4,2                       ; @xpos
	.comm	_width,4,2                      ; @width
	.comm	_ypos,4,2                       ; @ypos
	.comm	_height,4,2                     ; @height
	.comm	_do_redraw,4,2                  ; @do_redraw
	.no_dead_strip	_mouseButtonFun
.subsections_via_symbols
