	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_inbound_urb
_prepare_inbound_urb:                   ## @prepare_inbound_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rsi), %r14
	movq	16(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_15
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.2:
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	8(%r14), %rcx
	movl	4(%rdi), %edx
	cmpl	$4, %eax
	jae	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_15:
	movl	8(%rdi), %esi
	movl	$4, %edi
	callq	_min
	movq	8(%r14), %rcx
	movl	%eax, 4(%rcx)
	movl	$0, (%rcx)
	jmp	LBB0_16
LBB0_3:
	xorl	%edi, %edi
	jmp	LBB0_14
LBB0_6:
	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_7
## %bb.8:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	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_9
## %bb.10:
	testb	$1, %r8b
	je	LBB0_12
LBB0_11:
	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_12:
	movl	%edx, %edi
	imull	%esi, %edi
	cmpq	%rax, %rsi
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%edi, (%rcx,%rsi,8)
	movl	%edx, 4(%rcx,%rsi,8)
	incq	%rsi
	addl	%edx, %edi
	cmpq	%rsi, %rax
	jne	LBB0_13
LBB0_14:
	movl	%edi, (%r14)
	movl	%eax, 4(%r14)
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	xorl	%edi, %edi
	testb	$1, %r8b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prepare_inbound_urb
.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 prepare_inbound_urb
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_prepare_inbound_urb:                   ; @prepare_inbound_urb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x1, #8]
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.2:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x11, [x19, #8]
	ldr	w9, [x0, #4]
	cmp	w8, #16
	b.hs	LBB0_7
; %bb.4:
	mov	x12, #0
	mov	w10, #0
	b	LBB0_10
LBB0_5:
	ldr	w1, [x0, #8]
	mov	w0, #4
	bl	_min
	ldr	x8, [x19, #8]
	stp	wzr, w0, [x8]
	b	LBB0_13
LBB0_6:
	mov	w10, #0
	b	LBB0_12
LBB0_7:
	and	x12, x8, #0xfffffff0
	mul	w10, w9, w12
	dup.4s	v1, w9
Lloh0:
	adrp	x13, lCPI0_0@PAGE
Lloh1:
	ldr	q2, [x13, lCPI0_0@PAGEOFF]
	mul.4s	v3, v1, v2
	lsl	w13, w9, #2
	dup.4s	v2, w13
	add	x14, x11, #64
	mov	x13, x12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	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_8
; %bb.9:
	cmp	x12, x8
	b.eq	LBB0_12
LBB0_10:
	add	x11, x11, x12, lsl #3
	add	x11, x11, #4
	sub	x12, x8, x12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	stp	w10, w9, [x11, #-4]
	add	x11, x11, #8
	add	w10, w10, w9
	subs	x12, x12, #1
	b.ne	LBB0_11
LBB0_12:
	stp	w10, w8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prepare_inbound_urb
.subsections_via_symbols
