// File: /workspace/github_cpp_makefile_star2_O3/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::emit_struct_member(spirv_cross::SPIRType const&, unsigned int, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int)
void CompilerGLSL::emit_struct_member(const SPIRType &type, uint32_t member_type_id, uint32_t index,
                                      const string &qualifier, uint32_t)
{
	auto &membertype = get<SPIRType>(member_type_id);

	Bitset memberflags;
	auto &memb = ir.meta[type.self].members;
	if (index < memb.size())
		memberflags = memb[index].decoration_flags;

	string qualifiers;
	bool is_block = ir.meta[type.self].decoration.decoration_flags.get(DecorationBlock) ||
	                ir.meta[type.self].decoration.decoration_flags.get(DecorationBufferBlock);

	if (is_block)
		qualifiers = to_interpolation_qualifiers(memberflags);

	statement(layout_for_member(type, index), qualifiers, qualifier,
	          flags_to_precision_qualifiers_glsl(membertype, memberflags),
	          variable_decl(membertype, to_member_name(type, index)), ";");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, %r14
movl %ecx, %ebp
movq %rsi, %r13
movq %rdi, %r15
movl %edx, %esi
callq 0xa3ea
movq %rax, %r12
leaq 0xa0(%rsp), %rbx
movq $0x0, -0x8(%rbx)
leaq 0xd0(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
movl 0x8(%r13), %eax
movq 0x38(%r15), %rcx
imulq $0x148, %rax, %rdi      # imm = 0x148
movl %ebp, %edx
movq 0xd0(%rcx,%rdi), %rsi
movq 0xd8(%rcx,%rdi), %rdi
subq %rsi, %rdi
sarq $0x4, %rdi
movabsq $0x4ec4ec4ec4ec4ec5, %r8 # imm = 0x4EC4EC4EC4EC4EC5
imulq %rdi, %r8
cmpq %rdx, %r8
jbe 0x4bac4
imulq $0xd0, %rdx, %rdx
addq %rdx, %rsi
addq $0x60, %rsi
movq (%rsi), %rdx
leaq 0x98(%rsp), %rdi
movq %rdx, (%rdi)
cmpq %rdi, %rsi
je 0x4bac4
addq $0x8, %rsi
movq %rbx, %rdi
callq 0x1d5b4
movl 0x8(%r13), %eax
movq 0x38(%r15), %rcx
leaq 0x40(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq $0x0, -0x8(%rdx)
movb $0x0, (%rdx)
imulq $0x148, %rax, %rax      # imm = 0x148
testb $0xc, 0x60(%rcx,%rax)
je 0x4bb33
movq (%r15), %rax
leaq 0x10(%rsp), %rdi
leaq 0x98(%rsp), %rdx
movq %r15, %rsi
callq *0x140(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rbx
movq %rbx, %rsi
callq 0x6310
movq (%rbx), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4bb2b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0xa0(%rsp), %rbx
movq (%r15), %rax
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
movl %ebp, %ecx
callq *0x138(%rax)
leaq 0x98(%rsp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2b8e0
movq %rax, 0x50(%rsp)
leaq 0x58(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
movl %ebp, %ecx
callq 0x2c088
movq (%r15), %rax
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rcx
movq %r15, %rsi
movq %r12, %rdx
xorl %r8d, %r8d
callq *0xc8(%rax)
leaq 0x72f5b(%rip), %rax     # 0xbeaf1
movq %rax, (%rsp)
leaq 0x10(%rsp), %rsi
leaq 0x30(%rsp), %rdx
leaq 0x50(%rsp), %r8
leaq 0x78(%rsp), %r9
movq %r15, %rdi
movq %r14, %rcx
callq 0x57f92
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bbda
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bbf5
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bc10
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x4bc2c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0xd570
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x4bcd7
jmp 0x4bcb8
movq %rax, %r14
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bc79
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4bc79
movq %rax, %r14
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bc9b
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4bc9b
jmp 0x4bc98
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4bcbb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4bcbb
movq %rax, %r14
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x4bcd7
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0xa0(%rsp), %rdi
callq 0xd570
movq %r14, %rdi
callq 0x64a0