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

```asm
<find_ranlib>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x10000(%rsp),%r11
L49:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L49
  sub    $0xa8,%rsp
  mov    $0x1,%r12d
  mov    %fs:0x28,%rax
  mov    %rax,0x10098(%rsp)
  xor    %eax,%eax
  mov    %rdi,%rbp
  mov    %rdx,%r13
  mov    %esi,%edx
  mov    %rdi,%rsi
  lea    D18(%rip),%rdi
  call   <which@plt>
  test   %rax,%rax
  je     L12
L62:
  mov    0x10098(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L68
  add    $0x100a8,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L12:
  lea    D7(%rip),%r14
  lea    D86(%rip),%r15
  mov    %r14,%rdi
  lea    D63(%rip),%rbx
  call   <unlink@plt>
  mov    %r15,%rsi
  lea    D3(%rip),%rdx
  mov    %rbx,%rdi
  call   <putfile@plt>
  mov    %r15,%rsi
  lea    D23(%rip),%r15
  lea    D16(%rip),%rdx
  mov    %r15,%rdi
  call   <putfile@plt>
  lea    0x10(%rsp),%rcx
  mov    %r13,%rdx
  lea    D59(%rip),%rsi
  mov    %rcx,%rdi
  mov    %rcx,0x8(%rsp)
  call   <sprintf@plt>
  mov    0x8(%rsp),%rcx
  mov    $0x10000,%edx
  lea    0x90(%rsp),%r8
  mov    %r8,%rsi
  mov    $0x1,%edi
  mov    %r8,0x8(%rsp)
  call   <msystem@plt>
  mov    %rbx,%rdi
  mov    %eax,%r13d
  call   <unlink@plt>
  mov    %r15,%rdi
  call   <unlink@plt>
  mov    %r14,%rdi
  call   <unlink@plt>
  lea    D27(%rip),%rdi
  call   <unlink@plt>
  test   %r13d,%r13d
  mov    0x8(%rsp),%r8
  je     L63
L7:
  xor    %r12d,%r12d
  jmp    L62
  nopl   0x0(%rax)
L63:
  lea    D62(%rip),%rsi
  mov    %r8,%rdi
  call   <STRSTR@plt>
  test   %rax,%rax
  je     L7
  lea    D35(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  jmp    L62
L68:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D18
type_infered: string
name: parse_data
arguments: tag: D7
type_infered: string
name: parse_data
arguments: tag: D86
type_infered: string
name: parse_data
arguments: tag: D63
type_infered: string
name: parse_data
arguments: tag: D3
type_infered: string
name: parse_data
arguments: tag: D23
type_infered: string
name: parse_data
arguments: tag: D16
type_infered: string
name: parse_data
arguments: tag: D59
type_infered: string
name: parse_data
arguments: tag: D27
type_infered: string
name: parse_data
arguments: tag: D62
type_infered: string
name: parse_data
arguments: tag: D35
type_infered: string

tool: D18: ranlib

tool: D7: _.a

tool: D86: w

tool: D63: _.c

tool: D3: sub(){}


tool: D23: _make

tool: D16: _.a:; $(CC) -c _.c
	$(AR) cr _.a _.o
	$(AR) st _.a
	echo SUCCESS


tool: D59: %s -f _make

tool: D27: _.o

tool: D62: SUCCESS

tool: D35: $(AR) st

assistant: ```c
int find_ranlib(char *ranlib, int size, const char *make) {
  char command[128];
  char res[0x10000];
  int rcode;
  if (which("ranlib", ranlib, size))
    return 1;
  unlink("_.a");
  putfile("_.c", "w", "sub(){}\n");
  putfile("_make", "w", "_.a:; $(CC) -c _.c\n\t$(AR) cr _.a _.o\n\t$(AR) st _.a\n\techo SUCCESS\n");
  sprintf(command, "%s -f _make", make);
  rcode = msystem(1, res, sizeof(res), command);
  unlink("_.c");
  unlink("_make");
  unlink("_.a");
  unlink("_.o");
  if (rcode == 0 && STRSTR(res, "SUCCESS")) {
    strcpy(ranlib, "$(AR) st");
    return 1;
  }
  return 0;
}
```