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

```asm
<process_map>:
  endbr64
  lea    (%rsi,%rsi,4),%eax
  push   %r15
  shl    $0x4,%eax
  push   %r14
  push   %r13
  add    %edx,%eax
  mov    %edx,%r13d
  push   %r12
  cltq
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x8,%rsp
  movsbl (%rdi,%rax,1),%r14d
  test   %edx,%edx
  jg     L72
L67:
  lea    0x1(%r13),%r15d
  mov    $0x40,%r8d
  mov    %r14d,%ecx
  mov    %ebx,%esi
  mov    %r15d,%edx
  mov    %r12,%rdi
  call   <seek_exit@plt>
  test   %eax,%eax
  jne    L1
  mov    %r12,%rdi
  call   <clear_flags@plt>
  mov    %r12,%rdi
  mov    %r14d,%ecx
  mov    %r15d,%edx
  mov    %ebx,%esi
  call   <mark_area_disabled@plt>
  mov    %r12,%rdi
  call   <flag_visited_as_disabled@plt>
  test   %ebx,%ebx
  jle    L23
  nopl   0x0(%rax,%rax,1)
L68:
  lea    -0x1(%rbx),%ebp
  mov    %r12,%rdi
  mov    $0x20,%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebp,%esi
  call   <seek_exit@plt>
  mov    %r12,%rdi
  test   %eax,%eax
  jne    L7
  call   <clear_flags@plt>
  mov    %r12,%rdi
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebp,%esi
  call   <mark_area_disabled@plt>
  mov    %r12,%rdi
  call   <flag_visited_as_disabled@plt>
L78:
  cmp    $0x14,%ebx
  jle    L23
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L72:
  lea    -0x1(%rdx),%r15d
  mov    $0x60,%r8d
  mov    %r14d,%ecx
  mov    %r15d,%edx
  call   <seek_exit@plt>
  mov    %r12,%rdi
  test   %eax,%eax
  jne    L64
  call   <clear_flags@plt>
  mov    %r12,%rdi
  mov    %r14d,%ecx
  mov    %r15d,%edx
  mov    %ebx,%esi
  call   <mark_area_disabled@plt>
  mov    %r12,%rdi
  call   <flag_visited_as_disabled@plt>
L27:
  cmp    $0x4e,%r13d
  jle    L67
L83:
  test   %ebx,%ebx
  jg     L68
L23:
  lea    0x1(%rbx),%ebp
  xor    %r8d,%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebp,%esi
  mov    %r12,%rdi
  call   <seek_exit@plt>
  test   %eax,%eax
  jne    L117
  mov    %r12,%rdi
  call   <clear_flags@plt>
  mov    %r12,%rdi
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %ebp,%esi
  call   <mark_area_disabled@plt>
  add    $0x8,%rsp
  mov    %r12,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1080 <flag_visited_as_disabled@plt>
  nopl   0x0(%rax,%rax,1)
L64:
  call   <clear_flags@plt>
  jmp    L27
  nopw   0x0(%rax,%rax,1)
L7:
  call   <clear_flags@plt>
  jmp    L78
  nopw   0x0(%rax,%rax,1)
L1:
  mov    %r12,%rdi
  call   <clear_flags@plt>
  jmp    L83
  nopw   0x0(%rax,%rax,1)
L117:
  add    $0x8,%rsp
  mov    %r12,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10a0 <clear_flags@plt>
```

assistant: ```c
void process_map(char *map, int start_y, int start_x) {
  char player = map[start_y * 80 + start_x];
  {
    if ((3) <= 2)
      printf("Processing map from %d, %d, player %d\n", start_x, start_y, player);
  };
  if (start_x > 0)
    if (!seek_exit(map, start_y, start_x - 1, player, (3 << 5))) {
      clear_flags(map);
      mark_area_disabled(map, start_y, start_x - 1, player);
      flag_visited_as_disabled(map);
    } else
      clear_flags(map);
  if (start_x < 80 - 1)
    if (!seek_exit(map, start_y, start_x + 1, player, (2 << 5))) {
      clear_flags(map);
      mark_area_disabled(map, start_y, start_x + 1, player);
      flag_visited_as_disabled(map);
    } else
      clear_flags(map);
  if (start_y > 0)
    if (!seek_exit(map, start_y - 1, start_x, player, (1 << 5))) {
      clear_flags(map);
      mark_area_disabled(map, start_y - 1, start_x, player);
      flag_visited_as_disabled(map);
    } else
      clear_flags(map);
  if (start_y < 22 - 1)
    if (!seek_exit(map, start_y + 1, start_x, player, (0 << 5))) {
      clear_flags(map);
      mark_area_disabled(map, start_y + 1, start_x, player);
      flag_visited_as_disabled(map);
    } else
      clear_flags(map);
}
```