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

```asm
<make_dev_descr_resp>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%rbp
  mov    %esi,%ebx
  mov    %rdx,0x8(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x18(%rsp)
  mov    %r9,%r14
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    -0x1(%rsi),%esi
  lea    D16(%rip),%rdx
  call   <snprintf@plt>
  mov    %eax,%r12d
  movslq %eax,%r15
  lea    0xa(%rbp,%r15,1),%r13
  sub    %eax,%ebx
  lea    -0xa(%rbx),%esi
  sub    $0x8,%rsp
  push   %r14
  mov    0x28(%rsp),%r9
  mov    0x20(%rsp),%r8
  mov    0x18(%rsp),%rcx
  lea    D3(%rip),%rdx
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,%r14d
  sub    %eax,%ebx
  lea    -0xa(%rbx),%esi
  cltq
  lea    0x0(%r13,%rax,1),%rdi
  lea    D8(%rip),%rdx
  mov    $0x0,%eax
  call   <snprintf@plt>
  mov    %eax,%ebx
  lea    0x2(%r14),%edx
  lea    0x30(%rsp),%r13
  lea    D25(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  lea    0x0(%rbp,%r15,1),%rdi
  mov    $0xa,%edx
  mov    %r13,%rsi
  call   <memcpy@plt>
  lea    0xa(%r12,%r14,1),%eax
  add    %ebx,%eax
  add    $0x10,%rsp
  mov    0x38(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L3
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L3:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D16
datatype: string
name: parse_data
arguments: data_tag: D3
datatype: string
name: parse_data
arguments: data_tag: D8
datatype: string
name: parse_data
arguments: data_tag: D25
datatype: string

tool: D16: HTTP/1.1 200 OK
Date: Fri, 02 Jan 1970 11:23:09 GMT
Server: Unknown/0.0 UPnP/1.0 Virata-EmWeb/R6_0_1
Transfer-Encoding: chunked
Content-Type: text/xml
Expires: Fri, 02 Jan 1970 11:23:09 GMT
Last-Modified: Fri, 02 Jan 1970 11:23:09 GMT
Cache-Control: no-cache
Pragma: no-cache



tool: D3: <?xml version="1.0"?>


<root xmlns="urn:schemas-upnp-org:device-1-0">
    <specVersion>
	<major>1</major>
	<minor>0</minor>
    </specVersion>
    <URLBase>http://%s/</URLBase>
    <device>
	<deviceType>urn:replaytv-com:device:ReplayDevice:1</deviceType>
	<friendlyName>%s</friendlyName>
	<modelDescription>ReplayTV 5000 Digital Video Recorder</modelDescription>
	<modelName>ReplayTV 5000</modelName>
	<modelNumber>5040</modelNumber>
	<version>530511440</version>
	<modelURL>http://www.sonicblue.com</modelURL>
	<manufacturer>SONICblue Incorporated</manufacturer>
	<manufacturerURL>http://www.sonicblue.com</manufacturerURL>
	<serialNumber>%s</serialNumber>
	<UDN> uuid:%s </UDN>
	<UPC>None</UPC>
    </device>
</root>


tool: D8: 

0



tool: D25: %08x


assistant: ```c
int make_dev_descr_resp(char *buf, int bufsz, char *ip, char *name, char *sn, char *uuid) {
  int hdrlen, bodylen, taillen;
  char *bptr;
  char bodylenstr[20];
  hdrlen = snprintf(buf, bufsz - 1,
                    "HTTP/1.1 200 OK\r\nDate: Fri, 02 Jan 1970 11:23:09 GMT\r\nServer: Unknown/0.0 UPnP/1.0 Virata-EmWeb/R6_0_1\r\n"
                    "Transfer-Encoding: chunked\r\nContent-Type: text/xml\r\nExpires: Fri, 02 Jan 1970 11:23:09 GMT\r\n"
                    "Last-Modified: Fri, 02 Jan 1970 11:23:09 GMT\r\nCache-Control: no-cache\r\nPragma: no-cache\r\n\r\n");
  bptr = buf + hdrlen + 10;
  bodylen = snprintf(bptr, bufsz - hdrlen - 10,
                     "<?xml version=\"1.0\"?>\n\n\n"
                     "<root xmlns=\"urn:schemas-upnp-org:device-1-0\">\n"
                     "    <specVersion>\n\t<major>1</major>\n\t<minor>0</minor>\n    </specVersion>\n"
                     "    <URLBase>http://%s/</URLBase>\n"
                     "    <device>\n"
                     "\t<deviceType>urn:replaytv-com:device:ReplayDevice:1</deviceType>\n"
                     "\t<friendlyName>%s</friendlyName>\n"
                     "\t<modelDescription>ReplayTV 5000 Digital Video Recorder</modelDescription>\n"
                     "\t<modelName>ReplayTV 5000</modelName>\n"
                     "\t<modelNumber>5040</modelNumber>\n"
                     "\t<version>530511440</version>\n"
                     "\t<modelURL>http://www.sonicblue.com</modelURL>\n"
                     "\t<manufacturer>SONICblue Incorporated</manufacturer>\n"
                     "\t<manufacturerURL>http://www.sonicblue.com</manufacturerURL>\n"
                     "\t<serialNumber>%s</serialNumber>\n"
                     "\t<UDN> uuid:%s </UDN>\n"
                     "\t<UPC>None</UPC>\n"
                     "    </device>\n"
                     "</root>\n",
                     ip, name, sn, uuid);
  taillen = snprintf(bptr + bodylen, bufsz - hdrlen - bodylen - 10, "\n\r\n0\r\n\r\n");
  sprintf(bodylenstr, "%08x\r\n", bodylen + 2);
  memcpy(buf + hdrlen, bodylenstr, 10);
  return (hdrlen + 10 + bodylen + taillen);
}
```