	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gen_planar_yuv_read
_gen_planar_yuv_read:                   ## @gen_planar_yuv_read
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rsi), %r13
	movq	_COMPLEX_FIXUP_UYVY@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpq	%r14, %r13
	sete	%al
	movb	$120, %cl
	subb	%al, %cl
	movb	%cl, (%rdx)
	movq	8(%rsi), %rdi
	callq	_arbfp_texture_target
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movq	_WINED3D_GL_RES_TYPE_TEX_RECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str(%rip), %r12
	leaq	L_.str.3(%rip), %rsi
LBB0_3:
	xorl	%r15d, %r15d
	cmpq	%r14, %r13
	sete	%r15b
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	addl	$119, %r15d
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.12(%rip), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_shader_addline
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_shader_addline
	movq	%rbx, %rdi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_shader_addline
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.17(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_shader_addline
	leaq	L_.str.18(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_shader_addline
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TXP"

	.comm	_COMPLEX_FIXUP_UYVY,8,3         ## @COMPLEX_FIXUP_UYVY
	.comm	_WINED3D_GL_RES_TYPE_TEX_RECT,8,3 ## @WINED3D_GL_RES_TYPE_TEX_RECT
L_.str.1:                               ## @.str.1
	.asciz	"TEX"

L_.str.2:                               ## @.str.2
	.asciz	"MUL texcrd.xy, fragment.texcoord[0], size.x;\n"

L_.str.3:                               ## @.str.3
	.asciz	"MOV texcrd.w, size.x;\n"

L_.str.4:                               ## @.str.4
	.asciz	"MOV texcrd, fragment.texcoord[0];\n"

L_.str.5:                               ## @.str.5
	.asciz	"FLR texcrd.x, texcrd.x;\n"

L_.str.6:                               ## @.str.6
	.asciz	"ADD texcrd.x, texcrd.x, coef.y;\n"

L_.str.7:                               ## @.str.7
	.asciz	"MUL texcrd2, texcrd, coef.y;\n"

L_.str.8:                               ## @.str.8
	.asciz	"FRC texcrd2, texcrd2;\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s luminance, texcrd, texture[0], %s;\n"

L_.str.10:                              ## @.str.10
	.asciz	"SGE temp.x, texcrd2.x, coef.y;\n"

L_.str.11:                              ## @.str.11
	.asciz	"MUL chroma.x, luminance.%c, temp.x;\n"

L_.str.12:                              ## @.str.12
	.asciz	"SLT temp.x, texcrd2.x, coef.y;\n"

L_.str.13:                              ## @.str.13
	.asciz	"MUL chroma.y, luminance.%c, temp.x;\n"

L_.str.14:                              ## @.str.14
	.asciz	"MAD temp.x, temp.x, coef.z, -coef.x;\n"

L_.str.15:                              ## @.str.15
	.asciz	"ADD texcrd.x, texcrd, temp.x;\n"

L_.str.16:                              ## @.str.16
	.asciz	"MAD chroma.y, luminance.%c, temp.x, chroma.y;\n"

L_.str.17:                              ## @.str.17
	.asciz	"MAD chroma.x, luminance.%c, temp.x, chroma.x;\n"

L_.str.18:                              ## @.str.18
	.asciz	"TEX luminance, fragment.texcoord[0], texture[0], %s;\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_gen_planar_yuv_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gen_planar_yuv_read
_gen_planar_yuv_read:                   ; @gen_planar_yuv_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x1]
Lloh0:
	adrp	x8, _COMPLEX_FIXUP_UYVY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMPLEX_FIXUP_UYVY@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	cmp	x23, x25
	mov	w8, #119
	cinc	w8, w8, ne
	strb	w8, [x2]
	ldr	x0, [x1, #8]
	bl	_arbfp_texture_target
	mov	x20, x0
	ldr	x8, [x21, #8]
Lloh3:
	adrp	x9, _WINED3D_GL_RES_TYPE_TEX_RECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WINED3D_GL_RES_TYPE_TEX_RECT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh12:
	adrp	x24, l_.str@PAGE
Lloh13:
	add	x24, x24, l_.str@PAGEOFF
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_3:
	mov	x0, x19
	bl	_shader_addline
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	stp	x24, x20, [sp]
Lloh24:
	adrp	x21, l_.str.9@PAGE
Lloh25:
	add	x21, x21, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_shader_addline
Lloh26:
	adrp	x22, l_.str.10@PAGE
Lloh27:
	add	x22, x22, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_shader_addline
	cmp	x23, x25
	mov	w8, #119
	cinc	x25, x8, eq
	str	x25, [sp]
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh30:
	adrp	x23, l_.str.12@PAGE
Lloh31:
	add	x23, x23, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	x1, x23
	bl	_shader_addline
	str	x25, [sp]
Lloh32:
	adrp	x1, l_.str.13@PAGE
Lloh33:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh34:
	adrp	x1, l_.str.14@PAGE
Lloh35:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh36:
	adrp	x1, l_.str.15@PAGE
Lloh37:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	stp	x24, x20, [sp]
	mov	x0, x19
	mov	x1, x21
	bl	_shader_addline
	mov	x0, x19
	mov	x1, x22
	bl	_shader_addline
	str	x25, [sp]
Lloh38:
	adrp	x1, l_.str.16@PAGE
Lloh39:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	mov	x0, x19
	mov	x1, x23
	bl	_shader_addline
	str	x25, [sp]
Lloh40:
	adrp	x1, l_.str.17@PAGE
Lloh41:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
	str	x20, [sp]
Lloh42:
	adrp	x1, l_.str.18@PAGE
Lloh43:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_shader_addline
Lloh44:
	adrp	x8, _TRUE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TXP"

	.comm	_COMPLEX_FIXUP_UYVY,8,3         ; @COMPLEX_FIXUP_UYVY
	.comm	_WINED3D_GL_RES_TYPE_TEX_RECT,8,3 ; @WINED3D_GL_RES_TYPE_TEX_RECT
l_.str.1:                               ; @.str.1
	.asciz	"TEX"

l_.str.2:                               ; @.str.2
	.asciz	"MUL texcrd.xy, fragment.texcoord[0], size.x;\n"

l_.str.3:                               ; @.str.3
	.asciz	"MOV texcrd.w, size.x;\n"

l_.str.4:                               ; @.str.4
	.asciz	"MOV texcrd, fragment.texcoord[0];\n"

l_.str.5:                               ; @.str.5
	.asciz	"FLR texcrd.x, texcrd.x;\n"

l_.str.6:                               ; @.str.6
	.asciz	"ADD texcrd.x, texcrd.x, coef.y;\n"

l_.str.7:                               ; @.str.7
	.asciz	"MUL texcrd2, texcrd, coef.y;\n"

l_.str.8:                               ; @.str.8
	.asciz	"FRC texcrd2, texcrd2;\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s luminance, texcrd, texture[0], %s;\n"

l_.str.10:                              ; @.str.10
	.asciz	"SGE temp.x, texcrd2.x, coef.y;\n"

l_.str.11:                              ; @.str.11
	.asciz	"MUL chroma.x, luminance.%c, temp.x;\n"

l_.str.12:                              ; @.str.12
	.asciz	"SLT temp.x, texcrd2.x, coef.y;\n"

l_.str.13:                              ; @.str.13
	.asciz	"MUL chroma.y, luminance.%c, temp.x;\n"

l_.str.14:                              ; @.str.14
	.asciz	"MAD temp.x, temp.x, coef.z, -coef.x;\n"

l_.str.15:                              ; @.str.15
	.asciz	"ADD texcrd.x, texcrd, temp.x;\n"

l_.str.16:                              ; @.str.16
	.asciz	"MAD chroma.y, luminance.%c, temp.x, chroma.y;\n"

l_.str.17:                              ; @.str.17
	.asciz	"MAD chroma.x, luminance.%c, temp.x, chroma.x;\n"

l_.str.18:                              ; @.str.18
	.asciz	"TEX luminance, fragment.texcoord[0], texture[0], %s;\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_gen_planar_yuv_read
.subsections_via_symbols
