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

```asm
<plot_label>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x38(%rbp)
  movss  %xmm0,-0x3c(%rbp)
  movss  %xmm1,-0x40(%rbp)
  movss  %xmm2,-0x44(%rbp)
  movss  %xmm3,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  movl   $0x0,-0x1c(%rbp)
  cmpq   $0x0,-0x38(%rbp)
  jne    L80
  mov    $0x0,%eax
  jmp    L76
L80:
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x18(%rbp)
  cmpl   $0x0,-0x18(%rbp)
  jne    L0
  mov    $0x0,%eax
  jmp    L76
L0:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x18(%rbp),%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movl   $0xffffffff,-0x20(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L35
L10:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L146
  mov    -0x24(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  movss  -0x2c(%rbp),%xmm0
  movss  D108(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  jmp    L74
L146:
  addl   $0x1,-0x24(%rbp)
L35:
  mov    -0x24(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L10
L74:
  mov    -0x38(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  jne    L17
  movss  -0x2c(%rbp),%xmm0
  movss  D108(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
L17:
  movss  -0x3c(%rbp),%xmm0
  comiss -0x44(%rbp),%xmm0
  jbe    L100
  movss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x28(%rbp)
  movss  -0x3c(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  movss  -0x28(%rbp),%xmm0
  movss  %xmm0,-0x3c(%rbp)
L100:
  movss  -0x40(%rbp),%xmm0
  comiss -0x48(%rbp),%xmm0
  jbe    L11
  movss  -0x48(%rbp),%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  -0x40(%rbp),%xmm0
  movss  %xmm0,-0x48(%rbp)
  movss  -0x14(%rbp),%xmm0
  movss  %xmm0,-0x40(%rbp)
L11:
  movss  -0x44(%rbp),%xmm0
  subss  -0x3c(%rbp),%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  -0x48(%rbp),%xmm0
  subss  -0x40(%rbp),%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x10(%rbp),%xmm0
  movsd  D16(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x30(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0xc(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x2c(%rbp),%xmm2
  movsd  D158(%rip),%xmm1
  addsd  %xmm2,%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x8(%rbp)
  movss  -0x30(%rbp),%xmm0
  comiss -0x8(%rbp),%xmm0
  jbe    L60
  movss  -0x8(%rbp),%xmm0
  movss  %xmm0,-0x30(%rbp)
L60:
  pxor   %xmm1,%xmm1
  cvtss2sd -0x30(%rbp),%xmm1
  movsd  D146(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  -0x30(%rbp),%xmm0
  movss  D204(%rip),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x8(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x30(%rbp),%xmm1
  movsd  D158(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movss  -0x10(%rbp),%xmm1
  subss  -0x30(%rbp),%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movsd  D15(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x14(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x48(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  movaps %xmm1,%xmm2
  mulss  -0x30(%rbp),%xmm2
  movss  -0xc(%rbp),%xmm1
  subss  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movsd  D15(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd -0x4(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x28(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  cmpl   $0x0,-0x20(%rbp)
  js     L147
  jmp    L186
L50:
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x50(%rbp),%rax
  lea    (%rcx,%rax,1),%rsi
  mov    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  movss  -0x8(%rbp),%xmm1
  movss  -0x28(%rbp),%xmm0
  mov    -0x14(%rbp),%ecx
  movaps %xmm1,%xmm2
  movaps %xmm0,%xmm1
  movd   %ecx,%xmm0
  mov    %eax,%edi
  call   <plot_digit@plt>
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  movss  -0x28(%rbp),%xmm0
  subss  -0x30(%rbp),%xmm0
  movss  %xmm0,-0x28(%rbp)
L186:
  subl   $0x1,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  jg     L50
  movss  -0x28(%rbp),%xmm0
  addss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D203(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x28(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D158(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D158(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x28(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D22(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D158(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x28(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D158(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D203(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x28(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D22(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
  movss  -0x28(%rbp),%xmm0
  subss  -0x4(%rbp),%xmm0
  movss  %xmm0,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x28(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D15(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x28(%rbp)
  jmp    L147
L140:
  mov    -0x24(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  je     L66
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x50(%rbp),%rax
  lea    (%rcx,%rax,1),%rsi
  mov    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  movss  -0x8(%rbp),%xmm1
  movss  -0x28(%rbp),%xmm0
  mov    -0x14(%rbp),%ecx
  movaps %xmm1,%xmm2
  movaps %xmm0,%xmm1
  movd   %ecx,%xmm0
  mov    %eax,%edi
  call   <plot_digit@plt>
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  movss  -0x28(%rbp),%xmm0
  subss  -0x30(%rbp),%xmm0
  movss  %xmm0,-0x28(%rbp)
  jmp    L147
L66:
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D15(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x28(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D82(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd -0x30(%rbp),%xmm2
  movsd  D15(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  -0x28(%rbp),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
L147:
  subl   $0x1,-0x24(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  jns    L140
  mov    -0x1c(%rbp),%eax
L76:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D108
data_type: f32
name: unpack_data
arguments: tag: D16
data_type: f64
name: unpack_data
arguments: tag: D158
data_type: f64
name: unpack_data
arguments: tag: D146
data_type: f64
name: unpack_data
arguments: tag: D204
data_type: f32
name: unpack_data
arguments: tag: D15
data_type: byte[8]
name: unpack_data
arguments: tag: D203
data_type: f64
name: unpack_data
arguments: tag: D22
data_type: f64
name: unpack_data
arguments: tag: D82
data_type: f64

tool: D108: 0.5

tool: D16: 1.2

tool: D158: 0.2

tool: D146: 0.8

tool: D204: 10

tool: {"D15": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D203: 0.1

tool: D22: 0.3

tool: D82: 0.4

assistant: ```c
int plot_label(char *lbl_str, float xk, float yk, float xm, float ym, float vx[], float vy[]) {
  float xmk, ymk, hgt, h, width, row, col, gap;
  int i, len, idot;
  int num = 0;
  if (lbl_str == 0)
    return 0;
  if ((len = strlen(lbl_str)) == 0)
    return 0;
  width = len;
  idot = -1;
  for (i = 0; i < len; i++) {
    if (lbl_str[i] == '.') {
      idot = i;
      width -= 0.5;
      break;
    }
  }
  if (lbl_str[0] == '-')
    width -= 0.5;
  if (xm < xk)
    col = xm, xm = xk, xk = col;
  if (ym < yk)
    row = ym, ym = yk, yk = row;
  xmk = xm - xk;
  ymk = ym - yk;
  hgt = xmk / 1.2;
  h = ymk / (width + 0.2);
  if (h < hgt)
    hgt = h;
  hgt *= 0.8;
  h = hgt / 10.0;
  gap = hgt * 0.2;
  row = xm - (0.5 * (xmk - hgt));
  col = ym - (0.5 * (ymk - (width * hgt))) - gap;
  i = len;
  if (idot >= 0) {
    while (--i > idot) {
      num += plot_digit(lbl_str[i], row, col, h, (vx + num), (vy + num));
      col -= hgt;
    }
    col += gap;
    vx[num] = row - 0.1 * hgt;
    vy[num] = col - 0.2 * hgt;
    num++;
    vx[num] = row - 0.2 * hgt;
    vy[num] = col - 0.3 * hgt;
    num++;
    vx[num] = row - 0.2 * hgt;
    vy[num] = col - 0.2 * hgt;
    num++;
    vx[num] = row - 0.1 * hgt;
    vy[num] = col - 0.3 * hgt;
    num++;
    col -= gap;
    col -= 0.5 * hgt;
  }
  while (--i >= 0) {
    if (lbl_str[i] != '-') {
      num += plot_digit(lbl_str[i], row, col, h, (vx + num), (vy + num));
      col -= hgt;
    } else {
      vx[num] = row - 0.5 * hgt;
      vy[num] = col - 0.4 * hgt;
      num++;
      vx[num] = row - 0.5 * hgt;
      vy[num] = col;
      num++;
    }
  }
  return num;
}
```