// File: /workspace/github_cpp_makefile_star2_O1/antoniogarro[P]Hara/gtpcommands.cpp
// Function: GTP::final_status_list()
void GTP::final_status_list()
{
  if (cmd_args.size() > 0 && !cmd_args[0].compare("dead")) {
    std::vector<int> list;
    go_engine.score(&list);
    //TODO: support 'alive' status.
    for(std::vector<int>::iterator it = list.begin(); it != list.end(); ++it){
      coord_to_char(*it, response, main_goban.get_size());
      response.append("\n");
    }
  } else {
    response[0] = '?';
    response.append("syntax error");
  }

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
movq %rdi, %rax
movq 0x48(%rdi), %rdi
movq %rax, 0x10(%rsp)
cmpq %rdi, 0x50(%rax)
je 0x7ec5
leaq 0x3877(%rip), %rsi      # 0xb733
callq 0x3070
testl %eax, %eax
je 0x7ef8
movq 0x10(%rsp), %rdi
movq 0x98(%rdi), %rax
addq $0x98, %rdi
movb $0x3f, (%rax)
leaq 0x37e6(%rip), %rsi      # 0xb6c8
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3340
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %rsi
movaps %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
movq 0x10(%rsp), %rax
leaq 0xffaa8(%rax), %rdi
callq 0x3cf6
movq 0x40(%rsp), %r12
cmpq 0x48(%rsp), %r12
je 0x8079
movq 0x10(%rsp), %rax
leaq 0x98(%rax), %rbp
leaq 0x70(%rsp), %r15
leaq 0x60(%rsp), %r13
leaq 0x20(%rsp), %rbx
movl (%r12), %eax
testl %eax, %eax
je 0x804c
movq %rbx, %r14
movq %r13, %rdi
movq %r15, %rbx
decl %eax
cltd
movq 0x10(%rsp), %rcx
idivl 0xc0(%rcx)
movl %eax, 0x1c(%rsp)
movl %edx, %r15d
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
movb $0x0, 0x30(%rsp)
callq 0x3120
movslq %r15d, %rax
leaq 0x37a8(%rip), %rcx      # 0xb740
movb (%rax,%rcx), %al
movb %al, 0xf(%rsp)
movl $0x1, %edx
movq %rbx, %r15
movq %rbx, %rdi
leaq 0xf(%rsp), %rsi
callq 0x31f0
movq %r14, %rbx
movq %r13, %rdi
movq %r14, %rsi
callq 0x3210
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbp, %rdi
callq 0x3080
movq 0x60(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
xorl %esi, %esi
callq 0x32e0
movl 0x1c(%rsp), %esi
incl %esi
movq %r15, %rdi
callq 0x32f0
movq %r13, %rdi
movq %rbx, %rsi
callq 0x3210
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq %rbp, %rdi
callq 0x3080
movq %r13, %rdi
movq 0x7f94(%rip), %rsi      # 0xffb0
callq 0x3140
leaq 0xe0(%rsp), %rdi
callq 0x3090
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x805b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x31d0
jmp 0x805b
movq %rbp, %rdi
leaq 0x35fc(%rip), %rsi      # 0xb652
callq 0x3340
movq %rbp, %rdi
leaq 0x35bf(%rip), %rsi      # 0xb624
callq 0x3340
addq $0x4, %r12
cmpq 0x48(%rsp), %r12
jne 0x7f47
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x8090
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x31d0
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x80a9
movq %rax, %rbx
jmp 0x80cf
movq %rax, %rbx
jmp 0x80eb
movq %rax, %rbx
movq 0x7ef8(%rip), %rsi      # 0xffb0
leaq 0x60(%rsp), %rdi
callq 0x3140
leaq 0xe0(%rsp), %rdi
callq 0x3090
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x80eb
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x31d0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x8102
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x31d0
movq %rbx, %rdi
callq 0x3300
nop