// File: /workspace/github_c_makefile_star2_O1/silverneko[P]miku/isolate/isolate.c
// Function: box_inside
static int
box_inside(void *arg)
{
  char **args = arg;
  write_errors_to_fd = error_pipes[1];
  close(error_pipes[0]);
  meta_close();

  cg_enter();
  setup_root();
  setup_credentials();
  setup_fds();
  setup_rlimits();
  char **env = setup_environment();

  if (set_cwd && chdir(set_cwd))
    die("chdir: %m");

  execve(args[0], args, env);
  die("execve(\"%s\"): %m", args[0]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x438, %rsp            # imm = 0x438
movq %rdi, 0x28(%rsp)
movl 0x5391(%rip), %eax      # 0x9894
movl %eax, 0x4e3f(%rip)      # 0x9348
movl 0x5381(%rip), %edi      # 0x9890
callq 0x2280
movq 0x4e25(%rip), %rdi      # 0x9340
testq %rdi, %rdi
je 0x4531
movq 0x4a99(%rip), %rax      # 0x8fc0
cmpq (%rax), %rdi
je 0x4531
callq 0x2160
cmpb $0x1, 0x4d98(%rip)      # 0x92d0
jne 0x45f9
leaq 0x14fb(%rip), %rdi      # 0x5a40
leaq 0x4e24(%rip), %rsi      # 0x9370
xorl %eax, %eax
callq 0x418b
leaq 0x1501(%rip), %r14      # 0x5a5b
leaq 0x14fb(%rip), %r15      # 0x5a5c
leaq 0x1426(%rip), %rbx      # 0x598e
xorl %ebp, %ebp
callq 0x2130
cmpl $0x2, %ebp
movq %r15, %rsi
cmoveq %r14, %rsi
movl %ebp, %edi
movq %rbx, %rdx
movl %eax, %ecx
xorl %eax, %eax
callq 0x432b
incl %ebp
cmpl $0x3, %ebp
jne 0x456a
movslq 0x4d83(%rip), %rcx      # 0x9318
testq %rcx, %rcx
je 0x45d6
shlq $0xa, %rcx
leaq 0x14bd(%rip), %rsi      # 0x5a62
leaq 0x103f(%rip), %rbx      # 0x55eb
xorl %edi, %edi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x432b
movslq 0x4d59(%rip), %rcx      # 0x9318
shlq $0xa, %rcx
leaq 0x14ae(%rip), %rsi      # 0x5a78
xorl %edi, %edi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x432b
cmpb $0x1, 0x4d3f(%rip)      # 0x931c
jne 0x45f9
leaq 0xf05(%rip), %rsi       # 0x54eb
leaq 0x14a8(%rip), %rdx      # 0x5a95
movl $0x1, %edi
xorl %eax, %eax
callq 0x432b
leaq 0xbe7(%rip), %rdi       # 0x51e7
movl $0x1e8, %esi            # imm = 0x1E8
callq 0x20b0
testl %eax, %eax
jns 0x4618
callq 0x2060
cmpl $0x11, (%rax)
jne 0x4673
leaq 0xd62(%rip), %rsi       # 0x5381
movl $0x44000, %ecx          # imm = 0x44000
xorl %edi, %edi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x2190
testl %eax, %eax
jns 0x4640
leaq 0x146f(%rip), %rdi      # 0x5aaa
jmp 0x4a63
leaq 0x147f(%rip), %rdi      # 0x5ac6
leaq 0xb99(%rip), %rsi       # 0x51e7
leaq 0x1476(%rip), %rdx      # 0x5acb
leaq 0x1475(%rip), %r8       # 0x5ad1
xorl %ecx, %ecx
callq 0x2190
testl %eax, %eax
jns 0x467f
leaq 0x146c(%rip), %rdi      # 0x5ada
jmp 0x4a63
leaq 0x141e(%rip), %rdi      # 0x5a98
jmp 0x4a63
movq 0x4caa(%rip), %rbx      # 0x9330
testq %rbx, %rbx
je 0x47e6
leaq 0x30(%rsp), %r12
leaq 0x142b(%rip), %r13      # 0x5ac6
movq (%rbx), %rbp
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x477d
testb $0x8, 0x10(%rbx)
je 0x46da
movq %r14, %rdi
movq %r12, %rsi
callq 0x2320
testl %eax, %eax
js 0x47c5
movl 0x48(%rsp), %eax
movl $0xf000, %ecx           # imm = 0xF000
andl %ecx, %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0x47c5
movl $0x400, %esi            # imm = 0x400
movq %r12, %rdi
leaq 0x1491(%rip), %rdx      # 0x5b7a
movq %rbp, %rcx
xorl %eax, %eax
callq 0x2210
movq %r12, %rdi
callq 0x424f
movl 0x10(%rbx), %eax
movl %eax, %ecx
andl $0x1, %ecx
movl %eax, %edx
andl $0x2, %edx
leal (%rcx,%rdx,4), %ecx
xorl $0x1, %ecx
leaq 0x4(%rcx), %r15
testb $0x10, %al
cmovneq %rcx, %r15
testb $0x4, %al
movq %rbp, 0x20(%rsp)
jne 0x4790
movq %rbp, %rdx
movq %r15, %rbp
orq $0x1002, %rbp           # imm = 0x1002
leaq 0x1486(%rip), %rdi      # 0x5bbb
movq %r14, %rsi
movq %rbp, %rcx
xorl %eax, %eax
callq 0x418b
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
leaq 0x1623(%rip), %rbp      # 0x5d78
movq %rbp, %r8
callq 0x2190
testl %eax, %eax
js 0x481e
orq $0x1022, %r15           # imm = 0x1022
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %r15, %rcx
movq %rbp, %r8
jmp 0x47ba
leaq 0x13b3(%rip), %rdi      # 0x5b37
movq %rbp, %rsi
xorl %eax, %eax
callq 0x418b
jmp 0x47d9
leaq 0x13eb(%rip), %rdi      # 0x5b82
movq %r14, %rsi
movq %rbp, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x418b
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %r15, %rcx
leaq 0x15be(%rip), %r8       # 0x5d78
callq 0x2190
testl %eax, %eax
jns 0x47d9
jmp 0x481e
movq (%rbx), %rdx
leaq 0x1384(%rip), %rdi      # 0x5b53
movq %r14, %rsi
xorl %eax, %eax
callq 0x418b
movq 0x18(%rbx), %rbx
testq %rbx, %rbx
jne 0x469b
leaq 0x9fa(%rip), %rdi       # 0x51e7
callq 0x20a0
testl %eax, %eax
jns 0x4802
leaq 0x12fb(%rip), %rdi      # 0x5af8
jmp 0x4a63
leaq 0x1301(%rip), %rdi      # 0x5b0a
callq 0x21a0
testl %eax, %eax
jns 0x4834
leaq 0x12fa(%rip), %rdi      # 0x5b13
jmp 0x4a63
leaq 0x137c(%rip), %rdi      # 0x5ba1
movq %r14, %rsi
movq 0x20(%rsp), %rdx
xorl %eax, %eax
callq 0x2de4
movl 0x4c52(%rip), %edi      # 0x948c
movl %edi, %esi
movl %edi, %edx
callq 0x21c0
testl %eax, %eax
jns 0x4853
leaq 0x138b(%rip), %rdi      # 0x5bd9
jmp 0x4a63
xorl %edi, %edi
xorl %esi, %esi
callq 0x2290
testl %eax, %eax
jns 0x486c
leaq 0x1380(%rip), %rdi      # 0x5be7
jmp 0x4a63
movl 0x4c16(%rip), %edi      # 0x9488
movl %edi, %esi
movl %edi, %edx
callq 0x2140
testl %eax, %eax
jns 0x488b
leaq 0x136f(%rip), %rdi      # 0x5bf5
jmp 0x4a63
callq 0x24a0
cmpq $0x0, 0x4a48(%rip)      # 0x92e0
je 0x48b9
xorl %edi, %edi
callq 0x2280
movq 0x4a38(%rip), %rdi      # 0x92e0
xorl %esi, %esi
xorl %eax, %eax
callq 0x2400
testl %eax, %eax
jne 0x4a6a
cmpq $0x0, 0x4a2f(%rip)      # 0x92f0
je 0x48ee
movl $0x1, %edi
callq 0x2280
movq 0x4a1c(%rip), %rdi      # 0x92f0
movl $0x241, %esi            # imm = 0x241
movl $0x1b6, %edx            # imm = 0x1B6
xorl %eax, %eax
callq 0x2400
cmpl $0x1, %eax
jne 0x4c35
cmpq $0x0, 0x4a0a(%rip)      # 0x9300
jne 0x4909
movl $0x1, %edi
movl $0x2, %esi
callq 0x21e0
jmp 0x4934
movl $0x2, %edi
callq 0x2280
movq 0x49e6(%rip), %rdi      # 0x9300
movl $0x241, %esi            # imm = 0x241
movl $0x1b6, %edx            # imm = 0x1B6
xorl %eax, %eax
callq 0x2400
cmpl $0x2, %eax
jne 0x4cd6
movslq 0x49ad(%rip), %rdx      # 0x92e8
testq %rdx, %rdx
je 0x4955
shlq $0xa, %rdx
leaq 0x12c7(%rip), %rdi      # 0x5c12
movl $0x9, %esi
callq 0x4cf7
movslq 0x497c(%rip), %rax      # 0x92d8
movq %rax, %rcx
shlq $0xa, %rcx
xorl %edx, %edx
cmpq $0x1, %rax
sbbq %rdx, %rdx
orq %rcx, %rdx
leaq 0x12a6(%rip), %rdi      # 0x5c1c
movl $0x3, %esi
callq 0x4cf7
movslq 0x4999(%rip), %rdx      # 0x9320
testq %rdx, %rdx
je 0x499d
leaq 0x1296(%rip), %rdi      # 0x5c29
movl $0x7, %esi
callq 0x4cf7
movslq 0x4980(%rip), %rdx      # 0x9324
testq %rdx, %rdx
je 0x49be
shlq $0xa, %rdx
leaq 0x1283(%rip), %rdi      # 0x5c37
movl $0x1, %esi
callq 0x4cf7
leaq 0x127f(%rip), %rdi      # 0x5c44
xorl %r12d, %r12d
movl $0x8, %esi
xorl %edx, %edx
callq 0x4cf7
movslq 0x4895(%rip), %rdx      # 0x9270
testq %rdx, %rdx
je 0x49f1
leaq 0x126c(%rip), %rdi      # 0x5c53
movl $0x6, %esi
callq 0x4cf7
movq 0x4940(%rip), %rax      # 0x9338
movq %rax, 0x48a9(%rip)      # 0x92a8
leaq 0x488a(%rip), %r14      # 0x9290
movq %r14, 0x492b(%rip)      # 0x9338
movq 0x45cc(%rip), %rax      # 0x8fe0
movq (%rax), %rbx
movq $-0x8, %r15
incl %r12d
cmpq $0x0, 0x8(%rbx,%r15)
leaq 0x8(%r15), %r15
jne 0x4a1e
movl %r12d, %ebp
movq (%r14), %rdi
callq 0x2180
movl %eax, 0x10(%r14)
movq 0x18(%r14), %r14
incl %ebp
testq %r14, %r14
jne 0x4a30
movl %ebp, %edi
shlq $0x3, %rdi
callq 0x2360
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x4a76
leaq 0x8ec(%rip), %rdi       # 0x534f
xorl %eax, %eax
callq 0x2de4
movq 0x486f(%rip), %rsi      # 0x92e0
jmp 0x4cdd
xorl %edx, %edx
cmpb $0x0, 0x4855(%rip)      # 0x92d4
je 0x4a97
decl %r12d
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2330
movl %r12d, %edx
movl %edx, %eax
movq 0x8(%rsp), %rcx
movq $0x0, (%rcx,%rax,8)
leaq 0x47e3(%rip), %r14      # 0x9290
movl %edx, %r15d
testl %r15d, %r15d
jle 0x4b25
movq (%r14), %rax
movq %rax, 0x20(%rsp)
movq %r14, 0x18(%rsp)
movslq 0x10(%r14), %r12
movl %r15d, 0x14(%rsp)
movl %r15d, %r14d
movq %r14, %r15
negq %r15
movb $0x1, %bl
movl $0x1, %ebp
movq 0x8(%rsp), %rax
movq -0x8(%rax,%rbp,8), %r13
movq %r13, %rdi
movq 0x20(%rsp), %rsi
movq %r12, %rdx
callq 0x2080
testl %eax, %eax
jne 0x4b05
cmpb $0x3d, (%r13,%r12)
je 0x4bf3
cmpq %r14, %rbp
setb %bl
leaq (%r15,%rbp), %rax
incq %rax
incq %rbp
cmpq $0x1, %rax
jne 0x4adb
movl 0x14(%rsp), %r15d
movq 0x18(%rsp), %r14
movq 0x8(%r14), %r12
testq %r12, %r12
je 0x4b8f
cmpb $0x0, (%r12)
je 0x4be4
movslq 0x10(%r14), %rbx
movq %r12, %rdi
callq 0x2180
leaq (%rbx,%rax), %rdi
addq $0x2, %rdi
callq 0x2360
testq %rax, %rax
je 0x4a5c
movq %rax, %rbx
movq (%r14), %rdx
movq %rax, %rdi
leaq 0x1136(%rip), %rsi      # 0x5ca1
movq %r12, %rcx
xorl %eax, %eax
callq 0x2460
movslq %r15d, %rax
incl %r15d
movq 0x8(%rsp), %rcx
movq %rbx, (%rcx,%rax,8)
movq $0x0, 0x8(%rcx,%rax,8)
jmp 0x4be4
movq 0x444a(%rip), %rax      # 0x8fe0
movq (%rax), %rbp
movq (%rbp), %rbx
testq %rbx, %rbx
je 0x4be4
movq (%r14), %r12
movq %r14, 0x18(%rsp)
movslq 0x10(%r14), %r13
addq $0x8, %rbp
xorl %r14d, %r14d
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2080
testl %eax, %eax
jne 0x4bce
cmpb $0x3d, (%rbx,%r13)
je 0x4c24
movq (%rbp), %rbx
addq $0x8, %rbp
testq %rbx, %rbx
sete %r14b
jne 0x4bb5
movq 0x18(%rsp), %r14
movq 0x18(%r14), %r14
testq %r14, %r14
jne 0x4ab0
jmp 0x4c41
testb $0x1, %bl
je 0x4b1b
movl 0x14(%rsp), %r15d
movslq %r15d, %rax
decl %r15d
movq 0x8(%rsp), %rdx
movq -0x8(%rdx,%rax,8), %rcx
movq %rcx, -0x8(%rdx,%rbp,8)
movq $0x0, -0x8(%rdx,%rax,8)
jmp 0x4b20
testb $0x1, %r14b
movq 0x18(%rsp), %r14
je 0x4b75
jmp 0x4be4
movq 0x46b4(%rip), %rsi      # 0x92f0
jmp 0x4cdd
cmpl $0x1, 0x46c4(%rip)      # 0x930c
jle 0x4ca0
movq 0x43a7(%rip), %r15      # 0x8ff8
movq (%r15), %rcx
leaq 0x1018(%rip), %rdi      # 0x5c73
movl $0x15, %esi
movl $0x1, %edx
callq 0x2480
movq 0x8(%rsp), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je 0x4ca0
movq 0x8(%rsp), %r14
addq $0x8, %r14
leaq 0x1002(%rip), %rbx      # 0x5c89
movq (%r15), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2300
movq (%r14), %rdx
addq $0x8, %r14
testq %rdx, %rdx
jne 0x4c87
movq 0x4621(%rip), %rdi      # 0x92c8
testq %rdi, %rdi
je 0x4cb5
callq 0x21a0
testl %eax, %eax
jne 0x4ceb
movq 0x28(%rsp), %rbx
movq (%rbx), %rdi
movq %rbx, %rsi
movq 0x8(%rsp), %rdx
callq 0x22d0
movq (%rbx), %rsi
leaq 0xd5b(%rip), %rdi       # 0x5a2f
jmp 0x4ce4
movq 0x4623(%rip), %rsi      # 0x9300
leaq 0xf1f(%rip), %rdi       # 0x5c03
xorl %eax, %eax
callq 0x2de4
leaq 0xd33(%rip), %rdi       # 0x5a25
jmp 0x4a63