	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_link_encoder_update_mst_stream_allocation_table ## -- Begin function dce110_link_encoder_update_mst_stream_allocation_table
	.p2align	4, 0x90
_dce110_link_encoder_update_mst_stream_allocation_table: ## @dce110_link_encoder_update_mst_stream_allocation_table
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_TO_DCE110_LINK_ENC
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	cmpl	$0, (%rbx)
	jle	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_fill_stream_allocation_row_info
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %r8
	jmp	LBB0_3
LBB0_2:
	movq	$0, -48(%rbp)
	xorl	%r8d, %r8d
	xorl	%edx, %edx
LBB0_3:
	movq	_DP_MSE_SAT0@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_DP_MSE_SAT_SRC0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP_MSE_SAT_SLOT_COUNT0@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	cmpl	$2, (%rbx)
	jl	LBB0_5
## %bb.4:
	movq	8(%rbx), %rdi
	addq	$4, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_fill_stream_allocation_row_info
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %r8
	jmp	LBB0_6
LBB0_5:
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	xorl	%r8d, %r8d
	xorl	%edx, %edx
LBB0_6:
	movl	(%r14), %edi
	movq	_DP_MSE_SAT_SRC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP_MSE_SAT_SLOT_COUNT1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	cmpl	$3, (%rbx)
	jl	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_fill_stream_allocation_row_info
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %r8
	jmp	LBB0_9
LBB0_8:
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	xorl	%r8d, %r8d
	xorl	%edx, %edx
LBB0_9:
	movq	_DP_MSE_SAT1@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_DP_MSE_SAT_SRC2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP_MSE_SAT_SLOT_COUNT2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	cmpl	$4, (%rbx)
	jl	LBB0_11
## %bb.10:
	movq	8(%rbx), %rdi
	addq	$12, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_fill_stream_allocation_row_info
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %r8
	jmp	LBB0_12
LBB0_11:
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	xorl	%r8d, %r8d
	xorl	%edx, %edx
LBB0_12:
	movl	(%r14), %edi
	movq	_DP_MSE_SAT_SRC3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP_MSE_SAT_SLOT_COUNT3@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	movq	_DP_MSE_SAT_UPDATE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	%edi, %esi
	movl	$1, %edx
	callq	_REG_UPDATE
	xorl	%ebx, %ebx
	movq	_DP_MSE_16_MTP_KEEPOUT@GOTPCREL(%rip), %r13
	leaq	-64(%rbp), %r15
	movq	_DP_MST_UPDATE_MAX_RETRY@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_udelay
	movl	(%r12), %edi
	callq	_REG_READ
	movl	(%r12), %edi
	movl	%edi, %esi
	leaq	-72(%rbp), %rdx
	callq	_REG_GET
	movl	(%r12), %edi
	movl	(%r13), %esi
	movq	%r15, %rdx
	callq	_REG_GET
	movq	-72(%rbp), %rax
	orq	-64(%rbp), %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	cmpq	(%r14), %rbx
	jl	LBB0_13
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DP_MSE_SAT0,4,2                ## @DP_MSE_SAT0
	.comm	_DP_MSE_SAT_SRC0,4,2            ## @DP_MSE_SAT_SRC0
	.comm	_DP_MSE_SAT_SLOT_COUNT0,4,2     ## @DP_MSE_SAT_SLOT_COUNT0
	.comm	_DP_MSE_SAT_SRC1,4,2            ## @DP_MSE_SAT_SRC1
	.comm	_DP_MSE_SAT_SLOT_COUNT1,4,2     ## @DP_MSE_SAT_SLOT_COUNT1
	.comm	_DP_MSE_SAT1,4,2                ## @DP_MSE_SAT1
	.comm	_DP_MSE_SAT_SRC2,4,2            ## @DP_MSE_SAT_SRC2
	.comm	_DP_MSE_SAT_SLOT_COUNT2,4,2     ## @DP_MSE_SAT_SLOT_COUNT2
	.comm	_DP_MSE_SAT_SRC3,4,2            ## @DP_MSE_SAT_SRC3
	.comm	_DP_MSE_SAT_SLOT_COUNT3,4,2     ## @DP_MSE_SAT_SLOT_COUNT3
	.comm	_DP_MSE_SAT_UPDATE,4,2          ## @DP_MSE_SAT_UPDATE
	.comm	_DP_MSE_16_MTP_KEEPOUT,4,2      ## @DP_MSE_16_MTP_KEEPOUT
	.comm	_DP_MST_UPDATE_MAX_RETRY,8,3    ## @DP_MST_UPDATE_MAX_RETRY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_link_encoder_update_mst_stream_allocation_table ; -- Begin function dce110_link_encoder_update_mst_stream_allocation_table
	.p2align	2
_dce110_link_encoder_update_mst_stream_allocation_table: ; @dce110_link_encoder_update_mst_stream_allocation_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x1
	bl	_TO_DCE110_LINK_ENC
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
	mov	x1, sp
	add	x2, sp, #8
	bl	_fill_stream_allocation_row_info
	ldp	x2, x4, [sp]
	b	LBB0_3
LBB0_2:
	mov	x4, #0
	mov	x2, #0
	str	xzr, [sp, #8]
LBB0_3:
Lloh0:
	adrp	x20, _DP_MSE_SAT0@GOTPAGE
Lloh1:
	ldr	x20, [x20, _DP_MSE_SAT0@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _DP_MSE_SAT_SRC0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DP_MSE_SAT_SRC0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _DP_MSE_SAT_SLOT_COUNT0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DP_MSE_SAT_SLOT_COUNT0@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_REG_UPDATE_2
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	add	x0, x8, #4
	mov	x1, sp
	add	x2, sp, #8
	bl	_fill_stream_allocation_row_info
	ldp	x2, x4, [sp]
	b	LBB0_6
LBB0_5:
	mov	x4, #0
	mov	x2, #0
	stp	xzr, xzr, [sp]
LBB0_6:
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _DP_MSE_SAT_SRC1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DP_MSE_SAT_SRC1@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _DP_MSE_SAT_SLOT_COUNT1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DP_MSE_SAT_SLOT_COUNT1@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	bl	_REG_UPDATE_2
	ldr	w8, [x19]
	cmp	w8, #3
	b.lt	LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	add	x0, x8, #8
	mov	x1, sp
	add	x2, sp, #8
	bl	_fill_stream_allocation_row_info
	ldp	x2, x4, [sp]
	b	LBB0_9
LBB0_8:
	mov	x4, #0
	mov	x2, #0
	stp	xzr, xzr, [sp]
LBB0_9:
Lloh14:
	adrp	x20, _DP_MSE_SAT1@GOTPAGE
Lloh15:
	ldr	x20, [x20, _DP_MSE_SAT1@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh16:
	adrp	x8, _DP_MSE_SAT_SRC2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DP_MSE_SAT_SRC2@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _DP_MSE_SAT_SLOT_COUNT2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DP_MSE_SAT_SLOT_COUNT2@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	bl	_REG_UPDATE_2
	ldr	w8, [x19]
	cmp	w8, #4
	b.lt	LBB0_11
; %bb.10:
	ldr	x8, [x19, #8]
	add	x0, x8, #12
	mov	x1, sp
	add	x2, sp, #8
	bl	_fill_stream_allocation_row_info
	ldp	x2, x4, [sp]
	b	LBB0_12
LBB0_11:
	mov	x4, #0
	mov	x2, #0
	stp	xzr, xzr, [sp]
LBB0_12:
	ldr	w0, [x20]
Lloh22:
	adrp	x8, _DP_MSE_SAT_SRC3@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DP_MSE_SAT_SRC3@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _DP_MSE_SAT_SLOT_COUNT3@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DP_MSE_SAT_SLOT_COUNT3@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	bl	_REG_UPDATE_2
Lloh28:
	adrp	x19, _DP_MSE_SAT_UPDATE@GOTPAGE
Lloh29:
	ldr	x19, [x19, _DP_MSE_SAT_UPDATE@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, x0
	mov	w2, #1
	bl	_REG_UPDATE
	mov	x20, #0
Lloh30:
	adrp	x21, _DP_MSE_16_MTP_KEEPOUT@GOTPAGE
Lloh31:
	ldr	x21, [x21, _DP_MSE_16_MTP_KEEPOUT@GOTPAGEOFF]
Lloh32:
	adrp	x22, _DP_MST_UPDATE_MAX_RETRY@GOTPAGE
Lloh33:
	ldr	x22, [x22, _DP_MST_UPDATE_MAX_RETRY@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_udelay
	ldr	w0, [x19]
	bl	_REG_READ
	ldr	w0, [x19]
	add	x2, sp, #24
	mov	x1, x0
	bl	_REG_GET
	ldr	w0, [x19]
	ldr	w1, [x21]
	add	x2, sp, #16
	bl	_REG_GET
	ldp	x9, x8, [sp, #16]
	orr	x8, x8, x9
	cbz	x8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x20, x20, #1
	ldr	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_13
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_DP_MSE_SAT0,4,2                ; @DP_MSE_SAT0
	.comm	_DP_MSE_SAT_SRC0,4,2            ; @DP_MSE_SAT_SRC0
	.comm	_DP_MSE_SAT_SLOT_COUNT0,4,2     ; @DP_MSE_SAT_SLOT_COUNT0
	.comm	_DP_MSE_SAT_SRC1,4,2            ; @DP_MSE_SAT_SRC1
	.comm	_DP_MSE_SAT_SLOT_COUNT1,4,2     ; @DP_MSE_SAT_SLOT_COUNT1
	.comm	_DP_MSE_SAT1,4,2                ; @DP_MSE_SAT1
	.comm	_DP_MSE_SAT_SRC2,4,2            ; @DP_MSE_SAT_SRC2
	.comm	_DP_MSE_SAT_SLOT_COUNT2,4,2     ; @DP_MSE_SAT_SLOT_COUNT2
	.comm	_DP_MSE_SAT_SRC3,4,2            ; @DP_MSE_SAT_SRC3
	.comm	_DP_MSE_SAT_SLOT_COUNT3,4,2     ; @DP_MSE_SAT_SLOT_COUNT3
	.comm	_DP_MSE_SAT_UPDATE,4,2          ; @DP_MSE_SAT_UPDATE
	.comm	_DP_MSE_16_MTP_KEEPOUT,4,2      ; @DP_MSE_16_MTP_KEEPOUT
	.comm	_DP_MST_UPDATE_MAX_RETRY,8,3    ; @DP_MST_UPDATE_MAX_RETRY
.subsections_via_symbols
