	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_isoc_urb_init
_usb_isoc_urb_init:                     ## @usb_isoc_urb_init
	.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, %r12
	movl	4(%rdi), %esi
	movl	12(%rdi), %edx
	imull	8(%rdi), %edx
	callq	_usb_allocate_stream_buffers
	testl	%eax, %eax
	js	LBB0_22
## %bb.1:
	cmpl	$0, 4(%r12)
	jle	LBB0_24
## %bb.2:
	xorl	%r13d, %r13d
                                        ## implicit-def: $r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r12)
	testq	%r14, %r14
	je	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	4(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_24
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movl	12(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_alloc_urb
	movq	48(%r12), %rcx
	movq	%rax, (%rcx,%r13,8)
	movq	48(%r12), %rax
	movq	(%rax,%r13,8), %r14
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	44(%r12), %edi
	movl	%edi, 48(%r14)
	movq	%r12, 40(%r14)
	movq	_usb_urb_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movl	20(%r12), %esi
	callq	_usb_rcvisocpipe
	movl	%eax, 32(%r14)
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_URB_ISO_ASAP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movl	16(%r12), %eax
	movl	%eax, 28(%r14)
	movl	12(%r12), %eax
	movl	%eax, 4(%r14)
	movl	40(%r12), %ecx
	movl	%ecx, 24(%r14)
	movq	32(%r12), %rcx
	movl	(%rcx,%r13,4), %ecx
	movl	%ecx, 20(%r14)
	movq	24(%r12), %rcx
	movl	(%rcx,%r13,4), %ecx
	movl	%ecx, 16(%r14)
	testl	%eax, %eax
	jle	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r14), %rcx
	movl	8(%r12), %edx
	cmpl	$4, %eax
	jae	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_deb_mem
	testq	%r13, %r13
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	48(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_usb_free_urb
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	testq	%r14, %r14
	jne	LBB0_20
	jmp	LBB0_25
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %esi
	andl	$-4, %esi
	movd	%edx, %xmm1
	pshufd	$81, %xmm1, %xmm2               ## xmm2 = xmm1[1,0,1,1]
	leal	(%rdx,%rdx), %edi
	movd	%edi, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	pshufd	$80, %xmm1, %xmm1               ## xmm1 = xmm1[0,0,1,1]
	leaq	-4(%rsi), %rdi
	movq	%rdi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm2, %xmm3
	paddd	%xmm0, %xmm3
	punpckldq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
	movdqu	%xmm2, (%rcx,%rdi,8)
	movdqa	%xmm3, %xmm2
	punpckldq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
	movdqu	%xmm2, 16(%rcx,%rdi,8)
	paddd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm2
	paddd	%xmm0, %xmm2
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	movdqu	%xmm3, 32(%rcx,%rdi,8)
	movdqa	%xmm2, %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	movdqu	%xmm3, 48(%rcx,%rdi,8)
	addq	$8, %rdi
	paddd	%xmm0, %xmm2
	addq	$-2, %rbx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r8b
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	paddd	%xmm2, %xmm0
	leaq	(,%rdi,8), %rbx
	orq	$16, %rbx
	punpckldq	%xmm1, %xmm2            ## xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
	movdqu	%xmm2, (%rcx,%rdi,8)
	punpckldq	%xmm1, %xmm0            ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	movdqu	%xmm0, (%rcx,%rbx)
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rax, %rsi
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %edi
	imull	%esi, %edi
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edi, (%rcx,%rsi,8)
	movl	%edx, 4(%rcx,%rsi,8)
	incq	%rsi
	addl	%edx, %edi
	cmpq	%rsi, %rax
	jne	LBB0_18
	jmp	LBB0_19
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_15
	jmp	LBB0_16
LBB0_24:
	xorl	%r15d, %r15d
	jmp	LBB0_25
LBB0_22:
	movl	%eax, %r15d
LBB0_25:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not enough memory for urb_alloc_urb!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_usb_urb_complete,4,2           ## @usb_urb_complete
	.comm	_URB_ISO_ASAP,4,2               ## @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
	.no_dead_strip	_usb_isoc_urb_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function usb_isoc_urb_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_usb_isoc_urb_init:                     ; @usb_isoc_urb_init
	.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
	ldp	w1, w8, [x0, #4]
	ldr	w9, [x0, #12]
	mul	w2, w9, w8
	bl	_usb_allocate_stream_buffers
	tbnz	w0, #31, LBB0_19
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.2:
	mov	x22, #0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ENOMEM@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
Lloh6:
	adrp	x25, _usb_urb_complete@GOTPAGE
Lloh7:
	ldr	x25, [x25, _usb_urb_complete@GOTPAGEOFF]
Lloh8:
	adrp	x26, _URB_ISO_ASAP@GOTPAGE
Lloh9:
	ldr	x26, [x26, _URB_ISO_ASAP@GOTPAGEOFF]
Lloh10:
	adrp	x27, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh11:
	ldr	x27, [x27, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
                                        ; implicit-def: $w21
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	cbz	x28, LBB0_20
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #4]
	cmp	x22, x8
	b.ge	LBB0_18
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	ldr	w0, [x19, #12]
	ldr	w1, [x23]
	bl	_usb_alloc_urb
	ldr	x8, [x19, #48]
	lsl	x9, x22, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #48]
	ldr	x28, [x8, x9]
	cbz	x28, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #44]
	str	w0, [x28, #48]
	str	x19, [x28, #40]
	ldr	w8, [x25]
	str	w8, [x28, #36]
	ldr	w1, [x19, #20]
	bl	_usb_rcvisocpipe
	str	w0, [x28, #32]
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w8, w9, w8
	ldp	w9, w10, [x19, #12]
	stp	w8, w9, [x28]
	ldr	w8, [x19, #40]
	stp	w8, w10, [x28, #24]
	lsl	x8, x22, #2
	ldp	x11, x10, [x19, #24]
	ldr	w10, [x10, x8]
	str	w10, [x28, #20]
	ldr	w8, [x11, x8]
	str	w8, [x28, #16]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x28, #8]
	ldr	w8, [x19, #8]
	cmp	w9, #16
	b.hs	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x12, #0
	mov	w10, #0
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_deb_mem
	cbz	x22, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, #0
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #48]
	ldr	x0, [x8, x21, lsl #3]
	bl	_usb_free_urb
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_11
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	neg	w21, w8
	cbnz	x28, LBB0_4
	b	LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	and	x12, x9, #0xfffffff0
	mul	w10, w8, w12
	dup.4s	v1, w8
	ldr	q2, [sp]                        ; 16-byte Folded Reload
	mul.4s	v3, v1, v2
	lsl	w13, w8, #2
	dup.4s	v2, w13
	add	x14, x11, #64
	mov	x13, x12
LBB0_14:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v0, v3, v2
	mov.16b	v4, v1
	add.4s	v5, v0, v2
	sub	x15, x14, #64
	st2.4s	{ v3, v4 }, [x15]
	mov.16b	v6, v1
	sub	x15, x14, #32
	st2.4s	{ v0, v1 }, [x15]
	add	x15, x14, #128
	st2.4s	{ v5, v6 }, [x14], #32
	add.4s	v3, v5, v2
	mov.16b	v4, v1
	st2.4s	{ v3, v4 }, [x14]
	add.4s	v3, v3, v2
	mov	x14, x15
	subs	x13, x13, #16
	b.ne	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x12, x9
	b.eq	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x11, x11, x12, lsl #3
	add	x11, x11, #4
	sub	x9, x9, x12
LBB0_17:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	w10, w8, [x11, #-4]
	add	x11, x11, #8
	add	w10, w10, w8
	subs	x9, x9, #1
	b.ne	LBB0_17
	b	LBB0_3
LBB0_18:
	mov	w21, #0
	b	LBB0_20
LBB0_19:
	mov	x21, x0
LBB0_20:
	mov	x0, x21
	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
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not enough memory for urb_alloc_urb!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_usb_urb_complete,4,2           ; @usb_urb_complete
	.comm	_URB_ISO_ASAP,4,2               ; @URB_ISO_ASAP
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
	.no_dead_strip	_usb_isoc_urb_init
.subsections_via_symbols
