user: Demonstrate the C code that generates the assembly output below:

```asm
<Get_Description_Url>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  add    $0x1,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  jne    L101
  mov    $0xfffffe0d,%eax
  jmp    L112
L101:
  mov    -0x18(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <LNat_Str_To_Upper@plt>
  mov    -0x38(%rbp),%rax
  lea    D67(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  jne    L78
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0xfffffce3,%eax
  jmp    L112
L78:
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x20(%rbp)
L15:
  mov    -0x20(%rbp),%rax
  lea    D77(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x20(%rbp)
  cmpq   $0x0,-0x20(%rbp)
  je     L45
  lea    D77(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  add    %rax,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  lea    D77(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strstr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  je     L90
  lea    D74(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  sub    -0x18(%rbp),%rax
  mov    %eax,-0x28(%rbp)
  lea    D74(%rip),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x20(%rbp),%rax
  lea    D74(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  jne    L15
  mov    -0x10(%rbp),%rax
  sub    -0x8(%rbp),%rax
  add    $0x1,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x40(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L81
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0xfffffe0d,%eax
  jmp    L112
L81:
  mov    -0x40(%rbp),%rax
  mov    (%rax),%rax
  mov    -0x28(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x38(%rbp),%rdx
  add    %rdx,%rcx
  mov    %rax,%rdx
  lea    D21(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <sscanf@plt>
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
  jmp    L112
L45:
  nop
  jmp    L32
L90:
  nop
L32:
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x40(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    $0x1ff,%eax
  jle    L98
  mov    -0x40(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0xfffffd49,%eax
  jmp    L112
L98:
  mov    $0xfffffce5,%eax
L112:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D67
type_infered: string
name: unpack_data
arguments: label: D77
type_infered: string
name: unpack_data
arguments: label: D74
type_infered: string
name: unpack_data
arguments: label: D21
type_infered: string

tool: D67: 200 OK

tool: D77: 


tool: D74: LOCATION:

tool: D21: %s

assistant: ```c
int Get_Description_Url(const char *ssdp_response, char **desc_url) {
  const char *fir_rn;
  const char *sec_rn;
  const char *end_loc_tag;
  int end_loc_offset;
  int desc_url_malloc_size;
  char *ssdp_upper_response = (char *)malloc(strlen(ssdp_response) + 1);
  if (NULL == ssdp_upper_response) {
    return -499;
  }
  (void)LNat_Str_To_Upper(ssdp_response, ssdp_upper_response);
  if (NULL == strstr(ssdp_response, "200 OK")) {
    free(ssdp_upper_response);
    return -797;
  }
  fir_rn = ssdp_upper_response;
  while (1) {
    if ((fir_rn = strstr(fir_rn, "\r\n")) == NULL) {
      break;
    }
    fir_rn += strlen("\r\n");
    if ((sec_rn = strstr(fir_rn, "\r\n")) == NULL) {
      break;
    }
    end_loc_tag = fir_rn + strlen("LOCATION:");
    end_loc_offset = end_loc_tag - ssdp_upper_response;
    if (!strncmp(fir_rn, "LOCATION:", strlen("LOCATION:"))) {
      desc_url_malloc_size = (sec_rn - end_loc_tag) + 1;
      *desc_url = (char *)malloc(desc_url_malloc_size);
      if (NULL == *desc_url) {
        free(ssdp_upper_response);
        return -499;
      }
      sscanf(ssdp_response + end_loc_offset, "%s", *desc_url);
      free(ssdp_upper_response);
      return 0;
    }
  }
  free(ssdp_upper_response);
  if (strlen(*desc_url) + 1 > 512) {
    free(*desc_url);
    return -695;
  }
  return -795;
}
```