// File: /workspace/github_cpp_makefile_star2_O1/rossy[P]crossc/SPIRV-Cross/spirv_glsl.cpp
// Function: spirv_cross::CompilerGLSL::emit_unrolled_binary_op(unsigned int, unsigned int, unsigned int, unsigned int, char const*)
void CompilerGLSL::emit_unrolled_binary_op(uint32_t result_type, uint32_t result_id, uint32_t op0, uint32_t op1,
                                           const char *op)
{
	auto &type = get<SPIRType>(result_type);
	auto expr = type_to_glsl_constructor(type);
	expr += '(';
	for (uint32_t i = 0; i < type.vecsize; i++)
	{
		// Make sure to call to_expression multiple times to ensure
		// that these expressions are properly flushed to temporaries if needed.
		expr += to_extract_component_expression(op0, i);
		expr += ' ';
		expr += op;
		expr += ' ';
		expr += to_extract_component_expression(op1, i);

		if (i + 1 < type.vecsize)
			expr += ", ";
	}
	expr += ')';
	emit_op(result_type, result_id, expr, should_forward(op0) && should_forward(op1));

	inherit_expression_dependencies(result_id, op0);
	inherit_expression_dependencies(result_id, op1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, 0x30(%rsp)
movl %r8d, 0x4(%rsp)
movl %ecx, 0x8(%rsp)
movl %edx, (%rsp)
movq %rdi, %r14
movl %esi, 0xc(%rsp)
callq 0xa426
movq %rax, %r12
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x35152
movq %rbx, %rdi
movl $0x28, %esi
callq 0x6230
cmpl $0x0, 0x14(%r12)
je 0x3a2df
leaq 0x20(%rsp), %r13
xorl %ebp, %ebp
leaq 0x10(%rsp), %rbx
leaq 0x38(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
movl 0x8(%rsp), %edx
movl %ebp, %ecx
callq 0x34f00
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0x60b0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x3a25b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
movq %r15, %rdi
movl $0x20, %esi
callq 0x6230
movq %r15, %rdi
movq 0x30(%rsp), %rsi
callq 0x64e0
movq %r15, %rdi
movl $0x20, %esi
callq 0x6230
movq %rbx, %rdi
movq %r14, %rsi
movl 0x4(%rsp), %edx
movl %ebp, %ecx
callq 0x34f00
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r15, %rdi
callq 0x60b0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x3a2bc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
incl %ebp
cmpl 0x14(%r12), %ebp
jae 0x3a2d4
movq %r15, %rdi
leaq 0x80dec(%rip), %rsi     # 0xbb0bb
callq 0x64e0
cmpl 0x14(%r12), %ebp
jb 0x3a221
leaq 0x38(%rsp), %rdi
movl $0x29, %esi
callq 0x6230
movq %r14, %rdi
movl 0x8(%rsp), %esi
callq 0x39e96
testb %al, %al
je 0x3a30c
movq %r14, %rdi
movl 0x4(%rsp), %esi
callq 0x39e96
jmp 0x3a30e
xorl %eax, %eax
movzbl %al, %r8d
leaq 0x38(%rsp), %rcx
movq %r14, %rdi
movl 0xc(%rsp), %esi
movl (%rsp), %edx
xorl %r9d, %r9d
callq 0x39bea
movq %r14, %rdi
movl (%rsp), %esi
movl 0x8(%rsp), %edx
callq 0x164e0
movq %r14, %rdi
movl (%rsp), %esi
movl 0x4(%rsp), %edx
callq 0x164e0
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a362
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3a395
jmp 0x3a395
jmp 0x3a379
jmp 0x3a395
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x3a398
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6260
jmp 0x3a398
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a3b3
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6260
movq %rbx, %rdi
callq 0x64a0
nop