	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function winraw_mouse_button_pressed
_winraw_mouse_button_pressed:           ## @winraw_mouse_button_pressed
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	_MAX_USERS@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jbe	LBB0_14
## %bb.1:
	movq	_g_mouse_cnt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.2:
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %ecx
	decl	%edx
	cmpl	%edx, %ecx
	ja	LBB0_14
## %bb.3:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	addl	$-128, %r14d
	cmpl	$6, %r14d
	ja	LBB0_14
## %bb.5:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%r14,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_11:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$20, %rax
	jmp	LBB0_13
LBB0_12:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$24, %rax
	jmp	LBB0_13
LBB0_7:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$4, %rax
	jmp	LBB0_13
LBB0_8:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$8, %rax
	jmp	LBB0_13
LBB0_6:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	jmp	LBB0_13
LBB0_10:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$16, %rax
	jmp	LBB0_13
LBB0_9:
	leaq	(%rcx,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rdx
	addq	%rcx, %rdx
	addq	%rdx, %rax
	addq	$12, %rax
LBB0_13:
	movl	(%rax), %r12d
LBB0_14:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_g_mouse_cnt,4,2                ## @g_mouse_cnt
	.no_dead_strip	_winraw_mouse_button_pressed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function winraw_mouse_button_pressed
_winraw_mouse_button_pressed:           ; @winraw_mouse_button_pressed
	.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	x21, x1
	mov	x20, x0
	bl	_config_get_ptr
Lloh0:
	adrp	x8, _MAX_USERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_USERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ls	LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _g_mouse_cnt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_mouse_cnt@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	cbz	w9, LBB0_7
; %bb.2:
	ldr	x8, [x0]
	ldr	w8, [x8, w21, uxtw #2]
	sub	w9, w9, #1
	cmp	w8, w9
	b.hi	LBB0_7
; %bb.3:
	ldr	x9, [x20]
	cbz	x9, LBB0_7
; %bb.4:
	sub	w10, w19, #128
	cmp	w10, #6
	b.hi	LBB0_7
; %bb.5:
Lloh6:
	adrp	x11, lJTI0_0@PAGE
Lloh7:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_6
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_6:
	mov	w10, #28
	madd	x8, x8, x10, x9
	add	x8, x8, #20
	b	LBB0_15
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	ret
LBB0_9:
	mov	w10, #28
	madd	x8, x8, x10, x9
	add	x8, x8, #24
	b	LBB0_15
LBB0_10:
	mov	w10, #28
	madd	x8, x8, x10, x9
	add	x8, x8, #4
	b	LBB0_15
LBB0_11:
	mov	w10, #28
	madd	x8, x8, x10, x9
	add	x8, x8, #8
	b	LBB0_15
LBB0_12:
	mov	w10, #28
	madd	x8, x8, x10, x9
	b	LBB0_15
LBB0_13:
	mov	w10, #28
	madd	x8, x8, x10, x9
	add	x8, x8, #16
	b	LBB0_15
LBB0_14:
	mov	w10, #28
	madd	x8, x8, x10, x9
	add	x8, x8, #12
LBB0_15:
	ldr	w0, [x8]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_g_mouse_cnt,4,2                ; @g_mouse_cnt
	.no_dead_strip	_winraw_mouse_button_pressed
.subsections_via_symbols
