user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  cmp    $0x2,%edi
  je     L1
  cmp    $0x5,%edi
  jne    L82
L80:
  mov    0x8(%rbx),%rdi
  lea    D30(%rip),%rsi
  call   <fopen@plt>
  mov    %rax,%r13
  mov    0x10(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,0x8(%rsp)
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,0xc(%rsp)
  mov    0x20(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%ebp
  test   %eax,%eax
  je     L115
  mov    $0x0,%ebx
  lea    D64(%rip),%r12
L132:
  lea    0x20(%rsp),%rdx
  mov    %r12,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  add    $0x1,%ebx
  cmp    %ebx,%ebp
  jne    L132
L115:
  lea    D121(%rip),%rsi
  lea    D93(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%r12
  movl   $0x0,0x4(%rsp)
  movl   $0x0,(%rsp)
  lea    0x18(%rsp),%r15
  lea    D87(%rip),%r14
  cmpl   $0x0,0x8(%rsp)
  jne    L67
L60:
  mov    %r12,%rdi
  call   <fclose@plt>
  mov    %r13,%rdi
  call   <fclose@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L18
  mov    $0x0,%eax
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L1:
  mov    0x8(%rsi),%rdi
  lea    D14(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L63
L82:
  lea    D102(%rip),%rdi
  call   <printf@plt>
  lea    D51(%rip),%rdi
  call   <errorHandler@plt>
  jmp    L80
L63:
  lea    D79(%rip),%rdi
  call   <printf@plt>
  lea    D82(%rip),%rdi
  call   <printf@plt>
  lea    D112(%rip),%rdi
  call   <printf@plt>
  lea    D37(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%edi
  call   <exit@plt>
  jmp    L80
L45:
  addl   $0x1,0x4(%rsp)
  mov    0x4(%rsp),%eax
  cmp    %eax,0x8(%rsp)
  je     L60
L67:
  mov    $0x0,%ebx
  test   %ebp,%ebp
  je     L68
L61:
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  movsd  0x18(%rsp),%xmm0
  lea    D16(%rip),%rsi
  mov    %r12,%rdi
  mov    $0x1,%eax
  call   <fprintf@plt>
  add    $0x1,%ebx
  cmp    %ebx,%ebp
  jne    L61
L68:
  mov    %r12,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  addl   $0x1,(%rsp)
  mov    (%rsp),%eax
  cmp    %eax,0xc(%rsp)
  jne    L45
  mov    %r12,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  movl   $0x0,(%rsp)
  jmp    L45
L18:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D30
datatype: string
name: parse_data
arguments: tag: D64
datatype: string
name: parse_data
arguments: tag: D121
datatype: string
name: parse_data
arguments: tag: D93
datatype: string
name: parse_data
arguments: tag: D87
datatype: string
name: parse_data
arguments: tag: D14
datatype: string
name: parse_data
arguments: tag: D102
datatype: string
name: parse_data
arguments: tag: D51
datatype: string
name: parse_data
arguments: tag: D79
datatype: string
name: parse_data
arguments: tag: D82
datatype: string
name: parse_data
arguments: tag: D112
datatype: string
name: parse_data
arguments: tag: D37
datatype: string
name: parse_data
arguments: tag: D16
datatype: string

tool: D30: r

tool: D64: %s

tool: D121: w

tool: D93: temp.gnu

tool: D87: %le

tool: D14: -h

tool: D102: 

Correct syntax is:

	./gplotForm filename N nrows ncols.


tool: D51: Type './sep -h' for help.


tool: D79: 

Call as:

	./gplotForm filename N nrows ncols.


tool: D82: 
Inserts a blank row every nrows for all ncols in filename

tool: D112:  for all N rows in
the file. Input file is not altered in 

tool: D37: any way. Output file is by default
called 'temp.gnu'.



tool: D16: %le	

assistant: ```c
int main(int argc, char *argv[]) {
  FILE *fIn, *fOut, *fTmp;
  char cBuffer[32];
  unsigned int count, i, j, k, N, nrows, ncols;
  double data;
  if (argc == 2 && strcmp(argv[1], "-h") == 0) {
    printf("\n\nCall as:\n\n\t./gplotForm filename N nrows ncols.\n");
    printf("\nInserts a blank row every nrows for all ncols in filename");
    printf(" for all N rows in\nthe file. Input file is not altered in ");
    printf("any way. Output file is by default\ncalled 'temp.gnu'.\n\n");
    exit(0);
  } else if (argc != 5) {
    printf("\n\nCorrect syntax is:\n\n\t./gplotForm filename N nrows ncols.\n");
    errorHandler("Type './sep -h' for help.\n");
  }
  fIn = fopen(argv[1], "r");
  N = atoi(argv[2]);
  nrows = atoi(argv[3]);
  ncols = atoi(argv[4]);
  for (i = 0; i < ncols; i++)
    fscanf(fIn, "%s", cBuffer);
  fOut = fopen("temp.gnu", "w");
  count = 0;
  for (j = 0; j < N; j++) {
    for (k = 0; k < ncols; k++) {
      fscanf(fIn, "%le", &data);
      fprintf(fOut, "%le\t", data);
    }
    fprintf(fOut, "\n");
    count++;
    if (count == nrows) {
      count = 0;
      fprintf(fOut, "\n");
    }
  }
  fclose(fOut);
  fclose(fIn);
  return 0;
}
```