	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shader_glsl_add_instruction_modifiers
_shader_glsl_add_instruction_modifiers: ## @shader_glsl_add_instruction_modifiers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$0, 16(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rsi
	movl	(%rsi), %r14d
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.2:
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_shader_glsl_add_dst_param
	movq	_WINED3DSPDM_SATURATE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	-24(%rbp), %ecx
	movl	-20(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movl	%edx, %r8d
	movl	%ecx, %r9d
	callq	_shader_addline
LBB0_4:
	movq	_WINED3DSPDM_MSAMPCENTROID@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3DSPDM_SATURATE,4,2       ## @WINED3DSPDM_SATURATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s = clamp(%s%s, 0.0, 1.0);\n"

	.comm	_WINED3DSPDM_MSAMPCENTROID,4,2  ## @WINED3DSPDM_MSAMPCENTROID
L_.str.1:                               ## @.str.1
	.asciz	"_centroid modifier not handled\n"

	.comm	_WINED3DSPDM_PARTIALPRECISION,4,2 ## @WINED3DSPDM_PARTIALPRECISION
	.no_dead_strip	_shader_glsl_add_instruction_modifiers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_glsl_add_instruction_modifiers
_shader_glsl_add_instruction_modifiers: ; @shader_glsl_add_instruction_modifiers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x1, [x0, #8]
	ldr	w20, [x1]
	cbz	w20, LBB0_6
; %bb.2:
	add	x2, sp, #8
	mov	x0, x19
	bl	_shader_glsl_add_dst_param
Lloh0:
	adrp	x8, _WINED3DSPDM_SATURATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WINED3DSPDM_SATURATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldp	w3, w2, [sp, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x2
	mov	x5, x3
	bl	_shader_addline
LBB0_4:
Lloh5:
	adrp	x8, _WINED3DSPDM_MSAMPCENTROID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WINED3DSPDM_MSAMPCENTROID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3DSPDM_SATURATE,4,2       ; @WINED3DSPDM_SATURATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s = clamp(%s%s, 0.0, 1.0);\n"

	.comm	_WINED3DSPDM_MSAMPCENTROID,4,2  ; @WINED3DSPDM_MSAMPCENTROID
l_.str.1:                               ; @.str.1
	.asciz	"_centroid modifier not handled\n"

	.comm	_WINED3DSPDM_PARTIALPRECISION,4,2 ; @WINED3DSPDM_PARTIALPRECISION
	.no_dead_strip	_shader_glsl_add_instruction_modifiers
.subsections_via_symbols
