	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn20_apply_ctx_for_surface
_dcn20_apply_ctx_for_surface:           ## @dcn20_apply_ctx_for_surface
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rsi
	movq	%r13, %rdx
	callq	_find_top_pipe_for_stream
	movq	%rax, %r15
	movq	(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_find_top_pipe_for_stream
	movq	%rax, %r12
	movq	48(%rbx), %rax
	movl	(%rax), %edi
	callq	_DC_LOGGER_INIT
	testq	%r15, %r15
	je	LBB0_53
## %bb.1:
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	movq	%rbx, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	jle	LBB0_7
## %bb.2:
	movq	(%rsi), %rax
	movq	(%rdi), %rcx
	movq	(%rcx), %r8
	imulq	$56, %rdx, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$56, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r13, 24(%rax,%rcx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r13, 24(%r8,%rcx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	48(%r8,%rcx), %ebx
	movl	%ebx, 48(%rax,%rcx)
	jmp	LBB0_6
LBB0_7:
	movq	8(%r15), %rax
	movq	40(%r15), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movl	$1, %edx
	callq	_lock_all_pipes
	movb	$1, %al
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	jmp	LBB0_11
LBB0_10:
	movq	%r15, %rsi
	movl	$1, %edx
	callq	_dcn20_pipe_control_lock
	movl	$0, -100(%rbp)                  ## 4-byte Folded Spill
LBB0_11:
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, -124(%rbp)               ## 4-byte Spill
	testl	%r14d, %r14d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_13
## %bb.12:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	$1, %edx
	callq	*40(%rdi)
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
LBB0_13:
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_26
## %bb.14:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r13
	movq	8(%rdi), %rax
	movslq	(%rax), %rax
	addq	$56, %r14
	cmpq	%rax, %r13
	jge	LBB0_26
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %r12
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	leaq	(%rbx,%r14), %r15
	cmpq	$0, 8(%r12,%r14)
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, 8(%rbx,%r14)
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, 40(%rbx,%r14)
	je	LBB0_18
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	40(%r12,%r14), %rax
	cmpq	40(%rbx,%r14), %rax
	je	LBB0_25
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	$0, 8(%rbx,%r14)
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, 40(%rbx,%r14)
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rsi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	movl	$1, -80(%rbp,%r13,4)
	movl	32(%rbx,%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DC_LOG_DC
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx,%r14), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rax), %rax
	movq	_OPP_ID_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rsi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	callq	*32(%rax)
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 8(%r12,%r14)
	jne	LBB0_21
	jmp	LBB0_22
LBB0_26:
	movl	-124(%rbp), %r13d               ## 4-byte Reload
	testl	%r13d, %r13d
	movq	-144(%rbp), %r12                ## 8-byte Reload
	jle	LBB0_28
## %bb.27:
	movq	%r12, %rsi
	callq	_dcn20_program_all_pipe_in_tree
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
LBB0_28:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, (%rax)
	jle	LBB0_31
## %bb.29:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	*%rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
LBB0_31:
	cmpb	$0, -100(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_41
## %bb.32:
	movq	8(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_40
## %bb.33:
	movl	$16, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_34 Depth=1
	incq	%r14
	movq	8(%rdi), %rax
	movslq	(%rax), %rax
	addq	$56, %rbx
	cmpq	%rax, %r14
	jge	LBB0_40
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %r15
	movq	8(%r15,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpq	-112(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	cmpq	$0, -8(%r15,%rbx)
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	(%rdi), %rax
	callq	*(%rax)
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	leaq	(%r15,%rbx), %rdx
	movq	-16(%r15,%rbx), %rdi
	movq	8(%rdi), %rax
	leaq	(%r15,%rbx), %rsi
	addq	$4, %rsi
	callq	*8(%rax)
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_41:
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	%rdi, %rbx
	callq	_dcn20_pipe_control_lock
	jmp	LBB0_42
LBB0_40:
	movq	%rdx, %rsi
	xorl	%edx, %edx
	movq	%rdi, %rbx
	callq	_lock_all_pipes
LBB0_42:
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	jle	LBB0_47
## %bb.43:
	movq	%rbx, %rdi
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_44 Depth=1
	incq	%rbx
	movslq	(%rax), %rcx
	addq	$56, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_47
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -80(%rbp,%rbx,4)
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	(%rdi), %rax
	movq	(%rax), %rsi
	addq	%r14, %rsi
	callq	_dcn20_disable_plane
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	jmp	LBB0_46
LBB0_47:
	testl	%r13d, %r13d
	movq	-136(%rbp), %rax                ## 8-byte Reload
	jle	LBB0_53
## %bb.48:
	testq	%rax, %rax
	je	LBB0_50
## %bb.49:
	cmpq	$0, 8(%rax)
	jne	LBB0_53
LBB0_50:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	8(%rdi), %rax
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_51 Depth=1
	movl	$1, %edi
	callq	_msleep
	decl	%ebx
	jne	LBB0_51
LBB0_53:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_55
## %bb.54:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_55:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_OPP_ID_INVALID,8,3             ## @OPP_ID_INVALID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reset mpcc for pipe %d\n"

	.no_dead_strip	_dcn20_apply_ctx_for_surface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn20_apply_ctx_for_surface
_dcn20_apply_ctx_for_surface:           ; @dcn20_apply_ctx_for_surface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #48]
	mov	x1, x3
	mov	x2, x24
	bl	_find_top_pipe_for_stream
	mov	x19, x0
	ldr	x1, [x21]
	mov	x0, x21
	mov	x2, x24
	bl	_find_top_pipe_for_stream
	mov	x22, x0
	ldr	x8, [x21, #48]
	ldr	w0, [x8]
	bl	_DC_LOGGER_INIT
	cbz	x19, LBB0_52
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x9, [x23]
	ldr	x10, [x21]
	ldr	x10, [x10]
	add	x9, x9, #24
	add	x10, x10, #24
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #56
	add	x10, x10, #56
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	cmp	x11, x24
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x10]
	cmp	x11, x24
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x10, #24]
	str	w11, [x9, #24]
	b	LBB0_3
LBB0_7:
	ldr	x25, [x19, #40]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x21
	mov	x1, x23
	mov	w2, #1
	bl	_lock_all_pipes
	b	LBB0_11
LBB0_10:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_dcn20_pipe_control_lock
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
LBB0_11:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	cbnz	w20, LBB0_13
; %bb.12:
	ldr	x8, [x21, #40]
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	blr	x8
LBB0_13:
	str	x19, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.14:
	mov	x22, #0
	mov	x28, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x28, x28, #1
	ldr	x8, [x21, #8]
	ldrsw	x8, [x8]
	add	x22, x22, #56
	cmp	x28, x8
	b.ge	LBB0_26
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x23]
	ldr	x8, [x21]
	ldr	x20, [x8]
	add	x27, x20, x22
	add	x19, x26, x22
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x27, #8]
	cbnz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x8, x20, x22
	ldr	x8, [x8, #40]
	cmp	x8, x25
	b.eq	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x8, x26, x22
	ldr	x8, [x8, #40]
	add	x9, x20, x22
	ldr	x9, [x9, #40]
	cmp	x8, x9
	b.eq	LBB0_15
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x19, x20, x22
	ldr	x8, [x19, #40]
	cmp	x8, x25
	b.ne	LBB0_15
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x21, #24]
	mov	x0, x21
	mov	x1, x27
	blr	x8
	add	x8, sp, #32
	mov	w9, #1
	str	w9, [x8, x28, lsl #2]
	ldr	w1, [x19, #32]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_LOG_DC
	b	LBB0_15
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x20, x22]
	cbz	x8, LBB0_19
; %bb.24:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _OPP_ID_INVALID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OPP_ID_INVALID@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.25:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x21, #32]
	mov	x0, x21
	mov	x1, x27
	blr	x8
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_19
	b	LBB0_20
LBB0_26:
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w27, #1
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	b.lt	LBB0_28
; %bb.27:
	mov	x0, x21
	mov	x1, x26
	mov	x2, x23
	bl	_dcn20_program_all_pipe_in_tree
LBB0_28:
	ldr	x8, [x24]
	cmp	x8, #1
	b.lt	LBB0_31
; %bb.29:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_31
; %bb.30:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	blr	x8
LBB0_31:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cbz	w8, LBB0_39
; %bb.32:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.33:
	mov	x20, #0
	mov	x22, #0
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	add	x22, x22, #1
	ldr	x8, [x21, #8]
	ldrsw	x8, [x8]
	add	x20, x20, #56
	cmp	x22, x8
	b.ge	LBB0_40
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x23]
	add	x8, x19, x20
	ldr	x9, [x8, #24]
	cmp	x9, #0
	ccmp	x9, x24, #4, ne
	b.eq	LBB0_34
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	ldr	x8, [x25]
	ldr	x8, [x8]
	mov	x0, x25
	blr	x8
	cbz	w0, LBB0_34
; %bb.38:                               ;   in Loop: Header=BB0_35 Depth=1
	add	x2, x19, x20
	add	x1, x2, #20
	ldr	x0, [x2], #16
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	blr	x8
	b	LBB0_34
LBB0_39:
	mov	x0, x21
	mov	x1, x26
	mov	w2, #0
	bl	_dcn20_pipe_control_lock
	b	LBB0_41
LBB0_40:
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_lock_all_pipes
LBB0_41:
	ldr	x8, [x21, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_46
; %bb.42:
	mov	x20, #0
	mov	x22, #0
	add	x23, sp, #32
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=1
	add	x22, x22, #1
	ldrsw	x9, [x8]
	add	x20, x20, #56
	cmp	x22, x9
	b.ge	LBB0_46
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23, x22, lsl #2]
	cbz	w9, LBB0_43
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8]
	add	x1, x8, x20
	mov	x0, x21
	bl	_dcn20_disable_plane
	ldr	x8, [x21, #8]
	b	LBB0_43
LBB0_46:
	cmp	w27, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	b.lt	LBB0_52
; %bb.47:
	cbz	x8, LBB0_49
; %bb.48:
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_52
LBB0_49:
	mov	w19, #100
LBB0_50:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x26]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	blr	x8
	cbz	x0, LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_50 Depth=1
	mov	w0, #1
	bl	_msleep
	subs	w19, w19, #1
	b.ne	LBB0_50
LBB0_52:
	ldr	x8, [sp, #56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
; %bb.53:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OPP_ID_INVALID,8,3             ; @OPP_ID_INVALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reset mpcc for pipe %d\n"

	.no_dead_strip	_dcn20_apply_ctx_for_surface
.subsections_via_symbols
