	.file	"extr_mir_window.c_handlePointerButton.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	handlePointerButton, @function
handlePointerButton:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	rdi, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	mir_pointer_event_modifiers@PLT
	mov	edi, eax
	call	mirModToGLFWMod@PLT
	mov	rdi, rbp
	mov	r14d, eax
	call	mir_pointer_event_buttons@PLT
	mov	edx, DWORD PTR oldButtonStates.1943[rip]
	mov	esi, DWORD PTR GLFW_MOUSE_BUTTON_LEFT[rip]
	xor	edx, eax
	cmp	edx, 131
	je	.L2
	jg	.L3
	cmp	edx, 128
	je	.L4
	cmp	edx, 129
	jne	.L6
	mov	esi, DWORD PTR GLFW_MOUSE_BUTTON_RIGHT[rip]
.L6:
	mov	DWORD PTR oldButtonStates.1943[rip], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r14d
	mov	edx, r13d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	_glfwInputMouseClick@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	edx, 132
	cmove	esi, DWORD PTR GLFW_MOUSE_BUTTON_5[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	mov	esi, DWORD PTR GLFW_MOUSE_BUTTON_4[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR GLFW_MOUSE_BUTTON_MIDDLE[rip]
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	handlePointerButton, .-handlePointerButton
	.local	oldButtonStates.1943
	.comm	oldButtonStates.1943,4,4
	.comm	GLFW_MOUSE_BUTTON_RIGHT,4,4
	.comm	GLFW_MOUSE_BUTTON_MIDDLE,4,4
	.comm	GLFW_MOUSE_BUTTON_LEFT,4,4
	.comm	GLFW_MOUSE_BUTTON_5,4,4
	.comm	GLFW_MOUSE_BUTTON_4,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mir_window.c_handlePointerButton.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handlePointerButton, %function
handlePointerButton:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r0, r2
	mov	r4, r2
	mov	r6, r1
	bl	mir_pointer_event_modifiers
	bl	mirModToGLFWMod
	mov	r7, r0
	mov	r0, r4
	bl	mir_pointer_event_buttons
	ldr	r4, .L10
	ldr	r2, .L10+4
	ldr	ip, [r4]
	mov	lr, r0
	eor	ip, ip, r0
	sub	ip, ip, #128
	ldr	r1, [r2]
	cmp	ip, #4
	ldrls	pc, [pc, ip, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L2
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L10+8
	ldr	r1, [r3]
.L2:
	mov	r3, r7
	mov	r2, r6
	mov	r0, r5
	str	lr, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	_glfwInputMouseClick
.L7:
	ldr	r3, .L10+12
	ldr	r1, [r3]
	b	.L2
.L6:
	ldr	r3, .L10+16
	ldr	r1, [r3]
	b	.L2
.L5:
	ldr	r3, .L10+20
	ldr	r1, [r3]
	b	.L2
.L11:
	.align	2
.L10:
	.word	.LANCHOR0
	.word	GLFW_MOUSE_BUTTON_LEFT
	.word	GLFW_MOUSE_BUTTON_5
	.word	GLFW_MOUSE_BUTTON_MIDDLE
	.word	GLFW_MOUSE_BUTTON_RIGHT
	.word	GLFW_MOUSE_BUTTON_4
	.size	handlePointerButton, .-handlePointerButton
	.comm	GLFW_MOUSE_BUTTON_RIGHT,4,4
	.comm	GLFW_MOUSE_BUTTON_MIDDLE,4,4
	.comm	GLFW_MOUSE_BUTTON_LEFT,4,4
	.comm	GLFW_MOUSE_BUTTON_5,4,4
	.comm	GLFW_MOUSE_BUTTON_4,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	oldButtonStates.4227, %object
	.size	oldButtonStates.4227, 4
oldButtonStates.4227:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
