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

```asm
<FindOption>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %edx,-0x30(%rbp)
  mov    %ecx,-0x34(%rbp)
  mov    %r8d,-0x38(%rbp)
  mov    %r9,-0x40(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpl   $0x80,-0x38(%rbp)
  jle    L102
  movl   $0x80,-0x38(%rbp)
L102:
  cmpl   $0x0,-0x34(%rbp)
  je     L183
  movl   $0x1,-0x14(%rbp)
  jmp    L90
L210:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  lea    D26(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  test   %eax,%eax
  jne    L156
  mov    -0x14(%rbp),%eax
  jmp    L123
L156:
  addl   $0x1,-0x14(%rbp)
L90:
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L210
  mov    $0x0,%eax
  jmp    L123
L183:
  cmpl   $0x0,-0x2c(%rbp)
  je     L2
  movl   $0x1,-0x14(%rbp)
  jmp    L137
L134:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L71
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L27
  mov    $0x0,%eax
  jmp    L123
L27:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  lea    D26(%rip),%rax
  movl   $0x1,(%rdx,%rax,1)
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  lea    D26(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  movslq %ecx,%rdx
  lea    0x0(,%rdx,4),%rcx
  lea    D26(%rip),%rdx
  mov    %eax,(%rcx,%rdx,1)
  cmpl   $0x0,-0x30(%rbp)
  jne    L12
  mov    -0x14(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  jmp    L123
L12:
  mov    -0x14(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  lea    -0x10(%rbp),%rcx
  mov    $0x10,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strtoul@plt>
  jmp    L123
L71:
  addl   $0x1,-0x14(%rbp)
L137:
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L134
  mov    $0x0,%eax
  jmp    L123
L2:
  movl   $0x1,-0x14(%rbp)
  jmp    L121
L88:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L218
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  lea    D26(%rip),%rax
  movl   $0x1,(%rdx,%rax,1)
  mov    -0x14(%rbp),%eax
  jmp    L123
L218:
  addl   $0x1,-0x14(%rbp)
L121:
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L88
  mov    $0x0,%eax
L123:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L66
  call   <__stack_chk_fail@plt>
L66:
  leave
  ret
```

assistant: ```c
int FindOption(char *option, int p, int h, int u, int argc, char **argv) {
  static int t[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
  int i;
  char *c;
  if (argc > 128)
    argc = 128;
  if (u) {
    for (i = 1; i < argc; i++) {
      if (!t[i])
        return i;
    }
    return 0;
  }
  if (p) {
    for (i = 1; i < argc; i++) {
      if (strcmp(argv[i], option) == 0) {
        if (i >= argc)
          return 0;
        t[i + 1] = t[i] = 1;
        if (!h)
          return atoi(argv[i + 1]);
        else
          return strtoul(argv[i + 1], &c, 16);
      }
    }
    return 0;
  } else {
    for (i = 1; i < argc; i++) {
      if (strcmp(argv[i], option) == 0) {
        t[i] = 1;
        return i;
      }
    }
    return 0;
  }
}
```