user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  mov    $0xffffffff,%r12d
  push   %rbp
  push   %rbx
  sub    $0xe0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  movq   $0x1,(%rsp)
  lea    0x70(%rsp),%r13
  movabs $0x100000000,%rax
  mov    %rax,0x8(%rsp)
  mov    %r13,%rbx
  mov    %r13,%r14
  movq   $0x1,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x1,0x20(%rsp)
  mov    %rax,0x28(%rsp)
  movq   $0x0,0x30(%rsp)
  movq   $0x1,0x38(%rsp)
  movq   $0x0,0x40(%rsp)
  movq   $0x0,0x48(%rsp)
  movq   $0x1,0x50(%rsp)
  mov    %rax,0x58(%rsp)
  movl   $0x0,0x60(%rsp)
L120:
  mov    %r14,%rbp
  mov    $0xffffffff,%r9d
L175:
  mov    %r12d,%edi
  xor    %r11d,%r11d
  mov    $0xffffffff,%ecx
L85:
  cmp    $0x4,%edi
  movslq %edi,%rsi
  mov    %r9d,%edx
  mov    $0xffffffff,%eax
  setbe  %r8b
  lea    (%rsi,%rsi,4),%r10
L187:
  mov    %ecx,%esi
  or     %eax,%esi
  add    $0x1,%eax
  test   %esi,%esi
  je     L56
  cmp    $0x4,%edx
  ja     L194
  test   %r8b,%r8b
  je     L194
  movslq %edx,%rsi
  add    %r10,%rsi
  cmpl   $0x1,(%rsp,%rsi,4)
  jne    L194
  add    $0x1,%r11d
  nopl   0x0(%rax,%rax,1)
L194:
  cmp    $0x2,%eax
  jne    L56
  add    $0x1,%ecx
  add    $0x1,%edi
  cmp    $0x2,%ecx
  jne    L85
  add    $0x1,%r9d
  mov    %r11d,0x0(%rbp)
  add    $0x4,%rbp
  cmp    $0x4,%r9d
  jne    L175
  add    $0x1,%r12d
  add    $0x14,%r14
  cmp    $0x4,%r12d
  jne    L120
  mov    $0x14,%ecx
  mov    $0x1,%edx
L113:
  lea    -0x14(%rcx),%rax
  cmp    $0x1,%edx
  jne    L156
L160:
  movl   $0xffffffff,0x0(%r13,%rax,1)
L156:
  add    $0x4,%rax
  cmp    %rcx,%rax
  je     L57
L49:
  mov    (%rsp,%rax,1),%edx
  cmp    $0x1,%edx
  je     L160
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L49
L57:
  cmp    $0x64,%rax
  je     L53
  mov    (%rsp,%rcx,1),%edx
  add    $0x14,%rcx
  jmp    L113
  nopl   0x0(%rax)
L56:
  add    $0x1,%edx
  jmp    L187
L53:
  add    $0x64,%r13
  lea    D0(%rip),%r12
L6:
  xor    %ebp,%ebp
L123:
  mov    (%rbx,%rbp,4),%esi
  cmp    $0xffffffff,%esi
  je     L90
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L61:
  add    $0x1,%rbp
  cmp    $0x5,%rbp
  jne    L123
  mov    $0xa,%edi
  add    $0x14,%rbx
  call   <putchar@plt>
  cmp    %r13,%rbx
  jne    L6
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  add    $0xe0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L90:
  mov    $0x58,%edi
  call   <putchar@plt>
  jmp    L61
L32:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D0
type_guessed: string

tool: D0: %d

assistant: ```c
int main() {
  int bomb[5][5] = {{1, 0, 0, 1, 1}, {0, 0, 0, 1, 0}, {0, 1, 0, 0, 1}, {0, 0, 0, 0, 0}, {1, 0, 0, 1, 0}};
  int sweep[5][5];
  int i, j;
  int xShift, yShift;
  int x, y;
  int bombCount;
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 5; j++) {
      bombCount = 0;
      for (xShift = -1; xShift <= 1; xShift++) {
        for (yShift = -1; yShift <= 1; yShift++) {
          if (xShift == 0 && yShift == 0) {
            continue;
          }
          x = i + xShift;
          y = j + yShift;
          if ((0 <= x && x < 5) && (0 <= y && y < 5)) {
            if (bomb[x][y] == 1) {
              bombCount++;
            }
          }
        }
      }
      sweep[i][j] = bombCount;
    }
  }
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 5; j++) {
      if (bomb[i][j] == 1) {
        sweep[i][j] = -1;
      }
    }
  }
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 5; j++) {
      if (sweep[i][j] != -1) {
        printf("%d", sweep[i][j]);
      } else {
        printf("X");
      }
    }
    printf("\n");
  }
  return 0;
}
```