// File: /workspace/github_cpp_makefile_star2_O1/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 0xa426
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), %rdx
imulq $0x148, %rax, %rsi      # imm = 0x148
movl %ebp, %eax
movq 0xd0(%rdx,%rsi), %rcx
movq 0xd8(%rdx,%rsi), %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
movabsq $0x4ec4ec4ec4ec4ec5, %rsi # imm = 0x4EC4EC4EC4EC4EC5
imulq %rdx, %rsi
cmpq %rax, %rsi
jbe 0x4c24f
imulq $0xd0, %rax, %rax
leaq (%rcx,%rax), %rsi
addq $0x60, %rsi
movq (%rsi), %rax
leaq 0x98(%rsp), %rcx
movq %rax, (%rcx)
cmpq %rcx, %rsi
je 0x4c24f
addq $0x8, %rsi
movq %rbx, %rdi
callq 0x1dcd0
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl 0x8(%r13), %eax
movq 0x38(%r15), %rcx
imulq $0x148, %rax, %rax      # imm = 0x148
testb $0xc, 0x60(%rcx,%rax)
je 0x4c2c6
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 0x4c2be
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 0x2beea
movq %rax, 0x50(%rsp)
leaq 0x58(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
movl %ebp, %ecx
callq 0x2c69c
movq (%r15), %rax
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rcx
movq %r15, %rsi
movq %r12, %rdx
xorl %r8d, %r8d
callq *0xc8(%rax)
leaq 0x737c0(%rip), %rax     # 0xbfae9
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 0x5878c
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c36d
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c388
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c3a3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x4c3bf
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0xd5b0
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x4c46a
jmp 0x4c44b
movq %rax, %r14
leaq 0x88(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c40c
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4c40c
movq %rax, %r14
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c42e
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4c42e
jmp 0x4c42b
movq %rax, %r14
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4c44e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x4c44e
movq %rax, %r14
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x4c46a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6260
leaq 0xa0(%rsp), %rdi
callq 0xd5b0
movq %r14, %rdi
callq 0x64a0
nop