user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    0x10(%rsi),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <atoi@plt>
  mov    0x8(%rbp),%rdi
  mov    %eax,0xc(%rsp)
  call   <atof@plt>
  cvttss2si %xmm0,%ebp
  movss  %xmm0,0x10(%rsp)
  add    $0x1,%ebp
  lea    0x0(,%rbp,8),%edi
  call   <malloc@plt>
  mov    %rax,%r15
  xor    %eax,%eax
  call   <get_nprocs_conf@plt>
  movss  D13(%rip),%xmm3
  mov    %eax,%r12d
  movss  %xmm3,0x8(%rsp)
  cmp    %eax,%ebp
  jg     L39
  pxor   %xmm1,%xmm1
  movss  0x10(%rsp),%xmm0
  mov    %ebp,%r12d
  cvtsi2ss %ebp,%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,0x8(%rsp)
L39:
  lea    D25(%rip),%rsi
  lea    D47(%rip),%rdi
  call   <fopen@plt>
  lea    D61(%rip),%rsi
  lea    D35(%rip),%rdi
  mov    %rax,%r13
  call   <fopen@plt>
  mov    $0xc,%edi
  mov    %rax,%r14
  call   <malloc@plt>
  mov    %rax,%rbp
  movabs $0x400000002,%rax
  mov    %rax,0x0(%rbp)
  movl   $0x0,0x8(%rbp)
  test   %r12d,%r12d
  jle    L34
  lea    -0x1(%r12),%eax
  lea    0x8(%r15,%rax,8),%r12
  jmp    L42
  nopl   0x0(%rax)
L3:
  add    $0x8,%r15
  cmp    %r15,%r12
  je     L34
L42:
  xor    %eax,%eax
  call   <fork@plt>
  mov    %rax,(%r15)
  test   %rax,%rax
  jne    L3
  lea    0x24(%rsp),%rax
  xor    %r12d,%r12d
  mov    %rax,0x18(%rsp)
  lea    0x20(%rsp),%rax
  mov    %rax,0x10(%rsp)
  nopl   0x0(%rax,%rax,1)
L59:
  xor    %eax,%eax
  call   <clock@plt>
  mov    0x18(%rsp),%rcx
  mov    0x10(%rsp),%rdx
  mov    %r13,%rdi
  lea    D9(%rip),%rsi
  call   <fscanf@plt>
  movss  D38(%rip),%xmm0
  mulss  0x8(%rsp),%xmm0
  mov    $0x64,%r8d
  cvttss2si %xmm0,%eax
  sub    %eax,%r8d
  imul   $0x2710,%r8d,%r15d
  test   %eax,%eax
  jle    L24
  mov    0x0(%rbp),%eax
  imul   0x4(%rbp),%eax
  mov    0x24(%rsp),%ebx
  add    0x20(%rsp),%ebx
  mov    %eax,0x8(%rbp)
  add    %eax,%ebx
L24:
  mov    %ebx,%edx
  lea    D29(%rip),%rsi
  mov    %r14,%rdi
  add    $0x1,%r12d
  call   <fprintf@plt>
  xor    %eax,%eax
  call   <clock@plt>
  mov    %r15d,%edi
  call   <usleep@plt>
  cmp    %r12d,0xc(%rsp)
  jg     L59
  jmp    L30
L34:
  mov    %r13,%rdi
  call   <fclose@plt>
  mov    %r14,%rdi
  call   <fclose@plt>
L30:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L73
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L73:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D13
type_guessed: f32
name: unpack_data
arguments: tag: D25
type_guessed: string
name: unpack_data
arguments: tag: D47
type_guessed: string
name: unpack_data
arguments: tag: D61
type_guessed: string
name: unpack_data
arguments: tag: D35
type_guessed: string
name: unpack_data
arguments: tag: D9
type_guessed: string
name: unpack_data
arguments: tag: D38
type_guessed: byte[4]
name: unpack_data
arguments: tag: D29
type_guessed: string

tool: D13: 1

tool: D25: r

tool: D47: tax_info.txt

tool: D61: w+

tool: D35: tax_report.txt

tool: D9: %d %d

tool: {"D38": [0x00,0x00,0xc8,0x42]}

tool: D29: %d


assistant: ```c
int main(int argc, char *argv[]) {
  int interval = atoi(argv[2]);
  float input = atof(argv[1]);
  int cores = (int)input + 1;
  float cpuUsage = input / cores;
  pid_t *pids = (pid_t *)malloc(sizeof(pid_t) * cores);
  int noCpu = get_nprocs_conf();
  if (cores > noCpu) {
    cores = noCpu;
    cpuUsage = 1.0;
  }
  int i = 0;
  long magicPer01 = 4233779;
  int ratioCpu;
  int sleepTime;
  int elapsedTime = 0;
  clock_t start;
  clock_t end;
  double time;
  FILE *tax_info = fopen("tax_info.txt", "r");
  FILE *tax_report = fopen("tax_report.txt", "w+");
  int tax_state;
  int tax_fed;
  int tax_total;
  int *tax_additional = (int *)malloc(sizeof(int) * 3);
  tax_additional[0] = 2;
  tax_additional[1] = 4;
  tax_additional[2] = 0;
  for (i = 0; i < cores; i++) {
    pids[i] = fork();
    if (pids[i] == 0) {
      while (1) {
        start = clock();
        fscanf(tax_info, "%d %d", &tax_state, &tax_fed);
        ratioCpu = (int)(cpuUsage * 100);
        sleepTime = (100 - ratioCpu) * 10000;
        for (i = 0; i < magicPer01 * ratioCpu; i++) {
          tax_total = tax_state + tax_fed;
          tax_additional[2] = tax_additional[0] * tax_additional[1];
          tax_total = tax_total + tax_additional[2];
        }
        fprintf(tax_report, "%d\n", tax_total);
        end = clock();
        time = (double)(end - start) / (CLOCKS_PER_SEC);
        usleep(sleepTime);
        elapsedTime++;
        if (elapsedTime >= interval) {
          elapsedTime = 0;
          return 0;
        }
      }
      fclose(tax_info);
      fclose(tax_report);
      return 0;
    }
  }
  fclose(tax_info);
  fclose(tax_report);
  return 0;
}
```