user: Translate the below assembly code into C programming language:

```asm
<output_map>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xa8(%rbp)
  mov    %rsi,-0xb0(%rbp)
  mov    %rdx,-0xb8(%rbp)
  mov    %rcx,-0xc0(%rbp)
  mov    %r8,-0xc8(%rbp)
  mov    %r9,-0xd0(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0xd8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0xb0(%rbp),%rax
  mov    %rax,%rdi
  call   <google_map_get_map_key@plt>
  mov    %rax,-0x98(%rbp)
  mov    -0xd0(%rbp),%rdx
  lea    -0x90(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <format_initial_capital@plt>
  mov    %eax,%esi
  mov    -0xb0(%rbp),%rdi
  mov    -0x98(%rbp),%rdx
  mov    -0xa8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x226
  push   $0x320
  push   $0xa
  lea    D121(%rip),%rcx
  push   %rcx
  lea    D64(%rip),%rcx
  push   %rcx
  push   $0x0
  push   $0x0
  mov    %rdi,%r9
  mov    $0x0,%r8d
  mov    $0x0,%ecx
  mov    %rax,%rdi
  call   <google_map_output_heading@plt>
  add    $0x40,%rsp
  mov    -0xa8(%rbp),%rax
  lea    D38(%rip),%r8
  lea    D80(%rip),%rdx
  mov    %rdx,%rcx
  lea    D149(%rip),%rdx
  lea    D59(%rip),%rsi
  mov    %rax,%rdi
  call   <google_map_output_rectangle@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rdi
  call   <google_map_output_heading_close@plt>
  mov    -0xa8(%rbp),%rax
  lea    D40(%rip),%rdx
  mov    $0x1,%esi
  mov    %rax,%rdi
  call   <google_map_output_body@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rdi
  call   <google_map_output_rectangle_bounds_changed@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x43,%edx
  mov    $0x1,%esi
  lea    D72(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rdi
  call   <google_map_output_rectangle_copy_to_form@plt>
  mov    -0xd8(%rbp),%r8
  mov    -0xc8(%rbp),%rdi
  mov    -0xc0(%rbp),%rcx
  mov    -0xb0(%rbp),%rdx
  mov    -0xa8(%rbp),%rax
  sub    $0x8,%rsp
  lea    D29(%rip),%rsi
  push   %rsi
  mov    %r8,%r9
  mov    %rdi,%r8
  lea    D46(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  add    $0x10,%rsp
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0xda,%edx
  mov    $0x1,%esi
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x13,%edx
  mov    $0x1,%esi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x71,%edx
  mov    $0x1,%esi
  lea    D83(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x11,%edx
  mov    $0x1,%esi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  mov    -0xa8(%rbp),%rax
  mov    %rax,%rcx
  mov    $0x10,%edx
  mov    $0x1,%esi
  lea    D134(%rip),%rax
  mov    %rax,%rdi
  call   <fwrite@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L3
  call   <__stack_chk_fail@plt>
L3:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_label: D121
data_type: string
name: read_data
arguments: data_label: D64
data_type: string
name: read_data
arguments: data_label: D38
data_type: string
name: read_data
arguments: data_label: D80
data_type: string
name: read_data
arguments: data_label: D149
data_type: string
name: read_data
arguments: data_label: D59
data_type: string
name: read_data
arguments: data_label: D40
data_type: string
name: read_data
arguments: data_label: D72
data_type: string
name: read_data
arguments: data_label: D29
data_type: string
name: read_data
arguments: data_label: D46
data_type: string
name: read_data
arguments: data_label: D99
data_type: string
name: read_data
arguments: data_label: D1
data_type: string
name: read_data
arguments: data_label: D83
data_type: string
name: read_data
arguments: data_label: D52
data_type: string
name: read_data
arguments: data_label: D134
data_type: string

tool: D121: -80.84817

tool: D64: 25.68821

tool: D38: -80.74

tool: D80: 25.75

tool: D149: -80.85

tool: D59: 25.65

tool: D40: rectangle_bounds_changed()

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


tool: D29: prompt_frame

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


tool: D99: <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: D1: <td valign=middle>


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


tool: D52: </form>
</table>


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