// File: /workspace/github_cpp_makefile_star2_O1/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::to_qualifiers_glsl[abi:cxx11](unsigned int)
string CompilerGLSL::to_qualifiers_glsl(uint32_t id)
{
	auto flags = ir.meta[id].decoration.decoration_flags;
	string res;

	auto *var = maybe_get<SPIRVariable>(id);

	if (var && var->storage == StorageClassWorkgroup && !backend.shared_is_implied)
		res += "shared ";

	res += to_interpolation_qualifiers(flags);
	if (var)
		res += to_storage_qualifiers_glsl(*var);

	auto &type = expression_type(id);
	if (type.image.dim != DimSubpassData && type.image.sampled == 2)
	{
		if (flags.get(DecorationCoherent))
			res += "coherent ";
		if (flags.get(DecorationRestrict))
			res += "restrict ";
		if (flags.get(DecorationNonWritable))
			res += "readonly ";
		if (flags.get(DecorationNonReadable))
			res += "writeonly ";
	}

	res += to_precision_qualifiers_glsl(id);

	return res;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
movl %edx, %eax
movq 0x38(%rsi), %rcx
imulq $0x148, %rax, %r13      # imm = 0x148
leaq (%rcx,%r13), %rsi
addq $0x68, %rsi
movq -0x8(%rsi), %rax
leaq 0x30(%rsp), %rbx
movq %rax, -0x8(%rbx)
xorl %r12d, %r12d
movq %r12, (%rbx)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rbx)
movq %r12, 0x10(%rbx)
movq 0x18(%rsi), %rax
movq %rax, 0x18(%rbx)
movups 0x20(%rsi), %xmm0
movups %xmm0, 0x20(%rbx)
movq %r12, 0x30(%rbx)
leaq 0x8(%rsp), %rdx
movq %rbx, (%rdx)
movq %rbx, %rdi
callq 0xd402
leaq 0x10(%r14), %rax
movq %rax, (%rsp)
movq %rax, (%r14)
movq %r12, 0x8(%r14)
movb $0x0, 0x10(%r14)
movq %r15, %rdi
movl %ebp, %esi
callq 0xc7f4
movq %rax, %r12
testq %rax, %rax
je 0x4c569
cmpl $0x4, 0x10(%r12)
jne 0x4c569
cmpb $0x0, 0x621(%r15)
jne 0x4c569
leaq 0x6f068(%rip), %rsi     # 0xbb5c9
movq %r14, %rdi
callq 0x64e0
movq (%r15), %rax
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
movq %r15, %rsi
callq *0x140(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x60b0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c5ac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6260
testq %r12, %r12
je 0x4c5cb
movq (%r15), %rax
movq %r15, %rdi
movq %r12, %rsi
callq *0x130(%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0x64e0
movq %r15, %rdi
movl %ebp, %esi
callq 0x12aba
cmpl $0x6, 0x84(%rax)
je 0x4c63f
cmpl $0x2, 0x8c(%rax)
jne 0x4c63f
testb $-0x80, 0x2a(%rsp)
je 0x4c5fd
leaq 0x72370(%rip), %rsi     # 0xbe965
movq %r14, %rdi
callq 0x64e0
testb $0x8, 0x2a(%rsp)
je 0x4c613
leaq 0x6b9fe(%rip), %rsi     # 0xb8009
movq %r14, %rdi
callq 0x64e0
testb $0x1, 0x2b(%rsp)
je 0x4c629
leaq 0x6b9fd(%rip), %rsi     # 0xb801e
movq %r14, %rdi
callq 0x64e0
testb $0x2, 0x2b(%rsp)
je 0x4c63f
leaq 0x6b9dc(%rip), %rsi     # 0xb8013
movq %r14, %rdi
callq 0x64e0
movq %r15, %rdi
movl %ebp, %esi
callq 0x12aba
movq 0x38(%r15), %rcx
leaq (%rcx,%r13), %rdx
addq $0x60, %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x2beea
movq %r14, %rdi
movq %rax, %rsi
callq 0x64e0
movq %rbx, %rdi
callq 0xd5b0
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c6ac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4c6ac
jmp 0x4c6a9
jmp 0x4c6a9
movq %rax, %r15
movq (%r14), %rdi
cmpq (%rsp), %rdi
je 0x4c6c4
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0xd5b0
movq %r15, %rdi
callq 0x64a0