// File: /workspace/github_c_makefile_star2_O2/ukontainer[P]sqlite-bench/sqlite3.c
// Function: sqlite3ExprCodeExprList
SQLITE_PRIVATE int sqlite3ExprCodeExprList(
  Parse *pParse,     /* Parsing context */
  ExprList *pList,   /* The expression list to be coded */
  int target,        /* Where to write results */
  int srcReg,        /* Source registers if SQLITE_ECEL_REF */
  u8 flags           /* SQLITE_ECEL_* flags */
){
  struct ExprList_item *pItem;
  int i, j, n;
  u8 copyOp = (flags & SQLITE_ECEL_DUP) ? OP_Copy : OP_SCopy;
  Vdbe *v = pParse->pVdbe;
  assert( pList!=0 );
  assert( target>0 );
  assert( pParse->pVdbe!=0 );  /* Never gets this far otherwise */
  n = pList->nExpr;
  if( !ConstFactorOk(pParse) ) flags &= ~SQLITE_ECEL_FACTOR;
  for(pItem=pList->a, i=0; i<n; i++, pItem++){
    Expr *pExpr = pItem->pExpr;
#ifdef SQLITE_ENABLE_SORTER_REFERENCES
    if( pItem->bSorterRef ){
      i--;
      n--;
    }else
#endif
    if( (flags & SQLITE_ECEL_REF)!=0 && (j = pItem->u.x.iOrderByCol)>0 ){
      if( flags & SQLITE_ECEL_OMITREF ){
        i--;
        n--;
      }else{
        sqlite3VdbeAddOp2(v, copyOp, j+srcReg-1, target+i);
      }
    }else if( (flags & SQLITE_ECEL_FACTOR)!=0
           && sqlite3ExprIsConstantNotJoin(pExpr)
    ){
      sqlite3ExprCodeAtInit(pParse, pExpr, target+i);
    }else{
      int inReg = sqlite3ExprCodeTarget(pParse, pExpr, target+i);
      if( inReg!=target+i ){
        VdbeOp *pOp;
        if( copyOp==OP_Copy
         && (pOp=sqlite3VdbeGetOp(v, -1))->opcode==OP_Copy
         && pOp->p1+pOp->p3+1==inReg
         && pOp->p2+pOp->p3+1==target+i
        ){
          pOp->p3++;
        }else{
          sqlite3VdbeAddOp2(v, copyOp, inReg, target+i);
        }
      }
    }
  }
  return n;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, %r15
movl %r8d, %eax
andb $0x1, %al
movb %al, 0x3(%rsp)
xorb $0x4f, %al
movq 0x10(%rdi), %rdx
movq %rdx, 0x8(%rsp)
movl (%rsi), %r13d
movl %r8d, %edx
andb $-0x3, %dl
movq %rdi, 0x20(%rsp)
cmpb $0x0, 0x23(%rdi)
movzbl %dl, %r12d
cmovnel %r8d, %r12d
movzbl %al, %eax
movl %eax, 0x4(%rsp)
decl %ecx
movl %ecx, 0x1c(%rsp)
addq $0x24, %r15
xorl %r14d, %r14d
cmpl %r13d, %r14d
jge 0x44a272
movq -0x1c(%r15), %rbp
testb $0x4, %r12b
je 0x44a1cf
movzwl (%r15), %edx
testl %edx, %edx
je 0x44a1cf
testb $0x8, %r12b
jne 0x44a260
addl 0x1c(%rsp), %edx
movq 0x10(%rsp), %rax
leal (%r14,%rax), %ecx
movq 0x8(%rsp), %rdi
movl 0x4(%rsp), %esi
jmp 0x44a259
testb $0x2, %r12b
je 0x44a1f9
movq %rbp, %rdi
callq 0x449fd6
testl %eax, %eax
je 0x44a1f9
movq 0x10(%rsp), %rax
leal (%r14,%rax), %edx
movq 0x20(%rsp), %rdi
movq %rbp, %rsi
callq 0x449fe0
jmp 0x44a266
movq 0x10(%rsp), %rax
leal (%r14,%rax), %ebx
movq 0x20(%rsp), %rdi
movq %rbp, %rsi
movl %ebx, %edx
callq 0x448a28
cmpl %ebx, %eax
je 0x44a266
movl %eax, %ebp
cmpb $0x0, 0x3(%rsp)
je 0x44a24c
movq 0x8(%rsp), %rdi
pushq $-0x1
popq %rsi
callq 0x44864c
cmpb $0x4e, (%rax)
jne 0x44a24c
movl 0xc(%rax), %ecx
incl %ecx
movl 0x4(%rax), %edx
addl %ecx, %edx
cmpl %ebp, %edx
jne 0x44a24c
movl 0x8(%rax), %edx
addl %ecx, %edx
cmpl %ebx, %edx
jne 0x44a24c
movl %ecx, 0xc(%rax)
jmp 0x44a266
movq 0x8(%rsp), %rdi
movl 0x4(%rsp), %esi
movl %ebp, %edx
movl %ebx, %ecx
callq 0x432a3f
jmp 0x44a266
decl %r14d
decl %r13d
incl %r14d
addq $0x20, %r15
jmp 0x44a18f
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq