user: What would the C source look like for the assembly code provided here:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x420,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x418(%rbp)
  movq   $0x0,-0x410(%rbp)
  movq   $0x0,-0x408(%rbp)
  lea    -0x400(%rbp),%rdx
  mov    $0x0,%eax
  mov    $0x7e,%ecx
  mov    %rdx,%rdi
  rep stos %rax,%es:(%rdi)
  movl   $0x0,-0x41c(%rbp)
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L60:
  mov    $0xb4,%edi
  call   <sleep@plt>
  addl   $0x1,-0x41c(%rbp)
  mov    -0x41c(%rbp),%eax
  mov    %eax,%esi
  lea    D97(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D130(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movq   $0x0,-0x418(%rbp)
  lea    D153(%rip),%rax
  mov    %rax,%rsi
  lea    D136(%rip),%rax
  mov    %rax,%rdi
  call   <popen@plt>
  mov    %rax,-0x418(%rbp)
  cmpq   $0x0,-0x418(%rbp)
  jne    L48
  lea    D100(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L48:
  lea    -0x410(%rbp),%rax
  mov    $0x400,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x418(%rbp),%rdx
  lea    -0x410(%rbp),%rax
  mov    %rdx,%rcx
  mov    $0x400,%edx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <fread@plt>
  movb   $0x0,-0x11(%rbp)
  lea    -0x420(%rbp),%rdx
  lea    -0x410(%rbp),%rax
  lea    D167(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  mov    -0x418(%rbp),%rax
  mov    %rax,%rdi
  call   <pclose@plt>
  mov    -0x420(%rbp),%eax
  mov    %eax,%esi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x420(%rbp),%eax
  test   %eax,%eax
  jne    L54
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <sys_log@plt>
L54:
  mov    -0x420(%rbp),%eax
  test   %eax,%eax
  jle    L32
  mov    -0x41c(%rbp),%edx
  movslq %edx,%rax
  imul   $0xffffffff88888889,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x5,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  imul   $0x3c,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%esi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D83(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <check_udpget_memory@plt>
  cmp    $0x1,%eax
  jne    L45
  lea    D133(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D10(%rip),%rax
  mov    %rax,%rdi
  call   <sys_log@plt>
  lea    D162(%rip),%rax
  mov    %rax,%rdi
  call   <system@plt>
  movl   $0x0,-0x420(%rbp)
  jmp    L32
L45:
  lea    D88(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L32:
  mov    -0x420(%rbp),%eax
  test   %eax,%eax
  jne    L60
  mov    $0x2,%edi
  call   <sleep@plt>
  lea    D56(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D103(%rip),%rax
  mov    %rax,%rdi
  call   <system@plt>
  movl   $0x0,-0x41c(%rbp)
  jmp    L60
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D81
data_type: string
name: extract_symbolic_data
arguments: data_tag: D78
data_type: string
name: extract_symbolic_data
arguments: data_tag: D97
data_type: string
name: extract_symbolic_data
arguments: data_tag: D130
data_type: string
name: extract_symbolic_data
arguments: data_tag: D153
data_type: string
name: extract_symbolic_data
arguments: data_tag: D136
data_type: string
name: extract_symbolic_data
arguments: data_tag: D100
data_type: string
name: extract_symbolic_data
arguments: data_tag: D167
data_type: string
name: extract_symbolic_data
arguments: data_tag: D26
data_type: string
name: extract_symbolic_data
arguments: data_tag: D54
data_type: string
name: extract_symbolic_data
arguments: data_tag: D19
data_type: string
name: extract_symbolic_data
arguments: data_tag: D0
data_type: string
name: extract_symbolic_data
arguments: data_tag: D83
data_type: string
name: extract_symbolic_data
arguments: data_tag: D15
data_type: string
name: extract_symbolic_data
arguments: data_tag: D133
data_type: string
name: extract_symbolic_data
arguments: data_tag: D10
data_type: string
name: extract_symbolic_data
arguments: data_tag: D162
data_type: string
name: extract_symbolic_data
arguments: data_tag: D88
data_type: string
name: extract_symbolic_data
arguments: data_tag: D56
data_type: string
name: extract_symbolic_data
arguments: data_tag: D103
data_type: string

tool: D81: **********************************

tool: D78: udp_daemon : start

tool: D97: **********loop : %d**************


tool: D130: ---------check udp_get-----------

tool: D153: r

tool: D136: ps -ef | grep 'udp_get' | grep -v 'grep' | grep -v 'sh -c' | awk '{print $2}' | wc -l

tool: D100: popen failed

tool: D167: %d

tool: D26: udp_get process : %d


tool: D54: udp_get : down, restart again...

tool: D19: udp_get : down!

tool: D0: loop : %d


tool: D83: udp_get : ok!

tool: D15: udp_get : check memory usage...

tool: D133: udp_get : memory alert!!!!!!

tool: D10: udp_get memory alert! restart immediately!

tool: D162: killall udp_get

tool: D88: udp_get memory : ok!

tool: D56: udp_get start...

tool: D103: /ailvgo/system/traffic/udp_get &

assistant: ```c
main() {
  FILE *stream = NULL;
  char buf[1024] = {0};
  int cnt_udp_get;
  int loop = 0;
  printf("**********************************\n");
  printf("udp_daemon : start\n");
  printf("**********************************\n");
  while (1) {
    sleep(180);
    loop++;
    printf("**********loop : %d**************\n", loop);
    printf("---------check udp_get-----------\n");
    stream = NULL;
    if ((stream = popen("ps -ef | grep 'udp_get' | grep -v 'grep' | grep -v 'sh -c' | awk '{print $2}' | wc -l", "r")) == NULL)
      printf("popen failed\n");
    memset(buf, 0, sizeof(buf));
    fread(buf, sizeof(char), sizeof(buf), stream);
    buf[1023] = '\0';
    sscanf(buf, "%d", &cnt_udp_get);
    pclose(stream);
    printf("udp_get process : %d\n", cnt_udp_get);
    if (cnt_udp_get == 0) {
      printf("udp_get : down, restart again...\n");
      sys_log("udp_get : down!");
    }
    if (cnt_udp_get >= 1) {
      printf("loop : %d\n", loop % 60);
      printf("udp_get : ok!\n");
      printf("udp_get : check memory usage...\n");
      if (check_udpget_memory() == 1) {
        printf("udp_get : memory alert!!!!!!\n");
        sys_log("udp_get memory alert! restart immediately!");
        system("killall udp_get");
        cnt_udp_get = 0;
      } else
        printf("udp_get memory : ok!\n");
    }
    if (cnt_udp_get == 0) {
      sleep(2);
      printf("udp_get start...\n");
      system("/ailvgo/system/traffic/udp_get &");
      loop = 0;
    }
  }
  printf("------------udp_daemon : over------------\n");
  return 0;
}
```