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

```asm
<plot_label_wierd>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  test   %rdi,%rdi
  je     L185
  mov    %rdx,%r13
  mov    %rdi,%r14
  mov    %rsi,%r12
  movss  %xmm3,0x18(%rsp)
  movss  %xmm2,0x14(%rsp)
  movss  %xmm1,0x10(%rsp)
  movss  %xmm0,0xc(%rsp)
  call   <strlen@plt>
  movslq %eax,%rdx
  test   %edx,%edx
  je     L185
  pxor   %xmm8,%xmm8
  movss  0xc(%rsp),%xmm0
  movss  0x10(%rsp),%xmm1
  cvtsi2ss %edx,%xmm8
  movss  0x14(%rsp),%xmm5
  movss  0x18(%rsp),%xmm4
  jle    L34
  movslq %edx,%rcx
  xor    %eax,%eax
  jmp    L96
  nopl   0x0(%rax,%rax,1)
L121:
  add    $0x1,%rax
  cmp    %rax,%rcx
  je     L34
L96:
  cmpb   $0x2e,(%r14,%rax,1)
  mov    %eax,%r15d
  jne    L121
  subss  D147(%rip),%xmm8
L187:
  cmpb   $0x2d,(%r14)
  jne    L140
  subss  D147(%rip),%xmm8
L140:
  comiss %xmm5,%xmm0
  jbe    L69
  movaps %xmm0,%xmm2
  movaps %xmm5,%xmm0
  movaps %xmm2,%xmm5
L69:
  comiss %xmm4,%xmm1
  jbe    L86
  movaps %xmm1,%xmm2
  movaps %xmm4,%xmm1
  movaps %xmm2,%xmm4
L86:
  movaps %xmm4,%xmm6
  movaps %xmm5,%xmm7
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm5,%xmm5
  subss  %xmm1,%xmm6
  pxor   %xmm1,%xmm1
  subss  %xmm0,%xmm7
  xor    %ebx,%ebx
  cvtss2sd %xmm8,%xmm1
  pxor   %xmm0,%xmm0
  pxor   %xmm9,%xmm9
  addsd  D11(%rip),%xmm1
  pxor   %xmm11,%xmm11
  cvtss2sd %xmm6,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm3
  pxor   %xmm0,%xmm0
  movaps %xmm3,%xmm1
  movss  %xmm3,0x30(%rsp)
  cvtss2sd %xmm7,%xmm0
  divsd  D27(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  cvtss2sd %xmm0,%xmm0
  mulsd  D83(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm9
  movaps %xmm9,%xmm2
  movss  D45(%rip),%xmm0
  subss  %xmm9,%xmm7
  movss  %xmm9,0xc(%rsp)
  divss  %xmm0,%xmm3
  cvtss2sd %xmm7,%xmm7
  mulsd  D136(%rip),%xmm7
  subsd  %xmm7,%xmm5
  cvtsd2ss %xmm5,%xmm5
  divss  %xmm0,%xmm2
  movaps %xmm1,%xmm0
  cvtss2sd %xmm1,%xmm1
  movapd %xmm1,%xmm10
  mulss  %xmm0,%xmm8
  movsd  %xmm1,0x20(%rsp)
  pxor   %xmm0,%xmm0
  movsd  D11(%rip),%xmm1
  mulsd  %xmm10,%xmm1
  subss  %xmm8,%xmm6
  cvtsd2ss %xmm1,%xmm11
  movsd  %xmm1,0x28(%rsp)
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm11,%xmm0
  cvtss2sd %xmm6,%xmm6
  mulsd  D136(%rip),%xmm6
  cvtss2sd %xmm4,%xmm1
  movss  %xmm11,0x34(%rsp)
  subsd  %xmm6,%xmm1
  subsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  cmp    $0xffffffff,%r15d
  je     L30
  lea    -0x1(%rdx),%ecx
  cmp    %ecx,%r15d
  jge    L90
  movslq %edx,%rax
  sub    $0x2,%edx
  movslq %ecx,%rcx
  mov    %r14,0x38(%rsp)
  lea    -0x2(%r14,%rax,1),%rax
  sub    %r15d,%edx
  lea    (%r14,%rcx,1),%rbp
  movss  %xmm5,0x1c(%rsp)
  sub    %rdx,%rax
  mov    %ebx,%r14d
  mov    %rbp,%rbx
  mov    %rax,%rbp
  cs nopw 0x0(%rax,%rax,1)
L181:
  movslq %r14d,%rsi
  movsbl (%rbx),%edi
  movss  0x1c(%rsp),%xmm0
  sub    $0x1,%rbx
  shl    $0x2,%rsi
  movss  %xmm3,0x18(%rsp)
  lea    0x0(%r13,%rsi,1),%rdx
  add    %r12,%rsi
  movss  %xmm2,0x14(%rsp)
  movss  %xmm1,0x10(%rsp)
  call   <plot_digit_wierd@plt>
  movss  0x10(%rsp),%xmm1
  movss  0x14(%rsp),%xmm2
  add    %eax,%r14d
  cmp    %rbx,%rbp
  subss  0xc(%rsp),%xmm1
  movss  0x18(%rsp),%xmm3
  jne    L181
  movslq %r14d,%rax
  movss  0x1c(%rsp),%xmm5
  mov    0x38(%rsp),%r14
  movslq %r15d,%rdx
  mov    %rax,%rbx
  shl    $0x2,%rax
  lea    (%r12,%rax,1),%r8
  lea    0x0(%r13,%rax,1),%rdi
  add    $0x4,%ebx
  lea    0x4(%rax),%rsi
  lea    0x8(%rax),%rcx
  add    $0xc,%rax
L130:
  pxor   %xmm8,%xmm8
  movsd  D59(%rip),%xmm4
  pxor   %xmm0,%xmm0
  movsd  0x20(%rsp),%xmm12
  cvtss2sd 0xc(%rsp),%xmm8
  cvtss2sd %xmm5,%xmm0
  movapd %xmm0,%xmm6
  movss  0x34(%rsp),%xmm13
  mulsd  %xmm8,%xmm4
  mulsd  D11(%rip),%xmm8
  addss  %xmm13,%xmm1
  subsd  %xmm4,%xmm6
  pxor   %xmm4,%xmm4
  subsd  %xmm8,%xmm0
  cvtss2sd %xmm1,%xmm4
  movapd %xmm4,%xmm7
  movsd  D58(%rip),%xmm8
  subsd  0x28(%rsp),%xmm7
  subss  %xmm13,%xmm1
  mulsd  %xmm12,%xmm8
  cvtsd2ss %xmm6,%xmm6
  movss  %xmm6,(%r8)
  cvtsd2ss %xmm0,%xmm0
  cvtsd2ss %xmm7,%xmm7
  movss  %xmm7,(%rdi)
  cvtss2sd %xmm1,%xmm1
  movss  %xmm0,(%r12,%rsi,1)
  subsd  %xmm8,%xmm4
  cvtsd2ss %xmm4,%xmm4
  movss  %xmm4,0x0(%r13,%rsi,1)
  movss  %xmm0,(%r12,%rcx,1)
  movsd  D136(%rip),%xmm0
  movss  %xmm7,0x0(%r13,%rcx,1)
  mulsd  %xmm12,%xmm0
  movss  %xmm6,(%r12,%rax,1)
  movss  %xmm4,0x0(%r13,%rax,1)
  subsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
L30:
  mov    %edx,%eax
  sub    $0x1,%eax
  js     L9
  movslq %eax,%r15
  lea    -0x2(%r14,%rdx,1),%rbp
  mov    %eax,%eax
  add    %r14,%r15
  sub    %rax,%rbp
  jmp    L113
  nopl   (%rax)
L128:
  movaps %xmm5,%xmm0
  movss  %xmm3,0x1c(%rsp)
  movss  %xmm2,0x18(%rsp)
  movss  %xmm1,0x14(%rsp)
  movss  %xmm5,0x10(%rsp)
  call   <plot_digit_wierd@plt>
  movss  0x14(%rsp),%xmm1
  subss  0x30(%rsp),%xmm1
  movss  0x10(%rsp),%xmm5
  movss  0x18(%rsp),%xmm2
  add    %eax,%ebx
  movss  0x1c(%rsp),%xmm3
L12:
  sub    $0x1,%r15
  cmp    %r15,%rbp
  je     L9
L113:
  movslq %ebx,%rax
  movsbl (%r15),%edi
  shl    $0x2,%rax
  lea    (%r12,%rax,1),%rsi
  lea    0x0(%r13,%rax,1),%rdx
  cmp    $0x2d,%dil
  jne    L128
  pxor   %xmm4,%xmm4
  movsd  D99(%rip),%xmm6
  pxor   %xmm0,%xmm0
  add    $0x2,%ebx
  cvtss2sd 0xc(%rsp),%xmm4
  mulsd  0x20(%rsp),%xmm6
  cvtss2sd %xmm5,%xmm0
  mulsd  D136(%rip),%xmm4
  subsd  %xmm4,%xmm0
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm1,%xmm4
  subsd  %xmm6,%xmm4
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rsi)
  cvtsd2ss %xmm4,%xmm4
  movss  %xmm4,(%rdx)
  movss  %xmm0,0x4(%r12,%rax,1)
  movss  %xmm1,0x4(%r13,%rax,1)
  jmp    L12
  xchg   %ax,%ax
L185:
  xor    %ebx,%ebx
L9:
  add    $0x48,%rsp
  mov    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L34:
  mov    $0xffffffff,%r15d
  jmp    L187
L90:
  movslq %ecx,%rdx
  mov    %r13,%rdi
  mov    %r12,%r8
  mov    $0x4,%ebx
  mov    $0xc,%eax
  mov    $0x8,%ecx
  mov    $0x4,%esi
  jmp    L130
```

tool_calls: name: parse_data
arguments: label: D147
data_type: f32
name: parse_data
arguments: label: D11
data_type: f64
name: parse_data
arguments: label: D27
data_type: f64
name: parse_data
arguments: label: D83
data_type: f64
name: parse_data
arguments: label: D45
data_type: f32
name: parse_data
arguments: label: D136
data_type: byte[8]
name: parse_data
arguments: label: D59
data_type: f64
name: parse_data
arguments: label: D58
data_type: f64
name: parse_data
arguments: label: D99
data_type: f64

tool: D147: 0.5

tool: D11: 0.2

tool: D27: 1.2

tool: D83: 0.8

tool: D45: 10

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

tool: D59: 0.1

tool: D58: 0.3

tool: D99: 0.4

assistant: ```c
int plot_label_wierd(char *lbl_str, float xk, float yk, float xm, float ym, float vx[], float vy[]) {
  float hr, hc, 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);
  hgt *= 0.8;
  hc = h / 10.0;
  hr = hgt / 10.0;
  gap = h * 0.2;
  row = xm - (0.5 * (xmk - hgt));
  col = ym - (0.5 * (ymk - (width * h))) - gap;
  i = len;
  if (idot >= 0) {
    while (--i > idot) {
      num += plot_digit_wierd(lbl_str[i], row, col, hr, hc, (vx + num), (vy + num));
      col -= hgt;
    }
    col += gap;
    vx[num] = row - 0.1 * hgt;
    vy[num] = col - 0.2 * h;
    num++;
    vx[num] = row - 0.2 * hgt;
    vy[num] = col - 0.3 * h;
    num++;
    vx[num] = row - 0.2 * hgt;
    vy[num] = col - 0.2 * h;
    num++;
    vx[num] = row - 0.1 * hgt;
    vy[num] = col - 0.3 * h;
    num++;
    col -= gap;
    col -= 0.5 * h;
  }
  while (--i >= 0) {
    if (lbl_str[i] != '-') {
      num += plot_digit_wierd(lbl_str[i], row, col, hr, hc, (vx + num), (vy + num));
      col -= h;
    } else {
      vx[num] = row - 0.5 * hgt;
      vy[num] = col - 0.4 * h;
      num++;
      vx[num] = row - 0.5 * hgt;
      vy[num] = col;
      num++;
    }
  }
  return num;
}
```