	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vlv_sprite_ctl
_vlv_sprite_ctl:                        ## @vlv_sprite_ctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rsi), %r8
	movq	8(%r8), %rax
	movl	(%rax), %edi
	leal	-128(%rdi), %eax
	cmpl	$10, %eax
	ja	LBB0_13
## %bb.1:
	movq	_SP_ENABLE@GOTPCREL(%rip), %rdx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_SP_FORMAT_YUV422@GOTPCREL(%rip), %rcx
	movq	_SP_YUV_ORDER_YVYU@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_13:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MISSING_CASE
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_SP_FORMAT_YUV422@GOTPCREL(%rip), %rcx
	movq	_SP_YUV_ORDER_YUYV@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_SP_FORMAT_BGRX8888@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movq	_SP_FORMAT_RGBX8888@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	movq	_SP_FORMAT_RGBX1010102@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_6:
	movq	_SP_FORMAT_YUV422@GOTPCREL(%rip), %rcx
	movq	_SP_YUV_ORDER_VYUY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_SP_FORMAT_YUV422@GOTPCREL(%rip), %rcx
	movq	_SP_YUV_ORDER_UYVY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_16
LBB0_14:
	movq	_SP_FORMAT_BGR565@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	_SP_FORMAT_BGRA8888@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_SP_FORMAT_RGBA8888@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	_SP_FORMAT_RGBA1010102@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
LBB0_16:
	movl	(%rdx), %edx
	movq	8(%rsi), %rdi
	movq	_DRM_COLOR_YCBCR_BT709@GOTPCREL(%rip), %r10
	xorl	%r9d, %r9d
	movl	$0, %r11d
	cmpq	(%r10), %rdi
	jne	LBB0_18
## %bb.17:
	movq	_SP_YUV_FORMAT_BT709@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
LBB0_18:
	orl	%edx, %eax
	movl	(%rsi), %edx
	movq	(%r8), %rdi
	movq	_I915_FORMAT_MOD_X_TILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_20
## %bb.19:
	movq	_SP_TILED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
LBB0_20:
	orl	%r11d, %eax
	movq	_DRM_MODE_ROTATE_180@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edx, %ecx
	je	LBB0_22
## %bb.21:
	movq	_SP_ROTATE_180@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_22:
	orl	%r9d, %eax
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rdi
	andl	(%rdi), %edx
	je	LBB0_24
## %bb.23:
	movq	_SP_MIRROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_24:
	orl	%ecx, %eax
	movq	_I915_SET_COLORKEY_SOURCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	24(%rsi), %ecx
	je	LBB0_26
## %bb.25:
	movq	_SP_SOURCE_KEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_26:
	orl	%ecx, %edx
	orl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_SP_ENABLE,4,2                  ## @SP_ENABLE
	.comm	_SP_FORMAT_YUV422,4,2           ## @SP_FORMAT_YUV422
	.comm	_SP_YUV_ORDER_YUYV,4,2          ## @SP_YUV_ORDER_YUYV
	.comm	_SP_YUV_ORDER_YVYU,4,2          ## @SP_YUV_ORDER_YVYU
	.comm	_SP_YUV_ORDER_UYVY,4,2          ## @SP_YUV_ORDER_UYVY
	.comm	_SP_YUV_ORDER_VYUY,4,2          ## @SP_YUV_ORDER_VYUY
	.comm	_SP_FORMAT_BGR565,4,2           ## @SP_FORMAT_BGR565
	.comm	_SP_FORMAT_BGRX8888,4,2         ## @SP_FORMAT_BGRX8888
	.comm	_SP_FORMAT_BGRA8888,4,2         ## @SP_FORMAT_BGRA8888
	.comm	_SP_FORMAT_RGBX1010102,4,2      ## @SP_FORMAT_RGBX1010102
	.comm	_SP_FORMAT_RGBA1010102,4,2      ## @SP_FORMAT_RGBA1010102
	.comm	_SP_FORMAT_RGBX8888,4,2         ## @SP_FORMAT_RGBX8888
	.comm	_SP_FORMAT_RGBA8888,4,2         ## @SP_FORMAT_RGBA8888
	.comm	_DRM_COLOR_YCBCR_BT709,8,3      ## @DRM_COLOR_YCBCR_BT709
	.comm	_SP_YUV_FORMAT_BT709,4,2        ## @SP_YUV_FORMAT_BT709
	.comm	_I915_FORMAT_MOD_X_TILED,8,3    ## @I915_FORMAT_MOD_X_TILED
	.comm	_SP_TILED,4,2                   ## @SP_TILED
	.comm	_DRM_MODE_ROTATE_180,4,2        ## @DRM_MODE_ROTATE_180
	.comm	_SP_ROTATE_180,4,2              ## @SP_ROTATE_180
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_SP_MIRROR,4,2                  ## @SP_MIRROR
	.comm	_I915_SET_COLORKEY_SOURCE,4,2   ## @I915_SET_COLORKEY_SOURCE
	.comm	_SP_SOURCE_KEY,4,2              ## @SP_SOURCE_KEY
	.no_dead_strip	_vlv_sprite_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vlv_sprite_ctl
_vlv_sprite_ctl:                        ; @vlv_sprite_ctl
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x9, [x1, #16]
	ldr	x8, [x9, #8]
	ldr	w0, [x8]
	sub	w11, w0, #128
	cmp	w11, #10
	b.hi	LBB0_3
; %bb.1:
	ldr	w8, [x1]
Lloh0:
	adrp	x10, _SP_ENABLE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SP_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x12, lJTI0_0@PAGE
Lloh4:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_2
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_2:
Lloh5:
	adrp	x11, _SP_FORMAT_YUV422@GOTPAGE
Lloh6:
	ldr	x11, [x11, _SP_FORMAT_YUV422@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
Lloh8:
	adrp	x12, _SP_YUV_ORDER_YVYU@GOTPAGE
Lloh9:
	ldr	x12, [x12, _SP_YUV_ORDER_YVYU@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	bl	_MISSING_CASE
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh10:
	adrp	x11, _SP_FORMAT_YUV422@GOTPAGE
Lloh11:
	ldr	x11, [x11, _SP_FORMAT_YUV422@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
Lloh13:
	adrp	x12, _SP_YUV_ORDER_YUYV@GOTPAGE
Lloh14:
	ldr	x12, [x12, _SP_YUV_ORDER_YUYV@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
Lloh15:
	adrp	x11, _SP_FORMAT_BGRX8888@GOTPAGE
Lloh16:
	ldr	x11, [x11, _SP_FORMAT_BGRX8888@GOTPAGEOFF]
	b	LBB0_15
LBB0_6:
Lloh17:
	adrp	x11, _SP_FORMAT_RGBX8888@GOTPAGE
Lloh18:
	ldr	x11, [x11, _SP_FORMAT_RGBX8888@GOTPAGEOFF]
	b	LBB0_15
LBB0_7:
Lloh19:
	adrp	x11, _SP_FORMAT_RGBX1010102@GOTPAGE
Lloh20:
	ldr	x11, [x11, _SP_FORMAT_RGBX1010102@GOTPAGEOFF]
	b	LBB0_15
LBB0_8:
Lloh21:
	adrp	x11, _SP_FORMAT_YUV422@GOTPAGE
Lloh22:
	ldr	x11, [x11, _SP_FORMAT_YUV422@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
Lloh24:
	adrp	x12, _SP_YUV_ORDER_VYUY@GOTPAGE
Lloh25:
	ldr	x12, [x12, _SP_YUV_ORDER_VYUY@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh26:
	adrp	x11, _SP_FORMAT_YUV422@GOTPAGE
Lloh27:
	ldr	x11, [x11, _SP_FORMAT_YUV422@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
Lloh29:
	adrp	x12, _SP_YUV_ORDER_UYVY@GOTPAGE
Lloh30:
	ldr	x12, [x12, _SP_YUV_ORDER_UYVY@GOTPAGEOFF]
LBB0_10:
	ldr	w12, [x12]
	orr	w11, w12, w11
	b	LBB0_16
LBB0_11:
Lloh31:
	adrp	x11, _SP_FORMAT_BGR565@GOTPAGE
Lloh32:
	ldr	x11, [x11, _SP_FORMAT_BGR565@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh33:
	adrp	x11, _SP_FORMAT_BGRA8888@GOTPAGE
Lloh34:
	ldr	x11, [x11, _SP_FORMAT_BGRA8888@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh35:
	adrp	x11, _SP_FORMAT_RGBA8888@GOTPAGE
Lloh36:
	ldr	x11, [x11, _SP_FORMAT_RGBA8888@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh37:
	adrp	x11, _SP_FORMAT_RGBA1010102@GOTPAGE
Lloh38:
	ldr	x11, [x11, _SP_FORMAT_RGBA1010102@GOTPAGEOFF]
LBB0_15:
	ldr	w11, [x11]
LBB0_16:
	orr	w10, w11, w10
	ldr	x11, [x1, #8]
Lloh39:
	adrp	x12, _DRM_COLOR_YCBCR_BT709@GOTPAGE
Lloh40:
	ldr	x12, [x12, _DRM_COLOR_YCBCR_BT709@GOTPAGEOFF]
Lloh41:
	ldr	x12, [x12]
Lloh42:
	adrp	x13, _SP_YUV_FORMAT_BT709@GOTPAGE
Lloh43:
	ldr	x13, [x13, _SP_YUV_FORMAT_BT709@GOTPAGEOFF]
Lloh44:
	ldr	w13, [x13]
	cmp	x11, x12
	csel	w11, w13, wzr, eq
	orr	w10, w10, w11
Lloh45:
	adrp	x11, _I915_FORMAT_MOD_X_TILED@GOTPAGE
Lloh46:
	ldr	x11, [x11, _I915_FORMAT_MOD_X_TILED@GOTPAGEOFF]
	ldr	x9, [x9]
Lloh47:
	ldr	x11, [x11]
Lloh48:
	adrp	x12, _SP_TILED@GOTPAGE
Lloh49:
	ldr	x12, [x12, _SP_TILED@GOTPAGEOFF]
Lloh50:
	ldr	w12, [x12]
	cmp	x9, x11
	csel	w9, w12, wzr, eq
	orr	w9, w10, w9
Lloh51:
	adrp	x10, _DRM_MODE_ROTATE_180@GOTPAGE
Lloh52:
	ldr	x10, [x10, _DRM_MODE_ROTATE_180@GOTPAGEOFF]
Lloh53:
	adrp	x11, _SP_ROTATE_180@GOTPAGE
Lloh54:
	ldr	x11, [x11, _SP_ROTATE_180@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
Lloh56:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
Lloh57:
	adrp	x11, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh58:
	ldr	x11, [x11, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
	orr	w9, w9, w10
Lloh59:
	ldr	w10, [x11]
Lloh60:
	adrp	x11, _SP_MIRROR@GOTPAGE
Lloh61:
	ldr	x11, [x11, _SP_MIRROR@GOTPAGEOFF]
Lloh62:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w8, w9, w8
	ldr	w9, [x1, #24]
Lloh63:
	adrp	x10, _I915_SET_COLORKEY_SOURCE@GOTPAGE
Lloh64:
	ldr	x10, [x10, _I915_SET_COLORKEY_SOURCE@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
Lloh66:
	adrp	x11, _SP_SOURCE_KEY@GOTPAGE
Lloh67:
	ldr	x11, [x11, _SP_SOURCE_KEY@GOTPAGEOFF]
Lloh68:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh55
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_SP_ENABLE,4,2                  ; @SP_ENABLE
	.comm	_SP_FORMAT_YUV422,4,2           ; @SP_FORMAT_YUV422
	.comm	_SP_YUV_ORDER_YUYV,4,2          ; @SP_YUV_ORDER_YUYV
	.comm	_SP_YUV_ORDER_YVYU,4,2          ; @SP_YUV_ORDER_YVYU
	.comm	_SP_YUV_ORDER_UYVY,4,2          ; @SP_YUV_ORDER_UYVY
	.comm	_SP_YUV_ORDER_VYUY,4,2          ; @SP_YUV_ORDER_VYUY
	.comm	_SP_FORMAT_BGR565,4,2           ; @SP_FORMAT_BGR565
	.comm	_SP_FORMAT_BGRX8888,4,2         ; @SP_FORMAT_BGRX8888
	.comm	_SP_FORMAT_BGRA8888,4,2         ; @SP_FORMAT_BGRA8888
	.comm	_SP_FORMAT_RGBX1010102,4,2      ; @SP_FORMAT_RGBX1010102
	.comm	_SP_FORMAT_RGBA1010102,4,2      ; @SP_FORMAT_RGBA1010102
	.comm	_SP_FORMAT_RGBX8888,4,2         ; @SP_FORMAT_RGBX8888
	.comm	_SP_FORMAT_RGBA8888,4,2         ; @SP_FORMAT_RGBA8888
	.comm	_DRM_COLOR_YCBCR_BT709,8,3      ; @DRM_COLOR_YCBCR_BT709
	.comm	_SP_YUV_FORMAT_BT709,4,2        ; @SP_YUV_FORMAT_BT709
	.comm	_I915_FORMAT_MOD_X_TILED,8,3    ; @I915_FORMAT_MOD_X_TILED
	.comm	_SP_TILED,4,2                   ; @SP_TILED
	.comm	_DRM_MODE_ROTATE_180,4,2        ; @DRM_MODE_ROTATE_180
	.comm	_SP_ROTATE_180,4,2              ; @SP_ROTATE_180
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_SP_MIRROR,4,2                  ; @SP_MIRROR
	.comm	_I915_SET_COLORKEY_SOURCE,4,2   ; @I915_SET_COLORKEY_SOURCE
	.comm	_SP_SOURCE_KEY,4,2              ; @SP_SOURCE_KEY
	.no_dead_strip	_vlv_sprite_ctl
.subsections_via_symbols
