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    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D29(%rip),%rdi
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  lea    D15(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x0,0x8(%rsp)
  jle    L30
  mov    $0x0,%ebp
  lea    D80(%rip),%r15
  lea    D79(%rip),%r14
  lea    D0(%rip),%r13
  lea    D15(%rip),%r12
L37:
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%ebx
  mov    %rbx,%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    0x10(%rsp),%rdi
  mov    %rbx,%rdx
  mov    0xc(%rsp),%esi
  call   <addStudent@plt>
  add    $0x1,%ebp
  cmp    %ebp,0x8(%rsp)
  jg     L37
L30:
  lea    D50(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%ebx
  mov    %rbx,%rsi
  lea    D79(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    0x10(%rsp),%rdi
  mov    %rbx,%rsi
  call   <search@plt>
  test   %eax,%eax
  js     L49
  mov    %eax,%esi
  lea    D104(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L10:
  lea    D57(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%ebx
  mov    %rbx,%rsi
  lea    D79(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    0x10(%rsp),%rdi
  mov    %rbx,%rsi
  call   <delete@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L36
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L49:
  lea    D74(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L10
L36:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D29
datatype: string
name: parse_data
arguments: label: D15
datatype: string
name: parse_data
arguments: label: D80
datatype: string
name: parse_data
arguments: label: D79
datatype: string
name: parse_data
arguments: label: D0
datatype: string
name: parse_data
arguments: label: D50
datatype: string
name: parse_data
arguments: label: D104
datatype: string
name: parse_data
arguments: label: D57
datatype: string
name: parse_data
arguments: label: D74
datatype: string

tool: D29: Enter the number of students in the linked list:

tool: D15: %d

tool: D80: Enter the name of the student

tool: D79: %s

tool: D0: Enter the Roll number

tool: D50: Enter the name of the student looking for

tool: D104: The location where we found the name was %d

tool: D57: Enter the name of the student to delete

tool: D74: The string was not found

assistant: ```c
main() {
  int numOfStudents, i, loc, rollNumber;
  char *str;
  struct studentData *student;
  printf("Enter the number of students in the linked list:");
  scanf("%d", &numOfStudents);
  for (i = 0; i < numOfStudents; i++) {
    printf("Enter the name of the student");
    scanf("%s", str);
    printf("Enter the Roll number");
    scanf("%d", &rollNumber);
    addStudent(&student, rollNumber, str);
  }
  printf("Enter the name of the student looking for");
  scanf("%s", str);
  loc = search(&student, str);
  if (loc > -1) {
    printf("The location where we found the name was %d", loc);
  } else {
    printf("The string was not found");
  }
  printf("Enter the name of the student to delete");
  scanf("%s", str);
  loc = delete (&student, str);
}
```