	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_apply_ctx_for_surface
_dcn10_apply_ctx_for_surface:           ## @dcn10_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rsi
	movq	%r14, %rdx
	callq	_find_top_pipe_for_stream
	movq	%rax, %r13
	movq	80(%rbx), %rax
	movl	(%rax), %edi
	callq	_DC_LOGGER_INIT
	testq	%r13, %r13
	je	LBB0_56
## %bb.1:
	movq	%rbx, %rdi
	movq	16(%r13), %rax
	testq	%rax, %rax
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	je	LBB0_2
## %bb.3:
	cmpq	$0, (%rax)
	setne	%bl
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	40(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	72(%rdi), %r12d
	cmpl	$-1, %r12d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.5:
	movq	56(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r13, %rsi
	callq	*%rax
	movl	%eax, %edi
	callq	_ASSERT
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_7:
	testb	%bl, %bl
	je	LBB0_9
## %bb.8:
	movl	$1, %edx
	callq	_lock_all_pipes
	cmpl	$-1, %r12d
	jne	LBB0_11
	jmp	LBB0_13
LBB0_9:
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_dcn10_pipe_control_lock
	cmpl	$-1, %r12d
	je	LBB0_13
LBB0_11:
	movl	%r12d, %edi
	callq	_udelay
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	56(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	*%rax
	movl	%eax, %edi
	callq	_ASSERT
LBB0_13:
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movl	%r15d, -96(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_15
## %bb.14:
	movq	%r13, %rsi
	movl	$1, %edx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*48(%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_15:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_28
## %bb.16:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%r13
	movq	(%rdi), %rax
	movslq	(%rax), %rax
	addq	$48, %rbx
	cmpq	%rax, %r13
	jge	LBB0_28
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %r15
	movq	64(%rdi), %rax
	movq	(%rax), %r14
	leaq	(%r14,%rbx), %r12
	cmpq	$0, 16(%r15,%rbx)
	je	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$0, 16(%r14,%rbx)
	jne	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 40(%r14,%rbx)
	je	LBB0_20
LBB0_23:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	40(%r15,%rbx), %rax
	cmpq	40(%r14,%rbx), %rax
	je	LBB0_27
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$0, 16(%r14,%rbx)
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 40(%r14,%rbx)
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*40(%rax)
	movl	$1, -64(%rbp,%r13,4)
	movl	32(%r14,%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DC_LOG_DC
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%r14,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	(%rax), %rax
	movq	_OPP_ID_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r12, %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	cmpq	$0, 16(%r15,%rbx)
	jne	LBB0_23
	jmp	LBB0_24
LBB0_28:
	movl	-96(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	jle	LBB0_30
## %bb.29:
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_program_all_pipe_in_tree
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_30:
	cmpb	$0, -92(%rbp)                   ## 1-byte Folded Reload
	movq	-112(%rbp), %r12                ## 8-byte Reload
	je	LBB0_40
## %bb.31:
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_39
## %bb.32:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_33 Depth=1
	incq	%r14
	movq	(%rdi), %rax
	movslq	(%rax), %rax
	addq	$48, %rbx
	cmpq	%rax, %r14
	jge	LBB0_39
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %r15
	movq	24(%r15,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpq	%r12, %rax
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpq	$0, 16(%r15,%rbx)
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	callq	*(%rax)
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_33 Depth=1
	leaq	(%r15,%rbx), %rdx
	movq	8(%r15,%rbx), %rdi
	movq	8(%rdi), %rax
	leaq	(%r15,%rbx), %rsi
	addq	$4, %rsi
	callq	*(%rax)
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_40:
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	callq	_dcn10_pipe_control_lock
	testl	%r13d, %r13d
	jne	LBB0_43
	jmp	LBB0_42
LBB0_39:
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_lock_all_pipes
	testl	%r13d, %r13d
	jne	LBB0_43
LBB0_42:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_false_optc_underflow_wa
LBB0_43:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	jle	LBB0_53
## %bb.44:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_45 Depth=1
	incq	%rbx
	movslq	(%rax), %rcx
	addq	$48, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_48
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -64(%rbp,%rbx,4)
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	movq	64(%rdi), %rax
	movq	(%rax), %rsi
	addq	%r14, %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	jmp	LBB0_47
LBB0_48:
	movl	%ecx, %eax
	testl	%eax, %eax
	jle	LBB0_53
## %bb.49:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -64(%rbp,%rcx,4)
	jne	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_51 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_51
	jmp	LBB0_53
LBB0_52:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	callq	*16(%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_53:
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_56
## %bb.54:
	movq	(%rdi), %rax
	movl	4(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.55:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hubbub1_wm_change_req_wa       ## TAILCALL
LBB0_56:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_58
## %bb.57:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_58:
	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	_dcn10_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 dcn10_apply_ctx_for_surface
_dcn10_apply_ctx_for_surface:           ; @dcn10_apply_ctx_for_surface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	stp	xzr, xzr, [sp, #24]
	mov	x1, x3
	mov	x2, x21
	bl	_find_top_pipe_for_stream
	mov	x24, x0
	ldr	x8, [x19, #80]
	ldr	w0, [x8]
	bl	_DC_LOGGER_INIT
	cbz	x24, LBB0_53
; %bb.1:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w26, ne
	b	LBB0_4
LBB0_3:
	mov	w26, #0
LBB0_4:
	ldr	x23, [x24, #40]
	ldr	w25, [x19, #72]
	cmn	w25, #1
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x24
	blr	x8
	bl	_ASSERT
LBB0_7:
	mov	x0, x19
	cbz	w26, LBB0_9
; %bb.8:
	mov	x1, x20
	mov	w2, #1
	bl	_lock_all_pipes
	cmn	w25, #1
	b.ne	LBB0_10
	b	LBB0_12
LBB0_9:
	mov	x1, x24
	mov	w2, #1
	bl	_dcn10_pipe_control_lock
	cmn	w25, #1
	b.eq	LBB0_12
LBB0_10:
	mov	x0, x25
	bl	_udelay
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x24
	blr	x8
	bl	_ASSERT
LBB0_12:
	str	w26, [sp, #4]                   ; 4-byte Folded Spill
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	cbnz	w22, LBB0_14
; %bb.13:
	ldr	x8, [x19, #48]
	mov	x0, x19
	mov	x1, x24
	mov	w2, #1
	blr	x8
LBB0_14:
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.15:
	mov	x28, #0
	mov	x27, #0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x27, x27, #1
	ldr	x8, [x19]
	ldrsw	x8, [x8]
	add	x28, x28, #48
	cmp	x27, x8
	b.ge	LBB0_27
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x20]
	ldr	x8, [x19, #64]
	ldr	x22, [x8]
	add	x26, x22, x28
	add	x24, x25, x28
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x26, #16]
	cbnz	x8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x22, x28
	ldr	x9, [x8, #40]
	cmp	x9, x23
	b.eq	LBB0_24
LBB0_20:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x25, x28
	ldr	x8, [x8, #40]
	add	x9, x22, x28
	ldr	x9, [x9, #40]
	cmp	x8, x9
	b.eq	LBB0_16
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x26, #16]
	cbz	x8, LBB0_16
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x22, x22, x28
	ldr	x8, [x22, #40]
	cmp	x8, x23
	b.ne	LBB0_16
; %bb.23:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x19, #40]
	mov	x0, x19
	mov	x1, x26
	blr	x8
	add	x8, sp, #24
	mov	w9, #1
	str	w9, [x8, x27, lsl #2]
	ldr	w1, [x22, #32]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DC_LOG_DC
	b	LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_20
; %bb.25:                               ;   in Loop: Header=BB0_17 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_20
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x19, #24]
	mov	x0, x19
	mov	x1, x26
	blr	x8
	ldr	x8, [x24, #16]
	cbnz	x8, LBB0_20
	b	LBB0_21
LBB0_27:
	ldr	w26, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w26, #1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b.lt	LBB0_29
; %bb.28:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_program_all_pipe_in_tree
LBB0_29:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cbz	w8, LBB0_37
; %bb.30:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.31:
	mov	x22, #0
	mov	x24, #0
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x24, x24, #1
	ldr	x8, [x19]
	ldrsw	x8, [x8]
	add	x22, x22, #48
	cmp	x24, x8
	b.ge	LBB0_38
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x20]
	add	x8, x25, x22
	ldr	x9, [x8, #24]
	cmp	x9, #0
	ccmp	x9, x21, #4, ne
	b.eq	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	mov	x0, x23
	blr	x8
	cbz	w0, LBB0_32
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=1
	add	x2, x25, x22
	ldr	x0, [x2, #8]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x1, x2, #4
	blr	x8
	b	LBB0_32
LBB0_37:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_dcn10_pipe_control_lock
	cbnz	w26, LBB0_40
	b	LBB0_39
LBB0_38:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_lock_all_pipes
	cbnz	w26, LBB0_40
LBB0_39:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_false_optc_underflow_wa
LBB0_40:
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_50
; %bb.41:
	mov	x21, #0
	mov	x22, #0
	add	x23, sp, #24
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x22, x22, #1
	ldrsw	x9, [x8]
	add	x21, x21, #48
	cmp	x22, x9
	b.ge	LBB0_45
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x23, x22, lsl #2]
	cbz	w9, LBB0_42
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x19, #64]
	ldr	x9, [x9]
	add	x1, x9, x21
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
	b	LBB0_42
LBB0_45:
	and	x8, x9, #0xffffffff
	cmp	w8, #1
	b.lt	LBB0_50
; %bb.46:
	add	x9, sp, #24
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cbnz	w10, LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_47
	b	LBB0_50
LBB0_49:
	ldr	x8, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
LBB0_50:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_53
; %bb.51:
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	ldr	x8, [sp, #40]
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_55
; %bb.52:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_hubbub1_wm_change_req_wa
LBB0_53:
	ldr	x8, [sp, #40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_55
; %bb.54:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_55:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.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	_dcn10_apply_ctx_for_surface
.subsections_via_symbols
