// File: /workspace/github_c_makefile_star2_O0/jkbenaim[P]psfrag/sqlite3.c
// Function: displayP4
static char *displayP4(Op *pOp, char *zTemp, int nTemp){
  char *zP4 = zTemp;
  StrAccum x;
  assert( nTemp>=20 );
  sqlite3StrAccumInit(&x, 0, zTemp, nTemp, 0);
  switch( pOp->p4type ){
    case P4_KEYINFO: {
      int j;
      KeyInfo *pKeyInfo = pOp->p4.pKeyInfo;
      assert( pKeyInfo->aSortFlags!=0 );
      sqlite3_str_appendf(&x, "k(%d", pKeyInfo->nKeyField);
      for(j=0; j<pKeyInfo->nKeyField; j++){
        CollSeq *pColl = pKeyInfo->aColl[j];
        const char *zColl = pColl ? pColl->zName : "";
        if( strcmp(zColl, "BINARY")==0 ) zColl = "B";
        sqlite3_str_appendf(&x, ",%s%s%s", 
               (pKeyInfo->aSortFlags[j] & KEYINFO_ORDER_DESC) ? "-" : "", 
               (pKeyInfo->aSortFlags[j] & KEYINFO_ORDER_BIGNULL)? "N." : "", 
               zColl);
      }
      sqlite3_str_append(&x, ")", 1);
      break;
    }
#ifdef SQLITE_ENABLE_CURSOR_HINTS
    case P4_EXPR: {
      displayP4Expr(&x, pOp->p4.pExpr);
      break;
    }
#endif
    case P4_COLLSEQ: {
      CollSeq *pColl = pOp->p4.pColl;
      sqlite3_str_appendf(&x, "(%.20s)", pColl->zName);
      break;
    }
    case P4_FUNCDEF: {
      FuncDef *pDef = pOp->p4.pFunc;
      sqlite3_str_appendf(&x, "%s(%d)", pDef->zName, pDef->nArg);
      break;
    }
#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE)
    case P4_FUNCCTX: {
      FuncDef *pDef = pOp->p4.pCtx->pFunc;
      sqlite3_str_appendf(&x, "%s(%d)", pDef->zName, pDef->nArg);
      break;
    }
#endif
    case P4_INT64: {
      sqlite3_str_appendf(&x, "%lld", *pOp->p4.pI64);
      break;
    }
    case P4_INT32: {
      sqlite3_str_appendf(&x, "%d", pOp->p4.i);
      break;
    }
    case P4_REAL: {
      sqlite3_str_appendf(&x, "%.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|MEM_IntReal) ){
        sqlite3_str_appendf(&x, "%lld", pMem->u.i);
      }else if( pMem->flags & MEM_Real ){
        sqlite3_str_appendf(&x, "%.16g", pMem->u.r);
      }else if( pMem->flags & MEM_Null ){
        zP4 = "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_str_appendf(&x, "vtab:%p", pVtab);
      break;
    }
#endif
    case P4_INTARRAY: {
      int i;
      int *ai = pOp->p4.ai;
      int n = ai[0];   /* The first element of an INTARRAY is always the
                       ** count of the number of elements to follow */
      for(i=1; i<=n; i++){
        sqlite3_str_appendf(&x, ",%d", ai[i]);
      }
      zTemp[0] = '[';
      sqlite3_str_append(&x, "]", 1);
      break;
    }
    case P4_SUBPROGRAM: {
      sqlite3_str_appendf(&x, "program");
      break;
    }
    case P4_DYNBLOB:
    case P4_ADVANCE: {
      zTemp[0] = 0;
      break;
    }
    case P4_TABLE: {
      sqlite3_str_appendf(&x, "%s", pOp->p4.pTab->zName);
      break;
    }
    default: {
      zP4 = pOp->p4.z;
      if( zP4==0 ){
        zP4 = zTemp;
        zTemp[0] = 0;
      }
    }
  }
  sqlite3StrAccumFinish(&x);
  assert( zP4!=0 );
  return zP4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdx
movl -0x14(%rbp), %ecx
xorl %r8d, %r8d
movl %r8d, %esi
leaq -0x40(%rbp), %rdi
callq 0xe990
movq -0x8(%rbp), %rax
movsbl 0x1(%rax), %eax
addl $0x11, %eax
movl %eax, %ecx
movq %rcx, -0xa0(%rbp)
subl $0xf, %eax
ja 0x448fe
movq -0xa0(%rbp), %rax
leaq 0x72d3d(%rip), %rcx     # 0xb729c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movzwl 0x6(%rax), %edx
leaq -0x40(%rbp), %rdi
leaq 0x7961b(%rip), %rsi     # 0xbdba2
movb $0x0, %al
callq 0xedb0
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %eax
movq -0x50(%rbp), %rcx
movzwl 0x6(%rcx), %ecx
cmpl %ecx, %eax
jge 0x4467f
movq -0x50(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq 0x20(%rax,%rcx,8), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, -0x58(%rbp)
je 0x445d0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq %rax, -0xa8(%rbp)
jmp 0x445e0
leaq 0x72473(%rip), %rax     # 0xb6a4a
movq %rax, -0xa8(%rbp)
jmp 0x445e0
movq -0xa8(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
leaq 0x795b1(%rip), %rsi     # 0xbdba7
callq 0x8190
cmpl $0x0, %eax
jne 0x4460b
leaq 0x7c705(%rip), %rax     # 0xc0d0c
movq %rax, -0x60(%rbp)
movq -0x50(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x44(%rbp), %rcx
movzbl (%rax,%rcx), %ecx
andl $0x1, %ecx
leaq 0x72425(%rip), %rdx     # 0xb6a4a
leaq 0x7958a(%rip), %rax     # 0xbdbb6
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movq -0x50(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x44(%rbp), %rcx
movzbl (%rax,%rcx), %esi
andl $0x2, %esi
leaq 0x723fd(%rip), %rcx     # 0xb6a4a
leaq 0x79564(%rip), %rax     # 0xbdbb8
cmpl $0x0, %esi
cmovneq %rax, %rcx
movq -0x60(%rbp), %r8
leaq -0x40(%rbp), %rdi
leaq 0x79544(%rip), %rsi     # 0xbdbae
movb $0x0, %al
callq 0xedb0
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x44595
leaq -0x40(%rbp), %rdi
leaq 0x7b2cc(%rip), %rsi     # 0xbf956
movl $0x1, %edx
callq 0xe060
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq (%rax), %rdx
leaq -0x40(%rbp), %rdi
leaq 0x79504(%rip), %rsi     # 0xbdbbb
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rax
movq 0x38(%rax), %rdx
movq -0x70(%rbp), %rax
movsbl (%rax), %ecx
leaq -0x40(%rbp), %rdi
leaq 0x794da(%rip), %rsi     # 0xbdbc3
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdx
leaq -0x40(%rbp), %rdi
leaq 0x79f4f(%rip), %rsi     # 0xbe65a
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movl 0x10(%rax), %edx
leaq -0x40(%rbp), %rdi
leaq 0x7b80d(%rip), %rsi     # 0xbff36
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movsd (%rax), %xmm0
leaq -0x40(%rbp), %rdi
leaq 0x7947e(%rip), %rsi     # 0xbdbca
movb $0x1, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movzwl 0x8(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x44785
movq -0x78(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x4480a
movq -0x78(%rbp), %rax
movzwl 0x8(%rax), %eax
andl $0x24, %eax
cmpl $0x0, %eax
je 0x447b0
movq -0x78(%rbp), %rax
movq (%rax), %rdx
leaq -0x40(%rbp), %rdi
leaq 0x79eb3(%rip), %rsi     # 0xbe65a
movb $0x0, %al
callq 0xedb0
jmp 0x44808
movq -0x78(%rbp), %rax
movzwl 0x8(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x447dc
movq -0x78(%rbp), %rax
movsd (%rax), %xmm0
leaq -0x40(%rbp), %rdi
leaq 0x793f7(%rip), %rsi     # 0xbdbca
movb $0x1, %al
callq 0xedb0
jmp 0x44806
movq -0x78(%rbp), %rax
movzwl 0x8(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x447f9
leaq 0x7c15a(%rip), %rax     # 0xc094d
movq %rax, -0x20(%rbp)
jmp 0x44804
leaq 0x793d0(%rip), %rax     # 0xbdbd0
movq %rax, -0x20(%rbp)
jmp 0x44806
jmp 0x44808
jmp 0x4480a
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rdx
leaq -0x40(%rbp), %rdi
leaq 0x793a9(%rip), %rsi     # 0xbdbd7
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x94(%rbp)
movl $0x1, -0x84(%rbp)
movl -0x84(%rbp), %eax
cmpl -0x94(%rbp), %eax
jg 0x448a4
movq -0x90(%rbp), %rax
movslq -0x84(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq -0x40(%rbp), %rdi
leaq 0x79353(%rip), %rsi     # 0xbdbdf
movb $0x0, %al
callq 0xedb0
movl -0x84(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x84(%rbp)
jmp 0x44862
movq -0x10(%rbp), %rax
movb $0x5b, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x79d54(%rip), %rsi     # 0xbe60a
movl $0x1, %edx
callq 0xe060
jmp 0x44922
leaq -0x40(%rbp), %rdi
leaq 0x7a5e3(%rip), %rsi     # 0xbeeb0
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x10(%rbp), %rax
movb $0x0, (%rax)
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rdx
leaq -0x40(%rbp), %rdi
leaq 0x78b18(%rip), %rsi     # 0xbd40d
movb $0x0, %al
callq 0xedb0
jmp 0x44922
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x44920
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movb $0x0, (%rax)
jmp 0x44922
leaq -0x40(%rbp), %rdi
callq 0xe780
movq -0x20(%rbp), %rax
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax,%rax)