user: 请从给定的汇编指令推导出C源代码：

```asm
<makeRssRequestValues>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x98,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    $0x1,%esi
  lea    D18(%rip),%rdi
  call   <getConfigText@plt>
  test   %rax,%rax
  je     L37
  mov    %rax,%rbx
  mov    %rax,%rdi
  call   <strlen@plt>
  test   %rax,%rax
  jg     L181
  lea    D129(%rip),%rdi
  call   <strdup@plt>
  mov    %rax,-0xb0(%rbp)
  jmp    L60
L181:
  lea    0x16(%rax),%edi
  call   <malloc@plt>
  mov    %rax,-0xb0(%rbp)
  mov    %rbx,%rcx
  lea    D129(%rip),%rdx
  lea    D137(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
L60:
  mov    %rbx,%rdi
  call   <free@plt>
L19:
  mov    $0x1,%esi
  lea    D140(%rip),%rdi
  call   <getConfigText@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L20
  cmpb   $0x0,(%rax)
  jne    L85
  mov    %rax,%rdi
  call   <free@plt>
L20:
  lea    D118(%rip),%rdi
  call   <strdup@plt>
  mov    %rax,%rbx
L85:
  mov    $0x1,%esi
  lea    D64(%rip),%rdi
  call   <getConfigInt@plt>
  mov    %eax,%r12d
  lea    -0x1(%rax),%eax
  cmp    $0xffff,%eax
  mov    $0xa2d,%eax
  cmovae %eax,%r12d
  mov    %rbx,%rdi
  call   <strlen@plt>
  add    $0x1d,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L6:
  cmp    %rdx,%rsp
  je     L183
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L6
L183:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L148
  orq    $0x0,-0x8(%rsp,%rax,1)
L148:
  mov    %rsp,-0xb8(%rbp)
  mov    %r12d,%ecx
  mov    %rbx,%rdx
  lea    D7(%rip),%rsi
  mov    %rsp,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  mov    $0x1,%esi
  lea    D68(%rip),%rdi
  call   <getConfigInt@plt>
  mov    %eax,-0xbc(%rbp)
  sub    $0x1,%eax
  cmp    $0x1,%eax
  jbe    L154
  mov    $0x1,%esi
  lea    D132(%rip),%rdi
  call   <getConfigInt@plt>
  mov    %eax,%r13d
  test   %eax,%eax
  jle    L40
  cltq
  lea    0xf(,%rax,8),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L41:
  cmp    %rdx,%rsp
  je     L87
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L41
L154:
  mov    $0x1,%esi
  lea    D132(%rip),%rdi
  call   <getConfigInt@plt>
  mov    %eax,%r13d
  test   %eax,%eax
  mov    $0xa,%eax
  cmovle %eax,%r13d
  movslq %r13d,%rax
  lea    0xf(,%rax,8),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L99:
  cmp    %rdx,%rsp
  je     L139
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L99
L139:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L133
  orq    $0x0,-0x8(%rsp,%rax,1)
L133:
  mov    %rsp,%rdi
  mov    %rdi,%r12
  cmpl   $0x2,-0xbc(%rbp)
  jne    L57
  mov    -0xb8(%rbp),%rdx
  mov    %r13d,%esi
  call   <getHourlyItems@plt>
  jmp    L17
L40:
  lea    -0x90(%rbp),%r12
  mov    $0xa,%r13d
  movl   $0x1,-0xbc(%rbp)
L57:
  mov    -0xb8(%rbp),%rdx
  mov    %r13d,%esi
  mov    %r12,%rdi
  call   <getDailyItems@plt>
L17:
  test   %r13d,%r13d
  jle    L238
  mov    %r12,%rbx
  lea    -0x1(%r13),%eax
  lea    0x8(%r12,%rax,8),%r15
  mov    $0x0,%r14d
L71:
  mov    (%r12),%rdi
  call   <strlen@plt>
  add    %eax,%r14d
  add    $0x8,%r12
  cmp    %r12,%r15
  jne    L71
  lea    0x1(%r14),%edi
  call   <malloc@plt>
  mov    %rax,-0xa8(%rbp)
  mov    $0x0,%r13d
L242:
  mov    (%rbx),%r12
  movslq %r13d,%rdi
  add    -0xa8(%rbp),%rdi
  mov    %r12,%rsi
  call   <strcpy@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  add    %eax,%r13d
  mov    %r12,%rdi
  call   <free@plt>
  add    $0x8,%rbx
  cmp    %rbx,%r15
  jne    L242
L42:
  movslq %r14d,%r14
  mov    -0xa8(%rbp),%r15
  movb   $0x0,(%r15,%r14,1)
  mov    -0xbc(%rbp),%ebx
  mov    %ebx,%edi
  call   <getPubDate@plt>
  mov    %rax,%r14
  cmp    $0x2,%ebx
  lea    D99(%rip),%rbx
  lea    D20(%rip),%rax
  cmove  %rax,%rbx
  lea    D148(%rip),%r12
  lea    D24(%rip),%rax
  cmove  %rax,%r12
  mov    -0xb0(%rbp),%rsi
  lea    D165(%rip),%rdi
  call   <makeNameValuePair@plt>
  mov    %rax,-0x98(%rbp)
  mov    -0xb8(%rbp),%rsi
  lea    D92(%rip),%rdi
  call   <makeNameValuePair@plt>
  mov    %rax,%rsi
  lea    -0x98(%rbp),%r13
  mov    %r13,%rdi
  call   <appendNameValuePair@plt>
  mov    %r14,%rsi
  lea    D78(%rip),%rdi
  call   <makeNameValuePair@plt>
  mov    %rax,%rsi
  mov    %r13,%rdi
  call   <appendNameValuePair@plt>
  mov    %r15,%rsi
  lea    D39(%rip),%rdi
  call   <makeNameValuePair@plt>
  mov    %rax,%rsi
  mov    %r13,%rdi
  call   <appendNameValuePair@plt>
  mov    %rbx,%rsi
  lea    D176(%rip),%rdi
  call   <makeNameValuePair@plt>
  mov    %rax,%rsi
  mov    %r13,%rdi
  call   <appendNameValuePair@plt>
  mov    %r12,%rsi
  lea    D191(%rip),%rdi
  call   <makeNameValuePair@plt>
  mov    %rax,%rsi
  mov    %r13,%rdi
  call   <appendNameValuePair@plt>
  mov    -0xb0(%rbp),%rdi
  call   <free@plt>
  mov    %r14,%rdi
  call   <free@plt>
  mov    %r15,%rdi
  call   <free@plt>
  mov    -0x98(%rbp),%rax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L35
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L238:
  mov    $0x1,%edi
  call   <malloc@plt>
  mov    %rax,-0xa8(%rbp)
  mov    $0x0,%r14d
  jmp    L42
L87:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L175
  orq    $0x0,-0x8(%rsp,%rax,1)
L175:
  mov    %rsp,%r12
  movl   $0x1,-0xbc(%rbp)
  jmp    L57
L37:
  lea    D129(%rip),%rdi
  call   <strdup@plt>
  mov    %rax,-0xb0(%rbp)
  jmp    L19
L35:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D18
data_type: string
name: read_data
arguments: data_label: D129
data_type: string
name: read_data
arguments: data_label: D137
data_type: string
name: read_data
arguments: data_label: D140
data_type: string
name: read_data
arguments: data_label: D118
data_type: string
name: read_data
arguments: data_label: D64
data_type: string
name: read_data
arguments: data_label: D7
data_type: string
name: read_data
arguments: data_label: D68
data_type: string
name: read_data
arguments: data_label: D132
data_type: string
name: read_data
arguments: data_label: D99
data_type: string
name: read_data
arguments: data_label: D20
data_type: string
name: read_data
arguments: data_label: D148
data_type: string
name: read_data
arguments: data_label: D24
data_type: string
name: read_data
arguments: data_label: D165
data_type: string
name: read_data
arguments: data_label: D92
data_type: string
name: read_data
arguments: data_label: D78
data_type: string
name: read_data
arguments: data_label: D39
data_type: string
name: read_data
arguments: data_label: D176
data_type: string
name: read_data
arguments: data_label: D191
data_type: string

tool: D18: web.server_name

tool: D129: BitMeter OS Events

tool: D137: %s - %s

tool: D140: web.rss.host

tool: D118: localhost

tool: D64: web.port

tool: D7: http://%s:%d

tool: D68: web.rss.freq

tool: D132: web.rss.items

tool: D99: 1440

tool: D20: 60

tool: D148: daily

tool: D24: hourly

tool: D165: title

tool: D92: link

tool: D78: pubdate

tool: D39: items

tool: D176: ttl

tool: D191: freq

assistant: ```c
struct NameValuePair *makeRssRequestValues() {
  char *serverName = getConfigText("web.server_name", 1);
  char *title;
  if ((serverName != NULL) && (strlen(serverName) > 0)) {
    title = malloc(strlen("BitMeter OS Events") + 3 + strlen(serverName) + 1);
    sprintf(title, "%s - %s", "BitMeter OS Events", serverName);
  } else {
    title = strdup("BitMeter OS Events");
  }
  if (serverName != NULL) {
    free(serverName);
  }
  char *rssHost = getConfigText("web.rss.host", 1);
  if ((rssHost == NULL) || (strlen(rssHost) == 0)) {
    if (rssHost != NULL) {
      free(rssHost);
    }
    rssHost = strdup("localhost");
  }
  int rssPort = getConfigInt("web.port", 1);
  if (rssPort < 1 || rssPort > 65535) {
    rssPort = 2605;
  }
  char rssUrl[7 + strlen(rssHost) + 1 + 5 + 1];
  sprintf(rssUrl, "http://%s:%d", rssHost, rssPort);
  if (rssHost != NULL) {
    free(rssHost);
  }
  int rssFreq = getConfigInt("web.rss.freq", 1);
  if ((rssFreq != 1) && (rssFreq != 2)) {
    rssFreq = 1;
  }
  int rssItemCount = getConfigInt("web.rss.items", 1);
  if (rssItemCount < 1) {
    rssItemCount = 10;
  }
  char *items[rssItemCount];
  if (rssFreq == 2) {
    getHourlyItems(items, rssItemCount, rssUrl);
  } else {
    getDailyItems(items, rssItemCount, rssUrl);
  }
  int i, size = 0;
  for (i = 0; i < rssItemCount; i++) {
    size += strlen(items[i]);
  }
  char *itemsTxt = malloc(size + 1);
  int j, offset = 0;
  char *itemTxt;
  for (j = 0; j < rssItemCount; j++) {
    itemTxt = items[j];
    strcpy(itemsTxt + offset, itemTxt);
    offset += strlen(itemTxt);
    free(itemTxt);
  }
  itemsTxt[size] = 0;
  char *pubDate = getPubDate(rssFreq);
  char *ttlTxt = (rssFreq == 2) ? "60" : "1440";
  char *freqTxt = (rssFreq == 2) ? "hourly" : "daily";
  struct NameValuePair *pair = makeNameValuePair("title", title);
  appendNameValuePair(&pair, makeNameValuePair("link", rssUrl));
  appendNameValuePair(&pair, makeNameValuePair("pubdate", pubDate));
  appendNameValuePair(&pair, makeNameValuePair("items", itemsTxt));
  appendNameValuePair(&pair, makeNameValuePair("ttl", ttlTxt));
  appendNameValuePair(&pair, makeNameValuePair("freq", freqTxt));
  free(title);
  free(pubDate);
  free(itemsTxt);
  return pair;
}
```