// File: /workspace/github_cpp_makefile_star2_O2/ef-gy[P]libefgy/src/test-case/tracer.cpp
// Function: testTracerMatrix(std::ostream&)
bool testTracerMatrix(std::ostream &log) {
  matrix<runtime, 3, 3> m1;
  matrix<runtime, 3, 3> m2;

  for (unsigned int i = 0; i < 3; i++) {
    for (unsigned int j = 0; j < 3; j++) {
      std::stringstream s("");
      s << "_" << i << "_" << j;

      m1[i][j] = std::shared_ptr<tracer<void, void, 0>>(
          new tracer<void, void, 0>("a" + s.str()));
      m2[i][j] = std::shared_ptr<tracer<void, void, 0>>(
          new tracer<void, void, 0>("b" + s.str()));
    }
  }

  matrix<runtime, 3, 3> m3 = m1 * m2;

  for (unsigned int i = 0; i < 3; i++) {
    for (unsigned int j = 0; j < 3; j++) {
      log << "result"
          << "_" << i << "_" << j << " = " << m3[i][j] << "\n";
    }
  }

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x358, %rsp            # imm = 0x358
movq %rdi, 0x20(%rsp)
leaq 0x140(%rsp), %rdi
xorl %r12d, %r12d
movl $0x90, %edx
movq %rdi, 0x18(%rsp)
xorl %esi, %esi
callq 0x5180
leaq 0xb0(%rsp), %rdi
movl $0x90, %edx
movq %rdi, 0x10(%rsp)
xorl %esi, %esi
callq 0x5180
leaq 0x50(%rsp), %r14
leaq 0x40(%rsp), %rbx
leaq 0xe42b(%rip), %r15      # 0x1411a
leaq 0x90(%rsp), %rbp
cmpq $0x3, %r12
je 0x5ed4
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %r13
xorl %eax, %eax
movq %r12, 0x28(%rsp)
movq %r13, 0x38(%rsp)
cmpq $0x3, %rax
je 0x5ec0
movq %rax, %r13
movq %r14, %rdi
leaq 0xe464(%rip), %rsi      # 0x14197
movq %rbx, %rdx
callq 0x617e
leaq 0x1d0(%rsp), %rdi
movq %r14, %rsi
pushq $0x18
popq %rdx
callq 0x53e0
movq %r14, %rdi
callq 0x5120
leaq 0x1e0(%rsp), %rdi
movq %r15, %rsi
callq 0x5280
movq %rax, %rdi
movq %r12, %rsi
callq 0x51d0
movq %rax, %rdi
movq %r15, %rsi
callq 0x5280
movq %rax, %rdi
movq %r13, %rsi
callq 0x51d0
pushq $0x28
popq %rdi
callq 0x5290
movq %rax, %r15
movq %r14, %rdi
leaq 0x1e8(%rsp), %rsi
callq 0x53d0
movq %rbp, %rdi
leaq 0xe7a2(%rip), %rsi      # 0x1454e
movq %r14, %rdx
callq 0x63db
movb $0x1, %r12b
movq %r15, %rdi
movq %rbp, %rsi
callq 0x6400
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1341a
movq %r13, 0x30(%rsp)
movq %rbp, %r15
leaq 0x1d0(%rsp), %rbp
movq 0x8(%rsp), %rdi
movq %r14, %r12
movq %rbx, %r13
movq %rbx, %rsi
callq 0x134ba
leaq 0x48(%rsp), %rdi
callq 0x10024
movq %r15, %rdi
callq 0x5120
movq %r14, %rdi
callq 0x5120
pushq $0x28
popq %rdi
callq 0x5290
movq %rax, %r15
movq %r12, %rdi
leaq 0x1e8(%rsp), %rsi
callq 0x53d0
leaq 0x70(%rsp), %rbx
movq %rbx, %rdi
leaq 0xe87d(%rip), %rsi      # 0x146b4
movq %r12, %r14
movq %r12, %rdx
callq 0x63db
movb $0x1, %r12b
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6400
movq %r13, %rbx
movq 0x38(%rsp), %r13
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1341a
movq %r13, %rdi
movq %rbx, %rsi
callq 0x134ba
leaq 0x48(%rsp), %rdi
callq 0x10024
leaq 0x70(%rsp), %rdi
callq 0x5120
movq %r14, %rdi
callq 0x5120
movq %rbp, %rdi
callq 0x5210
movq 0x30(%rsp), %rax
incq %rax
addq $0x10, %r13
addq $0x10, 0x8(%rsp)
movq 0x28(%rsp), %r12
leaq 0xe267(%rip), %r15      # 0x1411a
leaq 0x90(%rsp), %rbp
jmp 0x5d17
incq %r12
addq $0x30, 0x10(%rsp)
addq $0x30, 0x18(%rsp)
jmp 0x5cf7
leaq 0x1d0(%rsp), %rdi
leaq 0x140(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
movq %rdi, 0x8(%rsp)
callq 0x6413
xorl %r14d, %r14d
leaq 0xe21a(%rip), %r12      # 0x1411a
leaq 0xe21c(%rip), %r13      # 0x14123
leaq 0xe288(%rip), %rbp      # 0x14196
cmpq $0x3, %r14
je 0x5f9b
movq 0x8(%rsp), %rbx
xorl %r15d, %r15d
cmpq $0x3, %r15
je 0x5f8d
movq 0x20(%rsp), %rdi
leaq 0xe1ea(%rip), %rsi      # 0x1411c
callq 0x5280
movq %rax, %rdi
movq %r12, %rsi
callq 0x5280
movq %rax, %rdi
movq %r14, %rsi
callq 0x51d0
movq %rax, %rdi
movq %r12, %rsi
callq 0x5280
movq %rax, %rdi
movq %r15, %rsi
callq 0x51d0
movq %rax, %rdi
movq %r13, %rsi
callq 0x5280
movq %rax, %rdi
movq %rbx, %rsi
callq 0x5c25
movq %rax, %rdi
movq %rbp, %rsi
callq 0x5280
incq %r15
addq $0x10, %rbx
jmp 0x5f20
incq %r14
addq $0x30, 0x8(%rsp)
jmp 0x5f0e
leaq 0x1d0(%rsp), %rdi
callq 0x65f2
leaq 0xb0(%rsp), %rdi
callq 0x65f2
leaq 0x140(%rsp), %rdi
callq 0x65f2
movb $0x1, %al
addq $0x358, %rsp            # imm = 0x358
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5fe3
jmp 0x5fde
jmp 0x5fe8
jmp 0x6037
movq %rax, %rbx
jmp 0x602a
movq %rax, %rbx
jmp 0x6059
movq %rax, %rbx
movb $0x1, %r12b
jmp 0x601b
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x5120
jmp 0x6059
jmp 0x6037
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
jmp 0x6016
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x5120
leaq 0x50(%rsp), %rdi
callq 0x5120
testb %r12b, %r12b
je 0x603a
pushq $0x28
popq %rsi
movq %r15, %rdi
callq 0x52a0
jmp 0x603a
movq %rax, %rbx
leaq 0x1d0(%rsp), %rdi
callq 0x5210
jmp 0x6059
movq %rax, %rbx
leaq 0x1d0(%rsp), %rdi
callq 0x65f2
leaq 0xb0(%rsp), %rdi
callq 0x65f2
leaq 0x140(%rsp), %rdi
callq 0x65f2
movq %rbx, %rdi
callq 0x5450
nop