user: Converte this assembly snippet into its equivalent C code:

```asm
<diff_long>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    %edx,%edi
  sub    $0x98,%rsp
  mov    %edx,0x4(%rsp)
  mov    %fs:0x28,%rdx
  mov    %rdx,0x88(%rsp)
  xor    %edx,%edx
  cmp    $0x3,%edi
  jbe    L10
  mov    %ecx,%eax
  mov    %ecx,%r13d
  lea    0x30(%rsp),%rdi
  mov    %rsi,%rbp
  shr    $0x6,%eax
  shr    $0x2,%r13d
  mov    %rdi,0x8(%rsp)
  movdqa D6(%rip),%xmm0
  lea    -0x1(%rax),%edx
  shl    $0x4,%eax
  lea    -0x1(%r13),%ecx
  mov    %eax,0x24(%rsp)
  lea    (%rax,%rax,8),%rax
  lea    (%rdx,%rdx,8),%rdx
  add    %rdi,%rax
  shl    $0x4,%rdx
  mov    %ecx,0x20(%rsp)
  mov    %rax,0x18(%rsp)
  mov    %ecx,%eax
  lea    0xc0(%rsp,%rdx,1),%rdx
  lea    0x9(%rax,%rax,8),%rax
  mov    %rdx,0x28(%rsp)
  add    %rdi,%rax
  mov    %rax,0x10(%rsp)
  nopl   (%rax)
L266:
  mov    0x4(%rsp),%r12d
  mov    $0x8,%eax
  mov    0x8(%rsp),%rsi
  shr    $0x2,%r12d
  cmp    %eax,%r12d
  cmova  %eax,%r12d
  xor    %r11d,%r11d
  test   %r13d,%r13d
  je     L5
  cmpl   $0xe,0x20(%rsp)
  mov    0x8(%rsp),%rax
  jbe    L344
  mov    0x28(%rsp),%rdx
  nopl   0x0(%rax,%rax,1)
L165:
  movaps %xmm0,(%rax)
  add    $0x90,%rax
  movaps %xmm0,-0x80(%rax)
  movaps %xmm0,-0x70(%rax)
  movaps %xmm0,-0x60(%rax)
  movaps %xmm0,-0x50(%rax)
  movaps %xmm0,-0x40(%rax)
  movaps %xmm0,-0x30(%rax)
  movaps %xmm0,-0x20(%rax)
  movaps %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L165
  mov    0x24(%rsp),%edx
  cmp    %r13d,%edx
  je     L347
  mov    0x18(%rsp),%rax
L117:
  mov    %r13d,%esi
  mov    D6(%rip),%r8
  sub    %edx,%esi
  lea    -0x1(%rsi),%ecx
  cmp    $0x6,%ecx
  jbe    L321
  mov    D6(%rip),%r8
  mov    %edx,%ecx
  lea    (%rcx,%rcx,8),%rcx
  add    0x8(%rsp),%rcx
  mov    %r8,(%rcx)
  mov    %r8,0x8(%rcx)
  mov    %r8,0x10(%rcx)
  mov    %r8,0x18(%rcx)
  mov    %r8,0x20(%rcx)
  mov    %r8,0x28(%rcx)
  mov    %r8,0x30(%rcx)
  mov    %r8,0x38(%rcx)
  mov    %r8,0x40(%rcx)
  mov    %esi,%ecx
  and    $0xfffffff8,%ecx
  mov    %ecx,%edi
  add    %ecx,%edx
  lea    (%rdi,%rdi,8),%rdi
  add    %rdi,%rax
  cmp    %esi,%ecx
  je     L377
L321:
  lea    0x1(%rdx),%ecx
  mov    %r8,(%rax)
  movb   $0x20,0x8(%rax)
  cmp    %r13d,%ecx
  jae    L377
  lea    0x2(%rdx),%ecx
  mov    %r8,0x9(%rax)
  movb   $0x20,0x11(%rax)
  cmp    %r13d,%ecx
  jae    L377
  lea    0x3(%rdx),%ecx
  mov    %r8,0x12(%rax)
  movb   $0x20,0x1a(%rax)
  cmp    %ecx,%r13d
  jbe    L377
  lea    0x4(%rdx),%ecx
  mov    %r8,0x1b(%rax)
  movb   $0x20,0x23(%rax)
  cmp    %ecx,%r13d
  jbe    L377
  lea    0x5(%rdx),%ecx
  mov    %r8,0x24(%rax)
  movb   $0x20,0x2c(%rax)
  cmp    %ecx,%r13d
  jbe    L377
  add    $0x6,%edx
  mov    %r8,0x2d(%rax)
  movb   $0x20,0x35(%rax)
  cmp    %edx,%r13d
  jbe    L377
  mov    %r8,0x36(%rax)
  movb   $0x20,0x3e(%rax)
L377:
  mov    0x10(%rsp),%rsi
  mov    %r13d,%r11d
  cmp    %r13d,%r12d
  jbe    L120
L5:
  mov    %r11d,%r8d
  xor    %edi,%edi
  mov    $0x2d,%r10d
  mov    $0x76,%r9d
  jmp    L359
  nopl   0x0(%rax,%rax,1)
L190:
  mov    %eax,%r14d
  mov    $0x20,%esi
  and    $0xf0000000,%r14d
  je     L248
  mov    %r14d,%r15d
  mov    $0x5e,%esi
  and    %ecx,%r15d
  je     L248
  cmp    %r14d,%r15d
  mov    %r9d,%esi
  cmovne %r10d,%esi
L248:
  mov    %sil,(%rdx)
  mov    %eax,%esi
  mov    $0x20,%r14d
  shl    $0x4,%esi
  and    $0xf0000000,%esi
  je     L87
  mov    %ecx,%r15d
  mov    $0x5e,%r14d
  shl    $0x4,%r15d
  and    %esi,%r15d
  je     L87
  cmp    %r15d,%esi
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L87:
  mov    %eax,%esi
  mov    %r14b,0x1(%rdx)
  mov    $0x20,%r14d
  shl    $0x8,%esi
  and    $0xf0000000,%esi
  je     L262
  mov    %ecx,%r15d
  mov    $0x5e,%r14d
  shl    $0x8,%r15d
  and    %esi,%r15d
  je     L262
  cmp    %r15d,%esi
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L262:
  mov    %eax,%esi
  mov    %r14b,0x2(%rdx)
  mov    $0x20,%r14d
  shl    $0xc,%esi
  and    $0xf0000000,%esi
  je     L320
  mov    %ecx,%r15d
  mov    $0x5e,%r14d
  shl    $0xc,%r15d
  and    %esi,%r15d
  je     L320
  cmp    %r15d,%esi
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L320:
  mov    %eax,%esi
  mov    %r14b,0x3(%rdx)
  mov    $0x20,%r14d
  shl    $0x10,%esi
  and    $0xf0000000,%esi
  je     L1
  mov    %ecx,%r15d
  mov    $0x5e,%r14d
  shl    $0x10,%r15d
  and    %esi,%r15d
  je     L1
  cmp    %r15d,%esi
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L1:
  mov    %eax,%esi
  mov    %r14b,0x4(%rdx)
  mov    $0x20,%r14d
  shl    $0x14,%esi
  and    $0xf0000000,%esi
  je     L147
  mov    %ecx,%r15d
  mov    $0x5e,%r14d
  shl    $0x14,%r15d
  and    %esi,%r15d
  je     L147
  cmp    %r15d,%esi
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L147:
  mov    %eax,%esi
  mov    %r14b,0x5(%rdx)
  mov    $0x20,%r14d
  shl    $0x18,%esi
  and    $0xf0000000,%esi
  je     L195
  mov    %ecx,%r15d
  mov    $0x5e,%r14d
  shl    $0x18,%r15d
  and    %esi,%r15d
  je     L195
  cmp    %r15d,%esi
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L195:
  shl    $0x1c,%eax
  mov    %r14b,0x6(%rdx)
  mov    $0x20,%r14d
  je     L20
  shl    $0x1c,%ecx
  mov    $0x5e,%r14d
  and    %eax,%ecx
  je     L20
  cmp    %ecx,%eax
  mov    %r9d,%r14d
  cmovne %r10d,%r14d
L20:
  add    $0x1,%r8d
  mov    %r14b,0x7(%rdx)
  lea    0x8(%rdx),%rsi
  add    $0x4,%rdi
  cmp    %r8d,%r12d
  jbe    L179
L359:
  mov    (%rbx,%rdi,1),%ecx
  mov    0x0(%rbp,%rdi,1),%eax
  movb   $0x20,(%rsi)
  lea    0x1(%rsi),%rdx
  xor    %ecx,%eax
  cmp    $0x4,%r8d
  jne    L190
  movb   $0x20,0x1(%rsi)
  lea    0x2(%rsi),%rdx
  jmp    L190
  nopw   0x0(%rax,%rax,1)
L179:
  lea    -0x1(%r12),%eax
  mov    $0x4,%edx
  sub    %r11d,%eax
  add    $0x1,%r11d
  cmp    %r11d,%r12d
  lea    0x4(,%rax,4),%rax
  cmovb  %rdx,%rax
  add    %rax,%rbx
  add    %rax,%rbp
L120:
  movb   $0x0,(%rsi)
  mov    0x8(%rsp),%rsi
  lea    D44(%rip),%rdi
  shl    $0x2,%r12d
  call   <printf@plt>
  sub    %r12d,0x4(%rsp)
  mov    0x4(%rsp),%eax
  movdqa D6(%rip),%xmm0
  cmp    $0x3,%eax
  ja     L266
L10:
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L49
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L344:
  xor    %edx,%edx
  jmp    L117
L347:
  mov    0x10(%rsp),%rsi
  jmp    L120
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D6
type_infered: byte[16]
name: parse_data
arguments: data_tag: D44
type_infered: string

tool: {"D6": [0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20]}

tool: D44:          %s


assistant: ```c
void diff_long(unsigned char *src1, unsigned char *src2, unsigned cnt, unsigned skip) {
  unsigned char buf[8 * 9 + 2];
  unsigned *s1 = (unsigned *)src1;
  unsigned *s2 = (unsigned *)src2;
  unsigned i, j;
  while (cnt >= 4) {
    char *p = buf;
    unsigned max = (((cnt >> 2) < (8)) ? (cnt >> 2) : (8));
    for (i = 0; i < (skip >> 2); i++) {
      for (j = 0; j < 9; j++)
        *p++ = ' ';
    }
    for (; i < max; i++) {
      unsigned s1v = *s1++;
      unsigned diff = s1v ^ *s2++;
      unsigned c;
      *p++ = ' ';
      if (i == 4)
        *p++ = ' ';
      for (j = 0; j < 8; j++) {
        unsigned changed = diff & 0xf0000000;
        c = ' ';
        if (changed) {
          if ((s1v & changed) == 0)
            c = '^';
          else if ((s1v & changed) == changed)
            c = 'v';
          else
            c = '-';
        }
        *p++ = c;
        diff <<= 4;
        s1v <<= 4;
      }
    }
    *p = 0;
    printf("         %s\n", buf);
    cnt -= max << 2;
  }
}
```