// File: /workspace/github_c_makefile_star2_O0/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: displayP4
static char *displayP4(Op *pOp, char *zTemp, int nTemp){
  char *zP4 = zTemp;
  assert( nTemp>=20 );
  switch( pOp->p4type ){
    case P4_KEYINFO_STATIC:
    case P4_KEYINFO: {
      int i, j;
      KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
      assert( pKeyInfo->aSortOrder!=0 );
      sqlite3_snprintf(nTemp, zTemp, "keyinfo(%d", pKeyInfo->nField);
      i = sqlite3Strlen30(zTemp);
      for(j=0; j<pKeyInfo->nField; j++){
        CollSeq *pColl = pKeyInfo->aColl[j];
        const char *zColl = pColl ? pColl->zName : "nil";
        int n = sqlite3Strlen30(zColl);
        if( i+n>nTemp-6 ){
          memcpy(&zTemp[i],",...",4);
          break;
        }
        zTemp[i++] = ',';
        if( pKeyInfo->aSortOrder[j] ){
          zTemp[i++] = '-';
        }
        memcpy(&zTemp[i], zColl, n+1);
        i += n;
      }
      zTemp[i++] = ')';
      zTemp[i] = 0;
      assert( i<nTemp );
      break;
    }
    case P4_COLLSEQ: {
      CollSeq *pColl = pOp->p4.pColl;
      sqlite3_snprintf(nTemp, zTemp, "collseq(%.20s)", pColl->zName);
      break;
    }
    case P4_FUNCDEF: {
      FuncDef *pDef = pOp->p4.pFunc;
      sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
      break;
    }
    case P4_INT64: {
      sqlite3_snprintf(nTemp, zTemp, "%lld", *pOp->p4.pI64);
      break;
    }
    case P4_INT32: {
      sqlite3_snprintf(nTemp, zTemp, "%d", pOp->p4.i);
      break;
    }
    case P4_REAL: {
      sqlite3_snprintf(nTemp, zTemp, "%.16g", *pOp->p4.pReal);
      break;
    }
    case P4_MEM: {
      Mem *pMem = pOp->p4.pMem;
      if( pMem->flags & MEM_Str ){
        zP4 = pMem->z;
      }else if( pMem->flags & MEM_Int ){
        sqlite3_snprintf(nTemp, zTemp, "%lld", pMem->u.i);
      }else if( pMem->flags & MEM_Real ){
        sqlite3_snprintf(nTemp, zTemp, "%.16g", pMem->r);
      }else if( pMem->flags & MEM_Null ){
        sqlite3_snprintf(nTemp, zTemp, "NULL");
      }else{
        assert( pMem->flags & MEM_Blob );
        zP4 = "(blob)";
      }
      break;
    }
#ifndef SQLITE_OMIT_VIRTUALTABLE
    case P4_VTAB: {
      sqlite3_vtab *pVtab = pOp->p4.pVtab->pVtab;
      sqlite3_snprintf(nTemp, zTemp, "vtab:%p:%p", pVtab, pVtab->pModule);
      break;
    }
#endif
    case P4_INTARRAY: {
      sqlite3_snprintf(nTemp, zTemp, "intarray");
      break;
    }
    case P4_SUBPROGRAM: {
      sqlite3_snprintf(nTemp, zTemp, "program");
      break;
    }
    case P4_ADVANCE: {
      zTemp[0] = 0;
      break;
    }
    default: {
      zP4 = pOp->p4.z;
      if( zP4==0 ){
        zP4 = zTemp;
        zTemp[0] = 0;
      }
    }
  }
  assert( zP4!=0 );
  return zP4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movsbl 0x1(%rax), %eax
addl $0x13, %eax
movl %eax, %ecx
movq %rcx, -0x70(%rbp)
subl $0xf, %eax
ja 0x3ab8e
movq -0x70(%rbp), %rax
leaq 0x6ef5d(%rip), %rcx     # 0xa9790
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x30(%rbp)
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x30(%rbp), %rax
movzwl 0xa(%rax), %ecx
leaq 0x73fde(%rip), %rdx     # 0xae83c
movb $0x0, %al
callq 0xc540
movq -0x10(%rbp), %rdi
callq 0x92f0
movl %eax, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq -0x30(%rbp), %rcx
movzwl 0xa(%rcx), %ecx
cmpl %ecx, %eax
jge 0x3a966
movq -0x30(%rbp), %rax
movslq -0x28(%rbp), %rcx
movq 0x18(%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0x3a8b0
movq -0x38(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x78(%rbp)
jmp 0x3a8bd
leaq 0x73f90(%rip), %rax     # 0xae847
movq %rax, -0x78(%rbp)
jmp 0x3a8bd
movq -0x78(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0x92f0
movl %eax, -0x44(%rbp)
movl -0x24(%rbp), %eax
addl -0x44(%rbp), %eax
movl -0x14(%rbp), %ecx
subl $0x6, %ecx
cmpl %ecx, %eax
jle 0x3a8f4
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl 0x73f5c(%rip), %edx     # 0xae84b
movl %edx, (%rax,%rcx)
jmp 0x3a966
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x24(%rbp)
movslq %ecx, %rcx
movb $0x2c, (%rax,%rcx)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movslq -0x28(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0x3a932
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x24(%rbp)
movslq %ecx, %rcx
movb $0x2d, (%rax,%rcx)
movq -0x10(%rbp), %rdi
movslq -0x24(%rbp), %rax
addq %rax, %rdi
movq -0x40(%rbp), %rsi
movl -0x44(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rdx
callq 0x82f0
movl -0x44(%rbp), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0x3a878
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x24(%rbp)
movslq %ecx, %rcx
movb $0x29, (%rax,%rcx)
movq -0x10(%rbp), %rax
movslq -0x24(%rbp), %rcx
movb $0x0, (%rax,%rcx)
jmp 0x3abb2
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x50(%rbp)
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x50(%rbp), %rax
movq (%rax), %rcx
leaq 0x73ea2(%rip), %rdx     # 0xae850
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x58(%rbp)
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rcx
movq -0x58(%rbp), %rax
movswl (%rax), %r8d
leaq 0x73e7b(%rip), %rdx     # 0xae85f
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
leaq 0x74add(%rip), %rdx     # 0xaf4e6
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x8(%rbp), %rax
movl 0x10(%rax), %ecx
leaq 0x75770(%rip), %rdx     # 0xb019a
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movsd (%rax), %xmm0
leaq 0x73e16(%rip), %rdx     # 0xae866
movb $0x1, %al
callq 0xc540
jmp 0x3abb2
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movzwl 0x24(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x3aa89
movq -0x60(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x3ab20
movq -0x60(%rbp), %rax
movzwl 0x24(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x3aab8
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x60(%rbp), %rax
movq 0x18(%rax), %rcx
leaq 0x74a37(%rip), %rdx     # 0xaf4e6
movb $0x0, %al
callq 0xc540
jmp 0x3ab1e
movq -0x60(%rbp), %rax
movzwl 0x24(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x3aae8
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x60(%rbp), %rax
movsd 0x10(%rax), %xmm0
leaq 0x73d87(%rip), %rdx     # 0xae866
movb $0x1, %al
callq 0xc540
jmp 0x3ab1c
movq -0x60(%rbp), %rax
movzwl 0x24(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x3ab0f
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq 0x76465(%rip), %rdx     # 0xb0f6b
movb $0x0, %al
callq 0xc540
jmp 0x3ab1a
leaq 0x73d56(%rip), %rax     # 0xae86c
movq %rax, -0x20(%rbp)
jmp 0x3ab1c
jmp 0x3ab1e
jmp 0x3ab20
jmp 0x3abb2
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, -0x68(%rbp)
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
movq -0x68(%rbp), %rcx
movq -0x68(%rbp), %rax
movq (%rax), %r8
leaq 0x73d25(%rip), %rdx     # 0xae873
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq 0x73d19(%rip), %rdx     # 0xae87e
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movl -0x14(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq 0x75600(%rip), %rdx     # 0xb017c
movb $0x0, %al
callq 0xc540
jmp 0x3abb2
movq -0x10(%rbp), %rax
movb $0x0, (%rax)
jmp 0x3abb2
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x3abb0
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, (%rax)
jmp 0x3abb2
movq -0x20(%rbp), %rax
addq $0x80, %rsp
popq %rbp
retq
nop