// File: /workspace/github_c_makefile_star2_O2/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 0x866c
cmpb $0x24, (%rdi)
jne 0x866c
cmpb $0x71, 0x1(%rdi)
jne 0x866c
btl $0x1e, %ecx
jae 0x8650
andl $0x0, 0x1a8(%r8)
movq (%r8), %rbx
movl $0x1a8, %eax            # imm = 0x1A8
cmpq $0x1ab, %rax            # imm = 0x1AB
je 0x86a3
cmpb $0x0, (%r8,%rax)
je 0x86a3
incq %rax
jmp 0x8658
movq 0x20(%r8), %rax
testq %rax, %rax
je 0x868d
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x868d
movq 0x28(%r8), %r8
callq *%rax
testl %eax, %eax
je 0x868d
pushq $0x1
popq %rbp
jmp 0x868f
xorl %ebp, %ebp
movl %ebp, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %esi, %esi
leaq (%rax,%rsi), %rdi
cmpq $0x1ab, %rdi            # imm = 0x1AB
je 0x86e4
leal -0x1(%rcx), %r9d
andl $0x3fffffff, %r9d       # imm = 0x3FFFFFFF
movl %ecx, %edi
andl $0xc0000000, %edi       # imm = 0xC0000000
orl %r9d, %edi
testl $0x3fffffff, %ecx       # imm = 0x3FFFFFFF
je 0x86e2
movb (%rdx,%rsi), %cl
leaq (%r8,%rsi), %r9
movb %cl, (%rax,%r9)
incq %rsi
movl %edi, %ecx
jmp 0x86a5
movl %edi, %ecx
addq %r8, %rsi
movb $0x0, (%rax,%rsi)
pushq $0x1
popq %rbp
testl %ecx, %ecx
jns 0x868f
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 $0x7122, %eax           # imm = 0x7122
je 0x8885
cmpl $0x72, %eax
je 0x880b
cmpl $0x73, %eax
je 0x8859
cmpl $0x7120, %eax           # imm = 0x7120
je 0x882a
cmpl $0x6d, %eax
jne 0x8868
movq %rsp, %rsi
pushq $0x14
popq %rdx
movq %r8, %rdi
callq 0x3bb7
movl %eax, %r15d
movq 0x118(%rbx), %rdi
movq 0x120(%rbx), %rsi
testb $0x2, 0x18(%rbx)
leaq 0x2233(%rip), %rax      # 0xa9a2
leaq 0x2227(%rip), %rdx      # 0xa99d
cmoveq %rax, %rdx
xorl %r13d, %r13d
xorl %eax, %eax
callq 0x20e0
movslq %eax, %r14
movq 0x120(%rbx), %rsi
cmpq %r14, %rsi
jbe 0x868f
leal -0x1(%r15), %r12d
testl %r15d, %r15d
cmovlel %r13d, %r15d
xorl %r13d, %r13d
movq 0x118(%rbx), %rdi
addq %r14, %rdi
subq %r14, %rsi
cmpq %r13, %r15
je 0x88e7
cmpq %r13, %r12
jne 0x87cd
movq (%rsp,%r12,8), %rcx
leaq 0x21dd(%rip), %rdx      # 0xa9a8
jmp 0x87e5
movq (%rsp,%r13,8), %rcx
testl %ecx, %ecx
leaq 0x21d2(%rip), %rdx      # 0xa9ac
leaq 0x21d0(%rip), %rax      # 0xa9b1
cmovnsq %rax, %rdx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %eax, %eax
callq 0x20e0
cltq
addq %rax, %r14
movq 0x120(%rbx), %rsi
incq %r13
cmpq %rsi, %r14
jb 0x87a5
jmp 0x868f
movl 0x44(%r8), %eax
movl 0x48(%r8), %r9d
incl %eax
testl %r9d, %r9d
jns 0x881e
movl 0x30(%r8), %r9d
leaq 0x2198(%rip), %rcx      # 0xa9bd
jmp 0x88ce
movzwl 0xac(%r8), %eax
movl %eax, %ecx
shrl $0x5, %ecx
andl $0xc, %ecx
leaq 0x1e4f(%rip), %rdx      # 0xa690
shll $0x9, %eax
movswl %ax, %r8d
sarl $0xf, %r8d
addl (%rcx,%rdx), %r8d
leaq 0x217a(%rip), %rcx      # 0xa9d1
jmp 0x889e
testb $0x10, 0xad(%r8)
jne 0x88b4
pushq $0x1
popq %rax
jmp 0x88c3
leaq 0x2172(%rip), %rcx      # 0xa9e1
movq %rbx, %rdi
movl $0x90, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x9919
jmp 0x868f
movzbl 0x18c(%r8), %eax
andl $0x1, %eax
pushq $0x2
popq %r8
subl %eax, %r8d
leaq 0x213b(%rip), %rcx      # 0xa9d9
movq %rbx, %rdi
movl $0x90, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x9919
jmp 0x868f
movl 0x4c(%r8), %eax
movl 0x50(%r8), %r9d
incl %eax
testl %r9d, %r9d
jns 0x88c7
movl 0x34(%r8), %r9d
leaq 0x20f9(%rip), %rcx      # 0xa9c7
movq %rbx, %rdi
movl $0x90, %esi
movl %ebp, %edx
movl %eax, %r8d
xorl %eax, %eax
callq 0x9919
jmp 0x868f
testb $0x2, 0x18(%rbx)
leaq 0x20c7(%rip), %rax      # 0xa9b9
leaq 0x20bd(%rip), %rdx      # 0xa9b6
cmoveq %rax, %rdx
xorl %eax, %eax
callq 0x20e0
cltq
addq %rax, %r14
cmpq 0x120(%rbx), %r14
jae 0x868f
movq 0x118(%rbx), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x96ec
jmp 0x868f