	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rwebinput_mouse_state
_rwebinput_mouse_state:                 ## @rwebinput_mouse_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$10, %esi
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	xorl	%eax, %eax
	testl	%edx, %edx
	setne	%al
	movl	24(%rdi,%rax,4), %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	testl	%edx, %edx
	setne	%al
	movl	32(%rdi,%rax,4), %eax
	popq	%rbp
	retq
LBB0_11:
	xorpd	%xmm0, %xmm0
	xorl	%eax, %eax
	ucomisd	8(%rdi), %xmm0
	jmp	LBB0_16
LBB0_12:
	movsd	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero
	jmp	LBB0_15
LBB0_7:
	movl	(%rdi), %ecx
	movq	_RWEBINPUT_MOUSE_BTNR@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movl	(%rdi), %ecx
	movq	_RWEBINPUT_MOUSE_BTNM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movl	(%rdi), %ecx
	movq	_RWEBINPUT_MOUSE_BTNL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_13:
	xorpd	%xmm0, %xmm0
	xorl	%eax, %eax
	ucomisd	16(%rdi), %xmm0
	jmp	LBB0_16
LBB0_14:
	movsd	16(%rdi), %xmm0                 ## xmm0 = mem[0],zero
LBB0_15:
	xorpd	%xmm1, %xmm1
	xorl	%eax, %eax
	ucomisd	%xmm1, %xmm0
LBB0_16:
	seta	%al
	popq	%rbp
	retq
LBB0_10:
	movl	(%rdi), %ecx
	movq	_RWEBINPUT_MOUSE_BTN5@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movl	(%rdi), %ecx
	movq	_RWEBINPUT_MOUSE_BTN4@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	setb	%al
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.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_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-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_4
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_RWEBINPUT_MOUSE_BTNL,4,2       ## @RWEBINPUT_MOUSE_BTNL
	.comm	_RWEBINPUT_MOUSE_BTNR,4,2       ## @RWEBINPUT_MOUSE_BTNR
	.comm	_RWEBINPUT_MOUSE_BTNM,4,2       ## @RWEBINPUT_MOUSE_BTNM
	.comm	_RWEBINPUT_MOUSE_BTN4,4,2       ## @RWEBINPUT_MOUSE_BTN4
	.comm	_RWEBINPUT_MOUSE_BTN5,4,2       ## @RWEBINPUT_MOUSE_BTN5
	.no_dead_strip	_rwebinput_mouse_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rwebinput_mouse_state
_rwebinput_mouse_state:                 ; @rwebinput_mouse_state
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #10
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cmp	w2, #0
	mov	w8, #28
	mov	w9, #24
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	ret
LBB0_4:
	cmp	w2, #0
	mov	w8, #36
	mov	w9, #32
LBB0_5:
	csel	x8, x9, x8, eq
	ldr	w0, [x0, x8]
	ret
LBB0_6:
	ldr	d0, [x0, #8]
	b	LBB0_12
LBB0_7:
	ldr	d0, [x0, #8]
	b	LBB0_14
LBB0_8:
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _RWEBINPUT_MOUSE_BTNR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RWEBINPUT_MOUSE_BTNR@GOTPAGEOFF]
	b	LBB0_17
LBB0_9:
	ldr	w8, [x0]
Lloh4:
	adrp	x9, _RWEBINPUT_MOUSE_BTNM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RWEBINPUT_MOUSE_BTNM@GOTPAGEOFF]
	b	LBB0_17
LBB0_10:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _RWEBINPUT_MOUSE_BTNL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RWEBINPUT_MOUSE_BTNL@GOTPAGEOFF]
	b	LBB0_17
LBB0_11:
	ldr	d0, [x0, #16]
LBB0_12:
	fcmp	d0, #0.0
	cset	w0, mi
	ret
LBB0_13:
	ldr	d0, [x0, #16]
LBB0_14:
	fcmp	d0, #0.0
	cset	w0, gt
	ret
LBB0_15:
	ldr	w8, [x0]
Lloh8:
	adrp	x9, _RWEBINPUT_MOUSE_BTN5@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RWEBINPUT_MOUSE_BTN5@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
	ldr	w8, [x0]
Lloh10:
	adrp	x9, _RWEBINPUT_MOUSE_BTN4@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RWEBINPUT_MOUSE_BTN4@GOTPAGEOFF]
LBB0_17:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	and	w0, w8, #0x1
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
                                        ; -- End function
	.comm	_RWEBINPUT_MOUSE_BTNL,4,2       ; @RWEBINPUT_MOUSE_BTNL
	.comm	_RWEBINPUT_MOUSE_BTNR,4,2       ; @RWEBINPUT_MOUSE_BTNR
	.comm	_RWEBINPUT_MOUSE_BTNM,4,2       ; @RWEBINPUT_MOUSE_BTNM
	.comm	_RWEBINPUT_MOUSE_BTN4,4,2       ; @RWEBINPUT_MOUSE_BTN4
	.comm	_RWEBINPUT_MOUSE_BTN5,4,2       ; @RWEBINPUT_MOUSE_BTN5
	.no_dead_strip	_rwebinput_mouse_state
.subsections_via_symbols
