	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn20_enable_writeback
_dcn20_enable_writeback:                ## @dcn20_enable_writeback
	.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, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	(%rdx), %rax
	movq	_MAX_DWB_PIPES@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setb	%dil
	callq	_ASSERT
	movl	8(%rbx), %edi
	callq	_ASSERT
	movq	8(%r14), %rax
	movq	8(%rax), %rcx
	movq	16(%rax), %rax
	movq	(%rbx), %rdx
	movq	(%rax,%rdx,8), %r15
	movq	(%rcx,%rdx,8), %r12
	movq	(%r13), %rax
	movq	_MAX_PIPES@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setb	%dil
	callq	_ASSERT
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	(%rdi), %rax
	movq	(%rbx), %rsi
	callq	*(%rax)
	movq	(%r12), %rax
	leaq	16(%rbx), %rsi
	leaq	12(%rbx), %r13
	movl	12(%rbx), %edx
	movq	%r12, %rdi
	callq	*16(%rax)
	movq	(%r12), %rax
	movq	(%r14), %rcx
	movq	(%rbx), %rsi
	shlq	$2, %rsi
	addq	(%rcx), %rsi
	movq	%r12, %rdi
	callq	*8(%rax)
	movq	(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DWB_PIPES,8,3              ## @MAX_DWB_PIPES
	.comm	_MAX_PIPES,8,3                  ## @MAX_PIPES
	.no_dead_strip	_dcn20_enable_writeback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn20_enable_writeback
_dcn20_enable_writeback:                ; @dcn20_enable_writeback
	.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	x21, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _MAX_DWB_PIPES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_DWB_PIPES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lo
	bl	_ASSERT
	ldr	w0, [x19, #8]
	bl	_ASSERT
	ldr	x8, [x21, #8]
	ldr	x9, [x19]
	lsl	x9, x9, #3
	ldp	x8, x10, [x8, #8]
	ldr	x22, [x10, x9]
	ldr	x23, [x8, x9]
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MAX_PIPES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_PIPES@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lo
	bl	_ASSERT
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	x0, [x8, x9, lsl #3]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x1, [x19]
	blr	x8
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	add	x1, x19, #16
	mov	x20, x19
	ldr	w2, [x20, #12]!
	mov	x0, x23
	blr	x8
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	ldr	x9, [x21]
	ldr	x9, [x9]
	ldr	x10, [x19]
	add	x1, x9, x10, lsl #2
	mov	x0, x23
	blr	x8
	ldr	x8, [x23]
	ldr	x8, [x8]
	mov	x0, x23
	blr	x8
	ldr	x8, [x22]
	ldr	x2, [x8]
	mov	x0, x22
	mov	x1, x20
	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
	br	x2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DWB_PIPES,8,3              ; @MAX_DWB_PIPES
	.comm	_MAX_PIPES,8,3                  ; @MAX_PIPES
	.no_dead_strip	_dcn20_enable_writeback
.subsections_via_symbols
