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

```asm
<matInfinityNormCheckResultGMSP>:
  endbr64
  push   %rbp
  mov    %esi,%r10d
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x18,%rsp
  test   %esi,%esi
  jle    L61
  mov    %edx,%eax
  mov    %edx,%r9d
  pxor   %xmm4,%xmm4
  mov    %rdi,%r8
  shr    $0x2,%eax
  mov    %edx,%esi
  lea    -0x1(%rdx),%ebp
  and    $0xfffffffc,%r9d
  lea    -0x1(%rax),%r11d
  xor    %ecx,%ecx
  movaps %xmm4,%xmm3
  xor    %edi,%edi
  add    $0x1,%r11
  shl    $0x4,%r11
  nopl   0x0(%rax,%rax,1)
L25:
  movaps %xmm4,%xmm1
  test   %esi,%esi
  jle    L70
  cmp    $0x2,%ebp
  jbe    L98
  movslq %ecx,%rax
  movaps %xmm4,%xmm1
  lea    (%r8,%rax,4),%rax
  lea    (%r11,%rax,1),%rdx
  nopw   0x0(%rax,%rax,1)
L19:
  movups (%rax),%xmm0
  add    $0x10,%rax
  addss  %xmm0,%xmm1
  movaps %xmm0,%xmm2
  shufps $0x55,%xmm0,%xmm2
  addss  %xmm2,%xmm1
  movaps %xmm0,%xmm2
  unpckhps %xmm0,%xmm2
  shufps $0xff,%xmm0,%xmm0
  addss  %xmm2,%xmm1
  addss  %xmm0,%xmm1
  cmp    %rdx,%rax
  jne    L19
  mov    %r9d,%eax
  cmp    %esi,%r9d
  je     L70
L102:
  lea    (%rcx,%rax,1),%edx
  movslq %edx,%rdx
  addss  (%r8,%rdx,4),%xmm1
  lea    0x1(%rax),%edx
  cmp    %edx,%esi
  jle    L70
  add    %ecx,%edx
  add    $0x2,%eax
  movslq %edx,%rdx
  addss  (%r8,%rdx,4),%xmm1
  cmp    %eax,%esi
  jle    L70
  add    %ecx,%eax
  cltq
  addss  (%r8,%rax,4),%xmm1
L70:
  maxss  %xmm3,%xmm1
  add    $0x1,%edi
  add    %esi,%ecx
  movaps %xmm1,%xmm3
  cmp    %edi,%r10d
  jne    L25
L11:
  movaps %xmm3,%xmm0
  movss  %xmm4,0xc(%rsp)
  movss  %xmm3,0x8(%rsp)
  call   <fabs@plt>
  movd   %xmm0,%ebp
  movss  (%rbx),%xmm0
  call   <fabs@plt>
  movd   %ebp,%xmm5
  movss  0xc(%rsp),%xmm4
  movss  0x8(%rsp),%xmm3
  comiss %xmm0,%xmm5
  movss  %xmm4,0x8(%rsp)
  jbe    L52
  movaps %xmm3,%xmm0
  subss  (%rbx),%xmm0
  divss  %xmm3,%xmm0
  call   <fabs@plt>
  movss  0x8(%rsp),%xmm4
  movaps %xmm0,%xmm1
L135:
  ucomiss %xmm4,%xmm1
  mov    $0x1,%edx
  setp   %al
  cmovne %edx,%eax
  test   %al,%al
  je     L9
  comiss D33(%rip),%xmm1
  jbe    L9
  comiss %xmm4,%xmm1
  movss  %xmm1,0x8(%rsp)
  ja     L145
L9:
  add    $0x18,%rsp
  lea    D35(%rip),%rdi
  pop    %rbx
  pop    %rbp
  jmp    1070 <puts@plt>
L98:
  movaps %xmm4,%xmm1
  xor    %eax,%eax
  jmp    L102
L52:
  movss  (%rbx),%xmm1
  movaps %xmm1,%xmm0
  subss  %xmm3,%xmm0
  divss  %xmm1,%xmm0
  call   <fabs@plt>
  movss  0x8(%rsp),%xmm4
  movaps %xmm0,%xmm1
  jmp    L135
L145:
  lea    D44(%rip),%rdi
  call   <puts@plt>
  movsd  D51(%rip),%xmm0
  mov    $0x1,%eax
  lea    D34(%rip),%rdi
  call   <printf@plt>
  movss  0x8(%rsp),%xmm1
  add    $0x18,%rsp
  pxor   %xmm0,%xmm0
  pop    %rbx
  lea    D7(%rip),%rdi
  mov    $0x1,%eax
  pop    %rbp
  cvtss2sd %xmm1,%xmm0
  jmp    1080 <printf@plt>
L61:
  pxor   %xmm4,%xmm4
  movaps %xmm4,%xmm3
  jmp    L11
```

tool_calls: name: disassemble_data
arguments: tag: D33
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D35
type_guessed: string
name: disassemble_data
arguments: tag: D44
type_guessed: string
name: disassemble_data
arguments: tag: D51
type_guessed: byte[8]
name: disassemble_data
arguments: tag: D34
type_guessed: string
name: disassemble_data
arguments: tag: D7
type_guessed: string

tool: {"D33": [0x77,0xcc,0x2b,0x32]}

tool: D35: 
 
		Results verfication : Success


tool: D44:  
 		 Results verfication : Failed

tool: {"D51": [0x00,0x00,0x00,0xe0,0x8e,0x79,0x45,0x3e]}

tool: D34:  
 		 Considered machine precision : %e


tool: D7:  
 		 Relative Error                  : %e


assistant: ```c
int matInfinityNormCheckResultGMSP(float *h_Mat, int rows, int cols, float *cal_norm) {
  int currRow, iCol, flag = 0;
  float temp_norm = 0.0f, myRowSum = 0.0f;
  float eps = 1.0e-8f;
  float relativeError = 0.0f;
  float errorNorm = 0.0f;
  for (currRow = 0; currRow < rows; currRow++) {
    myRowSum = 0;
    for (iCol = 0; iCol < cols; iCol++)
      myRowSum += h_Mat[currRow * cols + iCol];
    if (temp_norm < myRowSum)
      temp_norm = myRowSum;
  }
  if (fabs(temp_norm) > fabs(*cal_norm))
    relativeError = fabs((temp_norm - *cal_norm) / temp_norm);
  else
    relativeError = fabs((*cal_norm - temp_norm) / *cal_norm);
  if (relativeError > eps && relativeError != 0.0e+00) {
    if (errorNorm < relativeError) {
      errorNorm = relativeError;
      flag = 1;
    }
  }
  if (flag == 1) {
    printf(" \n \t\t Results verfication : Failed\n");
    printf(" \n \t\t Considered machine precision : %e\n", eps);
    printf(" \n \t\t Relative Error                  : %e\n", errorNorm);
  } else {
    printf("\n \n\t\tResults verfication : Success\n\n");
  }
}
```