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

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movl   $0x439520c5,0x1c(%rsp)
  movl   $0x0,0x28(%rsp)
  movl   $0x1,0x2c(%rsp)
  movl   $0xb,0x30(%rsp)
  movl   $0x0,0x34(%rsp)
  call   <setpar@plt>
  lea    0x34(%rsp),%rdx
  lea    D38(%rip),%rsi
  lea    D98(%rip),%rdi
  call   <getpar@plt>
  lea    0x8(%rsp),%rdx
  lea    D95(%rip),%rbx
  mov    %rbx,%rsi
  lea    D3(%rip),%rdi
  call   <mstpar@plt>
  lea    0xc(%rsp),%rdx
  mov    %rbx,%rsi
  lea    D90(%rip),%rdi
  call   <mstpar@plt>
  mov    $0x0,%eax
  call   <endpar@plt>
  cmpl   $0x1,0x34(%rsp)
  je     L25
  movl   $0x42dea398,0x24(%rsp)
  lea    0x1c(%rsp),%rsi
  lea    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  call   <set_g2@plt>
  movss  D24(%rip),%xmm0
  mulss  0xc(%rsp),%xmm0
  cvtss2sd %xmm0,%xmm0
  mov    $0x1,%eax
  call   <geocen@plt>
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x10(%rsp)
  lea    0x24(%rsp),%rcx
  lea    0x14(%rsp),%rdx
  lea    0x18(%rsp),%rsi
  lea    0x10(%rsp),%rdi
  mov    %rbx,%r8
  call   <latlon2km@plt>
L35:
  mov    %rsp,%rbp
  lea    D47(%rip),%rbx
  lea    D74(%rip),%r12
  jmp    L68
L25:
  pxor   %xmm0,%xmm0
  cvtss2sd 0x8(%rsp),%xmm0
  movsd  %xmm0,0x48(%rsp)
  pxor   %xmm0,%xmm0
  cvtss2sd 0xc(%rsp),%xmm0
  movsd  %xmm0,0x50(%rsp)
  lea    0x40(%rsp),%rcx
  lea    0x38(%rsp),%rdx
  lea    0x50(%rsp),%rsi
  lea    0x48(%rsp),%rdi
  lea    0x28(%rsp),%r9
  lea    0x30(%rsp),%r8
  call   <geoutm_@plt>
  jmp    L35
L59:
  pxor   %xmm0,%xmm0
  cvtss2sd (%rsp),%xmm0
  mulsd  D82(%rip),%xmm0
  addsd  0x38(%rsp),%xmm0
  movsd  %xmm0,0x58(%rsp)
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  mulsd  D82(%rip),%xmm0
  addsd  0x40(%rsp),%xmm0
  movsd  %xmm0,0x60(%rsp)
  lea    0x60(%rsp),%rcx
  lea    0x58(%rsp),%rdx
  lea    0x50(%rsp),%rsi
  lea    0x48(%rsp),%rdi
  lea    0x2c(%rsp),%r9
  lea    0x30(%rsp),%r8
  call   <geoutm_@plt>
  pxor   %xmm0,%xmm0
  cvtsd2ss 0x48(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsd2ss 0x50(%rsp),%xmm1
L69:
  mov    %r12,%rdi
  call   <printf@plt>
L68:
  lea    0x4(%rsp),%rsi
  mov    %rbp,%rdx
  mov    %rbx,%rdi
  call   <scanf@plt>
  cmp    $0x2,%eax
  jne    L2
  cmpl   $0x1,0x34(%rsp)
  je     L59
  movss  (%rsp),%xmm0
  divss  0x14(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  movss  0x4(%rsp),%xmm1
  divss  0x18(%rsp),%xmm1
  addss  0xc(%rsp),%xmm1
  jmp    L69
L2:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  mov    $0x0,%eax
  add    $0x70,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D38
data_type: string
name: extract_symbolic_data
arguments: tag: D98
data_type: string
name: extract_symbolic_data
arguments: tag: D95
data_type: string
name: extract_symbolic_data
arguments: tag: D3
data_type: string
name: extract_symbolic_data
arguments: tag: D90
data_type: string
name: extract_symbolic_data
arguments: tag: D24
data_type: f32
name: extract_symbolic_data
arguments: tag: D47
data_type: string
name: extract_symbolic_data
arguments: tag: D74
data_type: string
name: extract_symbolic_data
arguments: tag: D82
data_type: f64

tool: D38: d

tool: D98: utm

tool: D95: f

tool: D3: ref_lon

tool: D90: ref_lat

tool: D24: 0.017453292

tool: D47: %f %f

tool: D74: %.5f %.5f


tool: D82: 1000

assistant: ```c
main(int ac, char **av) {
  FILE *fpw, *fpr, *fopfile();
  float rlon, rlat, east, nort, ref_lon, ref_lat;
  float latavg, kmlon, kmlat;
  float rperd = 0.017453292;
  float erad = 6378.139;
  float fc = 298.256;
  float g2, radc;
  double geocen();
  double xr0, yr0, dlon, dlat, dxr, dyr;
  int geo2utm = 0;
  int utm2geo = 1;
  int utm_zone = 11;
  int utm = 0;
  setpar(ac, av);
  getpar("utm", "d", &utm);
  mstpar("ref_lon", "f", &ref_lon);
  mstpar("ref_lat", "f", &ref_lat);
  endpar();
  if (utm == 1) {
    dlon = ref_lon;
    dlat = ref_lat;
    geoutm_(&dlon, &dlat, &xr0, &yr0, &utm_zone, &geo2utm);
  } else {
    radc = 6378.139 * 0.017453292;
    set_g2(&g2, &fc);
    latavg = geocen(ref_lat * rperd);
    latlon2km(&latavg, &kmlat, &kmlon, &radc, &g2);
  }
  while (scanf("%f %f", &nort, &east) == 2) {
    if (utm == 1) {
      dxr = xr0 + 1000.0 * east;
      dyr = yr0 + 1000.0 * nort;
      geoutm_(&dlon, &dlat, &dxr, &dyr, &utm_zone, &utm2geo);
      rlon = dlon;
      rlat = dlat;
    } else {
      rlon = ref_lon + east / kmlon;
      rlat = ref_lat + nort / kmlat;
    }
    printf("%.5f %.5f\n", rlon, rlat);
  }
}
```