// File: /workspace/github_cpp_makefile_star2_O3/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::type_to_glsl_constructor[abi:cxx11](spirv_cross::SPIRType const&)
string CompilerGLSL::type_to_glsl_constructor(const SPIRType &type)
{
	if (type.array.size() > 1)
	{
		if (options.flatten_multidimensional_arrays)
			SPIRV_CROSS_THROW("Cannot flatten constructors of multidimensional array constructors, e.g. float[][]().");
		else if (!options.es && options.version < 430)
			require_extension_internal("GL_ARB_arrays_of_arrays");
		else if (options.es && options.version < 310)
			SPIRV_CROSS_THROW("Arrays of arrays not supported before ESSL version 310.");
	}

	auto e = type_to_glsl(type);
	for (uint32_t i = 0; i < type.array.size(); i++)
		e += "[]";
	return e;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x28(%rdx), %rax
subq 0x20(%rdx), %rax
cmpq $0x5, %rax
jb 0x34b65
cmpb $0x1, 0x440(%r15)
je 0x34bbf
movb 0x43c(%r15), %al
movl 0x438(%r15), %ecx
cmpl $0x1ae, %ecx            # imm = 0x1AE
setae %dl
orb %al, %dl
je 0x34b24
cmpl $0x136, %ecx            # imm = 0x136
setb %cl
andb %cl, %al
cmpb $0x1, %al
jne 0x34b65
movl $0x10, %edi
callq 0x6140
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x85d6f(%rip), %rsi     # 0xba84b
leaq 0x85d9f(%rip), %rdx     # 0xba882
movq %rsp, %rdi
callq 0x7be0
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x6320
leaq 0xc72c8(%rip), %rax     # 0xfbdc8
addq $0x10, %rax
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0xc72a0(%rip), %rsi     # 0xfbdb0
movq 0xc84c1(%rip), %rdx     # 0xfcfd8
movq %r14, %rdi
callq 0x6470
jmp 0x34c1f
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x85b6f(%rip), %rsi     # 0xba6a4
leaq 0x85b7f(%rip), %rdx     # 0xba6bb
movq %rsp, %rdi
callq 0x7be0
movq %rsp, %rsi
movq %r15, %rdi
callq 0x26356
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x34b65
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6260
movq (%r15), %rax
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq *0x98(%rax)
movq 0x28(%rbx), %rax
cmpq 0x20(%rbx), %rax
je 0x34baf
movl $0x1, %ebp
leaq 0x833cd(%rip), %r15     # 0xb7f5c
movq %r14, %rdi
movq %r15, %rsi
callq 0x64e0
movq 0x28(%rbx), %rax
subq 0x20(%rbx), %rax
movl %ebp, %ecx
sarq $0x2, %rax
incl %ebp
cmpq %rcx, %rax
ja 0x34b8f
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x6140
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x85c19(%rip), %rsi     # 0xba7f5
leaq 0x85c67(%rip), %rdx     # 0xba84a
movq %rsp, %rdi
callq 0x7be0
movb $0x1, %bpl
movq %rsp, %rsi
movq %r14, %rdi
callq 0x6320
leaq 0xc71c8(%rip), %rax     # 0xfbdc8
addq $0x10, %rax
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0xc71a0(%rip), %rsi     # 0xfbdb0
movq 0xc83c1(%rip), %rdx     # 0xfcfd8
movq %r14, %rdi
callq 0x6470
jmp 0x34c3b
jmp 0x34c5b
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x34c82
movq 0x10(%rsp), %rsi
jmp 0x34c7a
movq %rax, %rbx
jmp 0x34c82
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x34c54
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6260
testb %bpl, %bpl
jne 0x34c5e
jmp 0x34c82
movq %rax, %rbx
movq %r14, %rdi
callq 0x6200
jmp 0x34c82
movq %rax, %rbx
movq (%r14), %rdi
addq $0x10, %r14
cmpq %r14, %rdi
je 0x34c82
movq (%r14), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0