user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x140,%rsp
  mov    %edi,-0x134(%rbp)
  mov    %rsi,-0x140(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x120(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0xb0(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0xa8(%rbp)
  lea    D267(%rip),%rax
  mov    %rax,-0xa0(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0x98(%rbp)
  lea    D189(%rip),%rax
  mov    %rax,-0x90(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0x88(%rbp)
  lea    D269(%rip),%rax
  mov    %rax,-0x80(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0x78(%rbp)
  lea    D212(%rip),%rax
  mov    %rax,-0x70(%rbp)
  lea    D48(%rip),%rax
  mov    %rax,-0x68(%rbp)
  lea    D149(%rip),%rax
  mov    %rax,-0x60(%rbp)
  lea    D162(%rip),%rax
  mov    %rax,-0x58(%rbp)
  lea    D153(%rip),%rax
  mov    %rax,-0x50(%rbp)
  lea    D289(%rip),%rax
  mov    %rax,-0x48(%rbp)
  lea    D31(%rip),%rax
  mov    %rax,-0x40(%rbp)
  lea    D52(%rip),%rax
  mov    %rax,-0x38(%rbp)
  lea    D119(%rip),%rax
  mov    %rax,-0x30(%rbp)
  lea    D106(%rip),%rax
  mov    %rax,-0x28(%rbp)
  lea    D169(%rip),%rax
  mov    %rax,-0x20(%rbp)
  lea    D61(%rip),%rax
  mov    %rax,-0x18(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0x110(%rbp)
  lea    D267(%rip),%rax
  mov    %rax,-0x108(%rbp)
  lea    D189(%rip),%rax
  mov    %rax,-0x100(%rbp)
  lea    D269(%rip),%rax
  mov    %rax,-0xf8(%rbp)
  lea    D212(%rip),%rax
  mov    %rax,-0xf0(%rbp)
  lea    D149(%rip),%rax
  mov    %rax,-0xe8(%rbp)
  lea    D153(%rip),%rax
  mov    %rax,-0xe0(%rbp)
  lea    D31(%rip),%rax
  mov    %rax,-0xd8(%rbp)
  lea    D119(%rip),%rax
  mov    %rax,-0xd0(%rbp)
  lea    D169(%rip),%rax
  mov    %rax,-0xc8(%rbp)
  lea    D317(%rip),%rax
  mov    %rax,-0xc0(%rbp)
  lea    D150(%rip),%rax
  mov    %rax,-0x118(%rbp)
  movl   $0x14,-0x11c(%rbp)
  movl   $0x0,-0x124(%rbp)
  jmp    L9
L7:
  mov    -0x124(%rbp),%eax
  add    $0x1,%eax
  cltq
  mov    -0xb0(%rbp,%rax,8),%rdx
  mov    -0x124(%rbp),%eax
  cltq
  mov    -0xb0(%rbp,%rax,8),%rax
  mov    %rdx,%rcx
  mov    $0x0,%edx
  mov    %rax,%rsi
  lea    D136(%rip),%rax
  mov    %rax,%rdi
  call   <check_translation@plt>
  or     %eax,-0x120(%rbp)
  addl   $0x2,-0x124(%rbp)
L9:
  mov    -0x124(%rbp),%eax
  cmp    -0x11c(%rbp),%eax
  jl     L7
  movl   $0xb,-0x11c(%rbp)
  movl   $0x0,-0x124(%rbp)
  jmp    L0
L36:
  mov    -0x124(%rbp),%eax
  cltq
  mov    -0x110(%rbp,%rax,8),%rax
  mov    -0x118(%rbp),%rdx
  mov    %rdx,%rcx
  mov    $0x0,%edx
  mov    %rax,%rsi
  lea    D355(%rip),%rax
  mov    %rax,%rdi
  call   <check_translation@plt>
  or     %eax,-0x120(%rbp)
  addl   $0x1,-0x124(%rbp)
L0:
  mov    -0x124(%rbp),%eax
  cmp    -0x11c(%rbp),%eax
  jl     L36
  movl   $0x0,-0x124(%rbp)
  jmp    L59
L6:
  mov    -0x124(%rbp),%eax
  cltq
  mov    -0x110(%rbp,%rax,8),%rax
  mov    -0x118(%rbp),%rdx
  mov    %rdx,%rcx
  mov    $0x0,%edx
  mov    %rax,%rsi
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  call   <check_translation@plt>
  or     %eax,-0x120(%rbp)
  addl   $0x1,-0x124(%rbp)
L59:
  mov    -0x124(%rbp),%eax
  cmp    -0x11c(%rbp),%eax
  jl     L6
  movl   $0x0,-0x124(%rbp)
  jmp    L67
L70:
  mov    -0x124(%rbp),%eax
  cltq
  mov    -0x110(%rbp,%rax,8),%rax
  mov    -0x118(%rbp),%rdx
  mov    %rdx,%rcx
  mov    $0x0,%edx
  mov    %rax,%rsi
  lea    D245(%rip),%rax
  mov    %rax,%rdi
  call   <check_translation@plt>
  or     %eax,-0x120(%rbp)
  addl   $0x1,-0x124(%rbp)
L67:
  mov    -0x124(%rbp),%eax
  cmp    -0x11c(%rbp),%eax
  jl     L70
  mov    $0x0,%eax
  call   <lou_free@plt>
  mov    -0x120(%rbp),%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L49
  call   <__stack_chk_fail@plt>
L49:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D150
datatype: string
name: parse_data
arguments: tag: D267
datatype: string
name: parse_data
arguments: tag: D189
datatype: string
name: parse_data
arguments: tag: D269
datatype: string
name: parse_data
arguments: tag: D212
datatype: string
name: parse_data
arguments: tag: D48
datatype: string
name: parse_data
arguments: tag: D149
datatype: string
name: parse_data
arguments: tag: D162
datatype: string
name: parse_data
arguments: tag: D153
datatype: string
name: parse_data
arguments: tag: D289
datatype: string
name: parse_data
arguments: tag: D31
datatype: string
name: parse_data
arguments: tag: D52
datatype: string
name: parse_data
arguments: tag: D119
datatype: string
name: parse_data
arguments: tag: D106
datatype: string
name: parse_data
arguments: tag: D169
datatype: string
name: parse_data
arguments: tag: D61
datatype: string
name: parse_data
arguments: tag: D317
datatype: string
name: parse_data
arguments: tag: D136
datatype: string
name: parse_data
arguments: tag: D355
datatype: string
name: parse_data
arguments: tag: D51
datatype: string
name: parse_data
arguments: tag: D245
datatype: string

tool: D150:  

tool: D267:                                                                                 

tool: D189:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

tool: D269:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

tool: D212:     	

tool: D48:  	

tool: D149:     	    

tool: D162:  	 

tool: D153: 	    

tool: D289: 	 

tool: D31:     


tool: D52:  


tool: D119:     
    

tool: D106:  
 

tool: D169: 
    

tool: D61: 
 

tool: D317:     
    	    
    		    


		    

tool: D136: tests/tables/squash_space_with_repeated.utb

tool: D355: tests/tables/squash_space_with_correct.utb

tool: D51: tests/tables/squash_space_with_context_1.utb

tool: D245: tests/tables/squash_space_with_context_2.utb

assistant: ```c
int main(int argc, char **argv) {
  int i;
  int result = 0;
  const char *tests[] = {" ",
                         " ",
                         "                                                                                ",
                         " ",
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                ",
                         " ",
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                "
                         "                                                                                ",
                         " ",
                         "    \t",
                         " \t",
                         "    \t    ",
                         " \t ",
                         "\t    ",
                         "\t ",
                         "    \n",
                         " \n",
                         "    \n    ",
                         " \n ",
                         "\n    ",
                         "\n "};
  const char *strings[] = {
      " ",
      "                                                                                ",
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                ",
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                "
      "                                                                                ",
      "    \t",
      "    \t    ",
      "\t    ",
      "    \n",
      "    \n    ",
      "\n    ",
      "    \n    \t    \n    \t\t    \n\n\n\t\t    ",
  };
  const char *expected = " ";
  int tests_len = sizeof(tests) / sizeof(char *);
  for (i = 0; i < tests_len; i += 2)
    result |= check_translation("tests/tables/squash_space_with_repeated.utb", tests[i], NULL, tests[i + 1]);
  tests_len = sizeof(strings) / sizeof(char *);
  for (i = 0; i < tests_len; i++)
    result |= check_translation("tests/tables/squash_space_with_correct.utb", strings[i], NULL, expected);
  for (i = 0; i < tests_len; i++)
    result |= check_translation("tests/tables/squash_space_with_context_1.utb", strings[i], NULL, expected);
  for (i = 0; i < tests_len; i++)
    result |= check_translation("tests/tables/squash_space_with_context_2.utb", strings[i], NULL, expected);
  lou_free();
  return result;
}
```