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

```asm
<not_main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,%r15
  mov    %rsi,%r13
  mov    %rdx,%rbp
  mov    %ecx,%r12d
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  lea    D11(%rip),%rsi
  call   <fopen@plt>
  test   %rax,%rax
  je     L5
  mov    %rax,%rbx
  lea    0x20(%rsp),%rcx
  lea    0x28(%rsp),%rsi
  mov    %rax,%rdx
  lea    D4(%rip),%rdi
  call   <get_data@plt>
  mov    %rbx,%rdi
  call   <fclose@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    %eax,%r14d
  movl   $0x0,0x1c(%rsp)
  lea    0x14(%rsp),%rdx
  lea    D0(%rip),%rsi
  mov    %r13,%rdi
  call   <sscanf@plt>
  test   %r14d,%r14d
  jle    L53
  mov    %rbp,%rbx
  lea    -0x1(%r14),%eax
  shr    %eax
  mov    %eax,0xc(%rsp)
  mov    %eax,%eax
  lea    0x2(%rbp,%rax,2),%r14
  lea    D0(%rip),%r13
  jmp    L107
L3:
  addl   $0x1,0x14(%rsp)
  add    $0x2,%rbx
  cmp    %r14,%rbx
  je     L94
L107:
  lea    0x30(%rsp),%rbp
  mov    $0x2,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <strncpy@plt>
  lea    0x18(%rsp),%rdx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <sscanf@plt>
  lea    0x1c(%rsp),%r8
  mov    0x20(%rsp),%rcx
  mov    0x18(%rsp),%edx
  mov    0x14(%rsp),%esi
  mov    0x28(%rsp),%rdi
  call   <make_changes@plt>
  test   %r12d,%r12d
  jne    L3
  test   %rax,%rax
  jne    L3
  mov    0x20(%rsp),%rdx
  mov    %r15,%rsi
  mov    0x28(%rsp),%rdi
  call   <apply_changes@plt>
  jmp    L3
L94:
  mov    0xc(%rsp),%eax
  lea    0x2(%rax,%rax,1),%ebx
L68:
  mov    0x28(%rsp),%rdi
  call   <free@plt>
  mov    $0x1,%eax
  test   %r12d,%r12d
  jle    L83
  sar    %ebx
  cmp    0x1c(%rsp),%ebx
  sete   %al
  movzbl %al,%eax
L83:
  mov    0x58(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L79
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L53:
  mov    $0x0,%ebx
  jmp    L68
L5:
  mov    $0x0,%edi
  call   <fclose@plt>
  lea    D3(%rip),%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  jmp    L83
L79:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D11
type_guessed: string
name: read_data
arguments: data_label: D4
type_guessed: string
name: read_data
arguments: data_label: D0
type_guessed: string
name: read_data
arguments: data_label: D3
type_guessed: string

tool: D11: rb

tool: D4: rom.smc

tool: D0: %x

tool: D3: no such file???


assistant: ```c
int not_main(char *rom_name, char *offset, char *bytes, int apply_or_check) {
  FILE *file = fopen(rom_name, "rb");
  if (file) {
    size_t size;
    unsigned char *buf;
    get_data("rom.smc", &buf, file, &size);
    fclose(file);
    char to_use[30];
    int num = strlen(bytes);
    int offset_to_apply, bytes_to_apply, new_offset;
    int c = 0;
    int check_tweak = 0;
    sscanf(offset, "%x", &offset_to_apply);
    while (c < num) {
      strncpy(to_use, bytes + c, 2);
      sscanf(to_use, "%x", &bytes_to_apply);
      if ((make_changes(buf, offset_to_apply, bytes_to_apply, size, &check_tweak) == 0)) {
        if (apply_or_check == 0) {
          apply_changes(buf, rom_name, size);
        }
      }
      c += 2;
      offset_to_apply++;
    }
    free(buf);
    if (apply_or_check > 0)
      if (check_tweak == (c / 2))
        return 1;
      else
        return 0;
    return 1;
  } else {
    fclose(file);
    printf("no such file???\n");
    return 0;
  }
}
```