	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mousevsc_on_receive
_mousevsc_on_receive:                   ## @mousevsc_on_receive
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_hv_get_drvdata
	movq	%rax, %r14
	movl	(%rbx), %eax
	shll	$3, %eax
	movslq	%eax, %r15
	movq	(%r15,%rbx), %rax
	movq	_PIPE_MESSAGE_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	addq	%rbx, %r15
	movq	16(%r15), %rbx
	movl	(%rbx), %esi
	cmpl	$130, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$129, %esi
	je	LBB0_7
## %bb.3:
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.4:
	movslq	8(%r15), %rdx
	addq	$23, %rdx
	cmpq	$5, %rdx
	jb	LBB0_5
## %bb.11:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_6:
	xorl	%edi, %edi
	cmpl	$4, 8(%r15)
	setb	%dil
	callq	_WARN_ON
	movq	16(%r15), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mousevsc_on_receive_device_info ## TAILCALL
LBB0_7:
	cmpl	$0, 20(%r14)
	je	LBB0_10
## %bb.8:
	movl	8(%rbx), %edi
	movl	$8, %esi
	callq	_min
	movq	%rax, %r15
	movq	8(%r14), %rdi
	movq	(%rbx), %rsi
	movq	%rax, %rdx
	callq	_memcpy
	movl	16(%r14), %edi
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rdx
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	_hid_input_report
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pm_wakeup_hard_event           ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
LBB0_5:
	leaq	28(%r14), %rdi
	movq	%r15, %rsi
	callq	_memcpy
	addq	$24, %r14
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_MESSAGE_DATA,8,3          ## @PIPE_MESSAGE_DATA
	.comm	_HID_INPUT_REPORT,4,2           ## @HID_INPUT_REPORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported hid msg type - type %d len %d\n"

	.no_dead_strip	_mousevsc_on_receive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mousevsc_on_receive
_mousevsc_on_receive:                   ; @mousevsc_on_receive
	.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	x20, x1
	bl	_hv_get_drvdata
	ldr	w8, [x20]
	lsl	w8, w8, #3
	add	x20, x20, w8, sxtw
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _PIPE_MESSAGE_DATA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PIPE_MESSAGE_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	x21, [x20, #16]
	ldr	w1, [x21]
	cmp	w1, #130
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w1, #128
	b.ne	LBB0_10
; %bb.4:
	ldrsw	x8, [x20, #8]
	add	x2, x8, #23
	cmp	x2, #5
	b.lo	LBB0_11
; %bb.5:
	mov	w0, #1
	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	_WARN_ON
LBB0_6:
	ldr	w8, [x20, #8]
	cmp	w8, #4
	cset	w0, lo
	bl	_WARN_ON
	ldr	x1, [x20, #16]
	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	_mousevsc_on_receive_device_info
LBB0_7:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	w0, [x21, #8]
	mov	w1, #8
	bl	_min
	mov	x20, x0
	ldr	x0, [x19, #8]
	ldr	x1, [x21]
	mov	x2, x20
	bl	_memcpy
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _HID_INPUT_REPORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	x2, [x19, #8]
	mov	x3, x20
	mov	w4, #1
	bl	_hid_input_report
	ldr	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	_pm_wakeup_hard_event
LBB0_9:
	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_10:
	ldr	w2, [x21, #4]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	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	_pr_err
LBB0_11:
	add	x0, x19, #28
	mov	x1, x20
	bl	_memcpy
	add	x0, x19, #24
	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	_complete
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_MESSAGE_DATA,8,3          ; @PIPE_MESSAGE_DATA
	.comm	_HID_INPUT_REPORT,4,2           ; @HID_INPUT_REPORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported hid msg type - type %d len %d\n"

	.no_dead_strip	_mousevsc_on_receive
.subsections_via_symbols
