// File: /workspace/github_c_makefile_star2_O3/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 $0x58, %rsp
movl %ecx, 0x8(%rsp)
movq %rdi, 0x18(%rsp)
movl (%rsi), %r13d
testl %r13d, %r13d
jle 0x44fe45
movl %edx, %ebx
movq %rsi, %r15
movzbl %r8b, %ecx
andb $-0x3, %r8b
movq 0x18(%rsp), %rax
cmpb $0x0, 0x23(%rax)
movzbl %r8b, %r12d
cmovnel %ecx, %r12d
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
andb $0x1, %cl
movl %ecx, 0x24(%rsp)
movl %ecx, %eax
xorb $0x4f, %al
movzbl %al, %eax
movl %eax, 0xc(%rsp)
decl 0x8(%rsp)
addq $0x24, %r15
xorl %r14d, %r14d
movq -0x1c(%r15), %rbp
testb $0x4, %r12b
je 0x44fd36
movzwl (%r15), %edx
testl %edx, %edx
je 0x44fd36
testb $0x8, %r12b
jne 0x44fe2f
addl 0x8(%rsp), %edx
leal (%r14,%rbx), %ecx
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %esi
xorl %r8d, %r8d
callq 0x43a65f
jmp 0x44fe35
testb $0x2, %r12b
jne 0x44fdbb
movl %r13d, 0x4(%rsp)
movq %rbx, %r13
addl %r14d, %ebx
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
movl %ebx, %edx
callq 0x44e26d
cmpl %ebx, %eax
je 0x44fe25
cmpb $0x0, 0x24(%rsp)
je 0x44fe10
movq 0x10(%rsp), %rcx
movq (%rcx), %rcx
cmpb $0x0, 0x61(%rcx)
leaq 0x15508c(%rip), %rcx    # 0x5a4e08
jne 0x44fd9a
movq 0x10(%rsp), %rdx
movslq 0xb8(%rdx), %rcx
movq 0x68(%rdx), %rdx
leaq (%rcx,%rcx,2), %rcx
leaq (%rdx,%rcx,8), %rcx
addq $-0x18, %rcx
cmpb $0x4e, (%rcx)
jne 0x44fe10
movl 0xc(%rcx), %edx
incl %edx
movl 0x4(%rcx), %esi
addl %edx, %esi
cmpl %eax, %esi
jne 0x44fe10
movl 0x8(%rcx), %esi
addl %edx, %esi
cmpl %ebx, %esi
jne 0x44fe10
movl %edx, 0xc(%rcx)
jmp 0x44fe25
movb $0x2, 0x4c(%rsp)
leaq 0x1dad(%rip), %rax      # 0x451b74
movq %rax, 0x30(%rsp)
leaq 0x1e5b(%rip), %rax      # 0x451c2e
movq %rax, 0x38(%rsp)
movl $0x0, 0x50(%rsp)
testq %rbp, %rbp
je 0x44fdfd
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x451c38
cmpb $0x0, 0x4c(%rsp)
je 0x44fd3c
leal (%r14,%rbx), %edx
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
callq 0x44fad0
jmp 0x44fe35
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %esi
movl %eax, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x43a65f
movq %r13, %rbx
movl 0x4(%rsp), %r13d
jmp 0x44fe35
decl %r14d
decl %r13d
incl %r14d
addq $0x20, %r15
cmpl %r13d, %r14d
jl 0x44fcfc
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq