user: 请从给定的汇编指令推导出C源代码:

```asm
<process_map>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbp
  mov    %esi,%ebx
  mov    %edx,%r12d
  lea    (%rsi,%rsi,4),%eax
  shl    $0x4,%eax
  add    %edx,%eax
  cltq
  movzbl (%rdi,%rax,1),%r13d
  test   %edx,%edx
  jg     L127
L79:
  cmp    $0x4e,%r12d
  jle    L62
L90:
  test   %ebx,%ebx
  jg     L9
L1:
  cmp    $0x14,%ebx
  jle    L56
L39:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L127:
  movsbl %r13b,%r15d
  lea    -0x1(%rdx),%r14d
  mov    $0x60,%r8d
  mov    %r15d,%ecx
  mov    %r14d,%edx
  call   <seek_exit@plt>
  test   %eax,%eax
  jne    L134
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  mov    %r15d,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <mark_area_disabled@plt>
  mov    %rbp,%rdi
  call   <flag_visited_as_disabled@plt>
  jmp    L79
L134:
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  jmp    L79
L62:
  movsbl %r13b,%r15d
  lea    0x1(%r12),%r14d
  mov    $0x40,%r8d
  mov    %r15d,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <seek_exit@plt>
  test   %eax,%eax
  jne    L49
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  mov    %r15d,%ecx
  mov    %r14d,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <mark_area_disabled@plt>
  mov    %rbp,%rdi
  call   <flag_visited_as_disabled@plt>
  jmp    L90
L49:
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  jmp    L90
L9:
  movsbl %r13b,%r15d
  lea    -0x1(%rbx),%r14d
  mov    $0x20,%r8d
  mov    %r15d,%ecx
  mov    %r12d,%edx
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <seek_exit@plt>
  test   %eax,%eax
  jne    L80
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  mov    %r15d,%ecx
  mov    %r12d,%edx
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <mark_area_disabled@plt>
  mov    %rbp,%rdi
  call   <flag_visited_as_disabled@plt>
  jmp    L1
L80:
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  jmp    L1
L56:
  movsbl %r13b,%r13d
  add    $0x1,%ebx
  mov    $0x0,%r8d
  mov    %r13d,%ecx
  mov    %r12d,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <seek_exit@plt>
  test   %eax,%eax
  jne    L66
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  mov    %r13d,%ecx
  mov    %r12d,%edx
  mov    %ebx,%esi
  mov    %rbp,%rdi
  call   <mark_area_disabled@plt>
  mov    %rbp,%rdi
  call   <flag_visited_as_disabled@plt>
  jmp    L39
L66:
  mov    %rbp,%rdi
  call   <clear_flags@plt>
  jmp    L39
```

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);
}
```