// File: /workspace/github_c_makefile_star2_O3/neovim[P]libvterm/src/state.c
// Function: on_dcs
static int on_dcs(const char *command, size_t commandlen, VTermStringFragment frag, void *user)
{
  VTermState *state = user;

  if(commandlen == 2 && strneq(command, "$q", 2)) {
    request_status_string(state, frag);
    return 1;
  }
  else if(state->fallbacks && state->fallbacks->dcs)
    if((*state->fallbacks->dcs)(command, commandlen, frag, state->fbdata))
      return 1;

  DEBUG_LOG("libvterm: Unhandled DCS %.*s\n", (int)commandlen, command);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
cmpq $0x2, %rsi
jne 0x9b60
cmpb $0x24, (%rdi)
jne 0x9b60
cmpb $0x71, 0x1(%rdi)
jne 0x9b60
btl $0x1e, %ecx
jae 0x9b45
movl $0x0, 0x1a8(%r8)
movq (%r8), %rbx
xorl %eax, %eax
cmpb $0x0, 0x1a8(%r8,%rax)
je 0x9b97
incq %rax
cmpq $0x3, %rax
jne 0x9b4a
jmp 0x9bcf
movq 0x20(%r8), %rax
testq %rax, %rax
je 0x9b81
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x9b81
movq 0x28(%r8), %r8
callq *%rax
movl $0x1, %ebp
testl %eax, %eax
jne 0x9b83
xorl %ebp, %ebp
movl %ebp, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x2, %rax
ja 0x9bd4
movl %ecx, %esi
leal -0x1(%rsi), %edi
andl $0x3fffffff, %edi       # imm = 0x3FFFFFFF
andl $0xc0000000, %ecx       # imm = 0xC0000000
orl %edi, %ecx
testl $0x3fffffff, %esi       # imm = 0x3FFFFFFF
je 0x9bd4
movb (%rdx), %sil
incq %rdx
movb %sil, 0x1a8(%r8,%rax)
incq %rax
cmpq $0x3, %rax
jne 0x9b9d
movl $0x3, %eax
movb $0x0, 0x1a8(%r8,%rax)
movl $0x1, %ebp
testl %ecx, %ecx
jns 0x9b83
movsbl 0x1a8(%r8), %eax
movsbl 0x1a9(%r8), %ecx
shll $0x8, %ecx
orl %eax, %ecx
movsbl 0x1aa(%r8), %eax
shll $0x10, %eax
orl %ecx, %eax
cmpl $0x72, %eax
jle 0x9c48
cmpl $0x73, %eax
je 0x9c76
cmpl $0x7120, %eax           # imm = 0x7120
je 0x9cbb
cmpl $0x7122, %eax           # imm = 0x7122
jne 0x9e13
movzbl 0x18c(%r8), %eax
andl $0x1, %eax
movl $0x2, %r8d
subl %eax, %r8d
leaq 0x2e36(%rip), %rcx      # 0xca79
jmp 0x9ce8
cmpl $0x6d, %eax
je 0x9d01
cmpl $0x72, %eax
jne 0x9e13
movl 0x44(%r8), %eax
movl 0x48(%r8), %r9d
incl %eax
testl %r9d, %r9d
jns 0x9c6d
movl 0x30(%r8), %r9d
leaq 0x2de9(%rip), %rcx      # 0xca5d
jmp 0x9c9f
movl $0x1, %eax
testb $0x10, 0xad(%r8)
je 0x9c94
movl 0x4c(%r8), %eax
movl 0x50(%r8), %r9d
incl %eax
testl %r9d, %r9d
jns 0x9c98
movl 0x34(%r8), %r9d
leaq 0x2dc8(%rip), %rcx      # 0xca67
movq %rbx, %rdi
movl $0x90, %esi
movl $0x1, %edx
movl %eax, %r8d
xorl %eax, %eax
callq 0xb06f
jmp 0x9b83
movzwl 0xac(%r8), %eax
movl %eax, %ecx
shrl $0x5, %ecx
andl $0xc, %ecx
leaq 0x2a5e(%rip), %rdx      # 0xc730
shll $0x9, %eax
movswl %ax, %r8d
sarl $0xf, %r8d
addl (%rcx,%rdx), %r8d
leaq 0x2d89(%rip), %rcx      # 0xca71
movq %rbx, %rdi
movl $0x90, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0xb06f
jmp 0x9b83
movq %rsp, %rsi
movq %r8, %rdi
movl $0x14, %edx
callq 0x44f2
movl %eax, %r14d
movq 0x118(%rbx), %rdi
movq 0x120(%rbx), %rsi
testb $0x2, 0x18(%rbx)
leaq 0x2d15(%rip), %rax      # 0xca42
leaq 0x2d09(%rip), %rdx      # 0xca3d
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0x20e0
movslq %eax, %r15
movq 0x120(%rbx), %rsi
cmpq %r15, %rsi
jbe 0x9b83
testl %r14d, %r14d
jle 0x9dc2
leal -0x1(%r14), %r12d
movl %r14d, %r14d
xorl %r13d, %r13d
cmpq %r13, %r12
jne 0x9d73
movq (%rsp,%r12,8), %rcx
leaq 0x2cd7(%rip), %rdx      # 0xca48
jmp 0x9d8b
movq (%rsp,%r13,8), %rcx
testl %ecx, %ecx
leaq 0x2ccc(%rip), %rdx      # 0xca4c
leaq 0x2cca(%rip), %rax      # 0xca51
cmovnsq %rax, %rdx
movq 0x118(%rbx), %rdi
addq %r15, %rdi
subq %r15, %rsi
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %eax, %eax
callq 0x20e0
cltq
addq %rax, %r15
movq 0x120(%rbx), %rsi
cmpq %rsi, %r15
jae 0x9b83
incq %r13
cmpq %r13, %r14
jne 0x9d61
movq 0x118(%rbx), %rdi
addq %r15, %rdi
subq %r15, %rsi
testb $0x2, 0x18(%rbx)
leaq 0x2c7f(%rip), %rax      # 0xca59
leaq 0x2c75(%rip), %rdx      # 0xca56
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0x20e0
movslq %eax, %rdx
addq %r15, %rdx
cmpq 0x120(%rbx), %rdx
jae 0x9b83
movq 0x118(%rbx), %rsi
movq %rbx, %rdi
callq 0xadad
jmp 0x9b83
leaq 0x2c67(%rip), %rcx      # 0xca81
movq %rbx, %rdi
movl $0x90, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0xb06f
jmp 0x9b83