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

```asm
<create_main>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  mov    %edi,%r14d
  push   %r13
  lea    D270(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  imul   %r15d,%ebx
  lea    D75(%rip),%r15
  sub    $0x18,%rsp
  mov    %edi,0xc(%rsp)
  lea    D156(%rip),%rdi
  mov    %esi,0x8(%rsp)
  lea    D137(%rip),%rsi
  mov    %edx,0x4(%rsp)
  call   <fopen@plt>
  mov    %r13,%rdi
  mov    $0x3,%edx
  mov    $0x1,%esi
  mov    %rax,%rbp
  mov    %rax,%rcx
  call   <fwrite@plt>
  mov    %r13,%rdi
  mov    %rbp,%rcx
  mov    $0x3,%edx
  mov    $0x1,%esi
  xor    %r13d,%r13d
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x13,%edx
  mov    $0x1,%esi
  lea    D253(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x14,%edx
  mov    $0x1,%esi
  lea    D266(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x14,%edx
  mov    $0x1,%esi
  lea    D18(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x1f,%edx
  mov    $0x1,%esi
  lea    D247(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x14,%edx
  mov    $0x1,%esi
  lea    D9(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    %rbp,%rcx
  mov    $0x21,%edx
  mov    $0x1,%esi
  lea    D183(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D124(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x11,%edx
  mov    $0x1,%esi
  lea    D85(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0xb,%edx
  mov    $0x1,%esi
  lea    D135(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x16,%edx
  mov    $0x1,%esi
  lea    D19(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x15,%edx
  mov    $0x1,%esi
  lea    D243(%rip),%rdi
  call   <fwrite@plt>
  mov    %ebx,%edx
  lea    D232(%rip),%rsi
  xor    %eax,%eax
  imul   %r14d,%edx
  mov    %rbp,%rdi
  mov    %r14d,%ebx
  lea    D185(%rip),%r14
  call   <fprintf@plt>
  mov    %rbp,%rcx
  mov    $0x32,%edx
  mov    $0x1,%esi
  lea    D235(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x19,%edx
  mov    $0x1,%esi
  lea    D110(%rip),%rdi
  call   <fwrite@plt>
  test   %ebx,%ebx
  jle    L90
  cs nopw 0x0(%rax,%rax,1)
L37:
  mov    0x8(%rsp),%edx
  xor    %ebx,%ebx
  test   %edx,%edx
  jle    L102
  nopw   0x0(%rax,%rax,1)
L25:
  mov    0x4(%rsp),%ecx
  xor    %r12d,%r12d
  test   %ecx,%ecx
  jle    L101
  nopl   0x0(%rax,%rax,1)
L94:
  mov    %r12d,%r8d
  mov    %ebx,%ecx
  mov    %r13d,%edx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%r12d
  call   <fprintf@plt>
  mov    %rbp,%rcx
  mov    $0x7,%edx
  mov    %r14,%rdi
  mov    $0x1,%esi
  call   <fwrite@plt>
  cmp    %r12d,0x4(%rsp)
  jne    L94
L101:
  add    $0x1,%ebx
  cmp    %ebx,0x8(%rsp)
  jne    L25
L102:
  lea    0x1(%r13),%eax
  cmp    %eax,0xc(%rsp)
  je     L27
  mov    %eax,%r13d
  jmp    L37
L27:
  mov    %rbp,%rcx
  mov    $0x16,%edx
  mov    $0x1,%esi
  xor    %r12d,%r12d
  lea    D41(%rip),%rdi
  lea    D205(%rip),%r14
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x6,%edx
  mov    $0x1,%esi
  lea    D64(%rip),%rdi
  lea    D236(%rip),%rbx
  call   <fwrite@plt>
L61:
  mov    0x8(%rsp),%eax
  xor    %r15d,%r15d
  test   %eax,%eax
  jle    L86
  nopl   0x0(%rax,%rax,1)
L4:
  mov    %rbp,%rcx
  mov    $0x13,%edx
  mov    $0x1,%esi
  mov    %r14,%rdi
  call   <fwrite@plt>
  mov    0x4(%rsp),%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%r15d
  call   <fprintf@plt>
  cmp    %r15d,0x8(%rsp)
  jne    L4
L86:
  lea    0x1(%r12),%eax
  cmp    %r12d,%r13d
  je     L2
  mov    %eax,%r12d
  jmp    L61
L90:
  mov    %rbp,%rcx
  mov    $0x16,%edx
  mov    $0x1,%esi
  lea    D41(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x6,%edx
  mov    $0x1,%esi
  lea    D64(%rip),%rdi
  call   <fwrite@plt>
L2:
  mov    %rbp,%rcx
  mov    $0x3,%edx
  mov    $0x1,%esi
  lea    D11(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    %rbp,%rcx
  mov    $0xb,%edx
  mov    $0x1,%esi
  lea    D256(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D65(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rdi
  call   <fclose@plt>
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D270
type_guessed: string
name: extract_symbolic_data
arguments: label: D75
type_guessed: string
name: extract_symbolic_data
arguments: label: D156
type_guessed: string
name: extract_symbolic_data
arguments: label: D137
type_guessed: string
name: extract_symbolic_data
arguments: label: D253
type_guessed: string
name: extract_symbolic_data
arguments: label: D266
type_guessed: string
name: extract_symbolic_data
arguments: label: D18
type_guessed: string
name: extract_symbolic_data
arguments: label: D247
type_guessed: string
name: extract_symbolic_data
arguments: label: D9
type_guessed: string
name: extract_symbolic_data
arguments: label: D183
type_guessed: string
name: extract_symbolic_data
arguments: label: D124
type_guessed: string
name: extract_symbolic_data
arguments: label: D85
type_guessed: string
name: extract_symbolic_data
arguments: label: D135
type_guessed: string
name: extract_symbolic_data
arguments: label: D19
type_guessed: string
name: extract_symbolic_data
arguments: label: D243
type_guessed: string
name: extract_symbolic_data
arguments: label: D232
type_guessed: string
name: extract_symbolic_data
arguments: label: D185
type_guessed: string
name: extract_symbolic_data
arguments: label: D235
type_guessed: string
name: extract_symbolic_data
arguments: label: D110
type_guessed: string
name: extract_symbolic_data
arguments: label: D41
type_guessed: string
name: extract_symbolic_data
arguments: label: D205
type_guessed: string
name: extract_symbolic_data
arguments: label: D64
type_guessed: string
name: extract_symbolic_data
arguments: label: D236
type_guessed: string
name: extract_symbolic_data
arguments: label: D11
type_guessed: string
name: extract_symbolic_data
arguments: label: D256
type_guessed: string
name: extract_symbolic_data
arguments: label: D65
type_guessed: string

tool: D270: //


tool: D75: 		FOO_array[n] = &FOO_%03d_%03d_%03d;


tool: D156: FOO_main.c

tool: D137: w+

tool: D253: #include <stdio.h>


tool: D266: #include <stdlib.h>


tool: D18: #include <malloc.h>


tool: D247: typedef long (*FOO_pt) (long);


tool: D9: FOO_pt *FOO_global;


tool: D183: int main(int argc, char* argv[])


tool: D124: {


tool: D85: #include "FOO.h"


tool: D135: 	long i=0;


tool: D19: 	long j,k,m,n=0,loop;


tool: D243: 	loop=atol(argv[1]);


tool: D232: 	m=%d;


tool: D185: 		n++;


tool: D235: 	FOO_array = (FOO_pt *) malloc(sizeof(FOO_pt)*m);


tool: D110: 	FOO_global = FOO_array;


tool: D41: 	for(k=0;k<loop;k++){


tool: D205: 		FOO_array[n](n);


tool: D64: 	n=0;


tool: D236: 	n+=%d;


tool: D11: 	}


tool: D256: 	return 0;


tool: D65: }


assistant: ```c
int create_main(int max_so, int max_chain, int max_depth) {
  int i, j, k, rval;
  FILE *fp_main;
  char filename[100];
  fp_main = fopen("FOO_main.c", "w+");
  fprintf(fp_main, "//\n");
  fprintf(fp_main, "//\n");
  fprintf(fp_main, "#include <stdio.h>\n");
  fprintf(fp_main, "#include <stdlib.h>\n");
  fprintf(fp_main, "#include <malloc.h>\n");
  fprintf(fp_main, "typedef long (*FOO_pt) (long);\n");
  fprintf(fp_main, "FOO_pt *FOO_global;\n");
  fprintf(fp_main, "\n");
  fprintf(fp_main, "int main(int argc, char* argv[])\n");
  fprintf(fp_main, "{\n");
  fprintf(fp_main, "#include \"FOO.h\"\n");
  fprintf(fp_main, "\tlong i=0;\n");
  fprintf(fp_main, "\tlong j,k,m,n=0,loop;\n");
  fprintf(fp_main, "\tloop=atol(argv[1]);\n");
  fprintf(fp_main, "\tm=%d;\n", max_depth * max_chain * max_so);
  fprintf(fp_main, "\tFOO_array = (FOO_pt *) malloc(sizeof(FOO_pt)*m);\n");
  fprintf(fp_main, "\tFOO_global = FOO_array;\n");
  for (i = 0; i < max_so; i++) {
    for (j = 0; j < max_chain; j++) {
      for (k = 0; k < max_depth; k++) {
        fprintf(fp_main, "\t\tFOO_array[n] = &FOO_%03d_%03d_%03d;\n", i, j, k);
        fprintf(fp_main, "\t\tn++;\n");
      }
    }
  }
  fprintf(fp_main, "\tfor(k=0;k<loop;k++){\n");
  fprintf(fp_main, "\tn=0;\n");
  for (i = 0; i < max_so; i++) {
    for (j = 0; j < max_chain; j++) {
      fprintf(fp_main, "\t\tFOO_array[n](n);\n");
      fprintf(fp_main, "\tn+=%d;\n", max_depth);
    }
  }
  fprintf(fp_main, "\t}\n");
  fprintf(fp_main, "\n");
  fprintf(fp_main, "\treturn 0;\n");
  fprintf(fp_main, "}\n");
  rval = fclose(fp_main);
  return 0;
}
```