user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %edi,%ebx
  lea    D10(%rip),%rdi
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    D139(%rip),%rdi
  call   <puts@plt>
  lea    D93(%rip),%rdi
  call   <puts@plt>
  lea    D35(%rip),%rdi
  call   <puts@plt>
  cmp    $0x2,%ebx
  je     L8
  lea    D104(%rip),%rdi
  call   <puts@plt>
  lea    D11(%rip),%rdi
  call   <puts@plt>
L63:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L31
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L8:
  mov    0x8(%rbp),%rsi
  lea    D3(%rip),%rdi
  xor    %eax,%eax
  xor    %ebx,%ebx
  xor    %r12d,%r12d
  call   <printf@plt>
  mov    0x8(%rbp),%rdi
  jmp    L20
  nopw   0x0(%rax,%rax,1)
L19:
  mov    0x8(%rbp),%rdi
  movsbl (%rdi,%rbx,1),%eax
  add    $0x1,%rbx
  add    %eax,%r12d
L20:
  call   <strlen@plt>
  cmp    %ebx,%eax
  jg     L19
  cmp    $0x4f4,%r12d
  je     L62
  lea    D123(%rip),%rdi
  call   <puts@plt>
  lea    D98(%rip),%rdi
  call   <puts@plt>
  jmp    L63
L62:
  lea    D5(%rip),%rdi
  call   <puts@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D96(%rip),%rdi
  call   <puts@plt>
  lea    D126(%rip),%rdi
  call   <puts@plt>
  lea    D2(%rip),%rdi
  call   <puts@plt>
  mov    %rsp,%rdi
  call   <uname@plt>
  mov    0x18(%rsp),%r8
  mov    (%rsp),%rsi
  xor    %eax,%eax
  mov    0x10(%rsp),%rcx
  mov    0x8(%rsp),%rdx
  lea    D41(%rip),%rdi
  call   <printf@plt>
  jmp    L63
L31:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D10
type_infered: string
name: unpack_data
arguments: data_tag: D139
type_infered: string
name: unpack_data
arguments: data_tag: D93
type_infered: string
name: unpack_data
arguments: data_tag: D35
type_infered: string
name: unpack_data
arguments: data_tag: D104
type_infered: string
name: unpack_data
arguments: data_tag: D11
type_infered: string
name: unpack_data
arguments: data_tag: D3
type_infered: string
name: unpack_data
arguments: data_tag: D123
type_infered: string
name: unpack_data
arguments: data_tag: D98
type_infered: string
name: unpack_data
arguments: data_tag: D5
type_infered: string
name: unpack_data
arguments: data_tag: D96
type_infered: string
name: unpack_data
arguments: data_tag: D126
type_infered: string
name: unpack_data
arguments: data_tag: D2
type_infered: string
name: unpack_data
arguments: data_tag: D41
type_infered: string

tool: D10: Welcome to the iOS Reverse Engineering Level 3! 

tool: D139: Created by GeoSn0w (@FCE365)


tool: D93: The challenge is to hack this application so that you can use it without any serial number and obtain the flag! 


tool: D35: **************** START **************** 


tool: D104: This application requires a serial number to work! You can validate it with <key>

tool: D11: Or you can do what hackers do the best...

tool: D3: Preparing to check access key: %s


tool: D123: The serial number is not correct!

tool: D98: The application is locked!

tool: D5: Welcome! F.C.E. 365 Tool v36.1

tool: D96: Blimey! You're not a good man! You've hacked the app!
 

tool: D126: Flag: 0x038948FFFF83--DS 

tool: D2: System Identity:

tool: D41: %s Release %s (Version %s) on %s


assistant: ```c
int main(int argc, char *argv[]) {
  printf("Welcome to the iOS Reverse Engineering Level 3! \n");
  printf("Created by GeoSn0w (@FCE365)\n\n");
  printf("The challenge is to hack this application so that you can use it without any serial number and obtain the flag! \n\n");
  printf("**************** START **************** \n\n");
  if (argc == 2) {
    printf("Preparing to check access key: %s\n", argv[1]);
    int hex = 0;
    for (int access = 0; access < strlen(argv[1]); access++) {
      hex += (int)argv[1][access];
    }
    if (hex == 1268) {
      printf("Welcome! F.C.E. 365 Tool v36.1\n");
      printf("\n");
      printf("Blimey! You're not a good man! You've hacked the app!\n \n");
      printf("Flag: 0x038948FFFF83--DS \n");
      printf("System Identity:\n");
      struct utsname u;
      uname(&u);
      printf("%s Release %s (Version %s) on %s\n", u.sysname, u.release, u.version, u.machine);
      return 0;
    } else {
      printf("The serial number is not correct!\n");
      printf("The application is locked!\n");
    }
  } else {
    printf("This application requires a serial number to work! You can validate it with <key>\n");
    printf("Or you can do what hackers do the best...\n");
  }
  return 0;
}
```