// File: /workspace/github_c_makefile_star2_O1/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, (%rsp)
movq %rdx, 0x18(%rsp)
movq %rdi, 0x10(%rsp)
movl (%rsi), %r13d
testl %r13d, %r13d
jle 0x450b7b
movq %rsi, %r15
movzbl %r8b, %ecx
andb $-0x3, %r8b
movq 0x10(%rsp), %rax
cmpb $0x0, 0x23(%rax)
movzbl %r8b, %r12d
cmovnel %ecx, %r12d
movq 0x10(%rax), %rax
movq %rax, 0x8(%rsp)
andb $0x1, %cl
movl %ecx, 0x24(%rsp)
movl %ecx, %eax
xorb $0x4f, %al
movzbl %al, %eax
movl %eax, 0x4(%rsp)
decl (%rsp)
addq $0x24, %r15
xorl %r14d, %r14d
movq -0x1c(%r15), %rbp
testb $0x4, %r12b
je 0x450a76
movzwl (%r15), %edx
testl %edx, %edx
je 0x450a76
testb $0x8, %r12b
jne 0x450b65
addl (%rsp), %edx
movq 0x18(%rsp), %rax
leal (%r14,%rax), %ecx
movq 0x8(%rsp), %rdi
movl 0x4(%rsp), %esi
jmp 0x450b5b
testb $0x2, %r12b
je 0x450ad5
movb $0x2, 0x4c(%rsp)
leaq 0x1e53(%rip), %rax      # 0x4528db
movq %rax, 0x30(%rsp)
leaq 0x1efb(%rip), %rax      # 0x45298f
movq %rax, 0x38(%rsp)
movl $0x0, 0x50(%rsp)
testq %rbp, %rbp
je 0x450ab3
leaq 0x28(%rsp), %rdi
movq %rbp, %rsi
callq 0x452999
cmpb $0x0, 0x4c(%rsp)
je 0x450ad5
movq 0x18(%rsp), %rax
leal (%r14,%rax), %edx
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x450809
jmp 0x450b6b
movq 0x18(%rsp), %rax
leal (%r14,%rax), %ebx
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movl %ebx, %edx
callq 0x44ef27
cmpl %ebx, %eax
je 0x450b6b
cmpb $0x0, 0x24(%rsp)
je 0x450b4e
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
cmpb $0x0, 0x61(%rcx)
leaq 0x1542fd(%rip), %rcx    # 0x5a4e08
jne 0x450b29
movq 0x8(%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 0x450b4e
movl 0x4(%rcx), %esi
movl 0xc(%rcx), %edx
addl %edx, %esi
incl %esi
cmpl %eax, %esi
jne 0x450b4e
movl 0x8(%rcx), %esi
addl %edx, %esi
incl %esi
cmpl %ebx, %esi
jne 0x450b4e
incl %edx
movl %edx, 0xc(%rcx)
jmp 0x450b6b
movq 0x8(%rsp), %rdi
movl 0x4(%rsp), %esi
movl %eax, %edx
movl %ebx, %ecx
xorl %r8d, %r8d
callq 0x43bae0
jmp 0x450b6b
decl %r14d
decl %r13d
incl %r14d
addq $0x20, %r15
cmpl %r13d, %r14d
jl 0x450a40
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq