user: 请从给定的汇编指令推导出C源代码:

```asm
<matInfinityNormCheckResultGMSP>:
  endbr64
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x10,%rsp
  test   %esi,%esi
  jle    L42
  mov    %rdi,%r9
  pxor   %xmm2,%xmm2
  mov    %esi,%r8d
  xor    %edi,%edi
  movaps %xmm2,%xmm1
  lea    -0x1(%rdx),%r11d
  lea    0x4(%r9),%r10
  xor    %esi,%esi
  nopl   (%rax)
L16:
  movaps %xmm2,%xmm0
  test   %edx,%edx
  jle    L18
  movslq %edi,%rcx
  movaps %xmm2,%xmm0
  lea    (%r9,%rcx,4),%rax
  add    %r11,%rcx
  lea    (%r10,%rcx,4),%rcx
  nopl   0x0(%rax,%rax,1)
L41:
  addss  (%rax),%xmm0
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L41
L18:
  maxss  %xmm1,%xmm0
  add    $0x1,%esi
  add    %edx,%edi
  movaps %xmm0,%xmm1
  cmp    %esi,%r8d
  jne    L16
L35:
  movaps %xmm1,%xmm0
  movss  %xmm2,0xc(%rsp)
  movss  %xmm1,0x8(%rsp)
  call   <fabs@plt>
  movss  %xmm0,0x4(%rsp)
  movss  (%rbx),%xmm0
  call   <fabs@plt>
  movss  0x4(%rsp),%xmm3
  movss  0xc(%rsp),%xmm2
  movss  0x8(%rsp),%xmm1
  comiss %xmm0,%xmm3
  movss  %xmm2,0x4(%rsp)
  jbe    L40
  movaps %xmm1,%xmm0
  subss  (%rbx),%xmm0
  divss  %xmm1,%xmm0
  call   <fabs@plt>
  movss  0x4(%rsp),%xmm2
  movaps %xmm0,%xmm1
L76:
  ucomiss %xmm2,%xmm1
  mov    $0x1,%edx
  setp   %al
  cmovne %edx,%eax
  test   %al,%al
  je     L19
  comiss D22(%rip),%xmm1
  jbe    L19
  comiss %xmm2,%xmm1
  movss  %xmm1,0x4(%rsp)
  ja     L60
L19:
  add    $0x10,%rsp
  lea    D40(%rip),%rdi
  pop    %rbx
  jmp    1070 <puts@plt>
L40:
  movss  (%rbx),%xmm3
  movaps %xmm3,%xmm0
  subss  %xmm1,%xmm0
  divss  %xmm3,%xmm0
  call   <fabs@plt>
  movss  0x4(%rsp),%xmm2
  movaps %xmm0,%xmm1
  jmp    L76
L60:
  lea    D33(%rip),%rdi
  call   <puts@plt>
  movsd  D2(%rip),%xmm0
  mov    $0x1,%eax
  lea    D28(%rip),%rdi
  call   <printf@plt>
  movss  0x4(%rsp),%xmm1
  add    $0x10,%rsp
  pxor   %xmm0,%xmm0
  lea    D48(%rip),%rdi
  mov    $0x1,%eax
  pop    %rbx
  cvtss2sd %xmm1,%xmm0
  jmp    1080 <printf@plt>
L42:
  pxor   %xmm2,%xmm2
  movaps %xmm2,%xmm1
  jmp    L35
```

tool_calls: name: disassemble_data
arguments: label: D22
type: byte[4]
name: disassemble_data
arguments: label: D40
type: string
name: disassemble_data
arguments: label: D33
type: string
name: disassemble_data
arguments: label: D2
type: byte[8]
name: disassemble_data
arguments: label: D28
type: string
name: disassemble_data
arguments: label: D48
type: string

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

tool: D40: 
 
		Results verfication : Success


tool: D33:  
 		 Results verfication : Failed

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

tool: D28:  
 		 Considered machine precision : %e


tool: D48:  
 		 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");
  }
}
```