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

```asm
<main>:
  endbr64
  push   %r15
  lea    D7(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1c8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1b8(%rsp)
  xor    %eax,%eax
  lea    0x1c(%rsp),%rdx
  lea    0x18(%rsp),%rsi
  call   <scanf@plt>
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L155
  lea    0x20(%rsp),%rbp
  xor    %ebx,%ebx
  lea    D6(%rip),%r14
  mov    %rbp,%r15
  nopl   0x0(%rax,%rax,1)
L114:
  mov    %r15,%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  mov    0x18(%rsp),%r13d
  add    $0x14,%r15
  cmp    %ebx,%r13d
  jg     L114
  test   %r13d,%r13d
  jle    L155
  mov    0x1c(%rsp),%r8d
  xor    %r9d,%r9d
  xor    %ebx,%ebx
  xor    %r14d,%r14d
  xor    %r10d,%r10d
  lea    -0x28(%rbp),%r15
  nopl   0x0(%rax,%rax,1)
L88:
  lea    (%r15,%r9,1),%rdx
  xor    %edi,%edi
  lea    0x14(%r9),%rbp
  test   %r8d,%r8d
  jg     L21
  jmp    L134
  nopl   0x0(%rax)
L63:
  add    $0x1,%edi
  add    $0x1,%rdx
  cmp    %edi,%r8d
  je     L134
L21:
  cmpb   $0x2e,0x28(%rdx)
  jne    L63
  lea    (%rdx,%rbx,1),%r11
  movzbl 0x14(%r11,%r9,1),%ecx
  cmp    $0x23,%cl
  je     L141
  mov    %rdx,%rsi
  xor    %eax,%eax
  cs nopw 0x0(%rax,%rax,1)
L204:
  cmp    $0x47,%cl
  sete   %cl
  sub    $0x14,%rsi
  movzbl %cl,%ecx
  add    %ecx,%eax
  movzbl 0x14(%rsi),%ecx
  cmp    $0x23,%cl
  jne    L204
L9:
  movzbl 0x28(%r11,%rbp,1),%ecx
  cmp    $0x23,%cl
  je     L10
  lea    0x50(%rdx),%rsi
  nopw   0x0(%rax,%rax,1)
L105:
  cmp    $0x47,%cl
  sete   %cl
  add    $0x14,%rsi
  movzbl %cl,%ecx
  add    %ecx,%eax
  movzbl -0x14(%rsi),%ecx
  cmp    $0x23,%cl
  jne    L105
L10:
  movzbl 0x29(%rdx),%ecx
  cmp    $0x23,%cl
  je     L109
  lea    0x2a(%rdx),%rsi
  nopl   (%rax)
L136:
  cmp    $0x47,%cl
  sete   %cl
  add    $0x1,%rsi
  movzbl %cl,%ecx
  add    %ecx,%eax
  movzbl -0x1(%rsi),%ecx
  cmp    $0x23,%cl
  jne    L136
L109:
  movzbl 0x27(%rdx),%ecx
  cmp    $0x23,%cl
  je     L117
  lea    0x26(%rdx),%rsi
  nopl   (%rax)
L124:
  cmp    $0x47,%cl
  sete   %cl
  sub    $0x1,%rsi
  movzbl %cl,%ecx
  add    %ecx,%eax
  movzbl 0x1(%rsi),%ecx
  cmp    $0x23,%cl
  jne    L124
L117:
  cmp    %r14d,%eax
  jle    L63
  mov    %edi,%r12d
  add    $0x1,%edi
  mov    %r10d,0xc(%rsp)
  mov    %eax,%r14d
  add    $0x1,%rdx
  cmp    %edi,%r8d
  jne    L21
  nopl   0x0(%rax)
L134:
  add    $0x1,%r10d
  sub    $0x14,%rbx
  mov    %rbp,%r9
  cmp    %r10d,%r13d
  jne    L88
L79:
  mov    0xc(%rsp),%esi
  mov    %r14d,%ecx
  mov    %r12d,%edx
  lea    D23(%rip),%rdi
  call   <printf@plt>
  mov    0x1b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L127
  add    $0x1c8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L141:
  xor    %eax,%eax
  jmp    L9
L155:
  xor    %r14d,%r14d
  jmp    L79
L127:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D7
data_type: string
name: extract_symbolic_data
arguments: data_tag: D6
data_type: string
name: extract_symbolic_data
arguments: data_tag: D23
data_type: string

tool: D7: %d %d

tool: D6: %s

tool: D23: please set bomb on(%d,%d),elimate %d enemy


assistant: ```c
int main() {
  char a[20][20];
  int i, j, sum, map = 0, p, q, x, y, n, m;
  scanf("%d %d", &n, &m);
  for (i = 0; i <= n - 1; i++)
    scanf("%s", a[i]);
  for (i = 0; i <= n - 1; i++) {
    for (j = 0; j <= m - 1; j++) {
      if (a[i][j] == '.') {
        sum = 0;
        x = i;
        y = j;
        while (a[x][y] != '#') {
          if (a[x][y] == 'G')
            sum++;
          x = x - 1;
        }
        x = i;
        y = j;
        while (a[x][y] != '#') {
          if (a[x][y] == 'G')
            sum++;
          x = x + 1;
        }
        x = i;
        y = j;
        while (a[x][y] != '#') {
          if (a[x][y] == 'G')
            sum++;
          y = y + 1;
        }
        x = i;
        y = j;
        while (a[x][y] != '#') {
          if (a[x][y] == 'G')
            sum++;
          y = y - 1;
        }
        if (sum > map) {
          map = sum;
          p = i;
          q = j;
        }
      }
    }
  }
  printf("please set bomb on(%d,%d),elimate %d enemy\n", p, q, map);
  return 0;
}
```