	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_sprite_plane_create      ## -- Begin function intel_sprite_plane_create
	.p2align	4, 0x90
_intel_sprite_plane_create:             ## @intel_sprite_plane_create
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_INTEL_GEN
	cmpl	$9, %eax
	jl	LBB0_1
## %bb.14:
	movq	_PLANE_SPRITE0@GOTPCREL(%rip), %rax
	movslq	%r13d, %rdx
	addq	(%rax), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_skl_universal_plane_create     ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	callq	_intel_plane_alloc
	movq	%rax, %r15
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
LBB0_13:
	movq	%r14, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_IS_VALLEYVIEW
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	_i9xx_plane_max_stride@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r14)
	movq	_vlv_update_plane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_vlv_disable_plane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_vlv_plane_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_vlv_sprite_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	_vlv_plane_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_i9xx_plane_format_modifiers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_vlv_sprite_funcs@GOTPCREL(%rip), %rax
LBB0_11:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_IS_CHERRYVIEW
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_PIPE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	_DRM_MODE_ROTATE_180@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	%r12d, (%r14)
	movq	_PLANE_SPRITE0@GOTPCREL(%rip), %rax
	movslq	%r13d, %r13
	movq	(%rax), %rsi
	addq	%r13, %rsi
	movq	%rsi, 8(%r14)
	movl	%r12d, %edi
	callq	_INTEL_FRONTBUFFER
	movl	%eax, 16(%r14)
	movl	%r12d, %edi
	callq	_BIT
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	addq	$4, %r15
	movq	_DRM_PLANE_TYPE_OVERLAY@GOTPCREL(%rip), %rax
	movq	%r15, %rcx
	movl	(%rax), %r15d
	movl	%r12d, %edi
	movl	%r13d, %esi
	movq	%rcx, %r13
	callq	_sprite_name
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %r10
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r10
	pushq	%r15
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_drm_universal_plane_init
	addq	$32, %rsp
	testl	%eax, %eax
	je	LBB0_12
## %bb.15:
	movl	%eax, %ebx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_intel_plane_free
	movl	%ebx, %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_12:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	orl	-76(%rbp), %ecx                 ## 4-byte Folded Reload
	xorl	%eax, %eax
	cmpl	%r12d, -80(%rbp)                ## 4-byte Folded Reload
	movl	-88(%rbp), %edx                 ## 4-byte Reload
	cmovnel	%eax, %edx
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	cmovel	%eax, %edx
	orl	%ecx, %edx
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_drm_plane_create_rotation_property
	movq	_DRM_COLOR_YCBCR_BT601@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	%rax, %r14
	movq	_DRM_COLOR_YCBCR_BT709@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_BIT
	orq	%rax, %r14
	movq	_DRM_COLOR_YCBCR_LIMITED_RANGE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_BIT
	movq	%rax, %rbx
	movq	_DRM_COLOR_YCBCR_FULL_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orq	%rax, %rbx
	movl	(%r15), %ecx
	movl	(%r12), %r8d
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_drm_plane_create_color_properties
	movq	_intel_plane_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_drm_plane_helper_add
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_5:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	movq	_g4x_sprite_max_stride@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%r14)
	cmpl	$7, %eax
	jl	LBB0_7
## %bb.6:
	movq	_ivb_update_plane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_ivb_disable_plane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_ivb_plane_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_g4x_sprite_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	_snb_plane_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_i9xx_plane_format_modifiers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_snb_sprite_funcs@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	movq	_g4x_update_plane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_g4x_disable_plane@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_g4x_plane_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_g4x_sprite_check@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	_i9xx_plane_format_modifiers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_snb_plane_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_snb_sprite_funcs@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_g4x_plane_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_g4x_sprite_funcs@GOTPCREL(%rip), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANE_SPRITE0,8,3              ## @PLANE_SPRITE0
	.comm	_i9xx_plane_max_stride,8,3      ## @i9xx_plane_max_stride
	.comm	_vlv_update_plane,4,2           ## @vlv_update_plane
	.comm	_vlv_disable_plane,4,2          ## @vlv_disable_plane
	.comm	_vlv_plane_get_hw_state,4,2     ## @vlv_plane_get_hw_state
	.comm	_vlv_sprite_check,8,3           ## @vlv_sprite_check
	.comm	_vlv_plane_formats,8,3          ## @vlv_plane_formats
	.comm	_i9xx_plane_format_modifiers,8,3 ## @i9xx_plane_format_modifiers
	.comm	_vlv_sprite_funcs,4,2           ## @vlv_sprite_funcs
	.comm	_g4x_sprite_max_stride,8,3      ## @g4x_sprite_max_stride
	.comm	_ivb_update_plane,4,2           ## @ivb_update_plane
	.comm	_ivb_disable_plane,4,2          ## @ivb_disable_plane
	.comm	_ivb_plane_get_hw_state,4,2     ## @ivb_plane_get_hw_state
	.comm	_g4x_sprite_check,8,3           ## @g4x_sprite_check
	.comm	_snb_plane_formats,8,3          ## @snb_plane_formats
	.comm	_snb_sprite_funcs,4,2           ## @snb_sprite_funcs
	.comm	_g4x_update_plane,4,2           ## @g4x_update_plane
	.comm	_g4x_disable_plane,4,2          ## @g4x_disable_plane
	.comm	_g4x_plane_get_hw_state,4,2     ## @g4x_plane_get_hw_state
	.comm	_g4x_plane_formats,8,3          ## @g4x_plane_formats
	.comm	_g4x_sprite_funcs,4,2           ## @g4x_sprite_funcs
	.comm	_PIPE_B,4,2                     ## @PIPE_B
	.comm	_DRM_MODE_ROTATE_0,4,2          ## @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_180,4,2        ## @DRM_MODE_ROTATE_180
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_DRM_PLANE_TYPE_OVERLAY,4,2     ## @DRM_PLANE_TYPE_OVERLAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sprite %c"

	.comm	_DRM_COLOR_YCBCR_BT601,4,2      ## @DRM_COLOR_YCBCR_BT601
	.comm	_DRM_COLOR_YCBCR_BT709,4,2      ## @DRM_COLOR_YCBCR_BT709
	.comm	_DRM_COLOR_YCBCR_LIMITED_RANGE,4,2 ## @DRM_COLOR_YCBCR_LIMITED_RANGE
	.comm	_DRM_COLOR_YCBCR_FULL_RANGE,4,2 ## @DRM_COLOR_YCBCR_FULL_RANGE
	.comm	_intel_plane_helper_funcs,4,2   ## @intel_plane_helper_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_sprite_plane_create      ; -- Begin function intel_sprite_plane_create
	.p2align	2
_intel_sprite_plane_create:             ; @intel_sprite_plane_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_INTEL_GEN
	cmp	w0, #9
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PLANE_SPRITE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLANE_SPRITE0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x2, x8, w22, sxtw
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_skl_universal_plane_create
LBB0_2:
	bl	_intel_plane_alloc
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	mov	x0, x21
	bl	_IS_VALLEYVIEW
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_IS_CHERRYVIEW
	cbz	x0, LBB0_10
LBB0_6:
Lloh3:
	adrp	x8, _i9xx_plane_max_stride@GOTPAGE
Lloh4:
	ldr	x8, [x8, _i9xx_plane_max_stride@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _vlv_update_plane@GOTPAGE
Lloh7:
	ldr	x9, [x9, _vlv_update_plane@GOTPAGEOFF]
	str	x8, [x19, #48]
Lloh8:
	ldr	w8, [x9]
	str	w8, [x19, #40]
Lloh9:
	adrp	x8, _vlv_disable_plane@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vlv_disable_plane@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _vlv_plane_get_hw_state@GOTPAGE
Lloh13:
	ldr	x9, [x9, _vlv_plane_get_hw_state@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _vlv_sprite_check@GOTPAGE
Lloh16:
	ldr	x10, [x10, _vlv_sprite_check@GOTPAGEOFF]
	stp	w9, w8, [x19, #32]
Lloh17:
	ldr	x8, [x10]
	str	x8, [x19, #24]
Lloh18:
	adrp	x8, _vlv_plane_formats@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vlv_plane_formats@GOTPAGEOFF]
Lloh20:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
Lloh21:
	adrp	x8, _i9xx_plane_format_modifiers@GOTPAGE
Lloh22:
	ldr	x8, [x8, _i9xx_plane_format_modifiers@GOTPAGEOFF]
Lloh23:
	ldr	x28, [x8]
Lloh24:
	adrp	x27, _vlv_sprite_funcs@GOTPAGE
Lloh25:
	ldr	x27, [x27, _vlv_sprite_funcs@GOTPAGEOFF]
LBB0_7:
	mov	x0, x21
	bl	_IS_CHERRYVIEW
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
Lloh26:
	adrp	x8, _PIPE_B@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PIPE_B@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh29:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
Lloh32:
	adrp	x8, _DRM_MODE_ROTATE_180@GOTPAGE
Lloh33:
	ldr	x8, [x8, _DRM_MODE_ROTATE_180@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
Lloh35:
	adrp	x8, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [sp, #16]                   ; 4-byte Folded Spill
	str	w20, [x19]
Lloh38:
	adrp	x8, _PLANE_SPRITE0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PLANE_SPRITE0@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	add	x1, x8, w22, sxtw
	str	x1, [x19, #8]
	mov	x0, x20
	bl	_INTEL_FRONTBUFFER
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_BIT
	mov	x24, x0
	add	x26, x19, #4
Lloh41:
	adrp	x8, _DRM_PLANE_TYPE_OVERLAY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DRM_PLANE_TYPE_OVERLAY@GOTPAGEOFF]
Lloh43:
	ldr	w25, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_sprite_name
	str	w0, [sp, #8]
Lloh44:
	adrp	x8, l_.str@PAGE
Lloh45:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x26
	mov	x2, x24
	mov	x3, x27
	mov	x4, x23
	ldr	w5, [sp, #44]                   ; 4-byte Folded Reload
	mov	x6, x28
	mov	x7, x25
	bl	_drm_universal_plane_init
	cbz	w0, LBB0_9
; %bb.8:
	mov	x21, x0
	mov	x0, x19
	bl	_intel_plane_free
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_ERR_PTR
LBB0_9:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, w20
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ccmp	x8, #0, #4, eq
	ldp	w9, w8, [sp, #20]               ; 8-byte Folded Reload
	orr	w8, w9, w8
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	csel	w9, w9, wzr, ne
	orr	w2, w8, w9
Lloh46:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_drm_plane_create_rotation_property
Lloh49:
	adrp	x8, _DRM_COLOR_YCBCR_BT601@GOTPAGE
Lloh50:
	ldr	x8, [x8, _DRM_COLOR_YCBCR_BT601@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
Lloh52:
	adrp	x22, _DRM_COLOR_YCBCR_BT709@GOTPAGE
Lloh53:
	ldr	x22, [x22, _DRM_COLOR_YCBCR_BT709@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_BIT
	orr	x20, x0, x20
Lloh54:
	adrp	x23, _DRM_COLOR_YCBCR_LIMITED_RANGE@GOTPAGE
Lloh55:
	ldr	x23, [x23, _DRM_COLOR_YCBCR_LIMITED_RANGE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_BIT
	mov	x21, x0
Lloh56:
	adrp	x8, _DRM_COLOR_YCBCR_FULL_RANGE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _DRM_COLOR_YCBCR_FULL_RANGE@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	bl	_BIT
	orr	x2, x0, x21
	ldr	w3, [x22]
	ldr	w4, [x23]
	mov	x0, x26
	mov	x1, x20
	bl	_drm_plane_create_color_properties
Lloh59:
	adrp	x1, _intel_plane_helper_funcs@GOTPAGE
Lloh60:
	ldr	x1, [x1, _intel_plane_helper_funcs@GOTPAGEOFF]
	mov	x0, x26
	bl	_drm_plane_helper_add
	b	LBB0_3
LBB0_10:
	mov	x0, x21
	bl	_INTEL_GEN
Lloh61:
	adrp	x8, _g4x_sprite_max_stride@GOTPAGE
Lloh62:
	ldr	x8, [x8, _g4x_sprite_max_stride@GOTPAGEOFF]
Lloh63:
	ldr	x8, [x8]
	str	x8, [x19, #48]
	cmp	w0, #7
	b.lt	LBB0_12
; %bb.11:
Lloh64:
	adrp	x8, _ivb_update_plane@GOTPAGE
Lloh65:
	ldr	x8, [x8, _ivb_update_plane@GOTPAGEOFF]
Lloh66:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh67:
	adrp	x8, _ivb_disable_plane@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ivb_disable_plane@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _ivb_plane_get_hw_state@GOTPAGE
Lloh71:
	ldr	x9, [x9, _ivb_plane_get_hw_state@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
Lloh73:
	adrp	x10, _g4x_sprite_check@GOTPAGE
Lloh74:
	ldr	x10, [x10, _g4x_sprite_check@GOTPAGEOFF]
	stp	w9, w8, [x19, #32]
Lloh75:
	ldr	x8, [x10]
	str	x8, [x19, #24]
Lloh76:
	adrp	x8, _snb_plane_formats@GOTPAGE
Lloh77:
	ldr	x8, [x8, _snb_plane_formats@GOTPAGEOFF]
Lloh78:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
Lloh79:
	adrp	x8, _i9xx_plane_format_modifiers@GOTPAGE
Lloh80:
	ldr	x8, [x8, _i9xx_plane_format_modifiers@GOTPAGEOFF]
Lloh81:
	ldr	x28, [x8]
	b	LBB0_14
LBB0_12:
Lloh82:
	adrp	x8, _g4x_update_plane@GOTPAGE
Lloh83:
	ldr	x8, [x8, _g4x_update_plane@GOTPAGEOFF]
Lloh84:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh85:
	adrp	x8, _g4x_disable_plane@GOTPAGE
Lloh86:
	ldr	x8, [x8, _g4x_disable_plane@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	adrp	x9, _g4x_plane_get_hw_state@GOTPAGE
Lloh89:
	ldr	x9, [x9, _g4x_plane_get_hw_state@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
Lloh91:
	adrp	x10, _g4x_sprite_check@GOTPAGE
Lloh92:
	ldr	x10, [x10, _g4x_sprite_check@GOTPAGEOFF]
	stp	w9, w8, [x19, #32]
Lloh93:
	ldr	x8, [x10]
	str	x8, [x19, #24]
Lloh94:
	adrp	x8, _i9xx_plane_format_modifiers@GOTPAGE
Lloh95:
	ldr	x8, [x8, _i9xx_plane_format_modifiers@GOTPAGEOFF]
Lloh96:
	ldr	x28, [x8]
	mov	x0, x21
	mov	w1, #6
	bl	_IS_GEN
	cbz	x0, LBB0_15
; %bb.13:
Lloh97:
	adrp	x8, _snb_plane_formats@GOTPAGE
Lloh98:
	ldr	x8, [x8, _snb_plane_formats@GOTPAGEOFF]
Lloh99:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
LBB0_14:
Lloh100:
	adrp	x27, _snb_sprite_funcs@GOTPAGE
Lloh101:
	ldr	x27, [x27, _snb_sprite_funcs@GOTPAGEOFF]
	b	LBB0_7
LBB0_15:
Lloh102:
	adrp	x8, _g4x_plane_formats@GOTPAGE
Lloh103:
	ldr	x8, [x8, _g4x_plane_formats@GOTPAGEOFF]
Lloh104:
	ldr	x23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
Lloh105:
	adrp	x27, _g4x_sprite_funcs@GOTPAGE
Lloh106:
	ldr	x27, [x27, _g4x_sprite_funcs@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.cfi_endproc
                                        ; -- End function
	.comm	_PLANE_SPRITE0,8,3              ; @PLANE_SPRITE0
	.comm	_i9xx_plane_max_stride,8,3      ; @i9xx_plane_max_stride
	.comm	_vlv_update_plane,4,2           ; @vlv_update_plane
	.comm	_vlv_disable_plane,4,2          ; @vlv_disable_plane
	.comm	_vlv_plane_get_hw_state,4,2     ; @vlv_plane_get_hw_state
	.comm	_vlv_sprite_check,8,3           ; @vlv_sprite_check
	.comm	_vlv_plane_formats,8,3          ; @vlv_plane_formats
	.comm	_i9xx_plane_format_modifiers,8,3 ; @i9xx_plane_format_modifiers
	.comm	_vlv_sprite_funcs,4,2           ; @vlv_sprite_funcs
	.comm	_g4x_sprite_max_stride,8,3      ; @g4x_sprite_max_stride
	.comm	_ivb_update_plane,4,2           ; @ivb_update_plane
	.comm	_ivb_disable_plane,4,2          ; @ivb_disable_plane
	.comm	_ivb_plane_get_hw_state,4,2     ; @ivb_plane_get_hw_state
	.comm	_g4x_sprite_check,8,3           ; @g4x_sprite_check
	.comm	_snb_plane_formats,8,3          ; @snb_plane_formats
	.comm	_snb_sprite_funcs,4,2           ; @snb_sprite_funcs
	.comm	_g4x_update_plane,4,2           ; @g4x_update_plane
	.comm	_g4x_disable_plane,4,2          ; @g4x_disable_plane
	.comm	_g4x_plane_get_hw_state,4,2     ; @g4x_plane_get_hw_state
	.comm	_g4x_plane_formats,8,3          ; @g4x_plane_formats
	.comm	_g4x_sprite_funcs,4,2           ; @g4x_sprite_funcs
	.comm	_PIPE_B,4,2                     ; @PIPE_B
	.comm	_DRM_MODE_ROTATE_0,4,2          ; @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_180,4,2        ; @DRM_MODE_ROTATE_180
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_DRM_PLANE_TYPE_OVERLAY,4,2     ; @DRM_PLANE_TYPE_OVERLAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sprite %c"

	.comm	_DRM_COLOR_YCBCR_BT601,4,2      ; @DRM_COLOR_YCBCR_BT601
	.comm	_DRM_COLOR_YCBCR_BT709,4,2      ; @DRM_COLOR_YCBCR_BT709
	.comm	_DRM_COLOR_YCBCR_LIMITED_RANGE,4,2 ; @DRM_COLOR_YCBCR_LIMITED_RANGE
	.comm	_DRM_COLOR_YCBCR_FULL_RANGE,4,2 ; @DRM_COLOR_YCBCR_FULL_RANGE
	.comm	_intel_plane_helper_funcs,4,2   ; @intel_plane_helper_funcs
.subsections_via_symbols
