user: 请将以下的汇编代码转换成C语言代码:

```asm
<output_map>:
  endbr64
  push   %r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdi,%r12
  mov    %rsi,%rdi
  push   %rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0xa8,%rsp
  mov    %r9,0x8(%rsp)
  mov    0xe0(%rsp),%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  call   <google_map_get_map_key@plt>
  mov    0x8(%rsp),%rsi
  lea    0x10(%rsp),%rdi
  mov    %rax,%r15
  call   <format_initial_capital@plt>
  sub    $0x8,%rsp
  mov    %r13,%r9
  xor    %r8d,%r8d
  mov    %eax,%esi
  lea    D132(%rip),%rax
  push   $0x226
  xor    %ecx,%ecx
  push   $0x320
  mov    %r15,%rdx
  mov    %r12,%rdi
  push   $0xa
  push   %rax
  lea    D100(%rip),%rax
  push   %rax
  push   $0x0
  push   $0x0
  call   <google_map_output_heading@plt>
  add    $0x40,%rsp
  mov    %r12,%rdi
  lea    D50(%rip),%r8
  lea    D126(%rip),%rcx
  lea    D42(%rip),%rdx
  lea    D118(%rip),%rsi
  call   <google_map_output_rectangle@plt>
  mov    %r12,%rdi
  call   <google_map_output_heading_close@plt>
  lea    D140(%rip),%rdx
  mov    $0x1,%esi
  mov    %r12,%rdi
  call   <google_map_output_body@plt>
  mov    %r12,%rdi
  call   <google_map_output_rectangle_bounds_changed@plt>
  mov    %r12,%rcx
  mov    $0x43,%edx
  mov    $0x1,%esi
  lea    D91(%rip),%rdi
  call   <fwrite@plt>
  mov    %r12,%rdi
  call   <google_map_output_rectangle_copy_to_form@plt>
  sub    $0x8,%rsp
  mov    %rbp,%r9
  mov    %rbx,%r8
  lea    D31(%rip),%rax
  mov    %r14,%rcx
  mov    %r13,%rdx
  mov    %r12,%rdi
  push   %rax
  lea    D112(%rip),%rsi
  xor    %eax,%eax
  call   <fprintf@plt>
  mov    %r12,%rcx
  mov    $0xda,%edx
  mov    $0x1,%esi
  lea    D16(%rip),%rdi
  call   <fwrite@plt>
  mov    %r12,%rcx
  mov    $0x13,%edx
  mov    $0x1,%esi
  lea    D85(%rip),%rdi
  call   <fwrite@plt>
  mov    %r12,%rcx
  mov    $0x71,%edx
  mov    $0x1,%esi
  lea    D44(%rip),%rdi
  call   <fwrite@plt>
  mov    %r12,%rcx
  mov    $0x11,%edx
  mov    $0x1,%esi
  lea    D66(%rip),%rdi
  call   <fwrite@plt>
  mov    $0x10,%edx
  mov    %r12,%rcx
  mov    $0x1,%esi
  lea    D4(%rip),%rdi
  call   <fwrite@plt>
  pop    %rax
  pop    %rdx
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L7:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D132
type: string
name: extract_symbolic_data
arguments: data_label: D100
type: string
name: extract_symbolic_data
arguments: data_label: D50
type: string
name: extract_symbolic_data
arguments: data_label: D126
type: string
name: extract_symbolic_data
arguments: data_label: D42
type: string
name: extract_symbolic_data
arguments: data_label: D118
type: string
name: extract_symbolic_data
arguments: data_label: D140
type: string
name: extract_symbolic_data
arguments: data_label: D91
type: string
name: extract_symbolic_data
arguments: data_label: D31
type: string
name: extract_symbolic_data
arguments: data_label: D112
type: string
name: extract_symbolic_data
arguments: data_label: D16
type: string
name: extract_symbolic_data
arguments: data_label: D85
type: string
name: extract_symbolic_data
arguments: data_label: D44
type: string
name: extract_symbolic_data
arguments: data_label: D66
type: string
name: extract_symbolic_data
arguments: data_label: D4
type: string

tool: D132: -80.84817

tool: D100: 25.68821

tool: D50: -80.74

tool: D126: 25.75

tool: D42: -80.85

tool: D118: 25.65

tool: D140: rectangle_bounds_changed()

tool: D91: <script language=JavaScript1.2 src=/javascript/timlib.js></script>


tool: D31: prompt_frame

tool: D112: <form enctype="multipart/form-data" method=post name="prompt_process" action="/cgi-bin/post_hydrology_measurements_rectangle?%s+%s+%s+%s" target="%s">


tool: D16: <input type=hidden name=rectangle_southwest_latitude>
<input type=hidden name=rectangle_southwest_longitude>
<input type=hidden name=rectangle_northeast_latitude>
<input type=hidden name=rectangle_northeast_longitude>


tool: D85: <td valign=middle>


tool: D44: <input type=button value=Submit onClick="rectangle_copy_to_form(); document.forms[0].submit(); window.close();">


tool: D66: </form>
</table>


tool: D4: </body>
</html>


assistant: ```c
void output_map(FILE *output_file, char *application_name, char *database_string, char *login_name, char *session, char *process_name, char *role_name) {
  char *google_map_key_data;
  char buffer[128];
  google_map_key_data = google_map_get_map_key(application_name);
  google_map_output_heading(output_file, format_initial_capital(buffer, process_name), google_map_key_data, (char *)0, (char *)0, application_name, 0, 0, "25.68821", "-80.84817", 10, 800, 550);
  google_map_output_rectangle(output_file, "25.65", "-80.85", "25.75", "-80.74");
  google_map_output_heading_close(output_file);
  google_map_output_body(output_file, 1, "rectangle_bounds_changed()");
  google_map_output_rectangle_bounds_changed(output_file);
  fprintf(output_file, "<script language=JavaScript1.2 src=/javascript/timlib.js></script>\n");
  google_map_output_rectangle_copy_to_form(output_file);
  fprintf(output_file, "<form enctype=\"multipart/form-data\" method=post name=\"prompt_process\" action=\"/cgi-bin/post_hydrology_measurements_rectangle?%s+%s+%s+%s\" target=\"%s\">\n", application_name, login_name, session, role_name, "prompt_frame");
  fprintf(output_file, "<input type=hidden name=rectangle_southwest_latitude>\n"
                       "<input type=hidden name=rectangle_southwest_longitude>\n"
                       "<input type=hidden name=rectangle_northeast_latitude>\n"
                       "<input type=hidden name=rectangle_northeast_longitude>\n");
  fprintf(output_file, "<td valign=middle>\n");
  fprintf(output_file, "<input type=button value=Submit onClick=\"rectangle_copy_to_form(); document.forms[0].submit(); window.close();\">\n");
  fprintf(output_file, "</form>\n</table>\n");
  fprintf(output_file, "</body>\n</html>\n");
}
```