// File: /workspace/github_c_makefile_star2_O2/shifengbin[P]bishe/Output/../Persistence/sqlite3.c
// Function: sqlite3LocateTable
SQLITE_PRIVATE Table *sqlite3LocateTable(
  Parse *pParse,         /* context in which to report errors */
  int isView,            /* True if looking for a VIEW rather than a TABLE */
  const char *zName,     /* Name of the table we are looking for */
  const char *zDbase     /* Name of the database.  Might be NULL */
){
  Table *p;

  /* Read the database schema. If an error occurs, leave an error message
  ** and code in pParse and return NULL. */
  if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){
    return 0;
  }

  p = sqlite3FindTable(pParse->db, zName, zDbase);
  if( p==0 ){
    const char *zMsg = isView ? "no such view" : "no such table";
#ifndef SQLITE_OMIT_VIRTUALTABLE
    if( sqlite3FindDbName(pParse->db, zDbase)<1 ){
      /* If zName is the not the name of a table in the schema created using
      ** CREATE, then check to see if it is the name of an virtual table that
      ** can be an eponymous virtual table. */
      Module *pMod = (Module*)sqlite3HashFind(&pParse->db->aModule, zName);
      if( pMod && sqlite3VtabEponymousTableInit(pParse, pMod) ){
        return pMod->pEpoTab;
      }
    }
#endif
    if( zDbase ){
      sqlite3ErrorMsg(pParse, "%s: %s.%s", zMsg, zDbase, zName);
    }else{
      sqlite3ErrorMsg(pParse, "%s: %s", zMsg, zName);
    }
    pParse->checkSchema = 1;
  }

  return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r15
movq %rdx, %r14
movl %esi, %r12d
movq %rdi, %rbx
callq 0x3886c
testl %eax, %eax
je 0x13386
xorl %eax, %eax
jmp 0x13399
movq (%rbx), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x18a53
testq %rax, %rax
je 0x133a8
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %r12d, %r12d
leaq 0x5a342(%rip), %rax     # 0x6d6f4
leaq 0x5a32e(%rip), %r12     # 0x6d6e7
cmoveq %rax, %r12
movq (%rbx), %r13
movq %r13, %rdi
movq %r15, %rsi
callq 0x17a14
testl %eax, %eax
jle 0x133f7
testq %r15, %r15
je 0x13551
leaq 0x5a323(%rip), %rsi     # 0x6d702
movq %rbx, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
xorl %eax, %eax
callq 0x1357a
jmp 0x13568
addq $0x1a8, %r13            # imm = 0x1A8
movq %r13, %rdi
movq %r14, %rsi
callq 0x3616f
testq %rax, %rax
je 0x133cf
movq %rax, %r13
movq (%rax), %rcx
andq $0x0, -0x48(%rbp)
movq 0x20(%rax), %rax
testq %rax, %rax
jne 0x13399
movq (%rbx), %rax
movq %rax, -0x30(%rbp)
movq 0x8(%rcx), %rax
testq %rax, %rax
je 0x1343c
cmpq 0x10(%rcx), %rax
jne 0x133cf
movq 0x8(%r13), %rdi
movq %rcx, -0x50(%rbp)
callq 0xb080
movl %eax, %eax
movq %rax, -0x40(%rbp)
leaq 0x79(%rax), %rsi
movq -0x30(%rbp), %rdi
callq 0x12153
testq %rax, %rax
je 0x133cf
movq -0x40(%rbp), %rdx
incq %rdx
movq %rax, 0x20(%r13)
movq %rax, %rdi
addq $0x78, %rdi
movq %rdi, -0x40(%rbp)
movq %rdi, (%rax)
movq %rax, -0x38(%rbp)
movq 0x8(%r13), %rsi
callq 0xa3b0
movq -0x38(%rbp), %rcx
movw $0x1, 0x40(%rcx)
movq -0x30(%rbp), %rdi
movq 0x20(%rdi), %rax
movq 0x18(%rax), %rax
movq %rax, 0x68(%rcx)
orb $0x10, 0x46(%rcx)
andl $0x0, 0x4c(%rcx)
orw $-0x1, 0x3c(%rcx)
movq -0x40(%rbp), %rsi
callq 0x11f6d
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %rax, %rdx
callq 0x388a2
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
xorl %edx, %edx
callq 0x388a2
movq -0x38(%rbp), %rax
movq (%rax), %rsi
movq -0x30(%rbp), %rdi
callq 0x11f6d
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %rax, %rdx
callq 0x388a2
movq -0x50(%rbp), %rax
movq 0x10(%rax), %rcx
leaq -0x48(%rbp), %r8
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq %r13, %rdx
callq 0x37bf1
testl %eax, %eax
je 0x13571
movq -0x48(%rbp), %rdx
movq %rdx, -0x38(%rbp)
leaq 0x58e5a(%rip), %rsi     # 0x6c383
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1357a
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0xb856
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq 0x3890a
jmp 0x133cf
leaq 0x5a1b4(%rip), %rsi     # 0x6d70c
movq %rbx, %rdi
movq %r12, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x1357a
movb $0x1, 0x1d(%rbx)
jmp 0x13382
movq 0x20(%r13), %rax
jmp 0x13399