	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_pipe_urbs
_init_pipe_urbs:                        ## @init_pipe_urbs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r15
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%rcx, %r14
	callq	_usb_pipeout
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_usb_maxpacket
	movq	%r14, %rcx
	movl	%eax, %r12d
LBB0_2:
	movq	_USB_STREAM_NURBS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_14
## %bb.3:
	movl	(%r15), %eax
	movl	%eax, %edx
	imull	%r12d, %edx
	movslq	%r12d, %r14
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r14), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%r13,8), %rbx
	movq	_URB_ISO_ASAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 48(%rbx)
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, (%rbx)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 40(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 8(%rbx)
	movl	%eax, 12(%rbx)
	movq	%r15, 32(%rbx)
	movl	$1, 16(%rbx)
	callq	_usb_pipeout
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
	movq	24(%rbx), %r8
	movq	$0, 8(%r8)
	movl	%r12d, (%r8)
	movl	(%r15), %r9d
	cmpl	$2, %r9d
	jl	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r9d, %ecx
	decq	%r9
	cmpl	$2, %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	40(%r8), %rdi
	movq	%r9, %r11
	andq	$-2, %r11
	negq	%r11
	movl	$1, %edx
	xorl	%esi, %esi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rsi,%r14), %rbx
	movq	%rbx, -16(%rdi)
	movl	%r12d, -24(%rdi)
	addq	%r14, %rbx
	addq	%rcx, %rsi
	movq	%rsi, (%rdi)
	movl	%r12d, -8(%rdi)
	addq	$32, %rdi
	leaq	(%r11,%rdx), %rax
	addq	$2, %rax
	addq	$2, %rdx
	movq	%rbx, %rsi
	cmpq	$1, %rax
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, %r9b
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	%r14, %rbx
	shlq	$4, %rdx
	movq	%rbx, 8(%r8,%rdx)
	movl	%r12d, (%r8,%rdx)
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movq	_USB_STREAM_NURBS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	addq	-72(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	(%r15), %eax
	jmp	LBB0_4
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_STREAM_NURBS,4,2           ## @USB_STREAM_NURBS
	.comm	_URB_ISO_ASAP,4,2               ## @URB_ISO_ASAP
	.no_dead_strip	_init_pipe_urbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_pipe_urbs
_init_pipe_urbs:                        ; @init_pipe_urbs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x5
	stp	x2, x4, [sp, #16]               ; 16-byte Folded Spill
	mov	x21, x3
	mov	x24, x1
	mov	x23, x0
	cbnz	w1, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_usb_pipeout
	mov	x2, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x19
	bl	_usb_maxpacket
	mov	x24, x0
LBB0_2:
Lloh0:
	adrp	x8, _USB_STREAM_NURBS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_STREAM_NURBS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.3:
	mov	x26, #0
	ldr	w8, [x23]
	mul	w9, w8, w24
	sxtw	x28, w24
	str	x9, [sp]                        ; 8-byte Folded Spill
	sxtw	x9, w9
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	sbfiz	x25, x24, #1, #32
	add	x22, x25, x28
	sbfiz	x20, x24, #2, #32
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x27, [x9, x26, lsl #3]
Lloh3:
	adrp	x9, _URB_ISO_ASAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _URB_ISO_ASAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x27, #48]
	str	x21, [x27]
	stp	w19, w8, [x27, #8]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x23, x8, [x27, #32]
	mov	w8, #1
	str	w8, [x27, #16]
	mov	x0, x19
	bl	_usb_pipeout
	cbnz	x0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	w8, [x27, #20]
	ldr	x8, [x27, #24]
	str	xzr, [x8, #8]
	str	w24, [x8]
	ldr	w9, [x23]
	cmp	w9, #2
	b.lt	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x12, x9, #1
	cmp	x12, #4
	b.hs	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	mov	w10, #1
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	and	x13, x12, #0xfffffffffffffffc
	mul	x11, x13, x28
	orr	x10, x13, #0x1
	add	x15, x8, #72
	mov	x16, x13
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x17, x28, x14
	stur	x17, [x15, #-48]
	add	x17, x25, x14
	add	x0, x22, x14
	stur	x17, [x15, #-32]
	add	x14, x20, x14
	stur	x0, [x15, #-16]
	str	x14, [x15]
	stur	w24, [x15, #-56]
	stur	w24, [x15, #-40]
	stur	w24, [x15, #-24]
	stur	w24, [x15, #-8]
	add	x15, x15, #64
	subs	x16, x16, #4
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x13
	b.eq	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x28, x11
	add	x8, x8, x10, lsl #4
	add	x8, x8, #8
	sub	x9, x9, x10
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x11, [x8]
	stur	w24, [x8, #-8]
	add	x11, x11, x28
	add	x8, x8, #16
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
Lloh6:
	adrp	x8, _USB_STREAM_NURBS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _USB_STREAM_NURBS@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	cmp	x26, x8
	b.ge	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x21, x21, x8
	ldr	w8, [x23]
	b	LBB0_4
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_STREAM_NURBS,4,2           ; @USB_STREAM_NURBS
	.comm	_URB_ISO_ASAP,4,2               ; @URB_ISO_ASAP
	.no_dead_strip	_init_pipe_urbs
.subsections_via_symbols
