	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mousedev_generate_response
_mousedev_generate_response:            ## @mousedev_generate_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movl	$250, (%rsi)
	addl	$-233, %eax
	cmpl	$22, %eax
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movabsq	$12884901984, %rax              ## imm = 0x300000060
	movq	%rax, 4(%rsi)
	movl	$200, 12(%rsi)
	movl	$4, 8(%rbx)
	movl	$4, %eax
	jmp	LBB0_9
LBB0_8:
	movl	$1, 8(%rbx)
	movl	$1, %eax
	jmp	LBB0_9
LBB0_2:
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_mousedev_packet
	movl	8(%rbx), %eax
	incl	%eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_9
LBB0_3:
	movl	12(%rbx), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_5
## %bb.4:
	cltq
	leaq	l_switch.table.mousedev_generate_response(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, 4(%rsi)
LBB0_5:
	movl	$2, 8(%rbx)
	movl	$2, %eax
	jmp	LBB0_9
LBB0_7:
	movq	$0, 20(%rbx)
	movl	$128, 12(%rbx)
	movq	$170, 4(%rsi)
	movl	$3, 8(%rbx)
	movl	$3, %eax
LBB0_9:
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_mousedev_generate_response
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.mousedev_generate_response
l_switch.table.mousedev_generate_response:
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.long	4                               ## 0x4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mousedev_generate_response
lCPI0_0:
	.long	170                             ; 0xaa
	.long	0                               ; 0x0
lCPI0_1:
	.long	96                              ; 0x60
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mousedev_generate_response:            ; @mousedev_generate_response
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	mov	w9, #250
	str	w9, [x8]
	sub	w9, w1, #233
	cmp	w9, #22
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x9, lCPI0_1@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	stur	d0, [x8, #4]
	mov	w9, #200
	str	w9, [x8, #12]
	mov	w8, #4
	b	LBB0_9
LBB0_3:
	mov	w8, #1
	b	LBB0_9
LBB0_4:
	add	x1, x8, #4
	mov	x0, x19
	bl	_mousedev_packet
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	b	LBB0_9
LBB0_5:
	ldr	w9, [x19, #12]
	sub	w9, w9, #128
	cmp	w9, #2
	b.hi	LBB0_7
; %bb.6:
Lloh4:
	adrp	x10, l_switch.table.mousedev_generate_response@PAGE
Lloh5:
	add	x10, x10, l_switch.table.mousedev_generate_response@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	str	w9, [x8, #4]
LBB0_7:
	mov	w8, #2
	b	LBB0_9
LBB0_8:
	stp	wzr, wzr, [x19, #20]
	mov	w9, #128
	str	w9, [x19, #12]
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	stur	d0, [x8, #4]
	mov	w8, #3
LBB0_9:
	str	w8, [x19, #8]
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_mousedev_generate_response
	.p2align	2                               ; @switch.table.mousedev_generate_response
l_switch.table.mousedev_generate_response:
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.long	4                               ; 0x4

.subsections_via_symbols
