	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ugen20_process
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ugen20_process:                        ## @ugen20_process
	.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
	movq	%rdi, %r15
	movl	16(%rdi), %r14d
	movq	_USB_FS_COMPLETE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_IOUSB
	leaq	-48(%rbp), %rdx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_EBUSY@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_6
## %bb.5:
	movq	_LIBUSB20_ERROR_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-48(%rbp), %r14
	movq	_USB_ERR_CANCELLED@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movups	8(%rsi,%rbx), %xmm0
	movups	%xmm0, 8(%rax,%rbx)
	movq	_LIBUSB20_TRANSFER_COMPLETED@GOTPCREL(%rip), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %eax
	movl	%eax, (%rdi)
	callq	_libusb20_tr_callback_wrapper
	movl	16(%r15), %ebx
	movl	(%r12), %edi
	callq	_IOUSB
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%r15), %rsi
	movslq	-48(%rbp), %rcx
	leaq	(,%rcx,8), %rdx
	leaq	(%rdx,%rdx,2), %rbx
	leaq	(%rax,%rbx), %rdi
	movq	(%rsi,%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r13), %rdx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rcx,2), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax,%rcx,8)
	movq	_LIBUSB20_TRANSFER_CANCELLED@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_USB_ERR_STALLED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rcx,2), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax,%rcx,8)
	movq	_LIBUSB20_TRANSFER_STALL@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rcx,%rcx,2), %rsi
	movq	_LIBUSB20_TRANSFER_ERROR@GOTPCREL(%rip), %rcx
	movq	_USB_ERR_TIMEOUT@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax,%rsi,8)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_LIBUSB20_TRANSFER_TIMED_OUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_FS_COMPLETE,4,2            ## @USB_FS_COMPLETE
	.comm	_errno,8,3                      ## @errno
	.comm	_EBUSY,8,3                      ## @EBUSY
	.comm	_LIBUSB20_ERROR_OTHER,4,2       ## @LIBUSB20_ERROR_OTHER
	.comm	_LIBUSB20_TRANSFER_COMPLETED,4,2 ## @LIBUSB20_TRANSFER_COMPLETED
	.comm	_USB_ERR_CANCELLED,8,3          ## @USB_ERR_CANCELLED
	.comm	_LIBUSB20_TRANSFER_CANCELLED,4,2 ## @LIBUSB20_TRANSFER_CANCELLED
	.comm	_USB_ERR_STALLED,8,3            ## @USB_ERR_STALLED
	.comm	_LIBUSB20_TRANSFER_STALL,4,2    ## @LIBUSB20_TRANSFER_STALL
	.comm	_USB_ERR_TIMEOUT,8,3            ## @USB_ERR_TIMEOUT
	.comm	_LIBUSB20_TRANSFER_TIMED_OUT,4,2 ## @LIBUSB20_TRANSFER_TIMED_OUT
	.comm	_LIBUSB20_TRANSFER_ERROR,4,2    ## @LIBUSB20_TRANSFER_ERROR
	.no_dead_strip	_ugen20_process
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ugen20_process
_ugen20_process:                        ; @ugen20_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	ldr	w20, [x0, #16]
Lloh0:
	adrp	x21, _USB_FS_COMPLETE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _USB_FS_COMPLETE@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_IOUSB
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_ioctl
	cbz	x0, LBB0_2
LBB0_1:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EBUSY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _LIBUSB20_ERROR_OTHER@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LIBUSB20_ERROR_OTHER@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w0, wzr, w10, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
Lloh11:
	adrp	x22, _LIBUSB20_TRANSFER_COMPLETED@GOTPAGE
Lloh12:
	ldr	x22, [x22, _LIBUSB20_TRANSFER_COMPLETED@GOTPAGEOFF]
Lloh13:
	adrp	x23, _USB_ERR_CANCELLED@GOTPAGE
Lloh14:
	ldr	x23, [x23, _USB_ERR_CANCELLED@GOTPAGEOFF]
	mov	w24, #24
Lloh15:
	adrp	x25, _LIBUSB20_TRANSFER_CANCELLED@GOTPAGE
Lloh16:
	ldr	x25, [x25, _LIBUSB20_TRANSFER_CANCELLED@GOTPAGEOFF]
Lloh17:
	adrp	x26, _USB_ERR_STALLED@GOTPAGE
Lloh18:
	ldr	x26, [x26, _USB_ERR_STALLED@GOTPAGEOFF]
Lloh19:
	adrp	x28, _LIBUSB20_TRANSFER_ERROR@GOTPAGE
Lloh20:
	ldr	x28, [x28, _LIBUSB20_TRANSFER_ERROR@GOTPAGEOFF]
Lloh21:
	adrp	x27, _LIBUSB20_TRANSFER_TIMED_OUT@GOTPAGE
Lloh22:
	ldr	x27, [x27, _LIBUSB20_TRANSFER_TIMED_OUT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x11, x12
	ldur	q0, [x8, #8]
	stur	q0, [x0, #8]
	mov	x8, x22
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	str	w8, [x0]
	bl	_libusb20_tr_callback_wrapper
	ldr	w20, [x19, #16]
	ldr	w0, [x21]
	bl	_IOUSB
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_ioctl
	cbnz	x0, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x11, [x19]
	ldrsw	x9, [sp, #8]
	add	x10, x9, x9, lsl #1
	lsl	x12, x10, #3
	add	x0, x8, x12
	ldr	x10, [x11, x12]
	cbz	x10, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x23]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x8, x9, x24, x8
	stp	xzr, xzr, [x8, #8]
	mov	x8, x25
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x26]
	cmp	x10, x11
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x8, x9, x24, x8
	stp	xzr, xzr, [x8, #8]
Lloh23:
	adrp	x8, _LIBUSB20_TRANSFER_STALL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LIBUSB20_TRANSFER_STALL@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x11, _USB_ERR_TIMEOUT@GOTPAGE
Lloh26:
	ldr	x11, [x11, _USB_ERR_TIMEOUT@GOTPAGEOFF]
Lloh27:
	ldr	x11, [x11]
	madd	x8, x9, x24, x8
	stp	xzr, xzr, [x8, #8]
	cmp	x10, x11
	csel	x8, x27, x28, eq
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_FS_COMPLETE,4,2            ; @USB_FS_COMPLETE
	.comm	_errno,8,3                      ; @errno
	.comm	_EBUSY,8,3                      ; @EBUSY
	.comm	_LIBUSB20_ERROR_OTHER,4,2       ; @LIBUSB20_ERROR_OTHER
	.comm	_LIBUSB20_TRANSFER_COMPLETED,4,2 ; @LIBUSB20_TRANSFER_COMPLETED
	.comm	_USB_ERR_CANCELLED,8,3          ; @USB_ERR_CANCELLED
	.comm	_LIBUSB20_TRANSFER_CANCELLED,4,2 ; @LIBUSB20_TRANSFER_CANCELLED
	.comm	_USB_ERR_STALLED,8,3            ; @USB_ERR_STALLED
	.comm	_LIBUSB20_TRANSFER_STALL,4,2    ; @LIBUSB20_TRANSFER_STALL
	.comm	_USB_ERR_TIMEOUT,8,3            ; @USB_ERR_TIMEOUT
	.comm	_LIBUSB20_TRANSFER_TIMED_OUT,4,2 ; @LIBUSB20_TRANSFER_TIMED_OUT
	.comm	_LIBUSB20_TRANSFER_ERROR,4,2    ; @LIBUSB20_TRANSFER_ERROR
	.no_dead_strip	_ugen20_process
.subsections_via_symbols
