user: Converte this assembly snippet into its equivalent C code:

```asm
<M2RTS_Halt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %esi,%r12d
  push   %rbx
  mov    %edx,%ebx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    0x1(%rsi),%eax
  mov    %rsp,%rcx
  mov    %rax,%rdx
  add    $0xf,%rax
  shr    $0x4,%rax
  shl    $0x4,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rsi
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L100
L10:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L10
L100:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  jne    L84
L53:
  lea    0x1(%r8),%eax
  mov    %rsp,%rcx
  mov    %rsp,%r14
  mov    %rax,%r15
  add    $0xf,%rax
  shr    $0x4,%rax
  shl    $0x4,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rsi
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L105
L25:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L25
L105:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  jne    L17
L97:
  mov    0x10(%rbp),%eax
  mov    %rsp,%rsi
  mov    %rsp,%rcx
  add    $0x1,%eax
  mov    %rax,%r11
  add    $0xf,%rax
  shr    $0x4,%rax
  shl    $0x4,%rax
  mov    %rax,%r10
  and    $0xfffffffffffff000,%r10
  sub    %r10,%rsi
  cmp    %rsi,%rsp
  je     L115
L80:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L80
L115:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L68
  orq    $0x0,-0x8(%rsp,%rax,1)
L68:
  mov    %rdi,%rsi
  mov    %r14,%rdi
  mov    %r11d,-0x54(%rbp)
  mov    %r9,-0x60(%rbp)
  mov    %r8d,-0x58(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %rsp,-0x48(%rbp)
  call   <memcpy@plt>
  mov    -0x50(%rbp),%rdi
  mov    %r15d,%edx
  mov    %r13,%rsi
  call   <memcpy@plt>
  mov    -0x54(%rbp),%edx
  mov    -0x60(%rbp),%rsi
  mov    %rsp,%rdi
  call   <memcpy@plt>
  mov    -0x58(%rbp),%r8d
  sub    $0x8,%rsp
  mov    0x10(%rbp),%esi
  mov    -0x50(%rbp),%r9
  mov    -0x48(%rbp),%rdi
  mov    %r14,%rdx
  mov    %r12d,%ecx
  push   %r8
  mov    %ebx,%r8d
  call   <M2RTS_ErrorMessage@plt>
  mov    $0xffffffff,%edi
  call   <M2RTS_HALT@plt>
  xor    %eax,%eax
  call   <__builtin_unreachable@plt>
  pop    %rax
  pop    %rdx
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L108
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L84:
  orq    $0x0,-0x8(%rsp,%rax,1)
  jmp    L53
  nopl   0x0(%rax,%rax,1)
L17:
  orq    $0x0,-0x8(%rsp,%rax,1)
  jmp    L97
L108:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void M2RTS_Halt(char *file_, unsigned int _file_high, unsigned int line, char *function_, unsigned int _function_high, char *description_, unsigned int _description_high) {
  char file[_file_high + 1];
  char function[_function_high + 1];
  char description[_description_high + 1];
  memcpy(file, file_, _file_high + 1);
  memcpy(function, function_, _function_high + 1);
  memcpy(description, description_, _description_high + 1);
  M2RTS_ErrorMessage((char *)description, _description_high, (char *)file, _file_high, line, (char *)function, _function_high);
  M2RTS_HALT(-1);
  __builtin_unreachable();
}
```