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

```asm
<tlsext_cb>:
  endbr64
  mov    %edx,%eax
  add    $0xffffff80,%edx
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %r8d,%r12d
  push   %rbp
  mov    %r9,%rbp
  cmp    $0x9,%edx
  ja     L10
  lea    D137(%rip),%rcx
  movslq (%rcx,%rdx,4),%rdx
  add    %rcx,%rdx
  notrack jmp *%rdx
  nopl   0x0(%rax)
  lea    D24(%rip),%rcx
L36:
  test   %esi,%esi
  lea    D110(%rip),%rdx
  mov    %r12d,%r9d
  mov    %rbp,%rdi
  lea    D100(%rip),%rsi
  mov    %eax,%r8d
  cmove  %rsi,%rdx
  lea    D44(%rip),%rsi
  call   <BIO_printf@plt>
  mov    %rbp,%rdi
  mov    %r12d,%edx
  mov    %r13,%rsi
  call   <BIO_dump@plt>
  mov    %rbp,%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    1090 <BIO_flush@plt>
  nopl   0x0(%rax,%rax,1)
  lea    D4(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D90(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D94(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D135(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D36(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D30(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D130(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D95(%rip),%rcx
  jmp    L36
  nopl   0x0(%rax)
  lea    D37(%rip),%rcx
  jmp    L36
L10:
  lea    D147(%rip),%rcx
  jmp    L36
```

tool_calls: name: unpack_data
arguments: data_tag: D24
type: string
name: unpack_data
arguments: data_tag: D110
type: string
name: unpack_data
arguments: data_tag: D100
type: string
name: unpack_data
arguments: data_tag: D44
type: string
name: unpack_data
arguments: data_tag: D4
type: string
name: unpack_data
arguments: data_tag: D90
type: string
name: unpack_data
arguments: data_tag: D94
type: string
name: unpack_data
arguments: data_tag: D135
type: string
name: unpack_data
arguments: data_tag: D36
type: string
name: unpack_data
arguments: data_tag: D30
type: string
name: unpack_data
arguments: data_tag: D130
type: string
name: unpack_data
arguments: data_tag: D95
type: string
name: unpack_data
arguments: data_tag: D37
type: string
name: unpack_data
arguments: data_tag: D147
type: string

tool: D24: max fragment length

tool: D110: server

tool: D100: client

tool: D44: TLS %s extension "%s" (id=%d), len=%d


tool: D4: server name

tool: D90: renegotiate

tool: D94: elliptic curves

tool: D135: status request

tool: D36: server ticket

tool: D30: EC point formats

tool: D130: client certificate URL

tool: D95: trusted CA keys

tool: D37: truncated HMAC

tool: D147: unknown

assistant: ```c
void tlsext_cb(SSL *s, int client_server, int type, unsigned char *data, int len, void *arg) {
  BIO *bio = arg;
  char *extname;
  switch (type) {
  case TLSEXT_TYPE_server_name:
    extname = "server name";
    break;
  case TLSEXT_TYPE_max_fragment_length:
    extname = "max fragment length";
    break;
  case TLSEXT_TYPE_client_certificate_url:
    extname = "client certificate URL";
    break;
  case TLSEXT_TYPE_trusted_ca_keys:
    extname = "trusted CA keys";
    break;
  case TLSEXT_TYPE_truncated_hmac:
    extname = "truncated HMAC";
    break;
  case TLSEXT_TYPE_status_request:
    extname = "status request";
    break;
  case TLSEXT_TYPE_elliptic_curves:
    extname = "elliptic curves";
    break;
  case TLSEXT_TYPE_ec_point_formats:
    extname = "EC point formats";
    break;
  case TLSEXT_TYPE_session_ticket:
    extname = "server ticket";
    break;
  case TLSEXT_TYPE_renegotiate:
    extname = "renegotiate";
    break;
  default:
    extname = "unknown";
    break;
  }
  BIO_printf(bio, "TLS %s extension \"%s\" (id=%d), len=%d\n", client_server ? "server" : "client", extname, type, len);
  BIO_dump(bio, (char *)data, len);
  (void)BIO_flush(bio);
}
```