user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %r12
  xor    %eax,%eax
  call   <test_get_states@plt>
  mov    %rax,%r12
  xor    %eax,%eax
  call   <test_count_applic_inapplic@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_good_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_bad_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_load_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_bad_load_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_multistate_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_usr_order_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_big_multistate_symbols@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_count_states_in_parts_simple@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_count_states_in_parts_w_polymorphs@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_isreal@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_almost_equal@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_resetting_weights@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_resetting_frac_weights@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_count_gaps_basic@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_partition_push_index@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_data_partitioning_simple@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_data_partitioning_gapmissing@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_data_partitioning_gapnewstate@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_weights_realtree@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_set_weights@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_create_destroy_Morphy@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_simple_chtype_setting@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_init_Morphy@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_reinit_no_data@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_reinit_with_data@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_attemp_load_bad_dimens@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_delete_Morphy_no_input@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_basic_tip_apply@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_state_retrieval@plt>
  xor    %eax,%eax
  call   <test_small_fitch@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_weighted_small_fitch@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_small_fitch_na@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_small_fitch_withmissing@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_bulk_balanced_tree_cases@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_bulk_unrooted_tree_cases@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_twopass_fitch@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_local_reoptimisation@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_get_partial_reopt_for_na@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_get_added_length_for_na@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_get_added_length_for_na_morechars@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_imbalance_distributions@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_small_wagner@plt>
  add    %eax,%r12d
  xor    %eax,%eax
  call   <test_wagner_extended@plt>
  lea    D23(%rip),%rdi
  add    %eax,%r12d
  call   <puts@plt>
  test   %r12d,%r12d
  je     L7
  mov    %r12d,%esi
  lea    D24(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L15:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    %r12d,%eax
  pop    %r12
  ret
L7:
  lea    D2(%rip),%rdi
  call   <puts@plt>
  jmp    L15
```

tool_calls: name: disassemble_data
arguments: tag: D23
data_type: string
name: disassemble_data
arguments: tag: D24
data_type: string
name: disassemble_data
arguments: tag: D2
data_type: string

tool: D23: 

Test summary:


tool: D24: [  ** FAILED ** ] %i times. Review output to see details.


tool: D2: [  ** PASSED ** ] All tests passed.

assistant: ```c
int main(void) {
  int fails = 0;
  fails += test_get_states();
  fails += test_count_applic_inapplic();
  fails += test_good_symbols();
  fails += test_bad_symbols();
  fails += test_load_symbols();
  fails += test_bad_load_symbols();
  fails += test_multistate_symbols();
  fails += test_usr_order_symbols();
  fails += test_big_multistate_symbols();
  fails += test_count_states_in_parts_simple();
  fails += test_count_states_in_parts_w_polymorphs();
  fails += test_isreal();
  fails += test_almost_equal();
  fails += test_resetting_weights();
  fails += test_resetting_frac_weights();
  fails += test_count_gaps_basic();
  fails += test_partition_push_index();
  fails += test_data_partitioning_simple();
  fails += test_data_partitioning_gapmissing();
  fails += test_data_partitioning_gapnewstate();
  fails += test_weights_realtree();
  fails += test_set_weights();
  fails += test_create_destroy_Morphy();
  fails += test_simple_chtype_setting();
  fails += test_init_Morphy();
  fails += test_reinit_no_data();
  fails += test_reinit_with_data();
  fails += test_attemp_load_bad_dimens();
  fails += test_delete_Morphy_no_input();
  fails += test_basic_tip_apply();
  test_state_retrieval();
  fails += test_small_fitch();
  fails += test_weighted_small_fitch();
  fails += test_small_fitch_na();
  fails += test_small_fitch_withmissing();
  fails += test_bulk_balanced_tree_cases();
  fails += test_bulk_unrooted_tree_cases();
  fails += test_twopass_fitch();
  fails += test_local_reoptimisation();
  fails += test_get_partial_reopt_for_na();
  fails += test_get_added_length_for_na();
  fails += test_get_added_length_for_na_morechars();
  fails += test_imbalance_distributions();
  fails += test_small_wagner();
  fails += test_wagner_extended();
  printf("\n\nTest summary:\n\n");
  if (fails) {
    printf("[  ** FAILED ** ] %i times. Review output to see details.\n", fails);
  } else {
    printf("[  ** PASSED ** ] All tests passed.\n");
  }
  printf("\n");
  return fails;
}
```