	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_ffp_fragment_op
_shader_glsl_ffp_fragment_op:           ## @shader_glsl_ffp_fragment_op
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmovneq	%rax, %rsi
	testq	%rcx, %rcx
	leaq	L_.str(%rip), %rax
	cmoveq	%rsi, %rax
	testq	%rdx, %rdx
	movq	32(%rbp), %r12
	movq	24(%rbp), %r13
	cmoveq	%rsi, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rcx
	movq	_tempreg@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_shader_glsl_get_ffp_fragment_op_arg
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	movq	%r13, %rcx
	callq	_shader_glsl_get_ffp_fragment_op_arg
	movq	%rax, %r13
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	%r15d, %edx
	movq	%r12, %rcx
	callq	_shader_glsl_get_ffp_fragment_op_arg
	movq	%rax, %r12
	leaq	-128(%r14), %rax
	cmpq	$24, %rax
	ja	LBB0_35
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_36:
	addq	$24, %rsp
	jmp	LBB0_37
LBB0_35:
	leaq	L_.str.22(%rip), %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_FIXME                          ## TAILCALL
LBB0_13:
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
LBB0_3:
	movq	%rcx, %r9
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_shader_addline                 ## TAILCALL
LBB0_30:
	leaq	L_.str.20(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%rcx
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	jmp	LBB0_26
LBB0_28:
	subq	$8, %rsp
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_24
LBB0_27:
	subq	$8, %rsp
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_22
LBB0_23:
	subq	$8, %rsp
	leaq	L_.str.17(%rip), %rsi
LBB0_24:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	jmp	LBB0_25
LBB0_21:
	subq	$8, %rsp
	leaq	L_.str.16(%rip), %rsi
LBB0_22:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%rcx
	pushq	%r13
	jmp	LBB0_33
LBB0_8:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_6
LBB0_9:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_6
LBB0_31:
	leaq	L_.str.21(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%rcx
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	jmp	LBB0_32
LBB0_29:
	subq	$8, %rsp
	leaq	L_.str.19(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%r12, %r9
	xorl	%eax, %eax
	pushq	%rcx
	jmp	LBB0_7
LBB0_19:
	movq	_WINED3DTA_TEXTURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_shader_glsl_get_ffp_fragment_op_arg
	movq	%rax, %r10
	subq	$8, %rsp
	leaq	L_.str.15(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%rcx
	pushq	%r13
	pushq	%r10
	jmp	LBB0_34
LBB0_17:
	movq	_WINED3DTA_TEXTURE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_18:
	movq	_WINED3DTA_TFACTOR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_WINED3DTA_DIFFUSE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_20:
	movq	_WINED3DTA_CURRENT@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_shader_glsl_get_ffp_fragment_op_arg
	movq	%rax, %r10
	subq	$8, %rsp
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%r10
LBB0_32:
	pushq	%rcx
LBB0_33:
	pushq	%r13
	jmp	LBB0_34
LBB0_14:
	leaq	L_.str.13(%rip), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%rcx
LBB0_25:
	pushq	%r13
LBB0_26:
	pushq	%rcx
	pushq	%r12
LBB0_34:
	callq	_shader_addline
	addq	$56, %rsp
	jmp	LBB0_37
LBB0_12:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_6
LBB0_11:
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_6
LBB0_10:
	leaq	L_.str.9(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%rcx, %r9
	xorl	%eax, %eax
	pushq	%rcx
	pushq	%r12
LBB0_7:
	callq	_shader_addline
	addq	$40, %rsp
LBB0_37:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_30
	.long	L0_0_set_28
	.long	L0_0_set_27
	.long	L0_0_set_23
	.long	L0_0_set_21
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_31
	.long	L0_0_set_29
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_20
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	".xyz"

L_.str.2:                               ## @.str.2
	.asciz	".w"

	.comm	_tempreg,8,3                    ## @tempreg
L_.str.3:                               ## @.str.3
	.asciz	"temp_reg"

L_.str.4:                               ## @.str.4
	.asciz	"ret"

L_.str.5:                               ## @.str.5
	.asciz	"%s%s = %s%s;\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s%s = %s%s * %s%s;\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s%s = clamp(%s%s * %s%s * 4.0, 0.0, 1.0);\n"

L_.str.8:                               ## @.str.8
	.asciz	"%s%s = clamp(%s%s * %s%s * 2.0, 0.0, 1.0);\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s%s = clamp(%s%s + %s%s, 0.0, 1.0);\n"

L_.str.10:                              ## @.str.10
	.asciz	"%s%s = clamp(%s%s + (%s - vec4(0.5))%s, 0.0, 1.0);\n"

L_.str.11:                              ## @.str.11
	.asciz	"%s%s = clamp((%s%s + (%s - vec4(0.5))%s) * 2.0, 0.0, 1.0);\n"

L_.str.12:                              ## @.str.12
	.asciz	"%s%s = clamp(%s%s - %s%s, 0.0, 1.0);\n"

L_.str.13:                              ## @.str.13
	.asciz	"%s%s = clamp((vec4(1.0) - %s)%s * %s%s + %s%s, 0.0, 1.0);\n"

	.comm	_WINED3DTA_DIFFUSE,8,3          ## @WINED3DTA_DIFFUSE
L_.str.14:                              ## @.str.14
	.asciz	"%s%s = mix(%s%s, %s%s, %s.w);\n"

	.comm	_WINED3DTA_TEXTURE,8,3          ## @WINED3DTA_TEXTURE
	.comm	_WINED3DTA_TFACTOR,8,3          ## @WINED3DTA_TFACTOR
L_.str.15:                              ## @.str.15
	.asciz	"%s%s = clamp(%s%s * (1.0 - %s.w) + %s%s, 0.0, 1.0);\n"

	.comm	_WINED3DTA_CURRENT,8,3          ## @WINED3DTA_CURRENT
L_.str.16:                              ## @.str.16
	.asciz	"%s%s = clamp(%s%s * %s.w + %s%s, 0.0, 1.0);\n"

L_.str.17:                              ## @.str.17
	.asciz	"%s%s = clamp(%s%s * %s%s + %s.w, 0.0, 1.0);\n"

L_.str.18:                              ## @.str.18
	.asciz	"%s%s = clamp((vec4(1.0) - %s)%s * %s%s + %s.w, 0.0, 1.0);\n"

L_.str.19:                              ## @.str.19
	.asciz	"%s%s = vec4(clamp(dot(%s.xyz - 0.5, %s.xyz - 0.5) * 4.0, 0.0, 1.0))%s;\n"

L_.str.20:                              ## @.str.20
	.asciz	"%s%s = clamp(%s%s * %s%s + %s%s, 0.0, 1.0);\n"

L_.str.21:                              ## @.str.21
	.asciz	"%s%s = mix(%s%s, %s%s, %s%s);\n"

L_.str.22:                              ## @.str.22
	.asciz	"Unhandled operation %#x.\n"

	.no_dead_strip	_shader_glsl_ffp_fragment_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_ffp_fragment_op
_shader_glsl_ffp_fragment_op:           ; @shader_glsl_ffp_fragment_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x7
	mov	x25, x5
	mov	x24, x1
	mov	x21, x0
	ldr	x23, [x29, #16]
Lloh0:
	adrp	x8, l_.str.2@PAGE
Lloh1:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x2, #0
	csel	x8, x9, x8, ne
	cmp	x3, #0
	ccmp	x2, #0, #4, ne
Lloh4:
	adrp	x9, l_.str@PAGE
Lloh5:
	add	x9, x9, l_.str@PAGEOFF
	csel	x19, x9, x8, ne
Lloh6:
	adrp	x8, _tempreg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tempreg@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, l_.str.4@PAGE
Lloh10:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh11:
	adrp	x10, l_.str.3@PAGE
Lloh12:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, x4
	csel	x20, x10, x9, eq
	mov	w1, #0
	mov	x2, x24
	mov	x3, x6
	bl	_shader_glsl_get_ffp_fragment_op_arg
	mov	x26, x0
	mov	x0, x21
	mov	w1, #1
	mov	x2, x24
	mov	x3, x22
	bl	_shader_glsl_get_ffp_fragment_op_arg
	mov	x22, x0
	mov	x0, x21
	mov	w1, #2
	mov	x2, x24
	mov	x3, x23
	bl	_shader_glsl_get_ffp_fragment_op_arg
	sub	x8, x25, #128
	cmp	x8, #24
	b.hi	LBB0_3
; %bb.1:
	mov	x23, x0
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	stp	x23, x19, [sp]
Lloh15:
	adrp	x1, l_.str.12@PAGE
Lloh16:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_29
LBB0_3:
Lloh17:
	adrp	x0, l_.str.22@PAGE
Lloh18:
	add	x0, x0, l_.str.22@PAGEOFF
	mov	x1, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_FIXME
LBB0_4:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x23
	b	LBB0_6
LBB0_5:
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
LBB0_6:
	mov	x5, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_shader_addline
LBB0_7:
	stp	x26, x19, [sp, #16]
	stp	x23, x19, [sp]
Lloh23:
	adrp	x1, l_.str.20@PAGE
Lloh24:
	add	x1, x1, l_.str.20@PAGEOFF
	b	LBB0_29
LBB0_8:
	stp	x19, x22, [sp, #8]
	str	x23, [sp]
Lloh25:
	adrp	x1, l_.str.18@PAGE
Lloh26:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_29
LBB0_9:
	stp	x22, x19, [sp, #8]
	str	x22, [sp]
	b	LBB0_18
LBB0_10:
	stp	x19, x22, [sp, #8]
	str	x23, [sp]
Lloh27:
	adrp	x1, l_.str.17@PAGE
Lloh28:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_29
LBB0_11:
	stp	x22, x19, [sp, #8]
	str	x22, [sp]
Lloh29:
	adrp	x1, l_.str.16@PAGE
Lloh30:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_24
LBB0_12:
	stp	x23, x19, [sp]
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_29
LBB0_13:
	stp	x23, x19, [sp]
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_29
LBB0_14:
	stp	x23, x19, [sp]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_15:
	stp	x26, x19, [sp, #16]
	stp	x22, x19, [sp]
Lloh37:
	adrp	x1, l_.str.21@PAGE
Lloh38:
	add	x1, x1, l_.str.21@PAGEOFF
	b	LBB0_24
LBB0_16:
	str	x19, [sp]
Lloh39:
	adrp	x1, l_.str.19@PAGE
Lloh40:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
	mov	x5, x23
	b	LBB0_31
LBB0_17:
Lloh41:
	adrp	x8, _WINED3DTA_TEXTURE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _WINED3DTA_TEXTURE@GOTPAGEOFF]
Lloh43:
	ldr	x3, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x24
	bl	_shader_glsl_get_ffp_fragment_op_arg
	stp	x22, x19, [sp, #8]
	str	x0, [sp]
LBB0_18:
Lloh44:
	adrp	x1, l_.str.15@PAGE
Lloh45:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_24
LBB0_19:
Lloh46:
	adrp	x8, _WINED3DTA_TEXTURE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _WINED3DTA_TEXTURE@GOTPAGEOFF]
	b	LBB0_23
LBB0_20:
Lloh48:
	adrp	x8, _WINED3DTA_TFACTOR@GOTPAGE
Lloh49:
	ldr	x8, [x8, _WINED3DTA_TFACTOR@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
Lloh50:
	adrp	x8, _WINED3DTA_DIFFUSE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WINED3DTA_DIFFUSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh52:
	adrp	x8, _WINED3DTA_CURRENT@GOTPAGE
Lloh53:
	ldr	x8, [x8, _WINED3DTA_CURRENT@GOTPAGEOFF]
LBB0_23:
	ldr	x3, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x24
	bl	_shader_glsl_get_ffp_fragment_op_arg
	stp	x19, x0, [sp, #8]
	str	x22, [sp]
Lloh54:
	adrp	x1, l_.str.14@PAGE
Lloh55:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_24:
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x23
	b	LBB0_30
LBB0_25:
	stp	x22, x19, [sp, #16]
	stp	x23, x19, [sp]
Lloh56:
	adrp	x1, l_.str.13@PAGE
Lloh57:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_29
LBB0_26:
	stp	x23, x19, [sp]
Lloh58:
	adrp	x1, l_.str.11@PAGE
Lloh59:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_29
LBB0_27:
	stp	x23, x19, [sp]
Lloh60:
	adrp	x1, l_.str.10@PAGE
Lloh61:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_29
LBB0_28:
	stp	x23, x19, [sp]
Lloh62:
	adrp	x1, l_.str.9@PAGE
Lloh63:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_29:
	mov	x0, x21
	mov	x2, x20
	mov	x3, x19
	mov	x4, x22
LBB0_30:
	mov	x5, x19
LBB0_31:
	bl	_shader_addline
LBB0_32:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.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_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-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
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_32-LBB0_2)>>2
	.byte	(LBB0_32-LBB0_2)>>2
	.byte	(LBB0_32-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_26-LBB0_2)>>2
	.byte	(LBB0_27-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	".xyz"

l_.str.2:                               ; @.str.2
	.asciz	".w"

	.comm	_tempreg,8,3                    ; @tempreg
l_.str.3:                               ; @.str.3
	.asciz	"temp_reg"

l_.str.4:                               ; @.str.4
	.asciz	"ret"

l_.str.5:                               ; @.str.5
	.asciz	"%s%s = %s%s;\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s%s = %s%s * %s%s;\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s%s = clamp(%s%s * %s%s * 4.0, 0.0, 1.0);\n"

l_.str.8:                               ; @.str.8
	.asciz	"%s%s = clamp(%s%s * %s%s * 2.0, 0.0, 1.0);\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s%s = clamp(%s%s + %s%s, 0.0, 1.0);\n"

l_.str.10:                              ; @.str.10
	.asciz	"%s%s = clamp(%s%s + (%s - vec4(0.5))%s, 0.0, 1.0);\n"

l_.str.11:                              ; @.str.11
	.asciz	"%s%s = clamp((%s%s + (%s - vec4(0.5))%s) * 2.0, 0.0, 1.0);\n"

l_.str.12:                              ; @.str.12
	.asciz	"%s%s = clamp(%s%s - %s%s, 0.0, 1.0);\n"

l_.str.13:                              ; @.str.13
	.asciz	"%s%s = clamp((vec4(1.0) - %s)%s * %s%s + %s%s, 0.0, 1.0);\n"

	.comm	_WINED3DTA_DIFFUSE,8,3          ; @WINED3DTA_DIFFUSE
l_.str.14:                              ; @.str.14
	.asciz	"%s%s = mix(%s%s, %s%s, %s.w);\n"

	.comm	_WINED3DTA_TEXTURE,8,3          ; @WINED3DTA_TEXTURE
	.comm	_WINED3DTA_TFACTOR,8,3          ; @WINED3DTA_TFACTOR
l_.str.15:                              ; @.str.15
	.asciz	"%s%s = clamp(%s%s * (1.0 - %s.w) + %s%s, 0.0, 1.0);\n"

	.comm	_WINED3DTA_CURRENT,8,3          ; @WINED3DTA_CURRENT
l_.str.16:                              ; @.str.16
	.asciz	"%s%s = clamp(%s%s * %s.w + %s%s, 0.0, 1.0);\n"

l_.str.17:                              ; @.str.17
	.asciz	"%s%s = clamp(%s%s * %s%s + %s.w, 0.0, 1.0);\n"

l_.str.18:                              ; @.str.18
	.asciz	"%s%s = clamp((vec4(1.0) - %s)%s * %s%s + %s.w, 0.0, 1.0);\n"

l_.str.19:                              ; @.str.19
	.asciz	"%s%s = vec4(clamp(dot(%s.xyz - 0.5, %s.xyz - 0.5) * 4.0, 0.0, 1.0))%s;\n"

l_.str.20:                              ; @.str.20
	.asciz	"%s%s = clamp(%s%s * %s%s + %s%s, 0.0, 1.0);\n"

l_.str.21:                              ; @.str.21
	.asciz	"%s%s = mix(%s%s, %s%s, %s%s);\n"

l_.str.22:                              ; @.str.22
	.asciz	"Unhandled operation %#x.\n"

	.no_dead_strip	_shader_glsl_ffp_fragment_op
.subsections_via_symbols
