	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_outbound_urb
_prepare_outbound_urb:                  ## @prepare_outbound_urb
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rsi), %r15
	movq	(%r15), %r14
	movq	16(%rdi), %rax
	movl	(%rax), %edi
	movl	%edi, 24(%r15)
	movl	(%r12), %eax
	cmpl	$128, %eax
	je	LBB0_13
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.2:
	movq	32(%r12), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movl	28(%r12), %edi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_13:
	callq	_snd_usb_get_speed
	movq	_USB_SPEED_HIGH@GOTPCREL(%rip), %rdx
	movq	16(%r15), %rcx
	cmpl	(%rdx), %eax
	jge	LBB0_14
## %bb.15:
	movabsq	$12884901888, %rax              ## imm = 0x300000000
	movq	%rax, (%rcx)
	movb	8(%r12), %al
	shrb	$2, %al
	movb	%al, (%r14)
	movw	$0, 1(%r14)
	jmp	LBB0_16
LBB0_14:
	movabsq	$17179869184, %rax              ## imm = 0x400000000
	movq	%rax, (%rcx)
	movb	8(%r12), %al
	movb	%al, (%r14)
	movw	$0, 1(%r14)
	movb	$0, 3(%r14)
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%rsi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_4
## %bb.5:
	movq	8(%rsi), %r10
	movl	4(%r12), %edx
	movq	16(%r15), %rcx
	cmpl	$1, %r8d
	jne	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_4:
	movl	4(%r12), %edx
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_8:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rax,4), %edi
	movl	%edx, %esi
	imull	%ebx, %esi
	movl	%esi, (%rcx,%rax,8)
	movl	%edx, %esi
	imull	%edi, %esi
	movl	%esi, 4(%rcx,%rax,8)
	addl	%ebx, %edi
	movl	4(%r10,%rax,4), %esi
	movl	%edx, %ebx
	imull	%edi, %ebx
	movl	%ebx, 8(%rcx,%rax,8)
	movl	%edx, %ebx
	imull	%esi, %ebx
	movl	%ebx, 12(%rcx,%rax,8)
	addl	%esi, %edi
	addq	$2, %rax
	movl	%edi, %ebx
	cmpq	%rax, %r9
	jne	LBB0_9
LBB0_10:
	testb	$1, %r8b
	je	LBB0_12
## %bb.11:
	movl	(%r10,%rax,4), %esi
	movl	%edx, %ebx
	imull	%edi, %ebx
	movl	%ebx, (%rcx,%rax,8)
	movl	%edx, %ebx
	imull	%esi, %ebx
	movl	%ebx, 4(%rcx,%rax,8)
	addl	%esi, %edi
LBB0_12:
	imull	%edi, %edx
	movl	%r8d, 8(%r15)
	movl	%edx, 12(%r15)
	movl	24(%r12), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_SPEED_HIGH,4,2             ## @USB_SPEED_HIGH
	.no_dead_strip	_prepare_outbound_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function prepare_outbound_urb
lCPI0_0:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
lCPI0_1:
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_prepare_outbound_urb:                  ; @prepare_outbound_urb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x21, [x1, #16]
	ldr	x19, [x21]
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	str	w0, [x21, #24]
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	x2, [x20, #32]
	cbz	x2, LBB0_8
; %bb.3:
	ldr	w0, [x20, #28]
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x2
LBB0_4:
	bl	_snd_usb_get_speed
Lloh0:
	adrp	x8, _USB_SPEED_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USB_SPEED_HIGH@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	x8, [x21, #16]
	cmp	w0, w9
	b.ge	LBB0_6
; %bb.5:
Lloh3:
	adrp	x9, lCPI0_1@PAGE
Lloh4:
	ldr	d0, [x9, lCPI0_1@PAGEOFF]
	str	d0, [x8]
	ldrb	w8, [x20, #8]
	lsr	w8, w8, #2
	strb	w8, [x19]
	sturh	wzr, [x19, #1]
	b	LBB0_7
LBB0_6:
Lloh5:
	adrp	x9, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	ldrb	w8, [x20, #8]
	strb	w8, [x19]
	sturh	wzr, [x19, #1]
	strb	wzr, [x19, #3]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w8, [x1]
	cmp	w8, #0
	b.le	LBB0_11
; %bb.9:
	mov	w9, #0
	ldr	x11, [x1, #8]
	ldr	w10, [x20, #4]
	ldr	x12, [x21, #16]
	add	x12, x12, #4
	mov	x13, x8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x11], #4
	mul	w15, w10, w9
	stur	w15, [x12, #-4]
	mul	w15, w10, w14
	str	w15, [x12], #8
	add	w9, w14, w9
	subs	x13, x13, #1
	b.ne	LBB0_10
	b	LBB0_12
LBB0_11:
	mov	w9, #0
	ldr	w10, [x20, #4]
LBB0_12:
	mul	w2, w10, w9
	stp	w8, w2, [x21, #8]
	ldr	w1, [x20, #24]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_SPEED_HIGH,4,2             ; @USB_SPEED_HIGH
	.no_dead_strip	_prepare_outbound_urb
.subsections_via_symbols
