	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn20_split_stream_for_mpc
_dcn20_split_stream_for_mpc:            ## @dcn20_split_stream_for_mpc
	.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	%rcx, %rbx
	movq	%rdx, %r14
	movslq	(%rcx), %rcx
	movq	16(%rbx), %rax
	movups	(%rdx), %xmm0
	movups	16(%rdx), %xmm1
	movups	32(%rdx), %xmm2
	movups	48(%rdx), %xmm3
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	movups	%xmm2, 32(%rbx)
	movups	%xmm3, 48(%rbx)
	movq	%rax, 16(%rbx)
	movl	%ecx, (%rbx)
	movq	32(%rsi), %rdx
	movl	(%rdx,%rcx,4), %edx
	movl	%edx, 60(%rbx)
	movq	24(%rsi), %rdx
	movl	(%rdx,%rcx,4), %edx
	movl	%edx, 56(%rbx)
	movq	16(%rsi), %rdx
	movl	(%rdx,%rcx,4), %edx
	movl	%edx, 52(%rbx)
	movq	8(%rsi), %rdx
	movl	(%rdx,%rcx,4), %edx
	movl	%edx, 48(%rbx)
	movq	(%rsi), %rdx
	movq	(%rdx,%rcx,8), %rsi
	movq	%rsi, 40(%rbx)
	movq	(%rdx,%rcx,8), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	cmpq	%rbx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ASSERT
	movq	16(%r14), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, 8(%rax)
LBB0_3:
	movq	%rbx, 16(%r14)
	movq	%r14, 8(%rbx)
	movl	4(%r14), %edi
	callq	_ASSERT
	movq	%r14, %rdi
	callq	_resource_build_scaling_params
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_resource_build_scaling_params  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dcn20_split_stream_for_mpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn20_split_stream_for_mpc
_dcn20_split_stream_for_mpc:            ; @dcn20_split_stream_for_mpc
	.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
	mov	x19, x3
	mov	x20, x2
	ldrsw	x9, [x3]
	ldr	x8, [x3, #16]
	ldp	q0, q1, [x2, #32]
	ldp	q2, q3, [x2]
	stp	q2, q3, [x3]
	stp	q0, q1, [x3, #32]
	str	w9, [x3]
	ldr	x10, [x1, #32]
	lsl	x11, x9, #2
	ldr	w10, [x10, x11]
	str	w10, [x3, #60]
	ldp	x12, x10, [x1, #16]
	ldr	w10, [x10, x11]
	str	w10, [x3, #56]
	str	x8, [x3, #16]
	ldr	w10, [x12, x11]
	str	w10, [x3, #52]
	ldp	x12, x10, [x1]
	ldr	w10, [x10, x11]
	str	w10, [x3, #48]
	lsl	x9, x9, #3
	ldr	x10, [x12, x9]
	str	x10, [x3, #40]
	ldr	x9, [x12, x9]
	ldr	w9, [x9]
	str	w9, [x3, #32]
	ldr	x9, [x2, #16]
	cbz	x9, LBB0_3
; %bb.1:
	cmp	x9, x19
	b.eq	LBB0_3
; %bb.2:
	cmp	x8, #0
	cset	w0, eq
	bl	_ASSERT
	ldr	x8, [x20, #16]
	str	x8, [x19, #16]
	str	x19, [x8, #8]
LBB0_3:
	str	x19, [x20, #16]
	str	x20, [x19, #8]
	ldr	w0, [x20, #4]
	bl	_ASSERT
	mov	x0, x20
	bl	_resource_build_scaling_params
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_resource_build_scaling_params
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dcn20_split_stream_for_mpc
.subsections_via_symbols
