user: 请从给定的汇编指令推导出C源代码：

```asm
<ffbnfm>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xd8,%rsp
  mov    %rsi,0x8(%rsp)
  mov    %r8,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xc8(%rsp)
  xor    %eax,%eax
  mov    (%r8),%eax
  test   %eax,%eax
  jg     L431
  mov    %rdi,%rbp
  mov    %rdx,%r14
  mov    %rcx,%r15
  test   %rsi,%rsi
  je     L466
  movl   $0x0,(%rsi)
L466:
  test   %r14,%r14
  je     L30
  movq   $0x0,(%r14)
L30:
  test   %r15,%r15
  je     L246
  movq   $0x0,(%r15)
L246:
  mov    %rbp,%rdi
  call   <strlen@plt>
  test   %rax,%rax
  je     L185
  mov    $0x0,%esi
L323:
  cmpb   $0x20,0x0(%rbp,%rsi,1)
  jne    L226
  add    $0x1,%rsi
  cmp    %rsi,%rax
  jne    L323
L185:
  lea    D6(%rip),%rdi
  call   <ffpmsg@plt>
  mov    (%rsp),%rax
  movl   $0x105,(%rax)
  mov    $0x105,%eax
  jmp    L431
L226:
  cmp    %rsi,%rax
  je     L185
  sub    %rsi,%rax
  cmp    $0x46,%rax
  ja     L127
  add    %rbp,%rsi
  lea    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strcpy@plt>
  mov    %rbx,%rdi
  call   <ffupch@plt>
  mov    $0x0,%r12d
  jmp    L143
L127:
  lea    D35(%rip),%rdi
  call   <ffpmsg@plt>
  mov    (%rsp),%rax
  movl   $0x105,(%rax)
  mov    $0x105,%eax
  jmp    L431
L194:
  add    $0x1,%r12
L143:
  mov    %rbx,%r13
  movsbl (%rbx),%edi
  call   <isdigit@plt>
  add    $0x1,%rbx
  test   %rax,%rax
  jne    L194
  test   %r12,%r12
  jne    L254
  movq   $0x1,0x18(%rsp)
L325:
  movzbl 0x0(%r13),%eax
  sub    $0x50,%eax
  cmp    $0x1,%al
  jbe    L212
  movzbl 0x0(%r13),%eax
  mov    $0x0,%ebx
  cmp    $0x55,%al
  je     L244
L209:
  sub    $0x41,%eax
  cmp    $0x17,%al
  ja     L288
  movzbl %al,%eax
  lea    D45(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
L254:
  lea    0x18(%rsp),%rdx
  lea    0x20(%rsp),%rdi
  lea    D10(%rip),%rsi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L325
  lea    D25(%rip),%rdi
  call   <ffpmsg@plt>
  mov    (%rsp),%rax
  movl   $0x105,(%rax)
  mov    $0x105,%eax
  jmp    L431
L212:
  lea    0x1(%r13),%rdx
  movzbl 0x1(%r13),%eax
  cmp    $0x55,%al
  je     L269
  mov    %rdx,%r13
  mov    $0x1,%ebx
  jmp    L209
  mov    $0x8,%edx
  mov    $0x50,%eax
L77:
  mov    %rdx,0x10(%rsp)
  test   %ebx,%ebx
  je     L204
L36:
  neg    %eax
L204:
  mov    0x8(%rsp),%rcx
  test   %rcx,%rcx
  je     L333
  mov    %eax,(%rcx)
L333:
  test   %r14,%r14
  je     L32
  mov    0x18(%rsp),%rax
  mov    %rax,(%r14)
L32:
  test   %r15,%r15
  je     L38
  mov    0x10(%rsp),%rax
  mov    %rax,(%r15)
L38:
  mov    (%rsp),%rax
  mov    (%rax),%eax
L431:
  mov    0xc8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L407
  add    $0xd8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  mov    $0x4,%edx
  mov    $0x29,%eax
  jmp    L77
  mov    $0x8,%edx
  mov    $0x51,%eax
  jmp    L77
  mov    $0x4,%edx
  mov    $0x2a,%eax
  jmp    L77
  mov    $0x8,%edx
  mov    $0x52,%eax
  jmp    L77
  movzbl 0x1(%r13),%eax
  test   %al,%al
  je     L119
  cmp    $0x28,%al
  sete   %al
  movzbl %al,%eax
  lea    0x10(%rsp),%rdx
  lea    0x1(%r13,%rax,1),%rdi
  lea    D10(%rip),%rsi
  call   <sscanf@plt>
  cmp    $0x1,%eax
  je     L414
L119:
  mov    0x18(%rsp),%rdx
  mov    $0x10,%eax
  jmp    L77
L414:
  test   %ebx,%ebx
  jne    L229
  mov    $0x10,%eax
  mov    0x18(%rsp),%rcx
  cmp    %rcx,0x10(%rsp)
  jle    L204
  jmp    L119
  mov    $0x1,%edx
  mov    $0xe,%eax
  jmp    L77
  mov    $0x1,%edx
  mov    $0x1,%eax
  jmp    L77
  mov    $0x1,%edx
  mov    $0xb,%eax
  jmp    L77
  mov    $0x1,%edx
  mov    $0xc,%eax
  jmp    L77
  mov    $0x8,%edx
  mov    $0x53,%eax
  jmp    L77
  mov    $0x10,%edx
  mov    $0xa3,%eax
  jmp    L77
L288:
  lea    0x70(%rsp),%rbx
  mov    %rbp,%rcx
  lea    D13(%rip),%rdx
  mov    $0x51,%esi
  mov    %rbx,%rdi
  call   <snprintf@plt>
  mov    %rbx,%rdi
  call   <ffpmsg@plt>
  mov    (%rsp),%rax
  movl   $0x106,(%rax)
  mov    $0x106,%eax
  jmp    L431
  mov    $0x2,%edx
  mov    $0x15,%eax
  jmp    L77
  mov    $0x4,%edx
  mov    $0x28,%eax
  jmp    L77
L229:
  mov    $0x10,%eax
  jmp    L36
L244:
  movq   $0x2,0x10(%rsp)
  mov    $0x14,%eax
  jmp    L204
L269:
  movq   $0x2,0x10(%rsp)
  mov    $0x14,%eax
  jmp    L36
L407:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D6
data_type: string
name: parse_data
arguments: data_label: D35
data_type: string
name: parse_data
arguments: data_label: D10
data_type: string
name: parse_data
arguments: data_label: D25
data_type: string
name: parse_data
arguments: data_label: D13
data_type: string

tool: D6: Error: binary table TFORM code is blank (ffbnfm).

tool: D35: Error: binary table TFORM code is too long (ffbnfm).

tool: D10: %ld

tool: D25: Error: Bad repeat format in TFORM (ffbnfm).

tool: D13: Illegal binary table TFORMn datatype: '%s' 

assistant: ```c
int ffbnfm(char *tform, int *dtcode, long *trepeat, long *twidth, int *status) {
  size_t ii, nchar;
  int datacode, variable, iread;
  long width, repeat;
  char *form, temp[71], message[81];
  if (*status > 0)
    return (*status);
  if (dtcode)
    *dtcode = 0;
  if (trepeat)
    *trepeat = 0;
  if (twidth)
    *twidth = 0;
  nchar = strlen(tform);
  for (ii = 0; ii < nchar; ii++) {
    if (tform[ii] != ' ')
      break;
  }
  if (ii == nchar) {
    ffpmsg("Error: binary table TFORM code is blank (ffbnfm).");
    return (*status = 261);
  }
  if (nchar - ii > 71 - 1) {
    ffpmsg("Error: binary table TFORM code is too long (ffbnfm).");
    return (*status = 261);
  }
  strcpy(temp, &tform[ii]);
  ffupch(temp);
  form = temp;
  ii = 0;
  while (isdigit((int)form[ii]))
    ii++;
  if (ii == 0)
    repeat = 1;
  else {
    if (sscanf(form, "%ld", &repeat) != 1) {
      ffpmsg("Error: Bad repeat format in TFORM (ffbnfm).");
      return (*status = 261);
    }
  }
  form = form + ii;
  if (form[0] == 'P' || form[0] == 'Q') {
    variable = 1;
    form++;
  } else
    variable = 0;
  if (form[0] == 'U') {
    datacode = 20;
    width = 2;
  } else if (form[0] == 'I') {
    datacode = 21;
    width = 2;
  } else if (form[0] == 'V') {
    datacode = 40;
    width = 4;
  } else if (form[0] == 'W') {
    datacode = 80;
    width = 8;
  } else if (form[0] == 'J') {
    datacode = 41;
    width = 4;
  } else if (form[0] == 'K') {
    datacode = 81;
    width = 8;
  } else if (form[0] == 'E') {
    datacode = 42;
    width = 4;
  } else if (form[0] == 'D') {
    datacode = 82;
    width = 8;
  } else if (form[0] == 'A') {
    datacode = 16;
    iread = 0;
    if (form[1] != 0) {
      if (form[1] == '(')
        form++;
      iread = sscanf(&form[1], "%ld", &width);
    }
    if (iread != 1 || (!variable && (width > repeat)))
      width = repeat;
  } else if (form[0] == 'L') {
    datacode = 14;
    width = 1;
  } else if (form[0] == 'X') {
    datacode = 1;
    width = 1;
  } else if (form[0] == 'B') {
    datacode = 11;
    width = 1;
  } else if (form[0] == 'S') {
    datacode = 12;
    width = 1;
  } else if (form[0] == 'C') {
    datacode = 83;
    width = 8;
  } else if (form[0] == 'M') {
    datacode = 163;
    width = 16;
  } else {
    snprintf(message, 81, "Illegal binary table TFORMn datatype: \'%s\' ", tform);
    ffpmsg(message);
    return (*status = 262);
  }
  if (variable)
    datacode = datacode * (-1);
  if (dtcode)
    *dtcode = datacode;
  if (trepeat)
    *trepeat = repeat;
  if (twidth)
    *twidth = width;
  return (*status);
}
```