	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_plane_atomic_power_down
_dcn10_plane_atomic_power_down:         ## @dcn10_plane_atomic_power_down
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	24(%rdi), %r12
	movl	(%rax), %edi
	callq	_DC_LOGGER_INIT
	movq	_DC_IP_REQUEST_CNTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_REG
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r13), %edi
	movq	_IP_REQUEST_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_REG_SET
	movl	8(%r15), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movl	(%r14), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	*(%rbx)
	movq	(%r15), %rax
	movq	%r15, %rdi
	callq	*(%rax)
	movl	(%r13), %edi
	movq	_IP_REQUEST_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_REG_SET
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DC_LOG_DEBUG                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_IP_REQUEST_CNTL,4,2         ## @DC_IP_REQUEST_CNTL
	.comm	_IP_REQUEST_EN,4,2              ## @IP_REQUEST_EN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Power gated front end %d\n"

	.no_dead_strip	_dcn10_plane_atomic_power_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_plane_atomic_power_down
_dcn10_plane_atomic_power_down:         ; @dcn10_plane_atomic_power_down
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldp	x8, x21, [x0, #16]
	ldr	w0, [x8]
	bl	_DC_LOGGER_INIT
Lloh0:
	adrp	x23, _DC_IP_REQUEST_CNTL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DC_IP_REQUEST_CNTL@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_REG
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh2:
	adrp	x24, _IP_REQUEST_EN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _IP_REQUEST_EN@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w1, #0
	mov	w3, #1
	bl	_REG_SET
	ldr	x8, [x22, #8]
	ldr	w1, [x20, #8]
	mov	x0, x21
	mov	w2, #0
	blr	x8
	ldr	x8, [x22]
	ldr	w1, [x19]
	mov	x0, x21
	mov	w2, #0
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	ldr	w0, [x23]
	ldr	w2, [x24]
	mov	w1, #0
	mov	w3, #0
	bl	_REG_SET
	ldr	w1, [x19]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DC_LOG_DEBUG
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_IP_REQUEST_CNTL,4,2         ; @DC_IP_REQUEST_CNTL
	.comm	_IP_REQUEST_EN,4,2              ; @IP_REQUEST_EN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Power gated front end %d\n"

	.no_dead_strip	_dcn10_plane_atomic_power_down
.subsections_via_symbols
