	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umouse_data_handler
_umouse_data_handler:                   ## @umouse_data_handler
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %rax
	movslq	(%rax), %rdi
	callq	_DPRINTF
	movq	_USB_ERR_NORMAL_COMPLETION@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	4(%rbx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.1:
	movl	%r15d, %r9d
	movq	%r14, %r8
	movl	(%rbx), %edx
	movq	8(%rbx), %r14
	movq	_USB_MAX_XFER_BLOCKS@GOTPCREL(%rip), %rsi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, 4(%r14,%r15,8)
	incl	%edx
	movl	%edx, %eax
	cltd
	idivl	(%rsi)
	decl	%ecx
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rax
	leaq	(%rax,%rax,2), %r15
	movq	16(%r14,%r15,8), %r13
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14,%r15,8), %r12d
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.5:
	leaq	(%r14,%r15,8), %rdi
	testl	%r9d, %r9d
	je	LBB0_14
## %bb.6:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%r10d, -44(%rbp)                ## 4-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	leaq	4(%r8), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_pthread_mutex_lock
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 16(%rcx)
	je	LBB0_7
## %bb.8:
	cmpl	$0, (%rcx)
	je	LBB0_10
## %bb.9:
	movq	_USB_ERR_STALLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_USB_STALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_USB_DATA_SET_ERRCODE
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pthread_mutex_unlock
	movl	%ebx, %r10d
	jmp	LBB0_15
LBB0_14:
	movq	_USB_STALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_USB_DATA_SET_ERRCODE
	movq	_USB_ERR_STALLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	jmp	LBB0_15
LBB0_7:
	movq	_USB_ERR_CANCELLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movslq	(%rbx), %rax
	leaq	(%rax,%rax,2), %rdi
	shlq	$3, %rdi
	addq	8(%rbx), %rdi
	movq	_USB_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_USB_DATA_SET_ERRCODE
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_pthread_mutex_unlock
	movl	%r14d, %r10d
	jmp	LBB0_15
LBB0_10:
	movl	$1, (%rcx)
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.11:
	movq	$0, 16(%rcx)
	movl	$1, 4(%r14,%r15,8)
	addl	$6, 8(%r14,%r15,8)
	leaq	8(%rcx), %rsi
	movq	%r13, %rdi
	movl	$6, %edx
	movq	%rcx, %rbx
	callq	_memcpy
	leal	-6(%r12), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	cmpl	$7, %r12d
	movq	%rbx, %rcx
	jb	LBB0_13
## %bb.12:
	movq	_USB_ERR_SHORT_XFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$0, (%rcx)
	callq	_pthread_mutex_unlock
	movl	-44(%rbp), %r10d                ## 4-byte Reload
LBB0_15:
	movl	%r10d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_ERR_NORMAL_COMPLETION,4,2  ## @USB_ERR_NORMAL_COMPLETION
	.comm	_USB_MAX_XFER_BLOCKS,4,2        ## @USB_MAX_XFER_BLOCKS
	.comm	_USB_ERR_NOMEM,4,2              ## @USB_ERR_NOMEM
	.comm	_USB_ERR_CANCELLED,4,2          ## @USB_ERR_CANCELLED
	.comm	_USB_NAK,4,2                    ## @USB_NAK
	.comm	_USB_ERR_STALLED,4,2            ## @USB_ERR_STALLED
	.comm	_USB_STALL,4,2                  ## @USB_STALL
	.comm	_USB_ERR_SHORT_XFER,4,2         ## @USB_ERR_SHORT_XFER
	.no_dead_strip	_umouse_data_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function umouse_data_handler
_umouse_data_handler:                   ; @umouse_data_handler
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x8, [x1, #8]
	ldrsw	x0, [x8]
	bl	_DPRINTF
Lloh0:
	adrp	x8, _USB_ERR_NORMAL_COMPLETION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_ERR_NORMAL_COMPLETION@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	ldr	w12, [x22]
	ldr	x25, [x22, #8]
	mov	w9, #24
	mov	w10, #1
Lloh3:
	adrp	x11, _USB_MAX_XFER_BLOCKS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _USB_MAX_XFER_BLOCKS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	madd	x12, x26, x9, x25
	str	w10, [x12, #4]
	add	w12, w26, #1
	ldr	w13, [x11]
	sdiv	w14, w12, w13
	msub	w12, w14, w13, w12
	subs	w8, w8, #1
	b.eq	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x26, w12
	smaddl	x12, w12, w9, x25
	ldr	x24, [x12, #16]
	cbz	x24, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x23, x26, x9, x25
	ldr	w27, [x23]
	cbz	w27, LBB0_2
; %bb.5:
	cbz	w21, LBB0_9
; %bb.6:
	add	x21, x20, #4
	mov	x0, x21
	bl	_pthread_mutex_lock
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_10
; %bb.7:
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.8:
Lloh5:
	adrp	x8, _USB_ERR_STALLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USB_ERR_STALLED@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _USB_STALL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _USB_STALL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_USB_DATA_SET_ERRCODE
	b	LBB0_14
LBB0_9:
Lloh11:
	adrp	x8, _USB_STALL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _USB_STALL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_USB_DATA_SET_ERRCODE
Lloh14:
	adrp	x8, _USB_ERR_STALLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _USB_ERR_STALLED@GOTPAGEOFF]
Lloh16:
	ldr	w19, [x8]
	b	LBB0_15
LBB0_10:
Lloh17:
	adrp	x8, _USB_ERR_CANCELLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _USB_ERR_CANCELLED@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	ldr	x8, [x22, #8]
	ldrsw	x9, [x22]
	mov	w10, #24
	madd	x0, x9, x10, x8
Lloh20:
	adrp	x8, _USB_NAK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _USB_NAK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_USB_DATA_SET_ERRCODE
	b	LBB0_14
LBB0_11:
	mov	w8, #1
	str	w8, [x20]
	cmp	w27, #1
	b.lt	LBB0_13
; %bb.12:
	str	xzr, [x20, #16]
	mov	w9, #24
	madd	x9, x26, x9, x25
	ldr	w10, [x9, #8]
	add	w10, w10, #6
	stp	w8, w10, [x9, #4]
	add	x1, x20, #8
	mov	x0, x24
	mov	w2, #6
	bl	_memcpy
	subs	w8, w27, #6
	str	w8, [x23]
Lloh23:
	adrp	x8, _USB_ERR_SHORT_XFER@GOTPAGE
Lloh24:
	ldr	x8, [x8, _USB_ERR_SHORT_XFER@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	csel	w19, w8, w19, hi
LBB0_13:
	str	wzr, [x20]
LBB0_14:
	mov	x0, x21
	bl	_pthread_mutex_unlock
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_ERR_NORMAL_COMPLETION,4,2  ; @USB_ERR_NORMAL_COMPLETION
	.comm	_USB_MAX_XFER_BLOCKS,4,2        ; @USB_MAX_XFER_BLOCKS
	.comm	_USB_ERR_NOMEM,4,2              ; @USB_ERR_NOMEM
	.comm	_USB_ERR_CANCELLED,4,2          ; @USB_ERR_CANCELLED
	.comm	_USB_NAK,4,2                    ; @USB_NAK
	.comm	_USB_ERR_STALLED,4,2            ; @USB_ERR_STALLED
	.comm	_USB_STALL,4,2                  ; @USB_STALL
	.comm	_USB_ERR_SHORT_XFER,4,2         ; @USB_ERR_SHORT_XFER
	.no_dead_strip	_umouse_data_handler
.subsections_via_symbols
