	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handlePointerButton
_handlePointerButton:                   ## @handlePointerButton
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_mir_pointer_event_buttons
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mir_pointer_event_modifiers
	movl	%eax, %edi
	callq	_mirModToGLFWMod
	addl	$-128, %ebx
	movslq	%ebx, %rcx
	leaq	l_switch.table.handlePointerButton(%rip), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__glfwInputMouseClick           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_MOUSE_BUTTON_LEFT,4,2     ## @GLFW_MOUSE_BUTTON_LEFT
	.comm	_GLFW_MOUSE_BUTTON_RIGHT,4,2    ## @GLFW_MOUSE_BUTTON_RIGHT
	.comm	_GLFW_MOUSE_BUTTON_MIDDLE,4,2   ## @GLFW_MOUSE_BUTTON_MIDDLE
	.comm	_GLFW_MOUSE_BUTTON_4,4,2        ## @GLFW_MOUSE_BUTTON_4
	.comm	_GLFW_MOUSE_BUTTON_5,4,2        ## @GLFW_MOUSE_BUTTON_5
	.no_dead_strip	_handlePointerButton
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.handlePointerButton
l_switch.table.handlePointerButton:
	.quad	_GLFW_MOUSE_BUTTON_MIDDLE
	.quad	_GLFW_MOUSE_BUTTON_RIGHT
	.quad	_GLFW_MOUSE_BUTTON_LEFT
	.quad	_GLFW_MOUSE_BUTTON_4
	.quad	_GLFW_MOUSE_BUTTON_5

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handlePointerButton
_handlePointerButton:                   ; @handlePointerButton
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_mir_pointer_event_buttons
	mov	x22, x0
	mov	x0, x19
	bl	_mir_pointer_event_modifiers
	bl	_mirModToGLFWMod
	mov	x3, x0
	sub	w8, w22, #128
Lloh0:
	adrp	x9, l_switch.table.handlePointerButton@PAGE
Lloh1:
	add	x9, x9, l_switch.table.handlePointerButton@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	__glfwInputMouseClick
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_MOUSE_BUTTON_LEFT,4,2     ; @GLFW_MOUSE_BUTTON_LEFT
	.comm	_GLFW_MOUSE_BUTTON_RIGHT,4,2    ; @GLFW_MOUSE_BUTTON_RIGHT
	.comm	_GLFW_MOUSE_BUTTON_MIDDLE,4,2   ; @GLFW_MOUSE_BUTTON_MIDDLE
	.comm	_GLFW_MOUSE_BUTTON_4,4,2        ; @GLFW_MOUSE_BUTTON_4
	.comm	_GLFW_MOUSE_BUTTON_5,4,2        ; @GLFW_MOUSE_BUTTON_5
	.no_dead_strip	_handlePointerButton
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.handlePointerButton
l_switch.table.handlePointerButton:
	.quad	_GLFW_MOUSE_BUTTON_MIDDLE
	.quad	_GLFW_MOUSE_BUTTON_RIGHT
	.quad	_GLFW_MOUSE_BUTTON_LEFT
	.quad	_GLFW_MOUSE_BUTTON_4
	.quad	_GLFW_MOUSE_BUTTON_5

.subsections_via_symbols
