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

```asm
<goodSudoku>:
  endbr64
  test   %edi,%edi
  jle    L119
  push   %r15
  push   %r14
  mov    %edi,%r14d
  push   %r13
  mov    $0xfffffffffffffffc,%r13
  push   %r12
  movslq %esi,%r12
  push   %rbp
  lea    0x0(,%r12,4),%rax
  mov    %rdx,%rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x28,%rsp
  mov    %rax,0x8(%rsp)
  lea    -0x1(%rdi),%eax
  shl    $0x2,%rax
  mov    %rdx,0x10(%rsp)
  lea    0x4(%rdx,%rax,1),%rcx
  sub    %rax,%r13
  mov    %rcx,0x18(%rsp)
  mov    %rcx,%r15
L358:
  mov    %r14d,%edi
  mov    $0x4,%esi
  call   <calloc@plt>
  lea    0x0(%r13,%r15,1),%rdx
  mov    %rax,%rdi
  nopw   0x0(%rax,%rax,1)
L139:
  movslq (%rdx),%rax
  add    $0x4,%rdx
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    %r15,%rdx
  jne    L139
  cmpl   $0x1,(%rdi)
  jne    L375
  cmp    $0x1,%r14d
  je     L320
  cmpl   $0x1,0x4(%rdi)
  jne    L375
  cmp    $0x2,%r14d
  je     L320
  cmpl   $0x1,0x8(%rdi)
  jne    L375
  cmp    $0x3,%r14d
  je     L320
  cmpl   $0x1,0xc(%rdi)
  jne    L375
  cmp    $0x4,%r14d
  je     L320
  cmpl   $0x1,0x10(%rdi)
  jne    L375
  cmp    $0x5,%r14d
  je     L320
  cmpl   $0x1,0x14(%rdi)
  jne    L375
  cmp    $0x6,%r14d
  je     L320
  cmpl   $0x1,0x18(%rdi)
  jne    L375
  cmp    $0x7,%r14d
  je     L320
  cmpl   $0x1,0x1c(%rdi)
  jne    L375
  cmp    $0x8,%r14d
  je     L320
  cmpl   $0x1,0x20(%rdi)
  jne    L375
L320:
  call   <free@plt>
  add    $0x1,%ebx
  add    0x8(%rsp),%r15
  cmp    %ebx,%r14d
  jne    L358
  mov    %r12,%r13
  lea    (%r12,%r12,2),%r14
  shl    $0x4,%r13
  shl    $0x2,%r14
  add    %r13,%rbp
  add    %rbp,%r13
L463:
  mov    %ebx,%edi
  mov    $0x4,%esi
  call   <calloc@plt>
  mov    0x10(%rsp),%rcx
  mov    %rax,%rdi
  movslq (%rcx),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x1,%ebx
  je     L385
  movslq (%rcx,%r12,4),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x2,%ebx
  je     L330
  movslq (%rcx,%r12,8),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x3,%ebx
  je     L330
  movslq (%rcx,%r14,1),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x4,%ebx
  je     L330
  movslq 0x0(%rbp),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x5,%ebx
  je     L330
  movslq 0x0(%rbp,%r12,4),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x6,%ebx
  je     L330
  movslq 0x0(%rbp,%r12,8),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x7,%ebx
  je     L330
  movslq 0x0(%rbp,%r14,1),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x8,%ebx
  je     L330
  movslq 0x0(%r13),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
  cmp    $0x9,%ebx
  je     L330
  movslq 0x0(%r13,%r12,4),%rax
  addl   $0x1,-0x4(%rdi,%rax,4)
L330:
  cmpl   $0x1,(%rdi)
  jne    L375
  cmpl   $0x1,0x4(%rdi)
  jne    L375
  cmp    $0x2,%ebx
  je     L59
  cmpl   $0x1,0x8(%rdi)
  jne    L375
  cmp    $0x3,%ebx
  je     L59
  cmpl   $0x1,0xc(%rdi)
  jne    L375
  cmp    $0x4,%ebx
  je     L59
  cmpl   $0x1,0x10(%rdi)
  jne    L375
  cmp    $0x5,%ebx
  je     L59
  cmpl   $0x1,0x14(%rdi)
  jne    L375
  cmp    $0x6,%ebx
  je     L59
  cmpl   $0x1,0x18(%rdi)
  jne    L375
  cmp    $0x7,%ebx
  je     L59
  cmpl   $0x1,0x1c(%rdi)
  jne    L375
  cmp    $0x8,%ebx
  je     L59
  cmpl   $0x1,0x20(%rdi)
  jne    L375
L59:
  call   <free@plt>
  add    $0x4,%rbp
  add    $0x4,%r13
  addq   $0x4,0x10(%rsp)
  mov    0x10(%rsp),%rax
  cmp    %rax,0x18(%rsp)
  jne    L463
  mov    $0x1,%eax
  jmp    L87
L385:
  cmpl   $0x1,(%rdi)
  je     L59
  cs nopw 0x0(%rax,%rax,1)
L375:
  xor    %eax,%eax
L87:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L119:
  mov    $0x1,%eax
  ret
```

assistant: ```c
int goodSudoku(int rows, int columns, int array[rows][columns]) {
  int i, j;
  int test[9] = {1, 1, 1, 1, 1, 1, 1, 1, 1};
  for (i = 0; i < rows; i++) {
    int *niz = calloc(rows, sizeof(int));
    for (j = 0; j < rows; j++) {
      niz[array[i][j] - 1] += 1;
    }
    for (j = 0; j < rows; j++) {
      if (niz[j] != test[j])
        return 0;
    }
    free(niz);
  }
  for (j = 0; j < rows; j++) {
    int *niz = calloc(rows, sizeof(int));
    for (i = 0; i < rows; i++) {
      niz[array[i][j] - 1] += 1;
    }
    for (i = 0; i < rows; i++) {
      if (niz[i] != test[i])
        return 0;
    }
    free(niz);
  }
  return 1;
}
```