user: 这段汇编代码用C语言表示是什么样的：

```asm
<imc_getWCS>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rdx,%r12
  mov    %rsi,%rdx
  lea    D169(%rip),%rsi
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    0xb0(%rsp),%rax
  mov    %r8,0x8(%rsp)
  mov    %r9,0x10(%rsp)
  mov    0xb8(%rsp),%r14
  mov    %rax,(%rsp)
  mov    0xc8(%rsp),%rax
  mov    0xc0(%rsp),%r15
  mov    0xd8(%rsp),%rbx
  mov    %rax,0x38(%rsp)
  mov    0xd0(%rsp),%rax
  mov    %rax,0x40(%rsp)
  mov    0xe0(%rsp),%rax
  mov    %rax,0x48(%rsp)
  mov    0xe8(%rsp),%rax
  mov    %rax,0x18(%rsp)
  mov    0xf0(%rsp),%rax
  mov    %rax,0x20(%rsp)
  mov    0xf8(%rsp),%rax
  mov    %rax,0x28(%rsp)
  mov    0x100(%rsp),%rax
  mov    %rax,0x30(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x58(%rsp)
  movl   $0x0,0x5c(%rsp)
  movl   $0x0,0x60(%rsp)
  movl   $0x0,0x64(%rsp)
  call   <imget_fits_value@plt>
  cmp    $0x1,%eax
  je     L21
L103:
  xor    %r12d,%r12d
L155:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L87
  add    $0x78,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L21:
  mov    %r12,%rdx
  lea    D101(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  cmp    $0x1,%eax
  jne    L103
  mov    %r13,%rdx
  lea    D227(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  cmp    $0x1,%eax
  jne    L103
  mov    %r14,%rdx
  lea    D27(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  cmp    $0x1,%eax
  jne    L103
  mov    %r15,%rdx
  lea    D32(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  cmp    $0x1,%eax
  jne    L103
  mov    %rbx,%rdx
  lea    D69(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  cmp    $0x1,%eax
  jne    L103
  mov    0x48(%rsp),%rdx
  lea    D224(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  mov    %eax,%r12d
  cmp    $0x1,%eax
  jne    L103
  mov    0x38(%rsp),%rdx
  lea    D54(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  mov    0x40(%rsp),%rdx
  lea    D174(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  mov    (%rsp),%rdx
  lea    D181(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  sub    $0x1,%eax
  je     L144
L138:
  mov    (%rsp),%rdi
  lea    D140(%rip),%rsi
  call   <strcpy@plt>
L13:
  mov    0x18(%rsp),%rdx
  lea    D123(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  mov    0x20(%rsp),%rdx
  lea    D59(%rip),%rsi
  mov    %rbp,%rdi
  mov    %eax,%ebx
  call   <imget_fits_value@plt>
  mov    0x28(%rsp),%rdx
  lea    D120(%rip),%rsi
  mov    %rbp,%rdi
  add    %eax,%ebx
  call   <imget_fits_value@plt>
  mov    0x30(%rsp),%rdx
  lea    D96(%rip),%rsi
  mov    %rbp,%rdi
  add    %eax,%ebx
  call   <imget_fits_value@plt>
  add    %ebx,%eax
  jne    L155
  mov    0x8(%rsp),%rdx
  lea    D172(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  sub    $0x1,%eax
  jne    L103
  mov    0x10(%rsp),%rdx
  lea    D16(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  sub    $0x1,%eax
  jne    L103
  lea    0x58(%rsp),%rdx
  lea    D38(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_float_value@plt>
  sub    $0x1,%eax
  jne    L103
  lea    0x5c(%rsp),%rdx
  lea    D126(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_float_value@plt>
  sub    $0x1,%eax
  jne    L103
  lea    0x60(%rsp),%rdx
  lea    D114(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_float_value@plt>
  sub    $0x1,%eax
  jne    L103
  lea    0x64(%rsp),%rdx
  lea    D17(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_float_value@plt>
  mov    %eax,%r12d
  cmp    $0x1,%eax
  jne    L103
  mov    0x8(%rsp),%rbx
  lea    D57(%rip),%r13
  mov    %rbx,%rdi
  call   <atof@plt>
  mulss  0x58(%rsp),%xmm0
  mov    0x18(%rsp),%rdi
  mov    %r13,%rsi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <atof@plt>
  mulss  0x5c(%rsp),%xmm0
  mov    0x20(%rsp),%rdi
  mov    %r13,%rsi
  call   <sprintf@plt>
  mov    0x10(%rsp),%rbx
  mov    %rbx,%rdi
  call   <atof@plt>
  mulss  0x60(%rsp),%xmm0
  mov    0x28(%rsp),%rdi
  mov    %r13,%rsi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <atof@plt>
  mulss  0x64(%rsp),%xmm0
  mov    0x30(%rsp),%rdi
  mov    %r13,%rsi
  call   <sprintf@plt>
  jmp    L155
L87:
  call   <__stack_chk_fail@plt>
L144:
  mov    (%rsp),%rdx
  lea    D132(%rip),%rsi
  mov    %rbp,%rdi
  call   <imget_fits_value@plt>
  sub    $0x1,%eax
  jne    L138
  jmp    L13
```

tool_calls: name: retrieve_data
arguments: tag: D169
type_infered: string
name: retrieve_data
arguments: tag: D101
type_infered: string
name: retrieve_data
arguments: tag: D227
type_infered: string
name: retrieve_data
arguments: tag: D27
type_infered: string
name: retrieve_data
arguments: tag: D32
type_infered: string
name: retrieve_data
arguments: tag: D69
type_infered: string
name: retrieve_data
arguments: tag: D224
type_infered: string
name: retrieve_data
arguments: tag: D54
type_infered: string
name: retrieve_data
arguments: tag: D174
type_infered: string
name: retrieve_data
arguments: tag: D181
type_infered: string
name: retrieve_data
arguments: tag: D140
type_infered: string
name: retrieve_data
arguments: tag: D123
type_infered: string
name: retrieve_data
arguments: tag: D59
type_infered: string
name: retrieve_data
arguments: tag: D120
type_infered: string
name: retrieve_data
arguments: tag: D96
type_infered: string
name: retrieve_data
arguments: tag: D172
type_infered: string
name: retrieve_data
arguments: tag: D16
type_infered: string
name: retrieve_data
arguments: tag: D38
type_infered: string
name: retrieve_data
arguments: tag: D126
type_infered: string
name: retrieve_data
arguments: tag: D114
type_infered: string
name: retrieve_data
arguments: tag: D17
type_infered: string
name: retrieve_data
arguments: tag: D57
type_infered: string
name: retrieve_data
arguments: tag: D132
type_infered: string

tool: D169: CRVAL1

tool: D101: CRVAL2

tool: D227: EQUINOX

tool: D27: CTYPE1

tool: D32: CTYPE2

tool: D69: CRPIX1

tool: D224: CRPIX2

tool: D54: CUNIT1

tool: D174: CUNIT2

tool: D181: LONPOLE

tool: D140: 180.0

tool: D123: CD1_1

tool: D59: CD1_2

tool: D120: CD2_1

tool: D96: CD2_2

tool: D172: CDELT1

tool: D16: CDELT2

tool: D38: PC001001

tool: D126: PC001002

tool: D114: PC002001

tool: D17: PC002002

tool: D57: %f

tool: D132: LONGPOLE

assistant: ```c
int imc_getWCS(struct icom *icom, char *crval1, char *crval2, char *equinox, char *cdelt1, char *cdelt2, char *longpole, char *ctype1, char *ctype2, char *cunit1, char *cunit2, char *crpix1, char *crpix2, char *cd11, char *cd12, char *cd21, char *cd22) {
  float pc11 = 0, pc12 = 0, pc21 = 0, pc22 = 0;
  if (imget_fits_value(icom, "CRVAL1", crval1) == 1 && imget_fits_value(icom, "CRVAL2", crval2) == 1 && imget_fits_value(icom, "EQUINOX", equinox) == 1 && imget_fits_value(icom, "CTYPE1", ctype1) == 1 && imget_fits_value(icom, "CTYPE2", ctype2) == 1 && imget_fits_value(icom, "CRPIX1", crpix1) == 1 && imget_fits_value(icom, "CRPIX2", crpix2) == 1) {
    imget_fits_value(icom, "CUNIT1", cunit1);
    imget_fits_value(icom, "CUNIT2", cunit2);
    if (imget_fits_value(icom, "LONPOLE", longpole) != 1 || imget_fits_value(icom, "LONGPOLE", longpole) != 1)
      strcpy(longpole, "180.0");
    if ((imget_fits_value(icom, "CD1_1", cd11) + imget_fits_value(icom, "CD1_2", cd12) + imget_fits_value(icom, "CD2_1", cd21) + imget_fits_value(icom, "CD2_2", cd22)) != 0) {
      return 1;
    } else if (imget_fits_value(icom, "CDELT1", cdelt1) == 1 && imget_fits_value(icom, "CDELT2", cdelt2) == 1 && imget_fits_float_value(icom, "PC001001", &pc11) == 1 && imget_fits_float_value(icom, "PC001002", &pc12) == 1 && imget_fits_float_value(icom, "PC002001", &pc21) == 1 && imget_fits_float_value(icom, "PC002002", &pc22) == 1) {
      sprintf(cd11, "%f", pc11 * atof(cdelt1));
      sprintf(cd12, "%f", pc12 * atof(cdelt1));
      sprintf(cd21, "%f", pc21 * atof(cdelt2));
      sprintf(cd22, "%f", pc22 * atof(cdelt2));
      return 1;
    } else
      return 0;
  } else
    return 0;
}
```