	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_plane_has_planar
_skl_plane_has_planar:                  ## @skl_plane_has_planar
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_IS_SKYLAKE
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_IS_BROXTON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_IS_GEMINILAKE
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_PIPE_C@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_6
LBB0_5:
	movq	_PLANE_PRIMARY@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	sete	%al
	movq	_PLANE_SPRITE0@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %r12d
LBB0_6:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIPE_C,4,2                     ## @PIPE_C
	.comm	_PLANE_PRIMARY,4,2              ## @PLANE_PRIMARY
	.comm	_PLANE_SPRITE0,4,2              ## @PLANE_SPRITE0
	.no_dead_strip	_skl_plane_has_planar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skl_plane_has_planar
_skl_plane_has_planar:                  ; @skl_plane_has_planar
	.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, x2
	mov	x20, x1
	mov	x21, x0
	bl	_IS_SKYLAKE
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_IS_BROXTON
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
	ret
LBB0_4:
	mov	x0, x21
	mov	w1, #9
	bl	_IS_GEN
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_IS_GEMINILAKE
	cbnz	w0, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _PIPE_C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIPE_C@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_2
LBB0_7:
Lloh3:
	adrp	x8, _PLANE_PRIMARY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PLANE_PRIMARY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w19
Lloh6:
	adrp	x8, _PLANE_SPRITE0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PLANE_SPRITE0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ne
	cset	w0, eq
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PIPE_C,4,2                     ; @PIPE_C
	.comm	_PLANE_PRIMARY,4,2              ; @PLANE_PRIMARY
	.comm	_PLANE_SPRITE0,4,2              ; @PLANE_SPRITE0
	.no_dead_strip	_skl_plane_has_planar
.subsections_via_symbols
