	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pointerHandleButton
_pointerHandleButton:                   ## @pointerHandleButton
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__glfw@GOTPCREL(%rip), %r15
	movq	24(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.1:
	movq	%r8, %r14
	movq	_BTN_LEFT@GOTPCREL(%rip), %r12
	cmpq	%r8, (%r12)
	jne	LBB0_6
## %bb.2:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_NONE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r13
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_10
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	8(%rbx), %rax
	movq	__GLFW_DECORATION_WIDTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_17
## %bb.5:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_TOP@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_6:
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_27
## %bb.7:
	cmpl	$130, (%rbx)
	je	LBB0_27
## %bb.8:
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.9:
	movl	16(%r15), %esi
	movq	8(%rbx), %r8
	movq	16(%rbx), %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xdg_toplevel_show_window_menu  ## TAILCALL
LBB0_10:
	xorl	%edi, %edi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r15
	callq	_assert
	jmp	LBB0_18
LBB0_11:
	movq	8(%rbx), %rax
	movq	__GLFW_DECORATION_WIDTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_19
## %bb.12:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_13:
	movq	8(%rbx), %rax
	movq	__GLFW_DECORATION_WIDTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_20
## %bb.14:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_15:
	movq	16(%rbx), %rax
	movq	__GLFW_DECORATION_WIDTH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_21
## %bb.16:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_17:
	movq	24(%rbx), %rdi
	movq	__glfw@GOTPCREL(%rip), %rax
	movl	16(%rax), %esi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r15
	callq	_xdg_toplevel_move
LBB0_18:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_NONE@GOTPCREL(%rip), %rsi
	movq	%r15, %rdx
	movq	__glfw@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_25
LBB0_19:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_20:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_LEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_21:
	addq	32(%rbx), %rcx
	cmpq	%rcx, %rax
	jle	LBB0_23
## %bb.22:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_23:
	movq	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM@GOTPCREL(%rip), %rax
LBB0_24:
	movq	(%rax), %r13
LBB0_25:
	cmpq	(%rsi), %r13
	je	LBB0_27
## %bb.26:
	movq	24(%rbx), %rdi
	movl	16(%r15), %esi
	movq	%r13, %rcx
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, %r13
	callq	_xdg_toplevel_resize
	movq	%r13, %rdx
	movq	-48(%rbp), %r9                  ## 8-byte Reload
LBB0_27:
	cmpl	$130, (%rbx)
	jne	LBB0_30
## %bb.28:
	subl	(%r12), %r14d
	movq	%rdx, 8(%r15)
	movq	_WL_POINTER_BUTTON_STATE_PRESSED@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jne	LBB0_31
## %bb.29:
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	_GLFW_RELEASE@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputMouseClick           ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_25
	.long	L0_0_set_13
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	__glfw,32,3                     ## @_glfw
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_NONE,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_NONE
	.comm	_BTN_LEFT,8,3                   ## @BTN_LEFT
	.comm	__GLFW_DECORATION_WIDTH,8,3     ## @_GLFW_DECORATION_WIDTH
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_TOP,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_TOP
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_LEFT,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_LEFT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_RIGHT,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_RIGHT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM,8,3 ## @XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM
	.comm	_BTN_RIGHT,8,3                  ## @BTN_RIGHT
	.comm	_WL_POINTER_BUTTON_STATE_PRESSED,8,3 ## @WL_POINTER_BUTTON_STATE_PRESSED
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_GLFW_RELEASE,4,2               ## @GLFW_RELEASE
	.no_dead_strip	_pointerHandleButton
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pointerHandleButton
_pointerHandleButton:                   ; @pointerHandleButton
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x24, __glfw@GOTPAGE
Lloh1:
	ldr	x24, [x24, __glfw@GOTPAGEOFF]
	ldr	x19, [x24, #24]
	cbz	x19, LBB0_28
; %bb.1:
	mov	x20, x5
	mov	x22, x4
	mov	x21, x2
Lloh2:
	adrp	x25, _BTN_LEFT@GOTPAGE
Lloh3:
	ldr	x25, [x25, _BTN_LEFT@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, x4
	b.ne	LBB0_6
; %bb.2:
Lloh4:
	adrp	x26, _XDG_TOPLEVEL_RESIZE_EDGE_NONE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _XDG_TOPLEVEL_RESIZE_EDGE_NONE@GOTPAGEOFF]
	ldr	x23, [x26]
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, __GLFW_DECORATION_WIDTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, __GLFW_DECORATION_WIDTH@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_17
; %bb.5:
Lloh11:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_TOP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_TOP@GOTPAGEOFF]
	b	LBB0_23
LBB0_6:
Lloh13:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_26
; %bb.7:
	ldr	w8, [x19]
	cmp	w8, #130
	b.eq	LBB0_26
; %bb.8:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_26
; %bb.9:
	ldr	w1, [x24, #16]
	ldp	x4, x3, [x19, #8]
	mov	x2, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_xdg_toplevel_show_window_menu
LBB0_10:
	mov	w0, #0
	bl	_assert
	b	LBB0_24
LBB0_11:
	ldr	x8, [x19, #8]
Lloh16:
	adrp	x9, __GLFW_DECORATION_WIDTH@GOTPAGE
Lloh17:
	ldr	x9, [x9, __GLFW_DECORATION_WIDTH@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_18
; %bb.12:
Lloh19:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT@GOTPAGEOFF]
	b	LBB0_23
LBB0_13:
	ldr	x8, [x19, #8]
Lloh21:
	adrp	x9, __GLFW_DECORATION_WIDTH@GOTPAGE
Lloh22:
	ldr	x9, [x9, __GLFW_DECORATION_WIDTH@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_19
; %bb.14:
Lloh24:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT@GOTPAGEOFF]
	b	LBB0_23
LBB0_15:
	ldr	x8, [x19, #16]
Lloh26:
	adrp	x9, __GLFW_DECORATION_WIDTH@GOTPAGE
Lloh27:
	ldr	x9, [x9, __GLFW_DECORATION_WIDTH@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_20
; %bb.16:
Lloh29:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT@GOTPAGEOFF]
	b	LBB0_23
LBB0_17:
	ldr	x0, [x19, #24]
	ldr	w1, [x24, #16]
	mov	x2, x21
	bl	_xdg_toplevel_move
	b	LBB0_24
LBB0_18:
Lloh31:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_RIGHT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_RIGHT@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
Lloh33:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_LEFT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_LEFT@GOTPAGEOFF]
	b	LBB0_23
LBB0_20:
	ldr	x10, [x19, #32]
	add	x9, x10, x9
	cmp	x8, x9
	b.le	LBB0_22
; %bb.21:
Lloh35:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh37:
	adrp	x8, _XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM@GOTPAGE
Lloh38:
	ldr	x8, [x8, _XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM@GOTPAGEOFF]
LBB0_23:
	ldr	x23, [x8]
LBB0_24:
	ldr	x8, [x26]
	cmp	x23, x8
	b.eq	LBB0_26
; %bb.25:
	ldr	x0, [x19, #24]
	ldr	w1, [x24, #16]
	mov	x2, x21
	mov	x3, x23
	bl	_xdg_toplevel_resize
LBB0_26:
	ldr	w8, [x19]
	cmp	w8, #130
	b.ne	LBB0_28
; %bb.27:
	str	x21, [x24, #8]
	ldr	w8, [x25]
	sub	w1, w22, w8
Lloh39:
	adrp	x8, _WL_POINTER_BUTTON_STATE_PRESSED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _WL_POINTER_BUTTON_STATE_PRESSED@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _GLFW_PRESS@GOTPAGE
Lloh43:
	ldr	x9, [x9, _GLFW_PRESS@GOTPAGEOFF]
Lloh44:
	adrp	x10, _GLFW_RELEASE@GOTPAGE
Lloh45:
	ldr	x10, [x10, _GLFW_RELEASE@GOTPAGEOFF]
	cmp	x8, x20
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	__glfwInputMouseClick
LBB0_28:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_24-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
                                        ; -- End function
	.comm	__glfw,32,3                     ; @_glfw
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_NONE,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_NONE
	.comm	_BTN_LEFT,8,3                   ; @BTN_LEFT
	.comm	__GLFW_DECORATION_WIDTH,8,3     ; @_GLFW_DECORATION_WIDTH
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_TOP,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_TOP
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_TOP_LEFT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_LEFT,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_LEFT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_TOP_RIGHT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_RIGHT,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_RIGHT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_LEFT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM_RIGHT
	.comm	_XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM,8,3 ; @XDG_TOPLEVEL_RESIZE_EDGE_BOTTOM
	.comm	_BTN_RIGHT,8,3                  ; @BTN_RIGHT
	.comm	_WL_POINTER_BUTTON_STATE_PRESSED,8,3 ; @WL_POINTER_BUTTON_STATE_PRESSED
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_GLFW_RELEASE,4,2               ; @GLFW_RELEASE
	.no_dead_strip	_pointerHandleButton
.subsections_via_symbols
