	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function udev_mouse_state
_udev_mouse_state:                      ## @udev_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
	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
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rdi, %r13
	callq	_udev_get_mouse
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %r15
	movl	%ebx, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_udev_pointer_is_off_window
	testq	%rax, %rax
	je	LBB0_3
LBB0_20:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	addl	$-128, %ebx
	cmpl	$10, %ebx
	ja	LBB0_20
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.9:
	movl	(%r13), %r14d
	jmp	LBB0_20
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:
	movl	4(%r13), %r14d
	jmp	LBB0_20
LBB0_16:
	movl	12(%r15), %r14d
	jmp	LBB0_20
LBB0_17:
	movl	8(%r15), %r14d
	jmp	LBB0_20
LBB0_12:
	movl	28(%r15), %r14d
	jmp	LBB0_20
LBB0_13:
	movl	24(%r15), %r14d
	jmp	LBB0_20
LBB0_11:
	movl	32(%r15), %r14d
	jmp	LBB0_20
LBB0_18:
	movl	4(%r15), %r14d
	jmp	LBB0_20
LBB0_19:
	movl	(%r15), %r14d
	jmp	LBB0_20
LBB0_15:
	movl	16(%r15), %r14d
	jmp	LBB0_20
LBB0_14:
	movl	20(%r15), %r14d
	jmp	LBB0_20
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udev_mouse_get_y               ## TAILCALL
LBB0_7:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udev_mouse_get_x               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_15
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_udev_mouse_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function udev_mouse_state
_udev_mouse_state:                      ; @udev_mouse_state
	.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	x21, x3
	mov	x22, x2
	mov	x20, x0
	bl	_udev_get_mouse
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	and	w8, w22, #0xfffffffe
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_udev_pointer_is_off_window
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	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_5:
	sub	w8, w22, #128
	cmp	w8, #10
	b.hi	LBB0_3
; %bb.6:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	cbz	w21, LBB0_20
; %bb.8:
	ldr	w0, [x20]
	b	LBB0_4
LBB0_9:
	cbz	w21, LBB0_21
; %bb.10:
	ldr	w0, [x20, #4]
	b	LBB0_4
LBB0_11:
	ldr	w0, [x19, #12]
	b	LBB0_4
LBB0_12:
	ldr	w0, [x19, #8]
	b	LBB0_4
LBB0_13:
	ldr	w0, [x19, #28]
	b	LBB0_4
LBB0_14:
	ldr	w0, [x19, #24]
	b	LBB0_4
LBB0_15:
	ldr	w0, [x19, #32]
	b	LBB0_4
LBB0_16:
	ldr	w0, [x19, #4]
	b	LBB0_4
LBB0_17:
	ldr	w0, [x19]
	b	LBB0_4
LBB0_18:
	ldr	w0, [x19, #16]
	b	LBB0_4
LBB0_19:
	ldr	w0, [x19, #20]
	b	LBB0_4
LBB0_20:
	mov	x0, x19
	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	_udev_mouse_get_y
LBB0_21:
	mov	x0, x19
	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	_udev_mouse_get_x
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
                                        ; -- End function
	.no_dead_strip	_udev_mouse_state
.subsections_via_symbols
