// File: /workspace/github_cpp_makefile_star2_O1/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::pls_decl[abi:cxx11](spirv_cross::PlsRemap const&)
string CompilerGLSL::pls_decl(const PlsRemap &var)
{
	auto &variable = get<SPIRVariable>(var.id);

	SPIRType type;
	type.vecsize = pls_format_to_components(var.format);
	type.basetype = pls_format_to_basetype(var.format);

	return join(to_pls_layout(var.format), to_pls_qualifiers_glsl(variable), type_to_glsl(type), " ",
	            to_name(variable.self));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x130, %rsp            # imm = 0x130
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdx), %esi
movq %r14, %rdi
callq 0xb40a
movq %rax, %r15
xorl %eax, %eax
leaq 0x128(%rsp), %rcx
movl %eax, -0xc8(%rcx)
leaq 0xc99d1(%rip), %r13     # 0xfd3b0
addq $0x10, %r13
movq %r13, -0xd0(%rcx)
movaps 0x8220f(%rip), %xmm0    # 0xb5c00
movups %xmm0, -0xc4(%rcx)
movq %rax, -0x88(%rcx)
movl %eax, -0x80(%rcx)
movq %rax, -0x78(%rcx)
movb $0x0, -0x70(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0xb0(%rcx)
movups %xmm0, -0xa0(%rcx)
movl %eax, -0x90(%rcx)
movl $0x8, -0x6c(%rcx)
movups %xmm0, -0x68(%rcx)
movq %rax, -0x58(%rcx)
movq %rax, -0x38(%rcx)
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
movups %xmm0, -0x20(%rcx)
movl $0x3f800000, -0x10(%rcx) # imm = 0x3F800000
movups %xmm0, -0x8(%rcx)
movl 0x4(%r12), %ecx
leal -0x1(%rcx), %eax
movl $0x1, %edx
cmpl $0xa, %eax
ja 0x33a6d
movl %eax, %edx
leaq 0x83a22(%rip), %rsi     # 0xb748c
movl (%rsi,%rdx,4), %edx
movl %edx, 0x6c(%rsp)
addl $-0x7, %ecx
movl $0xa, %edx
cmpl $0x5, %ecx
ja 0x33a8a
movl %ecx, %ecx
leaq 0x839a5(%rip), %rdx     # 0xb742c
movl (%rdx,%rcx,4), %edx
movl %edx, 0x64(%rsp)
cmpl $0xb, %eax
ja 0x33aa5
movl %eax, %eax
leaq 0x839a8(%rip), %rcx     # 0xb7444
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmp 0x33aac
leaq 0x81e03(%rip), %rax     # 0xb58af
movq %rax, 0x10(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x4c866
movq %rax, 0x8(%rsp)
movq (%r14), %rax
leaq 0x38(%rsp), %rdi
leaq 0x58(%rsp), %rdx
movq %r14, %rsi
xorl %ecx, %ecx
callq *0x98(%rax)
movl 0x8(%r15), %edx
movq (%r14), %rax
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
movl $0x1, %ecx
callq *0x38(%rax)
leaq 0x81db7(%rip), %r8      # 0xb58ae
leaq 0x10(%rsp), %rsi
leaq 0x8(%rsp), %rdx
leaq 0x38(%rsp), %rcx
leaq 0x18(%rsp), %r9
movq %rbx, %rdi
callq 0x58a23
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33b2e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0xf8(%rsp), %r14
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33b51
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
movq %r13, 0x58(%rsp)
movq %r14, %rdi
callq 0xdeb6
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x33b7b
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x33bc0
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
xorl %eax, %eax
movq %rax, 0x90(%rsp)
movl %eax, 0x98(%rsp)
movq %rax, 0xa0(%rsp)
movl %eax, 0xa8(%rsp)
movq %rax, 0xb0(%rsp)
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x33bda
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x6260
movq %rbx, %rax
addq $0x130, %rsp            # imm = 0x130
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33c11
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x33c11
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33c33
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x33c33
jmp 0x33c30
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x1c438
movq %rbx, %rdi
callq 0x64a0
nop