	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_compressor_is_fbc_enabled_in_hw ## -- Begin function dce110_compressor_is_fbc_enabled_in_hw
	.p2align	4, 0x90
_dce110_compressor_is_fbc_enabled_in_hw: ## @dce110_compressor_is_fbc_enabled_in_hw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	movq	_mmFBC_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dm_read_reg
	movq	_FBC_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_FBC_ENABLE_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_get_reg_field_value
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movl	(%r15), %eax
	movl	%eax, (%r14)
LBB0_5:
	movl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	4(%r15), %edi
	movq	_mmFBC_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dm_read_reg
	movq	_FBC_MISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_FBC_STOP_ON_HFLIP_EVENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_get_reg_field_value
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	4(%r15), %edi
	movq	_mmFBC_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dm_read_reg
	movq	_FBC_CNTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_FBC_GRPH_COMP_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_get_reg_field_value
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_mmFBC_STATUS,4,2               ## @mmFBC_STATUS
	.comm	_FBC_STATUS,4,2                 ## @FBC_STATUS
	.comm	_FBC_ENABLE_STATUS,4,2          ## @FBC_ENABLE_STATUS
	.comm	_mmFBC_MISC,4,2                 ## @mmFBC_MISC
	.comm	_FBC_MISC,4,2                   ## @FBC_MISC
	.comm	_FBC_STOP_ON_HFLIP_EVENT,4,2    ## @FBC_STOP_ON_HFLIP_EVENT
	.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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_compressor_is_fbc_enabled_in_hw ; -- Begin function dce110_compressor_is_fbc_enabled_in_hw
	.p2align	2
_dce110_compressor_is_fbc_enabled_in_hw: ; @dce110_compressor_is_fbc_enabled_in_hw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _mmFBC_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmFBC_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_dm_read_reg
Lloh3:
	adrp	x8, _FBC_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FBC_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _FBC_ENABLE_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FBC_ENABLE_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_get_reg_field_value
	cbz	x0, LBB0_5
LBB0_1:
	cbz	x19, LBB0_3
; %bb.2:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x20, #4]
Lloh9:
	adrp	x8, _mmFBC_MISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mmFBC_MISC@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_dm_read_reg
Lloh12:
	adrp	x8, _FBC_MISC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FBC_MISC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _FBC_STOP_ON_HFLIP_EVENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FBC_STOP_ON_HFLIP_EVENT@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_get_reg_field_value
	cbz	x0, LBB0_4
; %bb.6:
	ldr	w0, [x20, #4]
Lloh18:
	adrp	x8, _mmFBC_CNTL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _mmFBC_CNTL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_dm_read_reg
Lloh21:
	adrp	x8, _FBC_CNTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FBC_CNTL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _FBC_GRPH_COMP_EN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FBC_GRPH_COMP_EN@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	bl	_get_reg_field_value
	cbnz	x0, LBB0_1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_mmFBC_STATUS,4,2               ; @mmFBC_STATUS
	.comm	_FBC_STATUS,4,2                 ; @FBC_STATUS
	.comm	_FBC_ENABLE_STATUS,4,2          ; @FBC_ENABLE_STATUS
	.comm	_mmFBC_MISC,4,2                 ; @mmFBC_MISC
	.comm	_FBC_MISC,4,2                   ; @FBC_MISC
	.comm	_FBC_STOP_ON_HFLIP_EVENT,4,2    ; @FBC_STOP_ON_HFLIP_EVENT
	.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
.subsections_via_symbols
