user: Translate the below assembly code into C programming language:

```asm
<hexdump>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %rdi,-0x88(%rbp)
  mov    %rsi,-0x90(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpq   $0x0,-0x90(%rbp)
  jne    L11
  mov    -0x88(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  jmp    L5
L11:
  mov    -0x90(%rbp),%rax
L5:
  mov    %rax,-0x68(%rbp)
  lea    -0x40(%rbp),%rax
  mov    %rax,-0x70(%rbp)
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdx
  lea    D35(%rip),%rax
  mov    %rax,%rsi
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <server_log@plt>
  movq   $0x0,-0x78(%rbp)
  jmp    L32
L28:
  cmpq   $0x0,-0x78(%rbp)
  je     L76
  mov    -0x78(%rbp),%rax
  and    $0xf,%eax
  test   %rax,%rax
  jne    L76
  lea    -0x60(%rbp),%rdx
  lea    -0x40(%rbp),%rax
  mov    %rdx,%rcx
  mov    %rax,%rdx
  lea    D5(%rip),%rax
  mov    %rax,%rsi
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <server_log@plt>
  movb   $0x0,-0x40(%rbp)
  lea    -0x40(%rbp),%rax
  mov    %rax,-0x70(%rbp)
L76:
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x61,%edx
  cmp    %dl,%al
  jl     L12
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x7a,%edx
  cmp    %dl,%al
  jle    L87
L12:
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x41,%edx
  cmp    %dl,%al
  jl     L119
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x5a,%edx
  cmp    %dl,%al
  jle    L87
L119:
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x5b,%edx
  cmp    %dl,%al
  je     L87
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x5d,%edx
  cmp    %dl,%al
  je     L87
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x30,%edx
  cmp    %dl,%al
  jl     L130
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    $0x39,%edx
  cmp    %dl,%al
  jg     L130
L87:
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    -0x78(%rbp),%rdx
  and    $0xf,%edx
  movzbl (%rax),%eax
  mov    %al,-0x60(%rbp,%rdx,1)
  jmp    L111
L130:
  mov    -0x78(%rbp),%rax
  and    $0xf,%eax
  mov    $0x2e,%edx
  mov    %dl,-0x60(%rbp,%rax,1)
L111:
  mov    -0x78(%rbp),%rax
  and    $0xf,%eax
  add    $0x1,%rax
  movb   $0x0,-0x60(%rbp,%rax,1)
  mov    -0x88(%rbp),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    -0x70(%rbp),%rax
  lea    D36(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sprintf@plt>
  addq   $0x3,-0x70(%rbp)
  addq   $0x1,-0x78(%rbp)
L32:
  mov    -0x78(%rbp),%rax
  cmp    -0x68(%rbp),%rax
  jb     L28
  mov    -0x78(%rbp),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L139
  lea    -0x60(%rbp),%rdx
  lea    -0x40(%rbp),%rax
  mov    %rdx,%rcx
  mov    %rax,%rdx
  lea    D5(%rip),%rax
  mov    %rax,%rsi
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <server_log@plt>
L139:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L10
  call   <__stack_chk_fail@plt>
L10:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D35
data_type: string
name: disassemble_data
arguments: tag: D5
data_type: string
name: disassemble_data
arguments: tag: D36
data_type: string

tool: D35: HEXDUMP size: %d

tool: D5: %s	%s

tool: D36: %02x 

assistant: ```c
void hexdump(char *str, size_t size) {
  size_t i;
  size_t len = (size) ? size : strlen(str);
  char buff1[3 * 16 + 1 + 5];
  char buff2[17];
  char *ptr = buff1;
  server_log(0, "HEXDUMP size: %d", len);
  for (i = 0; i < len; i++) {
    if (i != 0 && i % 16 == 0) {
      server_log(0, "%s\t%s", buff1, buff2);
      buff1[0] = 0x00;
      ptr = buff1;
    }
    if ((str[i] >= (int)*"a" && str[i] <= (int)*"z") || (str[i] >= (int)*"A" && str[i] <= (int)*"Z") || (str[i] == (int)*"[" || str[i] == (int)*"]") || (str[i] >= (int)*"0" && str[i] <= (int)*"9")) {
      buff2[i % 16] = str[i];
    } else {
      buff2[i % 16] = *".";
    }
    buff2[(i % 16) + 1] = 0x00;
    sprintf(ptr, "%02x ", str[i] & 0xff);
    ptr += 3;
  }
  if (i % 16 != 0)
    server_log(0, "%s\t%s", buff1, buff2);
}
```