user: 下面的汇编指令对应的C源代码是什么：

```asm
<SMS_ProcessMessage>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x250,%rsp
  mov    %edi,-0x244(%rbp)
  mov    %rsi,-0x250(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x240(%rbp)
  movq   $0x0,-0x238(%rbp)
  mov    -0x250(%rbp),%rax
  mov    $0x2c,%esi
  mov    %rax,%rdi
  call   <strrchr@plt>
  mov    %rax,-0x238(%rbp)
  cmpq   $0x0,-0x238(%rbp)
  je     L52
  mov    -0x238(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x240(%rbp)
  mov    -0x240(%rbp),%eax
  mov    %eax,%esi
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <logcat@plt>
  lea    -0x210(%rbp),%rax
  mov    $0x200,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x230(%rbp),%rax
  mov    $0x20,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  lea    -0x230(%rbp),%rcx
  lea    -0x210(%rbp),%rdx
  mov    -0x240(%rbp),%esi
  mov    -0x244(%rbp),%eax
  mov    %eax,%edi
  call   <SMS_ReadMessage@plt>
  test   %rax,%rax
  jns    L67
  jmp    L70
L52:
  mov    $0xffffffff,%eax
  jmp    L88
L70:
  lea    D28(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <logcat@plt>
  mov    $0xffffffff,%eax
  jmp    L88
L67:
  lea    -0x230(%rbp),%rax
  mov    $0x3,%edx
  lea    D45(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcmp@plt>
  test   %rax,%rax
  jne    L68
  lea    -0x230(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x23c(%rbp)
  mov    -0x23c(%rbp),%eax
  lea    -0x3(%rax),%edx
  lea    -0x230(%rbp),%rax
  add    $0x3,%rax
  lea    -0x230(%rbp),%rcx
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memmove@plt>
  mov    -0x23c(%rbp),%eax
  cltq
  lea    -0x3(%rax),%rdx
  lea    -0x230(%rbp),%rax
  add    %rdx,%rax
  mov    $0x3,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
L68:
  lea    -0x230(%rbp),%rax
  mov    %rax,%rdi
  call   <SMS_CheckPhone@plt>
  test   %rax,%rax
  jne    L41
  lea    -0x230(%rbp),%rdx
  lea    -0x210(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <SMS_CMDProcess@plt>
  test   %rax,%rax
  jne    L60
  lea    -0x230(%rbp),%rcx
  mov    -0x244(%rbp),%eax
  lea    D21(%rip),%rdx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <SMS_SendMessage@plt>
  jmp    L41
L60:
  lea    -0x230(%rbp),%rcx
  mov    -0x244(%rbp),%eax
  lea    D38(%rip),%rdx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <SMS_SendMessage@plt>
L41:
  mov    -0x240(%rbp),%edx
  mov    -0x244(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <SMS_DelMessage@plt>
  mov    $0x0,%eax
L88:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L62
  call   <__stack_chk_fail@plt>
L62:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D49
datatype: string
name: unpack_data
arguments: tag: D28
datatype: string
name: unpack_data
arguments: tag: D45
datatype: string
name: unpack_data
arguments: tag: D21
datatype: string
name: unpack_data
arguments: tag: D38
datatype: string

tool: D49: New Message Index = %d 


tool: D28: SMS Read message error.


tool: D45: +86

tool: D21: Command Sucess.

tool: D38: Command Failure.

assistant: ```c
int SMS_ProcessMessage(int fd, char *msg) {
  int index = 0;
  char *p = NULL;
  char data[512];
  char phone[32];
  p = strrchr(msg, 0x2c);
  if (p != NULL) {
    index = atoi(p + 1);
    logcat("New Message Index = %d \n", index);
  } else
    return -1;
  memset(data, 0, 512);
  memset(phone, 0, 32);
  if (SMS_ReadMessage(fd, index, data, phone) < 0) {
    logcat("SMS Read message error.\n");
    return -1;
  }
  if (memcmp(phone, "+86", 3) == 0) {
    int len = strlen(phone);
    memmove(phone, (phone + 3), len - 3);
    memset((phone + len - 3), 0, 3);
  }
  if (SMS_CheckPhone(phone) == 0) {
    if (SMS_CMDProcess(data, phone) == 0) {
      SMS_SendMessage(fd, phone, "Command Sucess.");
    } else {
      SMS_SendMessage(fd, phone, "Command Failure.");
    }
  }
  SMS_DelMessage(fd, index);
  return 0;
}
```