	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_compressor_power_up_fbc ## -- Begin function dce110_compressor_power_up_fbc
	.p2align	4, 0x90
_dce110_compressor_power_up_fbc:        ## @dce110_compressor_power_up_fbc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_mmFBC_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rdi), %edi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_FBC_CNTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_FBC_GRPH_COMP_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_FBC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_FBC_COHERENCY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$2, %esi
	callq	_set_reg_field_value
	cmpl	$1, 8(%r15)
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %edx
	movq	_FBC_COMP_CLK_GATE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_set_reg_field_value
LBB0_2:
	movl	(%r15), %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	_mmFBC_COMP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_FBC_COMP_MODE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_FBC_RLE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_FBC_DPCM4_RGB_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r12), %edx
	movq	_FBC_IND_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	_mmFBC_COMP_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r15), %edi
	movl	%r14d, %esi
	callq	_dm_read_reg
	movl	%eax, %ebx
	movq	_FBC_COMP_CNTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_FBC_DEPTH_RGB08_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movl	(%r12), %edx
	movq	_FBC_MIN_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movl	$15, %esi
	callq	_set_reg_field_value
	movl	(%r15), %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_dm_write_reg
	movq	_FBC_COMPRESS_RATIO_1TO1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	(%r15), %edi
	movq	_mmFBC_IND_LUT0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_dm_write_reg
	movl	(%r15), %edi
	movq	_mmFBC_IND_LUT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmFBC_CNTL,4,2                 ## @mmFBC_CNTL
	.comm	_FBC_CNTL,4,2                   ## @FBC_CNTL
	.comm	_FBC_GRPH_COMP_EN,4,2           ## @FBC_GRPH_COMP_EN
	.comm	_FBC_EN,4,2                     ## @FBC_EN
	.comm	_FBC_COHERENCY_MODE,4,2         ## @FBC_COHERENCY_MODE
	.comm	_FBC_COMP_CLK_GATE_EN,4,2       ## @FBC_COMP_CLK_GATE_EN
	.comm	_mmFBC_COMP_MODE,4,2            ## @mmFBC_COMP_MODE
	.comm	_FBC_COMP_MODE,4,2              ## @FBC_COMP_MODE
	.comm	_FBC_RLE_EN,4,2                 ## @FBC_RLE_EN
	.comm	_FBC_DPCM4_RGB_EN,4,2           ## @FBC_DPCM4_RGB_EN
	.comm	_FBC_IND_EN,4,2                 ## @FBC_IND_EN
	.comm	_mmFBC_COMP_CNTL,4,2            ## @mmFBC_COMP_CNTL
	.comm	_FBC_COMP_CNTL,4,2              ## @FBC_COMP_CNTL
	.comm	_FBC_DEPTH_RGB08_EN,4,2         ## @FBC_DEPTH_RGB08_EN
	.comm	_FBC_MIN_COMPRESSION,4,2        ## @FBC_MIN_COMPRESSION
	.comm	_FBC_COMPRESS_RATIO_1TO1,4,2    ## @FBC_COMPRESS_RATIO_1TO1
	.comm	_mmFBC_IND_LUT0,4,2             ## @mmFBC_IND_LUT0
	.comm	_mmFBC_IND_LUT1,4,2             ## @mmFBC_IND_LUT1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_compressor_power_up_fbc ; -- Begin function dce110_compressor_power_up_fbc
	.p2align	2
_dce110_compressor_power_up_fbc:        ; @dce110_compressor_power_up_fbc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x8, _mmFBC_CNTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmFBC_CNTL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w0, [x0]
	mov	x1, x20
	bl	_dm_read_reg
	mov	x21, x0
Lloh3:
	adrp	x22, _FBC_CNTL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _FBC_CNTL@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh5:
	adrp	x8, _FBC_GRPH_COMP_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FBC_GRPH_COMP_EN@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	w1, #0
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh8:
	adrp	x8, _FBC_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FBC_EN@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh11:
	adrp	x8, _FBC_COHERENCY_MODE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FBC_COHERENCY_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #2
	bl	_set_reg_field_value
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w2, [x22]
Lloh14:
	adrp	x8, _FBC_COMP_CLK_GATE_EN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FBC_COMP_CLK_GATE_EN@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_set_reg_field_value
LBB0_2:
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_dm_write_reg
Lloh17:
	adrp	x8, _mmFBC_COMP_MODE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mmFBC_COMP_MODE@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
	ldr	w0, [x19]
	mov	x1, x20
	bl	_dm_read_reg
	mov	x21, x0
Lloh20:
	adrp	x22, _FBC_COMP_MODE@GOTPAGE
Lloh21:
	ldr	x22, [x22, _FBC_COMP_MODE@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh22:
	adrp	x8, _FBC_RLE_EN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FBC_RLE_EN@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh25:
	adrp	x8, _FBC_DPCM4_RGB_EN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FBC_DPCM4_RGB_EN@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w2, [x22]
Lloh28:
	adrp	x8, _FBC_IND_EN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FBC_IND_EN@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_dm_write_reg
Lloh31:
	adrp	x8, _mmFBC_COMP_CNTL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _mmFBC_COMP_CNTL@GOTPAGEOFF]
Lloh33:
	ldr	w20, [x8]
	ldr	w0, [x19]
	mov	x1, x20
	bl	_dm_read_reg
	mov	x21, x0
Lloh34:
	adrp	x22, _FBC_COMP_CNTL@GOTPAGE
Lloh35:
	ldr	x22, [x22, _FBC_COMP_CNTL@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh36:
	adrp	x8, _FBC_DEPTH_RGB08_EN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FBC_DEPTH_RGB08_EN@GOTPAGEOFF]
Lloh38:
	ldr	w3, [x8]
	mov	w1, #1
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_dm_write_reg
	ldr	w2, [x22]
Lloh39:
	adrp	x8, _FBC_MIN_COMPRESSION@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FBC_MIN_COMPRESSION@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #15
	bl	_set_reg_field_value
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_dm_write_reg
Lloh42:
	adrp	x8, _FBC_COMPRESS_RATIO_1TO1@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FBC_COMPRESS_RATIO_1TO1@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w0, [x19]
Lloh45:
	adrp	x8, _mmFBC_IND_LUT0@GOTPAGE
Lloh46:
	ldr	x8, [x8, _mmFBC_IND_LUT0@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_dm_write_reg
	ldr	w0, [x19]
Lloh48:
	adrp	x8, _mmFBC_IND_LUT1@GOTPAGE
Lloh49:
	ldr	x8, [x8, _mmFBC_IND_LUT1@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	w2, #16777215
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dm_write_reg
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_mmFBC_CNTL,4,2                 ; @mmFBC_CNTL
	.comm	_FBC_CNTL,4,2                   ; @FBC_CNTL
	.comm	_FBC_GRPH_COMP_EN,4,2           ; @FBC_GRPH_COMP_EN
	.comm	_FBC_EN,4,2                     ; @FBC_EN
	.comm	_FBC_COHERENCY_MODE,4,2         ; @FBC_COHERENCY_MODE
	.comm	_FBC_COMP_CLK_GATE_EN,4,2       ; @FBC_COMP_CLK_GATE_EN
	.comm	_mmFBC_COMP_MODE,4,2            ; @mmFBC_COMP_MODE
	.comm	_FBC_COMP_MODE,4,2              ; @FBC_COMP_MODE
	.comm	_FBC_RLE_EN,4,2                 ; @FBC_RLE_EN
	.comm	_FBC_DPCM4_RGB_EN,4,2           ; @FBC_DPCM4_RGB_EN
	.comm	_FBC_IND_EN,4,2                 ; @FBC_IND_EN
	.comm	_mmFBC_COMP_CNTL,4,2            ; @mmFBC_COMP_CNTL
	.comm	_FBC_COMP_CNTL,4,2              ; @FBC_COMP_CNTL
	.comm	_FBC_DEPTH_RGB08_EN,4,2         ; @FBC_DEPTH_RGB08_EN
	.comm	_FBC_MIN_COMPRESSION,4,2        ; @FBC_MIN_COMPRESSION
	.comm	_FBC_COMPRESS_RATIO_1TO1,4,2    ; @FBC_COMPRESS_RATIO_1TO1
	.comm	_mmFBC_IND_LUT0,4,2             ; @mmFBC_IND_LUT0
	.comm	_mmFBC_IND_LUT1,4,2             ; @mmFBC_IND_LUT1
.subsections_via_symbols
