// File: /workspace/github_c_makefile_star2_O0/deplinenoise[P]tundra/src/InspectMain.cpp
// Function: DumpState(t2::StateData const*)
static void DumpState(const StateData* data)
{
  int node_count = data->m_NodeCount;
  printf("magic number: 0x%08x\n", data->m_MagicNumber);
  printf("node count: %d\n", node_count);
  for (int i = 0; i < node_count; ++i)
  {
    printf("node %d:\n", i);
    char digest_str[kDigestStringSize];

    const NodeStateData& node = data->m_NodeStates[i];

    DigestToString(digest_str, data->m_NodeGuids[i]);
    printf("  guid: %s\n", digest_str);
    printf("  build result: %d\n", node.m_BuildResult);
    DigestToString(digest_str, node.m_InputSignature);
    printf("  input_signature: %s\n", digest_str);
    printf("  outputs:\n");
    for (const char* path : node.m_OutputFiles)
      printf("    %s\n", path);
    printf("  aux outputs:\n");
    for (const char* path : node.m_AuxOutputFiles)
      printf("    %s\n", path);
    printf("\n");
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %esi
leaq 0x1f720(%rip), %rdi     # 0x23056
movb $0x0, %al
callq 0x2060
movl -0xc(%rbp), %esi
leaq 0x1f725(%rip), %rdi     # 0x2306c
movb $0x0, %al
callq 0x2060
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x3af3
movl -0x10(%rbp), %esi
leaq 0x1f711(%rip), %rdi     # 0x2307c
movb $0x0, %al
callq 0x2060
movq -0x8(%rbp), %rdi
addq $0xc, %rdi
callq 0x47f0
movslq -0x10(%rbp), %rcx
imulq $0x24, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rdi
addq $0x8, %rdi
callq 0x3e10
movq %rax, %rsi
movslq -0x10(%rbp), %rax
shlq $0x4, %rax
addq %rax, %rsi
leaq -0x40(%rbp), %rdi
callq 0x4e40
leaq -0x40(%rbp), %rsi
leaq 0x1f6c9(%rip), %rdi     # 0x23086
movb $0x0, %al
callq 0x2060
movq -0x48(%rbp), %rax
movl (%rax), %esi
leaq 0x1fab6(%rip), %rdi     # 0x23487
movb $0x0, %al
callq 0x2060
movq -0x48(%rbp), %rsi
addq $0x4, %rsi
leaq -0x40(%rbp), %rdi
callq 0x4e40
leaq -0x40(%rbp), %rsi
leaq 0x1faa7(%rip), %rdi     # 0x2349b
movb $0x0, %al
callq 0x2060
leaq 0x1f734(%rip), %rdi     # 0x23136
movb $0x0, %al
callq 0x2060
movq -0x48(%rbp), %rax
addq $0x14, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
callq 0x3fe0
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rdi
callq 0x4000
movq %rax, -0x60(%rbp)
movq -0x58(%rbp), %rax
cmpq -0x60(%rbp), %rax
je 0x3a66
movq -0x58(%rbp), %rdi
callq 0x4040
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rsi
leaq 0x1f776(%rip), %rdi     # 0x231c7
movb $0x0, %al
callq 0x2060
movq -0x58(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x58(%rbp)
jmp 0x3a2f
leaq 0x1fa45(%rip), %rdi     # 0x234b2
movb $0x0, %al
callq 0x2060
movq -0x48(%rbp), %rax
addq $0x1c, %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
callq 0x3fe0
movq %rax, -0x78(%rbp)
movq -0x70(%rbp), %rdi
callq 0x4000
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rax
cmpq -0x80(%rbp), %rax
je 0x3ad7
movq -0x78(%rbp), %rdi
callq 0x4040
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rsi
leaq 0x1f705(%rip), %rdi     # 0x231c7
movb $0x0, %al
callq 0x2060
movq -0x78(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x78(%rbp)
jmp 0x3a9a
leaq 0x1f6d1(%rip), %rdi     # 0x231af
movb $0x0, %al
callq 0x2060
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x3955
addq $0x90, %rsp
popq %rbp
retq
nopl (%rax)