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

```asm
<maximalSquare>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,%r13
  mov    %edx,%r14d
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %edx,%r8
  lea    0x0(,%r8,4),%rax
  mov    %rax,-0x50(%rbp)
  movslq %esi,%rdx
  lea    0x0(,%rdx,4),%r9
  mov    %r8,%rax
  imul   %r9,%rax
  add    $0xf,%rax
  mov    %rax,%rdi
  and    $0xfffffffffffffff0,%rdi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L65:
  cmp    %rcx,%rsp
  je     L12
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L65
L12:
  mov    %rdi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L101
  orq    $0x0,-0x8(%rsp,%rax,1)
L101:
  mov    %rsp,%r10
  test   %r14d,%r14d
  jle    L6
  lea    -0x5(%rdx,%rdx,4),%r11
  add    %r13,%r11
  mov    -0x50(%rbp),%rdi
  shr    $0x2,%rdi
  lea    -0x4(%r9),%rax
  imul   %rax,%rdi
  add    %r10,%rdi
  mov    $0x0,%edx
  mov    $0x0,%eax
  mov    $0x1,%ebx
L63:
  movsbl (%r11,%rdx,1),%ecx
  sub    $0x30,%ecx
  mov    %ecx,(%rdi,%rdx,4)
  cmovne %ebx,%eax
  add    $0x1,%rdx
  cmp    %edx,%r14d
  jg     L63
L28:
  test   %esi,%esi
  jle    L39
  mov    -0x50(%rbp),%r12
  shr    $0x2,%r12
  lea    -0x1(%r13,%r8,1),%r8
  mov    $0x0,%edi
  lea    -0x1(%r14),%r11d
  movslq %r11d,%r11
  mov    $0x1,%ebx
L85:
  movsbl (%r8),%ecx
  sub    $0x30,%ecx
  movslq %edi,%rdx
  imul   %r12,%rdx
  add    %r11,%rdx
  mov    %ecx,(%r10,%rdx,4)
  test   %ecx,%ecx
  cmovne %ebx,%eax
  add    $0x1,%edi
  add    $0x5,%r8
  cmp    %edi,%esi
  jne    L85
L39:
  mov    %esi,%edx
  sub    $0x2,%edx
  js     L51
  sub    $0x1,%esi
  mov    -0x50(%rbp),%rbx
  mov    %rbx,%r12
  shr    $0x2,%r12
  neg    %rbx
  mov    %rbx,-0x58(%rbp)
  sub    $0x8,%r9
  imul   %r12,%r9
  lea    (%r10,%r9,1),%rbx
  movslq %edx,%rdx
  lea    (%rdx,%rdx,4),%rdx
  add    %rdx,%r13
  mov    %rbx,%r11
  sub    $0x2,%r14d
  jmp    L66
L6:
  mov    $0x0,%eax
  jmp    L28
L17:
  lea    0x1(%rdx),%r15d
  movslq %r15d,%r15
  lea    (%r15,%r9,1),%rcx
  add    -0x48(%rbp),%r15
  mov    (%r10,%rcx,4),%ecx
  mov    (%r10,%r15,4),%r15d
  cmp    %r15d,%ecx
  cmovg  %r15d,%ecx
  mov    (%rdi,%rdx,4),%r15d
  cmp    %r15d,%ecx
  cmovg  %r15d,%ecx
  add    $0x1,%ecx
  mov    %ecx,(%rbx,%rdx,4)
  cmp    %ecx,%eax
  cmovl  %ecx,%eax
L55:
  sub    $0x1,%rdx
  test   %edx,%edx
  js     L49
L44:
  cmpb   $0x31,(%r8,%rdx,1)
  je     L17
  movl   $0x0,(%r11,%rdx,4)
  jmp    L55
L49:
  mov    -0x58(%rbp),%rdi
  add    %rdi,%rbx
  add    %rdi,%r11
  sub    $0x5,%r13
  sub    $0x1,%esi
  je     L51
L66:
  lea    -0x1(%rsi),%ecx
  test   %r14d,%r14d
  js     L49
  mov    %r13,%r8
  movslq %r14d,%rdx
  movslq %esi,%rdi
  imul   -0x50(%rbp),%rdi
  add    %r10,%rdi
  movslq %esi,%r9
  imul   %r12,%r9
  movslq %ecx,%rcx
  imul   %r12,%rcx
  mov    %rcx,-0x48(%rbp)
  jmp    L44
L51:
  imul   %eax,%eax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L138
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L138:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int maximalSquare(char matrix[][5], int matrixRowSize, int matrixColSize) {
  int record[matrixRowSize][matrixColSize];
  int maxEdge = 0;
  for (int i = 0; i < matrixColSize; ++i)
    if (record[matrixRowSize - 1][i] = matrix[matrixRowSize - 1][i] - '0')
      maxEdge = 1;
  for (int i = 0; i < matrixRowSize; ++i)
    if (record[i][matrixColSize - 1] = matrix[i][matrixColSize - 1] - '0')
      maxEdge = 1;
  for (int i = matrixRowSize - 2; i >= 0; --i)
    for (int j = matrixColSize - 2; j >= 0; --j)
      if (matrix[i][j] == '1') {
        record[i][j] = ((((record[i][j + 1]) < (record[i + 1][j]) ? (record[i][j + 1]) : (record[i + 1][j]))) < (record[i + 1][j + 1]) ? (((record[i][j + 1]) < (record[i + 1][j]) ? (record[i][j + 1]) : (record[i + 1][j]))) : (record[i + 1][j + 1])) + 1;
        maxEdge = ((maxEdge) > (record[i][j]) ? (maxEdge) : (record[i][j]));
      } else
        record[i][j] = 0;
  return maxEdge * maxEdge;
}
```