user: 这段汇编代码用C语言表示是什么样的?

```asm
<ut_hexDumpBuf>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x8(%rsp)
  mov    %esi,0x1c(%rsp)
  mov    %rdx,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  movslq %esi,%r14
  add    %rdi,%r14
  cmp    %r14,%rdi
  jae    L68
  mov    %rdi,%rbx
  lea    0x20(%rsp),%r12
  lea    D21(%rip),%r15
  mov    %r12,0x10(%rsp)
  jmp    L14
L90:
  mov    %al,(%r12)
  mov    %rbx,%rax
  sub    0x8(%rsp),%rax
  cqto
  shr    $0x3c,%rdx
  add    %rdx,%rax
  and    $0xf,%eax
  sub    %rdx,%rax
  cmp    $0x7,%eax
  je     L21
  mov    %rcx,%r12
  mov    %r13,%rbp
  cmp    $0xf,%eax
  je     L106
L113:
  add    $0x1,%rbx
  cmp    %rbx,%r14
  je     L61
L14:
  movzbl (%rbx),%edx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  lea    0x3(%rbp),%r13
  movzbl (%rbx),%eax
  lea    -0x20(%rax),%edx
  lea    0x1(%r12),%rcx
  cmp    $0x5e,%dl
  jbe    L90
  lea    0x1(%r12),%rcx
  mov    $0x2e,%eax
  jmp    L90
L21:
  add    $0x4,%rbp
  movb   $0x20,0x0(%r13)
  lea    0x1(%rcx),%r12
  movb   $0x20,(%rcx)
  jmp    L113
L106:
  movb   $0x0,(%rcx)
  mov    0x10(%rsp),%r12
  mov    %r12,%rdx
  lea    D2(%rip),%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  movslq %eax,%rbp
  add    %r13,%rbp
  jmp    L113
L61:
  movslq 0x1c(%rsp),%rdx
  mov    %rdx,%rax
  sar    $0x3f,%rax
  shr    $0x3c,%rax
  add    %rax,%rdx
  and    $0xf,%edx
  sub    %rax,%rdx
  je     L68
  cmp    $0x7,%edx
  jg     L122
  movb   $0x20,0x0(%rbp)
  lea    0x1(%rbp),%rbp
L122:
  mov    %edx,%ecx
  mov    %rbp,%rax
L66:
  movb   $0x20,(%rax)
  movb   $0x20,0x1(%rax)
  add    $0x3,%rax
  movb   $0x20,-0x1(%rax)
  add    $0x1,%ecx
  cmp    $0xf,%ecx
  jle    L66
  mov    $0x10,%eax
  sub    %edx,%eax
  lea    (%rax,%rax,2),%rbx
  cmp    $0xf,%edx
  mov    $0x3,%eax
  cmovg  %rax,%rbx
  add    %rbp,%rbx
  movb   $0x0,(%r12)
  lea    0x20(%rsp),%rdx
  lea    D2(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  movslq %eax,%rbp
  add    %rbx,%rbp
L68:
  movb   $0x0,0x0(%rbp)
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L22
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L22:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D21
data_type: string
name: disassemble_data
arguments: tag: D2
data_type: string

tool: D21: %02X 

tool: D2:   %s


assistant: ```c
void ut_hexDumpBuf(const unsigned char *data, int len, char *out) {
  const unsigned char *b = data;
  const unsigned char *end = data + len;
  char buf[20];
  char *s = buf;
  int i;
  for (; b < end; b++) {
    out += sprintf(out, "%02X ", *b);
    if (' ' <= *b && *b < 127) {
      *s++ = (char)*b;
    } else {
      *s++ = '.';
    }
    i = (b - data) % 16;
    if (7 == i) {
      *out++ = ' ';
      *s++ = ' ';
    } else if (15 == i) {
      *s = '\0';
      out += sprintf(out, "  %s\n", buf);
      s = buf;
    }
  }
  i = (b - data) % 16;
  if (0 != i) {
    if (i < 8) {
      *out++ = ' ';
    }
    for (; i < 16; i++) {
      *out++ = ' ';
      *out++ = ' ';
      *out++ = ' ';
    }
    *s = '\0';
    out += sprintf(out, "  %s\n", buf);
  }
  *out = '\0';
}
```