user: 下面的汇编指令对应的C源代码是什么：

```asm
<devanagari_log2vis>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  mov    %edx,%ebx
  sub    $0x38,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %rsp,%rcx
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %edx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L307
L175:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L175
L307:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L72
L161:
  lea    -0x1(%rbx),%eax
  mov    %rsp,%r12
  mov    %eax,-0x54(%rbp)
  test   %ebx,%ebx
  jle    L269
  mov    %r12,%r15
  xor    %r14d,%r14d
  jmp    L327
  nopl   0x0(%rax)
L281:
  add    $0x1,%r14d
  mov    %r13d,-0x4(%r15)
  cmp    %r14d,%ebx
  jle    L170
L327:
  movslq %r14d,%rax
  add    $0x4,%r15
  lea    0x0(,%rax,4),%rsi
  mov    %rsi,-0x50(%rbp)
  mov    -0x48(%rbp),%rsi
  mov    (%rsi,%rax,4),%r13d
  mov    %r13d,%edi
  call   <is_consonant@plt>
  cmp    %r14d,-0x54(%rbp)
  jle    L281
  test   %rax,%rax
  je     L281
  mov    -0x48(%rbp),%rax
  mov    -0x50(%rbp),%rsi
  cmpl   $0x94d,0x4(%rax,%rsi,1)
  jne    L281
  add    $0x1,%r14d
  add    $0x10000,%r13d
  add    $0x1,%r14d
  mov    %r13d,-0x4(%r15)
  cmp    %r14d,%ebx
  jg     L327
  nopl   (%rax)
L170:
  mov    -0x54(%rbp),%eax
  test   %eax,%eax
  jle    L418
L213:
  lea    0x4(%r12),%r14
  mov    $0x2,%r15d
  jmp    L181
  nopl   0x0(%rax,%rax,1)
L238:
  mov    %r13d,%edi
  call   <is_dead_consonant@plt>
  test   %rax,%rax
  je     L201
  cmpl   $0x930,(%r14)
  je     L134
L201:
  mov    %r13d,%edi
  call   <is_dead_consonant@plt>
  test   %rax,%rax
  je     L293
  cmpl   $0x10930,(%r14)
  jne    L293
  lea    -0x10000(%r13),%ecx
  movslq %r15d,%rax
  movl   $0xe97f,(%r14)
  mov    %ecx,-0x4(%r14)
  movl   $0x94d,(%r12,%rax,4)
  nopl   (%rax)
L293:
  lea    0x1(%r15),%eax
  add    $0x4,%r14
  cmp    %r15d,%ebx
  je     L351
L214:
  mov    %eax,%r15d
L181:
  mov    -0x4(%r14),%r13d
  cmp    $0x10930,%r13d
  je     L120
  cmp    $0x931,%r13d
  jne    L238
  cmpl   $0x94d,(%r14)
  jne    L238
L417:
  mov    D4(%rip),%rax
  add    $0x4,%r14
  mov    %rax,-0x8(%r14)
  lea    0x1(%r15),%eax
  cmp    %r15d,%ebx
  jne    L214
L351:
  lea    -0x2(%rbx),%r13d
  xor    %r15d,%r15d
  mov    %r13d,-0x50(%rbp)
  jmp    L168
  nopl   0x0(%rax)
L220:
  mov    %rax,%r15
L168:
  mov    (%r12,%r15,4),%r14d
  mov    %r14d,%edi
  call   <is_dead_consonant@plt>
  test   %rax,%rax
  je     L287
  cmp    %r15d,-0x50(%rbp)
  je     L331
  mov    0x4(%r12,%r15,4),%edi
  cmp    $0x200d,%edi
  je     L331
  mov    %edi,-0x54(%rbp)
  call   <is_consonant@plt>
  mov    -0x54(%rbp),%edi
  test   %rax,%rax
  je     L265
L331:
  lea    -0x1e000(%r14),%ecx
  mov    %ecx,(%r12,%r15,4)
L287:
  lea    0x1(%r15),%rax
  cmp    %r13,%r15
  jne    L220
  test   %ebx,%ebx
  jle    L360
L418:
  mov    %ebx,%ebx
  xor    %eax,%eax
  xor    %r8d,%r8d
  jmp    L113
L383:
  mov    -0x60(%rbp),%rdi
  mov    -0x48(%rbp),%rsi
  movslq %r8d,%rcx
  mov    %r8d,(%rdi,%rax,4)
  add    $0x1,%rax
  add    $0x1,%r8d
  mov    %edx,(%rsi,%rcx,4)
  cmp    %rax,%rbx
  je     L223
L113:
  mov    (%r12,%rax,4),%edx
  test   %edx,%edx
  jne    L383
  lea    -0x1(%r8),%edx
  xor    %ecx,%ecx
  test   %edx,%edx
  cmovs  %ecx,%edx
  mov    -0x60(%rbp),%rcx
  mov    %edx,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rbx
  jne    L113
L223:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L274
  lea    -0x28(%rbp),%rsp
  mov    %r8d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L120:
  mov    (%r14),%esi
  mov    %esi,%edi
  mov    %esi,-0x50(%rbp)
  call   <is_ind_vowel@plt>
  mov    -0x50(%rbp),%esi
  test   %rax,%rax
  je     L261
L61:
  mov    %esi,-0x4(%r14)
  movl   $0xe97e,(%r14)
  jmp    L293
  nopl   (%rax)
L134:
  lea    -0x10000(%r13),%ecx
  movl   $0xe97f,(%r14)
  mov    %ecx,-0x4(%r14)
  jmp    L293
  nop
L261:
  mov    %esi,%edi
  mov    %esi,-0x50(%rbp)
  call   <is_consonant@plt>
  mov    -0x50(%rbp),%esi
  test   %rax,%rax
  jne    L61
  cmp    $0x200d,%esi
  jne    L238
  jmp    L417
  nopl   0x0(%rax,%rax,1)
L265:
  call   <is_dead_consonant@plt>
  test   %rax,%rax
  jne    L331
  jmp    L287
  nopl   0x0(%rax,%rax,1)
L72:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L161
L269:
  mov    -0x54(%rbp),%edx
  test   %edx,%edx
  jg     L213
  cs nopw 0x0(%rax,%rax,1)
L360:
  xor    %r8d,%r8d
  jmp    L223
L274:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D4
type: byte[8]

tool: {"D4": [0x7d,0xe9,0x00,0x00,0x00,0x00,0x00,0x00]}

assistant: ```c
int devanagari_log2vis(unsigned int *str, unsigned int *ctog, int len) {
  int i, len1, cc, j, k, c;
  unsigned int *q, buf[len];
  q = buf;
  len1 = len - 1;
  for (i = 0; i < len; i++) {
    cc = str[i];
    if (is_consonant(cc) && i < len1 && str[i + 1] == 0x94d) {
      *q++ = cc + 0x10000;
      i++;
    } else {
      *q++ = cc;
    }
  }
  for (i = 0; i < len1; i++) {
    if (buf[i] == (0x930 + 0x10000) && (is_ind_vowel(buf[i + 1]) || is_consonant(buf[i + 1]))) {
      buf[i] = buf[i + 1];
      buf[i + 1] = 0xe97e;
    } else if (buf[i] == 0x931 && buf[i + 1] == 0x94d) {
      buf[i] = 0xe97d;
      buf[i + 1] = 0;
    } else if (buf[i] == (0x930 + 0x10000) && buf[i + 1] == 0x200d) {
      buf[i] = 0xe97d;
      buf[i + 1] = 0;
    } else if (is_dead_consonant(buf[i]) && buf[i + 1] == 0x930) {
      buf[i] -= 0x10000;
      buf[i + 1] = 0xe97f;
    } else if (is_dead_consonant(buf[i]) && buf[i + 1] == (0x930 + 0x10000)) {
      buf[i] -= 0x10000;
      buf[i + 1] = 0xe97f;
      buf[i + 2] = 0x94d;
    }
  }
  for (i = 0; i < len1; i++) {
    if (is_dead_consonant(buf[i]) && (i == (len1 - 1) || buf[i + 1] == 0x200d || is_consonant(buf[i + 1]) || is_dead_consonant(buf[i + 1]))) {
      buf[i] -= 0x10000 + 0xe000;
    }
  }
  j = 0;
  for (i = 0; i < len; i++) {
    c = buf[i];
    if (c != 0) {
      ctog[i] = j;
      str[j++] = c;
    } else {
      k = j - 1;
      if (k < 0)
        k = 0;
      ctog[i] = k;
    }
  }
  return j;
}
```