user: 下面的汇编指令对应的C源代码是什么：

```asm
<main>:
  endbr64
  push   %r13
  lea    D19(%rip),%rdi
  lea    D90(%rip),%rsi
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  movl   $0x1,(%rsp)
  movl   $0x1,0x4(%rsp)
  call   <fopen@plt>
  mov    %rax,%rdi
  mov    %rax,%r12
  call   <sendto@plt>
  test   %rax,%rax
  je     L42
L40:
  lea    D87(%rip),%rsi
  xor    %edi,%edi
  lea    0x4(%rsp),%rbx
  call   <smpl@plt>
  lea    D70(%rip),%rbp
  mov    $0x1,%esi
  mov    %rbp,%rdi
  call   <facility@plt>
  mov    $0x1,%edi
  call   <stream@plt>
  mov    0x4(%rsp),%esi
  pxor   %xmm0,%xmm0
  mov    $0x1,%edi
  call   <schedule@plt>
  nopw   0x0(%rax,%rax,1)
L72:
  xor    %eax,%eax
  call   <time@plt>
  movsd  D61(%rip),%xmm1
  comisd %xmm0,%xmm1
  jbe    L44
  mov    %rsp,%rdi
  mov    %rbx,%rsi
  call   <cause@plt>
  mov    (%rsp),%eax
  cmp    $0x2,%eax
  je     L6
  cmp    $0x3,%eax
  je     L80
  cmp    $0x1,%eax
  jne    L72
  mov    0x4(%rsp),%esi
  mov    $0x2,%edi
  pxor   %xmm0,%xmm0
  call   <schedule@plt>
  mov    0x4(%rsp),%r13d
  movss  D114(%rip),%xmm0
  call   <expntl@plt>
  mov    %r13d,%esi
  mov    $0x1,%edi
  call   <schedule@plt>
  jmp    L72
  nopl   0x0(%rax)
L80:
  mov    0x4(%rsp),%esi
  mov    %rbp,%rdi
  call   <release@plt>
  jmp    L72
  xchg   %ax,%ax
L6:
  mov    0x4(%rsp),%edx
  xor    %ecx,%ecx
  mov    $0x2,%esi
  mov    %rbp,%rdi
  call   <request@plt>
  test   %eax,%eax
  jne    L72
  mov    0x4(%rsp),%r13d
  movss  D114(%rip),%xmm0
  call   <expntl@plt>
  mov    %r13d,%esi
  mov    $0x3,%edi
  call   <schedule@plt>
  jmp    L72
  nop
L44:
  xor    %eax,%eax
  call   <time@plt>
  lea    D8(%rip),%rsi
  mov    %r12,%rdi
  call   <fprintf@plt>
  mov    %rbp,%rdi
  call   <utilizacao_recurso@plt>
  lea    D89(%rip),%rsi
  mov    %r12,%rdi
  call   <fprintf@plt>
  mov    %rbp,%rdi
  call   <comprimento_medio_fila@plt>
  lea    D104(%rip),%rsi
  mov    %r12,%rdi
  call   <fprintf@plt>
  mov    %rbp,%rdi
  call   <periodo_medio_ocupado@plt>
  mov    %r12,%rdi
  lea    D15(%rip),%rsi
  call   <fprintf@plt>
  mov    %r12,%rdi
  call   <fclose@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L106
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L42:
  lea    D105(%rip),%rdi
  call   <printf@plt>
  jmp    L40
L106:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D19
type: string
name: unpack_data
arguments: tag: D90
type: string
name: unpack_data
arguments: tag: D87
type: string
name: unpack_data
arguments: tag: D70
type: string
name: unpack_data
arguments: tag: D61
type: f64
name: unpack_data
arguments: tag: D114
type: f32
name: unpack_data
arguments: tag: D8
type: string
name: unpack_data
arguments: tag: D89
type: string
name: unpack_data
arguments: tag: D104
type: string
name: unpack_data
arguments: tag: D15
type: string
name: unpack_data
arguments: tag: D105
type: string

tool: D19: TESTE.out

tool: D90: w

tool: D87:  TESTE

tool: D70: CS_0

tool: D61: 100000

tool: D114: 10

tool: D8: TempoSimulado: %f


tool: D89: Utilizacao ("CS_0") = %g


tool: D104: Comprimento medio fila ("CS_0") = %g


tool: D15: Periodo medio ocupado ("CS_0") = %g


tool: D105: Erro na saida 


assistant: ```c
main() {
  float Te = 100000;
  int Event = 1, Customer = 1, Aleatorio;
  float Ta0 = 10, Ts0 = 10;
  int i = 0;
  FILE *p, *saida;
  saida = fopen("TESTE.out", "w");
  if ((p = sendto(saida)) == NULL)
    printf("Erro na saida \n");
  smpl(0, " TESTE");
  facility("CS_0", 1);
  stream(1);
  schedule(1, 0.0, Customer);
  while ((time() < Te)) {
    cause(&Event, &Customer);
    switch (Event) {
    case 1:
      schedule(2, 0.0, Customer);
      schedule(1, expntl(Ta0), Customer);
      break;
    case 2:
      if (request("CS_0", Event, Customer, 0) == 0)
        schedule(3, expntl(Ts0), Customer);
      break;
    case 3:
      release("CS_0", Customer);
      break;
    }
  }
  fprintf(saida, "TempoSimulado: %f\n", time());
  fprintf(saida, "Utilizacao (\"CS_0\") = %g\n", utilizacao_recurso("CS_0"));
  fprintf(saida, "Comprimento medio fila (\"CS_0\") = %g\n", comprimento_medio_fila("CS_0"));
  fprintf(saida, "Periodo medio ocupado (\"CS_0\") = %g\n", periodo_medio_ocupado("CS_0"));
  fclose(saida);
}
```