user: What is the c source code of the assembly code below:

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x7e,%ecx
  pxor   %xmm0,%xmm0
  lea    D72(%rip),%r15
  push   %r14
  lea    D111(%rip),%r14
  push   %r13
  lea    D59(%rip),%r13
  push   %r12
  push   %rbp
  lea    D161(%rip),%rbp
  push   %rbx
  sub    $0x438,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x428(%rsp)
  xor    %eax,%eax
  lea    0x30(%rsp),%rdi
  movaps %xmm0,0x20(%rsp)
  rep stos %rax,%es:(%rdi)
  mov    %rbp,%rdi
  call   <puts@plt>
  lea    D16(%rip),%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  lea    0x20(%rsp),%rbp
  call   <puts@plt>
  lea    0x1c(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   (%rax)
L77:
  xor    %ebx,%ebx
L66:
  mov    $0xb4,%edi
  add    $0x1,%ebx
  call   <sleep@plt>
  mov    %ebx,%esi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14,%rdi
  call   <puts@plt>
  mov    %r13,%rsi
  lea    D82(%rip),%rdi
  call   <popen@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L19
L24:
  mov    $0x400,%edx
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <memset@plt>
  mov    %r12,%rcx
  mov    $0x400,%edx
  mov    %rbp,%rdi
  mov    $0x1,%esi
  call   <fread@plt>
  mov    0x8(%rsp),%rdx
  mov    %rbp,%rdi
  lea    D123(%rip),%rsi
  movb   $0x0,0x41f(%rsp)
  call   <sscanf@plt>
  mov    %r12,%rdi
  call   <pclose@plt>
  mov    0x1c(%rsp),%esi
  lea    D60(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  je     L45
  jle    L66
L79:
  mov    $0x88888889,%ecx
  mov    %ebx,%eax
  lea    D33(%rip),%rdi
  mov    %ebx,%esi
  imul   %rcx,%rax
  shr    $0x25,%rax
  imul   $0x3c,%eax,%eax
  sub    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D145(%rip),%rdi
  call   <puts@plt>
  lea    D17(%rip),%rdi
  call   <puts@plt>
  xor    %eax,%eax
  call   <check_udpget_memory@plt>
  cmp    $0x1,%eax
  je     L56
  lea    D46(%rip),%rdi
  call   <puts@plt>
  mov    0x1c(%rsp),%eax
L71:
  test   %eax,%eax
  jne    L66
L95:
  mov    $0x2,%edi
  call   <sleep@plt>
  lea    D99(%rip),%rdi
  call   <puts@plt>
  lea    D100(%rip),%rdi
  call   <system@plt>
  jmp    L77
  nopl   (%rax)
L45:
  lea    D173(%rip),%rdi
  call   <puts@plt>
  lea    D156(%rip),%rdi
  call   <sys_log@plt>
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  jle    L71
  jmp    L79
  nopl   (%rax)
L19:
  lea    D179(%rip),%rdi
  call   <puts@plt>
  jmp    L24
  nopl   0x0(%rax)
L56:
  lea    D36(%rip),%rdi
  call   <puts@plt>
  lea    D52(%rip),%rdi
  call   <sys_log@plt>
  lea    D84(%rip),%rdi
  call   <system@plt>
  movl   $0x0,0x1c(%rsp)
  jmp    L95
```

tool_calls: name: retrieve_data
arguments: tag: D72
datatype: string
name: retrieve_data
arguments: tag: D111
datatype: string
name: retrieve_data
arguments: tag: D59
datatype: string
name: retrieve_data
arguments: tag: D161
datatype: string
name: retrieve_data
arguments: tag: D16
datatype: string
name: retrieve_data
arguments: tag: D82
datatype: string
name: retrieve_data
arguments: tag: D123
datatype: string
name: retrieve_data
arguments: tag: D60
datatype: string
name: retrieve_data
arguments: tag: D33
datatype: string
name: retrieve_data
arguments: tag: D145
datatype: string
name: retrieve_data
arguments: tag: D17
datatype: string
name: retrieve_data
arguments: tag: D46
datatype: string
name: retrieve_data
arguments: tag: D99
datatype: string
name: retrieve_data
arguments: tag: D100
datatype: string
name: retrieve_data
arguments: tag: D173
datatype: string
name: retrieve_data
arguments: tag: D156
datatype: string
name: retrieve_data
arguments: tag: D179
datatype: string
name: retrieve_data
arguments: tag: D36
datatype: string
name: retrieve_data
arguments: tag: D52
datatype: string
name: retrieve_data
arguments: tag: D84
datatype: string

tool: D72: **********loop : %d**************


tool: D111: ---------check udp_get-----------

tool: D59: r

tool: D161: **********************************

tool: D16: udp_daemon : start

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

tool: D123: %d

tool: D60: udp_get process : %d


tool: D33: loop : %d


tool: D145: udp_get : ok!

tool: D17: udp_get : check memory usage...

tool: D46: udp_get memory : ok!

tool: D99: udp_get start...

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

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

tool: D156: udp_get : down!

tool: D179: popen failed

tool: D36: udp_get : memory alert!!!!!!

tool: D52: udp_get memory alert! restart immediately!

tool: D84: killall 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;
}
```