	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libusb10_isoc_proxy
_libusb10_isoc_proxy:                   ## @libusb10_isoc_proxy
	.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, %rbx
	callq	_libusb20_tr_get_status
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_libusb20_tr_get_priv_sc1
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_libusb20_tr_get_actual_length
	movq	%rax, %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_libusb20_tr_get_max_frames
	testq	%r13, %r13
	je	LBB0_12
## %bb.1:
	movq	16(%r13), %r15
	cmpq	%r15, %rax
	cmovlq	%rax, %r15
	testq	%r15, %r15
	je	LBB0_12
## %bb.2:
	movq	%r15, 16(%r13)
	cmpl	$129, %r12d
	je	LBB0_7
## %bb.3:
	cmpl	$128, %r12d
	jne	LBB0_11
## %bb.4:
	movq	40(%r13), %rax
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(,%r14,4), %rsi
	addq	48(%r13), %rsi
	movq	(%rax,%r12), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_libusb20_tr_setup_isoc
	movq	40(%r13), %rax
	addq	(%rax,%r12), %r14
	incq	%rbx
	addq	$16, %r12
	cmpq	%rbx, %r15
	jne	LBB0_5
## %bb.6:
	movl	$0, (%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_libusb20_tr_set_total_frames
	movq	%rbx, %rdi
	callq	_libusb20_tr_submit
	movq	%rbx, %rdi
	callq	_libusb20_tr_get_priv_sc0
	movl	32(%r13), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_libusb10_submit_transfer_sub   ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%r14, 24(%r13)
	movl	$8, %r14d
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_libusb20_tr_get_length
	movq	40(%r13), %rcx
	movl	%eax, (%rcx,%r14)
	incq	%rbx
	addq	$16, %r14
	cmpq	%rbx, %r15
	jne	LBB0_8
## %bb.9:
	movq	_LIBUSB_TRANSFER_COMPLETED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	jmp	LBB0_10
LBB0_11:
	movl	%r12d, %edi
	callq	_libusb10_convert_error
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%eax, %edx
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_libusb10_complete_transfer     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LIBUSB_TRANSFER_COMPLETED,4,2  ## @LIBUSB_TRANSFER_COMPLETED
	.no_dead_strip	_libusb10_isoc_proxy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libusb10_isoc_proxy
_libusb10_isoc_proxy:                   ; @libusb10_isoc_proxy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_libusb20_tr_get_status
	mov	x22, x0
	mov	x0, x19
	bl	_libusb20_tr_get_priv_sc1
	mov	x20, x0
	mov	x0, x19
	bl	_libusb20_tr_get_actual_length
	mov	x23, x0
	mov	x0, x19
	bl	_libusb20_tr_get_max_frames
	cbz	x20, LBB0_7
; %bb.1:
	ldr	x8, [x20, #16]
	cmp	x0, x8
	csel	x21, x0, x8, lt
	cbz	x21, LBB0_7
; %bb.2:
	str	x21, [x20, #16]
	cmp	w22, #129
	b.eq	LBB0_8
; %bb.3:
	cmp	w22, #128
	b.ne	LBB0_11
; %bb.4:
	mov	x23, #0
	mov	x24, #0
	mov	x22, #0
	ldr	x8, [x20, #40]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #48]
	add	x1, x9, x24, lsl #2
	ldr	x2, [x8, x23]
	mov	x0, x19
	mov	x3, x22
	bl	_libusb20_tr_setup_isoc
	ldr	x8, [x20, #40]
	ldr	x9, [x8, x23]
	add	x24, x9, x24
	add	x22, x22, #1
	add	x23, x23, #16
	cmp	x21, x22
	b.ne	LBB0_5
; %bb.6:
	str	wzr, [x20]
	mov	x0, x19
	mov	x1, x21
	bl	_libusb20_tr_set_total_frames
	mov	x0, x19
	bl	_libusb20_tr_submit
	mov	x0, x19
	bl	_libusb20_tr_get_priv_sc0
	ldr	w1, [x20, #32]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_libusb10_submit_transfer_sub
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x22, #0
	str	x23, [x20, #24]
	mov	w23, #8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_libusb20_tr_get_length
	ldr	x8, [x20, #40]
	str	w0, [x8, x23]
	add	x22, x22, #1
	add	x23, x23, #16
	cmp	x21, x22
	b.ne	LBB0_9
; %bb.10:
Lloh0:
	adrp	x8, _LIBUSB_TRANSFER_COMPLETED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIBUSB_TRANSFER_COMPLETED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	b	LBB0_12
LBB0_11:
	mov	x0, x22
	bl	_libusb10_convert_error
	mov	x2, x0
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_libusb10_complete_transfer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LIBUSB_TRANSFER_COMPLETED,4,2  ; @LIBUSB_TRANSFER_COMPLETED
	.no_dead_strip	_libusb10_isoc_proxy
.subsections_via_symbols
