user: What would the C source look like for the assembly code provided here:

```asm
<get_format>:
  endbr64
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x8,%rsp
  call   <get_flags@plt>
  mov    %rax,%r13
  cmp    $0xffffffff,%eax
  je     L56
L18:
  movslq %r13d,%rsi
  mov    %r12,%rdi
  add    %rbp,%rsi
  call   <get_width@plt>
  mov    %eax,%ebx
  cmp    $0xffffffff,%eax
  je     L23
L27:
  add    %r13d,%ebx
  mov    %r12,%rdi
  movslq %ebx,%rsi
  add    %rbp,%rsi
  call   <get_precision@plt>
  mov    %eax,%r13d
  cmp    $0xffffffff,%eax
  je     L7
L49:
  add    %r13d,%ebx
  mov    %r12,%rdi
  movslq %ebx,%rax
  lea    0x0(%rbp,%rax,1),%rsi
  call   <get_length_and_specifier@plt>
  mov    %eax,%ebp
  cmp    $0xffffffff,%eax
  je     L51
  add    $0x8,%rsp
  lea    (%rbx,%rbp,1),%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax,%rax,1)
L56:
  lea    D30(%rip),%rdx
  lea    D63(%rip),%rsi
  lea    D47(%rip),%rdi
  call   <_os_assert@plt>
  jmp    L18
  nopl   0x0(%rax)
L51:
  lea    D39(%rip),%rdx
  lea    D63(%rip),%rsi
  lea    D25(%rip),%rdi
  call   <_os_assert@plt>
  add    $0x8,%rsp
  lea    (%rbx,%rbp,1),%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax,%rax,1)
L7:
  lea    D46(%rip),%rdx
  lea    D63(%rip),%rsi
  lea    D25(%rip),%rdi
  call   <_os_assert@plt>
  jmp    L49
  nop
L23:
  lea    D105(%rip),%rdx
  lea    D63(%rip),%rsi
  lea    D25(%rip),%rdi
  call   <_os_assert@plt>
  jmp    L27
```

tool_calls: name: unpack_data
arguments: data_label: D30
type: string
name: unpack_data
arguments: data_label: D63
type: string
name: unpack_data
arguments: data_label: D47
type: string
name: unpack_data
arguments: data_label: D39
type: string
name: unpack_data
arguments: data_label: D25
type: string
name: unpack_data
arguments: data_label: D46
type: string
name: unpack_data
arguments: data_label: D105
type: string

tool: D30: 342

tool: D63: /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/RichardHScott/os_c/refs/heads/master/src/terminal.c

tool: D47: i != -1

tool: D39: 353

tool: D25: ret != -1

tool: D46: 349

tool: D105: 345

assistant: ```c
int get_format(struct printf_format *format, const char *str) {
  int i = 0;
  i += get_flags(format, &str[i]);
  (void)((i != -1) || _os_assert("i != -1", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/RichardHScott/os_c/refs/heads/master/src/terminal.c", "342"));
  int ret = get_width(format, &str[i]);
  (void)((ret != -1) || _os_assert("ret != -1", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/RichardHScott/os_c/refs/heads/master/src/terminal.c", "345"));
  i += ret;
  ret = get_precision(format, &str[i]);
  (void)((ret != -1) || _os_assert("ret != -1", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/RichardHScott/os_c/refs/heads/master/src/terminal.c", "349"));
  i += ret;
  ret = get_length_and_specifier(format, &str[i]);
  (void)((ret != -1) || _os_assert("ret != -1", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/RichardHScott/os_c/refs/heads/master/src/terminal.c", "353"));
  i += ret;
  return i;
}
```