// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3WindowCompare
SQLITE_PRIVATE int sqlite3WindowCompare(Parse *pParse, Window *p1, Window *p2, int bFilter){
  int res;
  if( NEVER(p1==0) || NEVER(p2==0) ) return 1;
  if( p1->eFrmType!=p2->eFrmType ) return 1;
  if( p1->eStart!=p2->eStart ) return 1;
  if( p1->eEnd!=p2->eEnd ) return 1;
  if( p1->eExclude!=p2->eExclude ) return 1;
  if( sqlite3ExprCompare(pParse, p1->pStart, p2->pStart, -1) ) return 1;
  if( sqlite3ExprCompare(pParse, p1->pEnd, p2->pEnd, -1) ) return 1;
  if( (res = sqlite3ExprListCompare(p1->pPartition, p2->pPartition, -1)) ){
    return res;
  }
  if( (res = sqlite3ExprListCompare(p1->pOrderBy, p2->pOrderBy, -1)) ){
    return res;
  }
  if( bFilter ){
    if( (res = sqlite3ExprCompare(pParse, p1->pFilter, p2->pFilter, -1)) ){
      return res;
    }
  }
  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x4301c5
cmpq $0x0, -0x20(%rbp)
jne 0x4301d1
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x18(%rbp), %rax
movzbl 0x20(%rax), %eax
movq -0x20(%rbp), %rcx
movzbl 0x20(%rcx), %ecx
cmpl %ecx, %eax
je 0x4301f1
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x18(%rbp), %rax
movzbl 0x21(%rax), %eax
movq -0x20(%rbp), %rcx
movzbl 0x21(%rcx), %ecx
cmpl %ecx, %eax
je 0x430211
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x18(%rbp), %rax
movzbl 0x22(%rax), %eax
movq -0x20(%rbp), %rcx
movzbl 0x22(%rcx), %ecx
cmpl %ecx, %eax
je 0x430231
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x18(%rbp), %rax
movzbl 0x24(%rax), %eax
movq -0x20(%rbp), %rcx
movzbl 0x24(%rcx), %ecx
cmpl %ecx, %eax
je 0x430251
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x28(%rax), %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x42fc30
cmpl $0x0, %eax
je 0x430280
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x30(%rax), %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x42fc30
cmpl $0x0, %eax
je 0x4302af
movl $0x1, -0x4(%rbp)
jmp 0x430340
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x430350
movl %eax, -0x28(%rbp)
cmpl $0x0, %eax
je 0x4302d9
movl -0x28(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x430340
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x430350
movl %eax, -0x28(%rbp)
cmpl $0x0, %eax
je 0x430303
movl -0x28(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x430340
cmpl $0x0, -0x24(%rbp)
je 0x430339
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x48(%rax), %rsi
movq -0x20(%rbp), %rax
movq 0x48(%rax), %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x42fc30
movl %eax, -0x28(%rbp)
cmpl $0x0, %eax
je 0x430337
movl -0x28(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x430340
jmp 0x430339
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)