user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<get_rotate_fontname>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1b8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1a8(%rsp)
  xor    %eax,%eax
  test   %rdi,%rdi
  je     L253
  mov    %rdi,%rbp
  call   <strlen@plt>
  mov    %rax,%rbx
  test   %eax,%eax
  jle    L253
  lea    0x1(%rax),%edi
  movslq %edi,%rdi
  call   <malloc@plt>
  mov    %rax,%r13
  test   %rax,%rax
  je     L253
  lea    0x1(%rbx),%rdx
  mov    %rbp,%rsi
  mov    %rax,%rdi
  mov    %rsp,%rbx
  call   <memcpy@plt>
  mov    $0xe,%ecx
  xor    %eax,%eax
  mov    %rbx,%rdi
  rep stos %rax,%es:(%rdi)
  mov    %r13,%rbp
  jmp    L43
  nop
L0:
  add    $0x1,%rbp
L43:
  movsbl 0x0(%rbp),%edi
  mov    %edi,%r14d
  call   <isspace@plt>
  test   %eax,%eax
  jne    L0
  cmp    $0x2d,%r14b
  je     L105
L16:
  lea    0x70(%rsp),%r12
  mov    %rbx,%r15
  jmp    L174
  nopl   0x0(%rax,%rax,1)
L88:
  add    $0x8,%r15
  movb   $0x0,(%rax)
  lea    0x1(%rax),%rbp
  cmp    %r12,%r15
  je     L156
L96:
  movzbl 0x1(%rax),%r14d
L174:
  test   %r14b,%r14b
  je     L253
  mov    %rbp,(%r15)
  mov    $0x2d,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L88
  add    $0x8,%r15
  cmp    %r12,%r15
  je     L156
  mov    $0x1,%ebp
  jmp    L96
  nop
L18:
  mov    %r13,%rdi
  call   <free@plt>
L253:
  xor    %eax,%eax
L245:
  mov    0x1a8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L39
  add    $0x1b8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L156:
  mov    0x30(%rsp),%rdi
  mov    %rdi,%rdx
  test   %rdi,%rdi
  jne    L277
  nopl   0x0(%rax)
L236:
  xor    %eax,%eax
  lea    0x80(%rsp),%rbp
  lea    D3(%rip),%r14
  call   <atoi@plt>
  mov    %rbp,%rdi
  lea    D1(%rip),%rsi
  mov    %eax,%edx
  mov    %eax,%ecx
  xor    %eax,%eax
  call   <sprintf@plt>
  lea    0x7c(%rsp),%rax
  mov    $0x2a,%edx
  movb   $0x0,0xa0(%rsp)
  mov    %dx,0x7c(%rsp)
  mov    %rax,0x38(%rsp)
  mov    %rbp,0x30(%rsp)
  lea    0xa0(%rsp),%rbp
  nopl   0x0(%rax)
L139:
  mov    (%rbx),%rcx
  test   %rcx,%rcx
  je     L217
  mov    %rbp,%rdx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <sprintf@plt>
  add    $0x8,%rbx
  cmp    %r12,%rbx
  jne    L139
L217:
  mov    %r13,%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  lea    0x1(%rax),%rbx
  mov    %rbx,%rdi
  call   <malloc@plt>
  test   %rax,%rax
  je     L245
  cmp    $0x8,%ebx
  jae    L71
  test   $0x4,%bl
  jne    L272
  test   %ebx,%ebx
  je     L245
  movzbl 0xa0(%rsp),%edx
  mov    %dl,(%rax)
  test   $0x2,%bl
  je     L245
  mov    %ebx,%ebx
  movzwl -0x2(%rbp,%rbx,1),%edx
  mov    %dx,-0x2(%rax,%rbx,1)
  jmp    L245
  nopl   0x0(%rax,%rax,1)
L78:
  sub    $0x30,%eax
  cmp    $0x9,%eax
  ja     L18
  add    $0x1,%rdx
L277:
  movsbl (%rdx),%eax
  test   %al,%al
  jne    L78
  jmp    L236
  nopl   0x0(%rax)
L105:
  movzbl 0x1(%rbp),%r14d
  add    $0x1,%rbp
  jmp    L16
  xchg   %ax,%ax
L71:
  mov    %ebx,%edx
  mov    %rax,%rdi
  mov    %rbp,%rsi
  mov    -0x8(%rbp,%rdx,1),%rcx
  mov    %rcx,-0x8(%rax,%rdx,1)
  lea    -0x1(%rbx),%ecx
  shr    $0x3,%ecx
  rep movsq %ds:(%rsi),%es:(%rdi)
  jmp    L245
L272:
  mov    0xa0(%rsp),%edx
  mov    %ebx,%ebx
  mov    %edx,(%rax)
  mov    -0x4(%rbp,%rbx,1),%edx
  mov    %edx,-0x4(%rax,%rbx,1)
  jmp    L245
L39:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D3
type: string
name: read_data
arguments: label: D1
type: string

tool: D3: %s-%s

tool: D1: [ 0 ~%d %d 0 ]

assistant: ```c
char *get_rotate_fontname(font_name)
char *font_name;
{
  char *pattern = 0, *ptr = 0;
  char *fields[14];
  char str_pixel[32], str_point[4];
  char rotate_font[256];
  char *rotate_font_ptr = 0;
  int pixel_size = 0;
  int field_num = 0, len = 0;
  if (font_name == (char *)0 || (len = strlen(font_name)) <= 0)
    return 0;
  pattern = (char *)malloc((len + 1));
  if (!pattern)
    return 0;
  strcpy(pattern, font_name);
  memset(fields, 0, sizeof(char *) * 14);
  ptr = pattern;
  while (isspace(*ptr)) {
    ptr++;
  }
  if (*ptr == '-')
    ptr++;
  for (field_num = 0; field_num < 14 && ptr && *ptr; ptr++, field_num++) {
    fields[field_num] = ptr;
    if (ptr = strchr(ptr, '-')) {
      *ptr = '\0';
    }
  }
  if (field_num < 14)
    return 0;
  for (ptr = fields[7 - 1]; ptr && *ptr; ptr++) {
    if (!isdigit(*ptr)) {
      if (pattern)
        free((pattern));
      return 0;
    }
  }
  pixel_size = atoi(fields[7 - 1]);
  sprintf(str_pixel, "[ 0 ~%d %d 0 ]", pixel_size, pixel_size);
  fields[6] = str_pixel;
  strcpy(str_point, "*");
  fields[8 - 1] = str_point;
  rotate_font[0] = '\0';
  for (field_num = 0; field_num < 14 && fields[field_num]; field_num++) {
    sprintf(rotate_font, "%s-%s", rotate_font, fields[field_num]);
  }
  if (pattern)
    free((pattern));
  rotate_font_ptr = (char *)malloc((strlen(rotate_font) + 1));
  if (!rotate_font_ptr)
    return 0;
  strcpy(rotate_font_ptr, rotate_font);
  return rotate_font_ptr;
}
```