// File: /workspace/github_c_makefile_star2_O2/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqliteBuiltin_db_drop_col
static int unqliteBuiltin_db_drop_col(jx9_context *pCtx,int argc,jx9_value **argv)
{
	unqlite_col *pCol;
	const char *zName;
	unqlite_vm *pVm;
	SyString sName;
	int nByte;
	int rc;
	/* Extract collection name */
	if( argc < 1 ){
		/* Missing arguments */
		jx9_context_throw_error(pCtx,JX9_CTX_ERR,"Missing collection name");
		/* Return false */
		jx9_result_bool(pCtx,0);
		return JX9_OK;
	}
	zName = jx9_value_to_string(argv[0],&nByte);
	if( nByte < 1){
		jx9_context_throw_error(pCtx,JX9_CTX_ERR,"Invalid collection name");
		/* Return false */
		jx9_result_bool(pCtx,0);
		return JX9_OK;
	}
	SyStringInitFromBuf(&sName,zName,nByte);
	pVm = (unqlite_vm *)jx9_context_user_data(pCtx);
	/* Fetch the collection */
	pCol = unqliteCollectionFetch(pVm,&sName,UNQLITE_VM_AUTO_LOAD);
	if( pCol == 0 ){
		jx9_context_throw_error_format(pCtx,JX9_CTX_ERR,"No such collection '%z'",&sName);
		/* Return false */
		jx9_result_bool(pCtx,0);
		return JX9_OK;
	}
	/* Drop the collection */
	rc = unqliteDropCollection(pCol);
	/* Processing result */
	jx9_result_bool(pCtx,rc == UNQLITE_OK);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x34b12
movq (%rdx), %rdi
leaq -0x44(%rbp), %r14
movq %r14, %rsi
callq 0x297ed
movl (%r14), %ecx
testl %ecx, %ecx
jle 0x34b1b
leaq -0x58(%rbp), %rsi
movq %rax, (%rsi)
movl %ecx, 0x8(%rsi)
movq (%rbx), %rax
movq 0x20(%rax), %rdi
callq 0x350f6
testq %rax, %rax
je 0x34b48
movq %rax, %r14
movq (%rax), %r15
movq 0x118(%rax), %rdi
callq 0x2b1d8
movq 0x118(%r14), %rdi
movq 0x8(%r14), %rsi
movl 0x10(%r14), %edx
pushq $0x1
popq %rcx
callq 0x2b1fc
testl %eax, %eax
jne 0x34aec
movq 0x118(%r14), %rdi
callq 0x2b1b4
testl %eax, %eax
je 0x34b62
movq %r14, %rdx
addq $0x8, %rdx
movq (%r14), %rax
movq (%rax), %rdi
leaq 0x2fbc5(%rip), %rsi     # 0x646c5
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x32836
movq %rbx, %rdi
movl %r15d, %esi
jmp 0x34b32
leaq 0x2f42b(%rip), %rdx     # 0x63f44
jmp 0x34b22
leaq 0x2f43a(%rip), %rdx     # 0x63f5c
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x2a0db
movq %rbx, %rdi
xorl %esi, %esi
callq 0x298b2
xorl %eax, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2fa79(%rip), %rdx     # 0x645c8
pushq $0x1
popq %rsi
leaq -0x58(%rbp), %rcx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3be68
jmp 0x34b2d
xorl %r12d, %r12d
cmpq 0xa8(%r14), %r12
jge 0x34b82
movq %r14, %rdi
movq %r12, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3c116
incq %r12
jmp 0x34b65
movq %r15, -0x40(%rbp)
movq %rbx, -0x30(%rbp)
leaq 0xd0(%r14), %rax
movq %rax, -0x38(%rbp)
movq (%r14), %r12
movq 0xd0(%r14), %r13
addq $0x8, %r12
xorl %r15d, %r15d
cmpl 0xd8(%r14), %r15d
jae 0x34bcf
movq 0x60(%r13), %rbx
leaq 0x10(%r13), %rdi
callq 0x296af
movq %r12, %rdi
movq %r13, %rsi
callq 0x27bf8
incl %r15d
movq %rbx, %r13
jmp 0x34ba6
movq 0xc8(%r14), %rsi
movq %r12, %rdi
callq 0x2d420
xorps %xmm0, %xmm0
movq -0x38(%rbp), %rax
movups %xmm0, (%rax)
leaq 0x88(%r14), %rdi
callq 0x2a72f
leaq 0x68(%r14), %rdi
callq 0x2a72f
movq -0x40(%rbp), %r13
leaq 0x8(%r13), %r12
movq 0x8(%r14), %rsi
movq %r12, %rdi
callq 0x2d420
movq (%r13), %rdi
movq 0x118(%r14), %rsi
callq 0x2b0d0
movq 0x138(%r14), %rcx
testq %rcx, %rcx
je 0x34c3d
movq 0x130(%r14), %rax
movq %rax, 0x130(%rcx)
jmp 0x34c5c
movl 0xdc(%r13), %ecx
decl %ecx
andl 0x18(%r14), %ecx
movq 0x130(%r14), %rax
movq 0xc8(%r13), %rdx
movq %rax, (%rdx,%rcx,8)
movq -0x30(%rbp), %rbx
pushq $0x1
popq %r15
testq %rax, %rax
je 0x34c77
movq 0x138(%r14), %rcx
movq %rcx, 0x138(%rax)
movq 0xd0(%r13), %rax
cmpq %r14, %rax
jne 0x34c91
movq 0x120(%rax), %rax
movq %rax, 0xd0(%r13)
movq 0x120(%r14), %rax
movq 0x128(%r14), %rcx
testq %rcx, %rcx
je 0x34cab
movq %rax, 0x120(%rcx)
testq %rax, %rax
je 0x34cb7
movq %rcx, 0x128(%rax)
decl 0xd8(%r13)
movq %r12, %rdi
movq %r14, %rsi
callq 0x27bf8
jmp 0x34b0a