user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x428,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x418(%rsp)
  xor    %eax,%eax
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  lea    0x20(%rsp),%rdi
  mov    $0x7e,%ecx
  rep stos %rax,%es:(%rdi)
  lea    D10(%rip),%rbx
  mov    %rbx,%rdi
  call   <puts@plt>
  lea    D12(%rip),%rdi
  call   <puts@plt>
  mov    %rbx,%rdi
  call   <puts@plt>
  lea    D15(%rip),%r15
  lea    D172(%rip),%r14
  lea    D137(%rip),%r13
  jmp    L85
L97:
  lea    D130(%rip),%rdi
  call   <puts@plt>
  jmp    L56
L60:
  lea    D110(%rip),%rdi
  call   <puts@plt>
  lea    D25(%rip),%rdi
  call   <sys_log@plt>
  cmpl   $0x0,0xc(%rsp)
  jle    L28
  jmp    L55
L95:
  lea    D75(%rip),%rdi
  call   <puts@plt>
  lea    D121(%rip),%rdi
  call   <sys_log@plt>
  lea    D95(%rip),%rdi
  call   <system@plt>
  movl   $0x0,0xc(%rsp)
L22:
  mov    $0x2,%edi
  call   <sleep@plt>
  lea    D139(%rip),%rdi
  call   <puts@plt>
  lea    D163(%rip),%rdi
  call   <system@plt>
L85:
  mov    $0x0,%ebp
L84:
  mov    $0xb4,%edi
  call   <sleep@plt>
  add    $0x1,%ebp
  mov    %ebp,%esi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r14,%rdi
  call   <puts@plt>
  mov    %r13,%rsi
  lea    D58(%rip),%rdi
  call   <popen@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L97
L56:
  lea    0x10(%rsp),%r12
  mov    $0x400,%edx
  mov    $0x0,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  mov    %rbx,%rcx
  mov    $0x400,%edx
  mov    $0x1,%esi
  mov    %r12,%rdi
  call   <fread@plt>
  movb   $0x0,0x40f(%rsp)
  lea    0xc(%rsp),%rdx
  lea    D186(%rip),%rsi
  mov    %r12,%rdi
  call   <sscanf@plt>
  mov    %rbx,%rdi
  call   <pclose@plt>
  mov    0xc(%rsp),%esi
  lea    D107(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  je     L60
  jle    L84
L55:
  movslq %ebp,%rax
  imul   $0xffffffff88888889,%rax,%rax
  shr    $0x20,%rax
  add    %ebp,%eax
  sar    $0x5,%eax
  mov    %ebp,%edx
  sar    $0x1f,%edx
  sub    %edx,%eax
  imul   $0x3c,%eax,%eax
  mov    %ebp,%esi
  sub    %eax,%esi
  lea    D14(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D141(%rip),%rdi
  call   <puts@plt>
  lea    D86(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <check_udpget_memory@plt>
  cmp    $0x1,%eax
  je     L95
  lea    D19(%rip),%rdi
  call   <puts@plt>
L28:
  cmpl   $0x0,0xc(%rsp)
  jne    L84
  jmp    L22
```

tool_calls: name: extract_symbolic_data
arguments: tag: D10
type_guessed: string
name: extract_symbolic_data
arguments: tag: D12
type_guessed: string
name: extract_symbolic_data
arguments: tag: D15
type_guessed: string
name: extract_symbolic_data
arguments: tag: D172
type_guessed: string
name: extract_symbolic_data
arguments: tag: D137
type_guessed: string
name: extract_symbolic_data
arguments: tag: D130
type_guessed: string
name: extract_symbolic_data
arguments: tag: D110
type_guessed: string
name: extract_symbolic_data
arguments: tag: D25
type_guessed: string
name: extract_symbolic_data
arguments: tag: D75
type_guessed: string
name: extract_symbolic_data
arguments: tag: D121
type_guessed: string
name: extract_symbolic_data
arguments: tag: D95
type_guessed: string
name: extract_symbolic_data
arguments: tag: D139
type_guessed: string
name: extract_symbolic_data
arguments: tag: D163
type_guessed: string
name: extract_symbolic_data
arguments: tag: D58
type_guessed: string
name: extract_symbolic_data
arguments: tag: D186
type_guessed: string
name: extract_symbolic_data
arguments: tag: D107
type_guessed: string
name: extract_symbolic_data
arguments: tag: D14
type_guessed: string
name: extract_symbolic_data
arguments: tag: D141
type_guessed: string
name: extract_symbolic_data
arguments: tag: D86
type_guessed: string
name: extract_symbolic_data
arguments: tag: D19
type_guessed: string

tool: D10: **********************************

tool: D12: udp_daemon : start

tool: D15: **********loop : %d**************


tool: D172: ---------check udp_get-----------

tool: D137: r

tool: D130: popen failed

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

tool: D25: udp_get : down!

tool: D75: udp_get : memory alert!!!!!!

tool: D121: udp_get memory alert! restart immediately!

tool: D95: killall udp_get

tool: D139: udp_get start...

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

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

tool: D186: %d

tool: D107: udp_get process : %d


tool: D14: loop : %d


tool: D141: udp_get : ok!

tool: D86: udp_get : check memory usage...

tool: D19: udp_get memory : ok!

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;
}
```