// File: /workspace/github_c_makefile_star2_O1/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 $0xb8, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r13
cmpq $0x2, %rsi
jne 0x9177
leaq 0x2847(%rip), %rsi      # 0xb9ad
movl $0x2, %edx
movq %r13, %rdi
callq 0x2080
testl %eax, %eax
je 0x91ba
movq 0x20(%r14), %rax
testq %rax, %rax
je 0x91a4
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x91a4
movq 0x28(%r14), %r8
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq *%rax
movl $0x1, %ebp
testl %eax, %eax
jne 0x91a6
xorl %ebp, %ebp
movl %ebp, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
btl $0x1e, %r15d
jae 0x91cc
movl $0x0, 0x1a8(%r14)
movq (%r14), %rbx
xorl %ecx, %ecx
cmpb $0x0, 0x1a8(%r14,%rcx)
je 0x91ea
incq %rcx
cmpq $0x3, %rcx
jne 0x91d1
movl $0x3, %ecx
movl %ecx, %eax
cmpl $0x2, %ecx
ja 0x922c
movl %r15d, %ecx
leal -0x1(%rcx), %edx
andl $0x3fffffff, %edx       # imm = 0x3FFFFFFF
andl $0xc0000000, %r15d      # imm = 0xC0000000
orl %edx, %r15d
testl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
je 0x922c
movb (%r12), %cl
incq %r12
movb %cl, 0x1a8(%r14,%rax)
incq %rax
cmpq $0x3, %rax
jne 0x91f1
movl $0x3, %eax
movb $0x0, 0x1a8(%r14,%rax)
movl $0x1, %ebp
testl %r15d, %r15d
jns 0x91a6
movsbl 0x1a8(%r14), %eax
movsbl 0x1a9(%r14), %ecx
shll $0x8, %ecx
orl %eax, %ecx
movsbl 0x1aa(%r14), %eax
shll $0x10, %eax
orl %ecx, %eax
cmpl $0x72, %eax
jle 0x92a5
cmpl $0x73, %eax
je 0x92d4
cmpl $0x7120, %eax           # imm = 0x7120
je 0x9321
cmpl $0x7122, %eax           # imm = 0x7122
jne 0x94be
movzbl 0x18c(%r14), %eax
andl $0x1, %eax
movl $0x2, %r8d
subl %eax, %r8d
leaq 0x274c(%rip), %rcx      # 0xb9ec
jmp 0x934e
cmpl $0x6d, %eax
je 0x9367
cmpl $0x72, %eax
jne 0x94be
movl 0x44(%r14), %r8d
movl 0x48(%r14), %r9d
incl %r8d
testl %r9d, %r9d
jns 0x92cb
movl 0x30(%r14), %r9d
leaq 0x26fe(%rip), %rcx      # 0xb9d0
jmp 0x9308
movl 0xac(%r14), %eax
movl $0x1, %r8d
btl $0xc, %eax
jae 0x92ee
movl 0x4c(%r14), %r8d
incl %r8d
btl $0xc, %eax
jae 0x92fd
movl 0x50(%r14), %r9d
testl %r9d, %r9d
jns 0x9301
movl 0x34(%r14), %r9d
leaq 0x26d2(%rip), %rcx      # 0xb9da
movq %rbx, %rdi
movl $0x90, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0xa755
jmp 0x91a6
movzwl 0xac(%r14), %eax
movl %eax, %ecx
shrl $0x5, %ecx
andl $0xc, %ecx
leaq 0x2368(%rip), %rdx      # 0xb6a0
shll $0x9, %eax
movswl %ax, %r8d
sarl $0xf, %r8d
addl (%rcx,%rdx), %r8d
leaq 0x2696(%rip), %rcx      # 0xb9e4
movq %rbx, %rdi
movl $0x90, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0xa755
jmp 0x91a6
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
movl $0x14, %edx
callq 0x41e8
movl %eax, %r14d
movq 0x118(%rbx), %rdi
movq 0x120(%rbx), %rsi
testb $0x2, 0x18(%rbx)
leaq 0x2620(%rip), %rax      # 0xb9b5
leaq 0x2614(%rip), %rdx      # 0xb9b0
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0x20f0
movslq %eax, %r15
cmpq %r15, 0x120(%rbx)
jbe 0x91a6
testl %r14d, %r14d
setg %r12b
jle 0x945c
leal -0x1(%r14), %eax
movl %r14d, %r14d
movq %r14, (%rsp)
negq %r14
negq %rax
movq %rax, 0x8(%rsp)
movb $0x1, %r12b
movl $0x1, %r13d
movq 0x8(%rsp), %rax
addq %r13, %rax
leaq 0x25c9(%rip), %rdx      # 0xb9bb
cmpq $0x1, %rax
je 0x9410
testb $-0x80, 0xb(%rsp,%r13,8)
leaq 0x25ba(%rip), %rdx      # 0xb9bf
leaq 0x25b8(%rip), %rax      # 0xb9c4
cmoveq %rax, %rdx
movq 0x118(%rbx), %rdi
addq %r15, %rdi
movq 0x120(%rbx), %rsi
subq %r15, %rsi
movq 0x8(%rsp,%r13,8), %rcx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %eax, %eax
callq 0x20f0
cltq
addq %rax, %r15
cmpq 0x120(%rbx), %r15
jae 0x945c
cmpq (%rsp), %r13
setb %r12b
leaq (%r14,%r13), %rax
incq %rax
incq %r13
cmpq $0x1, %rax
jne 0x93e3
testb $0x1, %r12b
jne 0x91a6
movq 0x118(%rbx), %rdi
addq %r15, %rdi
movq 0x120(%rbx), %rsi
subq %r15, %rsi
testb $0x2, 0x18(%rbx)
leaq 0x2547(%rip), %rax      # 0xb9cc
leaq 0x253d(%rip), %rdx      # 0xb9c9
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0x20f0
movslq %eax, %rdx
addq %r15, %rdx
cmpq 0x120(%rbx), %rdx
jae 0x91a6
movq 0x118(%rbx), %rsi
movq %rbx, %rdi
callq 0xa493
jmp 0x91a6
leaq 0x252f(%rip), %rcx      # 0xb9f4
movq %rbx, %rdi
movl $0x90, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0xa755
jmp 0x91a6