// File: /workspace/github_c_makefile_star2_O3/silverneko[P]miku/isolate/isolate.c
// Function: init
static void
init(void)
{
  msg("Preparing sandbox directory\n");
  rmtree("box");
  if (mkdir("box", 0700) < 0)
    die("Cannot create box: %m");
  if (chown("box", orig_uid, orig_gid) < 0)
    die("Cannot chown box: %m");

  cg_prepare();
  set_quota();

  puts(box_dir);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x11f8, %rsp           # imm = 0x11F8
leaq 0x26fa(%rip), %rdi      # 0x56a6
xorl %eax, %eax
callq 0x415c
leaq 0x23ff(%rip), %rbx      # 0x53b9
leaq 0x12f8(%rip), %rsi      # 0x42b9
movq %rbx, %rdi
movl $0x20, %edx
movl $0xb, %ecx
callq 0x2050
movq %rbx, %rdi
movl $0x1c0, %esi            # imm = 0x1C0
callq 0x20b0
testl %eax, %eax
js 0x3379
movl 0x633a(%rip), %esi      # 0x9328
movl 0x6338(%rip), %edx      # 0x932c
leaq 0x23be(%rip), %rdi      # 0x53b9
callq 0x23e0
testl %eax, %eax
js 0x3382
cmpb $0x1, 0x62c1(%rip)      # 0x92d0
jne 0x3149
leaq 0x2522(%rip), %rbx      # 0x553e
leaq 0x250c(%rip), %r14      # 0x552f
leaq 0x6346(%rip), %r15      # 0x9370
leaq 0x10(%rsp), %r12
leaq 0x118(%rsp), %r13
xorl %ebp, %ebp
leaq 0x5d50(%rip), %rax      # 0x8d90
movq (%rbp,%rax), %r8
leaq 0x2d29(%rip), %rax      # 0x5d75
movq %rax, (%rsp)
movl $0x100, %esi            # imm = 0x100
movq %r12, %rdi
movq %rbx, %rdx
movq %r14, %rcx
movq %r15, %r9
xorl %eax, %eax
callq 0x2210
movq %r12, %rdi
movq %r13, %rsi
callq 0x2320
testl %eax, %eax
jns 0x3081
callq 0x2060
cmpl $0x2, (%rax)
je 0x30a2
leaq 0x268f(%rip), %rdi      # 0x5717
movq %r12, %rsi
xorl %eax, %eax
callq 0x415c
movq %r12, %rdi
callq 0x2170
testl %eax, %eax
js 0x335d
movq %r12, %rdi
movl $0x1ff, %esi            # imm = 0x1FF
callq 0x20b0
cmpq $0x20, %rbp
je 0x30bd
testl %eax, %eax
js 0x3354
addq $0x10, %rbp
cmpq $0x30, %rbp
jne 0x3039
leaq 0x26c6(%rip), %rsi      # 0x5798
leaq 0x1f0(%rsp), %rdx
movl $0x2, %edi
callq 0x4046
testl %eax, %eax
je 0x310a
leaq 0x26aa(%rip), %rsi      # 0x5799
leaq 0x26f8(%rip), %rdx      # 0x57ee
leaq 0x1f0(%rsp), %rcx
movl $0x2, %edi
xorl %eax, %eax
callq 0x42fc
leaq 0x2694(%rip), %rsi      # 0x57a5
leaq 0x1f0(%rsp), %rdx
movl $0x2, %edi
callq 0x4046
testl %eax, %eax
je 0x3149
leaq 0x2678(%rip), %rsi      # 0x57a6
leaq 0x26b9(%rip), %rdx      # 0x57ee
leaq 0x1f0(%rsp), %rcx
movl $0x2, %edi
xorl %eax, %eax
callq 0x42fc
cmpl $0x0, 0x61a8(%rip)      # 0x92f8
je 0x3336
leaq 0x1f0(%rsp), %rdi
movl $0x1000, %esi           # imm = 0x1000
callq 0x2260
testq %rax, %rax
je 0x338b
leaq 0x2815(%rip), %rdi      # 0x598d
leaq 0x213b(%rip), %rsi      # 0x52ba
callq 0x2390
testq %rax, %rax
je 0x3394
movq %rax, %r14
movq %rax, %rdi
callq 0x2380
testq %rax, %rax
je 0x339d
movq %rax, %r15
xorl %ebp, %ebp
leaq 0x280a(%rip), %r13      # 0x59b7
xorl %ebx, %ebx
movq (%r15), %rax
xorl %ecx, %ecx
cmpq $0x4, %rcx
je 0x31d7
movb (%rax,%rcx), %dl
leaq 0x1(%rcx), %rsi
cmpb (%rcx,%r13), %dl
movq %rsi, %rcx
je 0x31b4
movq %r14, %rdi
callq 0x2380
movq %rax, %r15
jmp 0x3231
movq 0x8(%r15), %rdi
xorl %eax, %eax
movb (%rdi,%rax), %cl
testb %cl, %cl
je 0x31f6
leaq 0x1(%rax), %rdx
cmpb %cl, 0x1f0(%rsp,%rax)
movq %rdx, %rax
je 0x31dd
jmp 0x3220
callq 0x2180
movq %rax, %r12
cmpl %r12d, %ebp
jge 0x3220
movq %rbx, %rdi
callq 0x2030
movq (%r15), %rdi
callq 0x2490
movq %rax, %rbx
testq %rax, %rax
jne 0x3223
jmp 0x3370
movl %ebp, %r12d
movq %r14, %rdi
callq 0x2380
movq %rax, %r15
movl %r12d, %ebp
testq %rax, %rax
jne 0x31af
movq %r14, %rdi
callq 0x2040
testq %rbx, %rbx
je 0x33a5
leaq 0x262a(%rip), %rdi      # 0x587c
leaq 0x1f0(%rsp), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x415c
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x2320
testl %eax, %eax
js 0x33b6
movl $0xf000, %eax           # imm = 0xF000
andl 0x28(%rsp), %eax
cmpl $0x6000, %eax           # imm = 0x6000
jne 0x33bf
leaq 0x265c(%rip), %rdi      # 0x58f0
leaq 0x118(%rsp), %rsi
callq 0x2320
testl %eax, %eax
js 0x33cb
movq 0x118(%rsp), %rax
cmpq 0x38(%rsp), %rax
jne 0x33d4
movslq 0x6035(%rip), %rax      # 0x92f8
leaq 0x1a8(%rsp), %rcx
movq %rax, (%rcx)
movq %rax, 0x8(%rcx)
xorl %eax, %eax
movq %rax, 0x10(%rcx)
movslq 0x601d(%rip), %rdx      # 0x92fc
movq %rdx, 0x18(%rcx)
movq %rdx, 0x20(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rcx)
movq %rax, 0x38(%rcx)
movl $0x5, 0x40(%rcx)
movl 0x6189(%rip), %edx      # 0x9488
movl $0x80000800, %edi       # imm = 0x80000800
movq %rbx, %rsi
callq 0x2150
testl %eax, %eax
js 0x33ed
movl 0x5fde(%rip), %esi      # 0x92f8
movl 0x5fdc(%rip), %edx      # 0x92fc
leaq 0x2638(%rip), %rdi      # 0x595f
xorl %eax, %eax
callq 0x415c
movq %rbx, %rdi
callq 0x2030
leaq 0x6153(%rip), %rdi      # 0x9490
callq 0x20c0
addq $0x11f8, %rsp           # imm = 0x11F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2417(%rip), %rdi      # 0x5772
jmp 0x3364
leaq 0x23e9(%rip), %rdi      # 0x574d
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x2d7f
leaq 0x1fd8(%rip), %rdi      # 0x534f
jmp 0x33f4
leaq 0x2343(%rip), %rdi      # 0x56c3
jmp 0x33f4
leaq 0x2350(%rip), %rdi      # 0x56d9
jmp 0x33f4
leaq 0x24b2(%rip), %rdi      # 0x5844
jmp 0x33f4
leaq 0x25ff(%rip), %rdi      # 0x599a
jmp 0x33f4
movq %r14, %rdi
callq 0x2040
leaq 0x24a3(%rip), %rdi      # 0x584f
leaq 0x1f0(%rsp), %rsi
jmp 0x3369
leaq 0x24ec(%rip), %rdi      # 0x58a9
jmp 0x33c6
leaq 0x2507(%rip), %rdi      # 0x58cd
movq %rbx, %rsi
jmp 0x3369
leaq 0x2520(%rip), %rdi      # 0x58f2
jmp 0x33f4
leaq 0x252b(%rip), %rdi      # 0x5906
leaq 0x1f0(%rsp), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2d7f
leaq 0x2551(%rip), %rdi      # 0x5945
xorl %eax, %eax
callq 0x2d7f