// File: /workspace/github_cpp_makefile_star2_O2/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 0x90a4
movq %rax, %r12
leaq 0xa0(%rsp), %rbx
andq $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), %ecx
movq 0x38(%r15), %rsi
imulq $0x148, %rcx, %rax      # imm = 0x148
movl %ebp, %edi
movq 0xd0(%rsi,%rax), %r8
movq 0xd8(%rsi,%rax), %rax
subq %r8, %rax
movl $0xd0, %r9d
cqto
idivq %r9
cmpq %rdi, %rax
jbe 0x3d795
imulq $0xd0, %rdi, %rax
leaq (%r8,%rax), %rsi
addq $0x60, %rsi
leaq 0x98(%rsp), %rdi
callq 0x19146
movl 0x8(%r13), %ecx
movq 0x38(%r15), %rsi
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
imulq $0x148, %rcx, %rax      # imm = 0x148
testb $0xc, 0x60(%rsi,%rax)
je 0x3d7ef
movq (%r15), %rax
leaq 0x18(%rsp), %rdi
leaq 0x98(%rsp), %rdx
movq %r15, %rsi
callq *0x140(%rax)
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rbx
movq %rbx, %rsi
callq 0x6320
movq %rbx, %rdi
callq 0x6548
leaq 0xa0(%rsp), %rbx
movq (%r15), %rax
leaq 0x18(%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 0x25714
movq %rax, 0x10(%rsp)
leaq 0x58(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
movl %ebp, %ecx
callq 0x25cca
movq (%r15), %rax
leaq 0x78(%rsp), %rdi
leaq 0x58(%rsp), %rcx
movq %r15, %rsi
movq %r12, %rdx
xorl %r8d, %r8d
callq *0xc8(%rax)
leaq 0x5c22f(%rip), %rax     # 0x99a81
movq %rax, (%rsp)
leaq 0x18(%rsp), %rsi
leaq 0x38(%rsp), %rdx
leaq 0x10(%rsp), %r8
leaq 0x78(%rsp), %r9
movq %r15, %rdi
movq %r14, %rcx
callq 0x46692
leaq 0x78(%rsp), %rdi
callq 0x6548
leaq 0x58(%rsp), %rdi
callq 0x6548
leaq 0x18(%rsp), %rdi
callq 0x6548
leaq 0x38(%rsp), %rdi
callq 0x6548
movq %rbx, %rdi
callq 0xb51c
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x3d8fa
jmp 0x3d8ed
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x6548
jmp 0x3d8d0
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x6548
jmp 0x3d8e1
jmp 0x3d8de
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x6548
jmp 0x3d8f0
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x6548
leaq 0xa0(%rsp), %rdi
callq 0xb51c
movq %rbx, %rdi
callq 0x64b0
nop