user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<child_execute_job>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  mov    %esi,%r15d
  push   %r14
  mov    %rdx,%r14
  push   %r13
  mov    %r8,%r13
  push   %r12
  mov    %rcx,%r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  test   %edi,%edi
  jne    L71
L59:
  cmp    $0x1,%r15d
  je     L30
  mov    $0x1,%esi
  mov    %r15d,%edi
  xor    %eax,%eax
  call   <dup2@plt>
L30:
  xor    %eax,%eax
  mov    $0x3,%ebx
  call   <getdtablesize@plt>
  mov    %eax,%r15d
  cmp    $0x3,%eax
  jle    L83
  nopl   0x0(%rax)
L1:
  mov    %ebx,%edi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <close@plt>
  cmp    %ebx,%r15d
  jne    L1
L83:
  xor    %eax,%eax
  call   <unblock_children@plt>
  mov    %r14,%rsi
  lea    D27(%rip),%rdi
  xor    %eax,%eax
  call   <allocated_variable_expand_for_file@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  movslq %eax,%r15
  xor    %eax,%eax
  mov    %r15,%rdx
  call   <exec_command@plt>
  cmpq   $0x0,(%r12)
  mov    $0x1,%eax
  je     L51
  nopl   0x0(%rax)
L74:
  movslq %eax,%rbx
  add    $0x1,%rax
  cmpq   $0x0,-0x8(%r12,%rax,8)
  jne    L74
  lea    0x3(%rbx),%eax
  cltq
  shl    $0x3,%rax
L105:
  add    $0x17,%rax
  mov    %rsp,%rcx
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L26
L100:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L100
L26:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L28
L49:
  lea    0xf(%rsp),%r8
  mov    %r14,%rsi
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  and    $0xfffffffffffffff0,%r8
  mov    %r8,-0x48(%rbp)
  call   <variable_expand_for_file@plt>
  mov    -0x48(%rbp),%r8
  lea    0x10(,%rbx,8),%rdx
  lea    0x8(,%rbx,8),%r9
  cltq
  mov    %rax,(%r8)
  lea    D1(%rip),%rax
  mov    %rax,0x8(%r8)
  mov    %rbx,%rax
  neg    %rax
  shl    $0x3,%rax
  lea    (%rax,%rdx,1),%rdi
  lea    -0x10(%rdx,%rax,1),%rax
  mov    %r9,%rdx
  add    %r8,%rdi
  lea    (%r12,%rax,1),%rsi
  call   <memcpy@plt>
  mov    -0x48(%rbp),%rdi
  mov    %r15,%rdx
  mov    %r13,%rsi
  xor    %eax,%eax
  call   <exec_command@plt>
  mov    $0x7f,%edi
  call   <_exit@plt>
  nopw   0x0(%rax,%rax,1)
L71:
  xor    %esi,%esi
  call   <dup2@plt>
  jmp    L59
  nopl   0x0(%rax)
L28:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L49
  nopl   0x0(%rax,%rax,1)
L51:
  mov    $0x18,%eax
  xor    %ebx,%ebx
  jmp    L105
```

tool_calls: name: disassemble_data
arguments: data_label: D27
data_type: string
name: disassemble_data
arguments: data_label: D12
data_type: string
name: disassemble_data
arguments: data_label: D1
data_type: string

tool: D27: $(PATH)

tool: D12: $(SHELL)

tool: D1: -c

assistant: ```c
void child_execute_job(stdin_fd, stdout_fd, file, argv, envp) int stdin_fd, stdout_fd;
struct file *file;
char **argv, **envp;
{
  char *path;
  if (stdin_fd != 0)
    (void)dup2(stdin_fd, 0);
  if (stdout_fd != 1)
    (void)dup2(stdout_fd, 1);
  {
    register int d;
    int max = getdtablesize();
    for (d = 3; d < max; ++d)
      (void)close(d);
  }
  unblock_children();
  path = allocated_variable_expand_for_file("$(PATH)", file);
  exec_command(argv, envp, path);
  {
    int argc;
    char **shell_argv;
    argc = 0;
    while (argv[argc] != 0)
      ++argc;
    shell_argv = (char **)__builtin_alloca((2 + argc + 1) * sizeof(char *));
    shell_argv[0] = variable_expand_for_file("$(SHELL)", file);
    shell_argv[1] = "-c";
    do
      shell_argv[2 + argc] = argv[argc];
    while (argc-- > 0);
    exec_command(shell_argv, envp, path);
    _exit(127);
  }
}
```