user: What would the C source look like for the assembly code provided here?

```asm
<SMS_SendMessage>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x218,%rsp
  mov    %edi,%ebp
  mov    %rsi,%r12
  mov    %rdx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x208(%rsp)
  xor    %eax,%eax
  movq   $0x0,0x100(%rsp)
  movq   $0x0,0x108(%rsp)
  movq   $0x0,0x110(%rsp)
  movq   $0x0,0x118(%rsp)
  movq   $0x0,0x120(%rsp)
  movq   $0x0,0x128(%rsp)
  movq   $0x0,0x130(%rsp)
  movq   $0x0,0x138(%rsp)
  movq   $0x0,0x140(%rsp)
  movq   $0x0,0x148(%rsp)
  movq   $0x0,0x150(%rsp)
  movq   $0x0,0x158(%rsp)
  movq   $0x0,0x160(%rsp)
  movq   $0x0,0x168(%rsp)
  movq   $0x0,0x170(%rsp)
  movq   $0x0,0x178(%rsp)
  movq   $0x0,0x180(%rsp)
  movq   $0x0,0x188(%rsp)
  movq   $0x0,0x190(%rsp)
  movq   $0x0,0x198(%rsp)
  movq   $0x0,0x1a0(%rsp)
  movq   $0x0,0x1a8(%rsp)
  movq   $0x0,0x1b0(%rsp)
  movq   $0x0,0x1b8(%rsp)
  movq   $0x0,0x1c0(%rsp)
  movq   $0x0,0x1c8(%rsp)
  movq   $0x0,0x1d0(%rsp)
  movq   $0x0,0x1d8(%rsp)
  movq   $0x0,0x1e0(%rsp)
  movq   $0x0,0x1e8(%rsp)
  movq   $0x0,0x1f0(%rsp)
  movq   $0x0,0x1f8(%rsp)
  lea    D16(%rip),%rdi
  call   <logcat@plt>
  mov    %rsp,%r13
  mov    $0x100,%edx
  mov    $0x0,%esi
  mov    %r13,%rdi
  call   <memset@plt>
  mov    %r12,%rdx
  lea    D42(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    $0x5,%edx
  mov    %r13,%rsi
  mov    %ebp,%edi
  call   <Modem_SendCmd@plt>
  test   %rax,%rax
  js     L73
  mov    $0x7a120,%edi
  call   <usleep@plt>
  mov    $0x5,%edx
  lea    D48(%rip),%rsi
  mov    %ebp,%edi
  call   <Modem_WaitResponse@plt>
  test   %rax,%rax
  js     L82
  mov    $0x7a120,%edi
  call   <usleep@plt>
  lea    0x100(%rsp),%r12
  mov    $0x100,%edx
  mov    $0x0,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %rax,%rdx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <memcpy@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  movb   $0x1a,0x100(%rsp,%rax,1)
  mov    $0x5,%edx
  mov    %r12,%rsi
  mov    %ebp,%edi
  call   <Modem_SendCmd@plt>
  test   %rax,%rax
  js     L26
  mov    $0x7a120,%edi
  call   <usleep@plt>
  mov    $0x1e,%edx
  lea    D59(%rip),%rsi
  mov    %ebp,%edi
  call   <Modem_WaitResponse@plt>
  test   %rax,%rax
  js     L70
  mov    $0x0,%eax
L9:
  mov    0x208(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L67
  add    $0x218,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L82:
  lea    D0(%rip),%rdi
  mov    $0x0,%eax
  call   <logcat@plt>
  mov    $0xffffffff,%eax
  jmp    L9
L70:
  lea    D29(%rip),%rdi
  mov    $0x0,%eax
  call   <logcat@plt>
  mov    $0xffffffff,%eax
  jmp    L9
L73:
  mov    $0xffffffff,%eax
  jmp    L9
L26:
  mov    $0xffffffff,%eax
  jmp    L9
L67:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D16
type: string
name: parse_data
arguments: data_label: D42
type: string
name: parse_data
arguments: data_label: D48
type: string
name: parse_data
arguments: data_label: D59
type: string
name: parse_data
arguments: data_label: D0
type: string
name: parse_data
arguments: data_label: D29
type: string

tool: D16: SMS Start to Send Message, phone = %s, msg = %s


tool: D42: AT+CMGS="%s"

tool: D48: >

tool: D59: OK

tool: D0: SMS Wait > error.


tool: D29: SMS Send Message error.


assistant: ```c
int SMS_SendMessage(int fd, char *phone, char *msg) {
  char cmd[256];
  char buf[256] = {0};
  logcat("SMS Start to Send Message, phone = %s, msg = %s\n", phone, msg);
  memset(cmd, 0, 256);
  sprintf(cmd, "AT+CMGS=\"%s\"\r", phone);
  if (Modem_SendCmd(fd, cmd, 5) < 0)
    return -1;
  usleep(500 * 1000);
  if (Modem_WaitResponse(fd, ">", 5) < 0) {
    logcat("SMS Wait > error.\n");
    return -1;
  }
  usleep(500 * 1000);
  memset(buf, 0, 256);
  memcpy(buf, msg, strlen(msg));
  buf[strlen(msg)] = 0x1a;
  if (Modem_SendCmd(fd, buf, 5) < 0)
    return -1;
  usleep(500 * 1000);
  if (Modem_WaitResponse(fd, "OK", 30) < 0) {
    logcat("SMS Send Message error.\n");
    return -1;
  }
  return 0;
}
```