	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i9xx_plane_has_fbc
_i9xx_plane_has_fbc:                    ## @i9xx_plane_has_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_HAS_FBC
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_IS_BROADWELL
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_IS_HASWELL
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	_PLANE_A@GOTPCREL(%rip), %rax
LBB0_5:
	cmpl	%r14d, (%rax)
	sete	%cl
	jmp	LBB0_12
LBB0_1:
	xorl	%ecx, %ecx
LBB0_12:
	movzbl	%cl, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	callq	_IS_IVYBRIDGE
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	_PLANE_A@GOTPCREL(%rip), %rax
	movb	$1, %cl
	cmpl	%r14d, (%rax)
	je	LBB0_12
## %bb.8:
	movq	_PLANE_B@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_12
## %bb.9:
	movq	_PLANE_C@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	movq	_PLANE_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	cmpl	%r14d, %edx
	sete	%cl
	cmpl	$4, %eax
	jl	LBB0_12
## %bb.11:
	cmpl	%r14d, %edx
	sete	%al
	movq	_PLANE_B@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	sete	%cl
	orb	%al, %cl
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANE_A,4,2                    ## @PLANE_A
	.comm	_PLANE_B,4,2                    ## @PLANE_B
	.comm	_PLANE_C,4,2                    ## @PLANE_C
	.no_dead_strip	_i9xx_plane_has_fbc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i9xx_plane_has_fbc
_i9xx_plane_has_fbc:                    ; @i9xx_plane_has_fbc
	.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
	bl	_HAS_FBC
	cbz	w0, LBB0_6
; %bb.1:
	mov	x0, x20
	bl	_IS_BROADWELL
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_IS_HASWELL
	cbz	x0, LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _PLANE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLANE_A@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	cmp	w8, w19
LBB0_5:
	cset	w0, eq
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x20
	bl	_IS_IVYBRIDGE
	cbz	x0, LBB0_10
; %bb.8:
Lloh2:
	adrp	x8, _PLANE_A@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PLANE_A@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _PLANE_B@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PLANE_B@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_12
; %bb.9:
	mov	w0, #1
	b	LBB0_6
LBB0_10:
	mov	x0, x20
	bl	_INTEL_GEN
	mov	x8, x0
Lloh8:
	adrp	x9, _PLANE_A@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PLANE_A@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w9, w19
	cset	w0, eq
	cmp	w8, #4
	b.lt	LBB0_6
; %bb.11:
	cmp	w9, w19
Lloh11:
	adrp	x8, _PLANE_B@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLANE_B@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ne
	b	LBB0_5
LBB0_12:
Lloh14:
	adrp	x8, _PLANE_C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PLANE_C@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PLANE_A,4,2                    ; @PLANE_A
	.comm	_PLANE_B,4,2                    ; @PLANE_B
	.comm	_PLANE_C,4,2                    ; @PLANE_C
	.no_dead_strip	_i9xx_plane_has_fbc
.subsections_via_symbols
