// File: /workspace/github_c_makefile_star2_O1/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 0x269a(%rip), %rdi      # 0x56ab
xorl %eax, %eax
callq 0x418b
leaq 0x239f(%rip), %rbx      # 0x53be
leaq 0x12c2(%rip), %rsi      # 0x42e8
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 0x33b8
movl 0x62d5(%rip), %esi      # 0x9328
movl 0x62d3(%rip), %edx      # 0x932c
leaq 0x235e(%rip), %rdi      # 0x53be
callq 0x23e0
testl %eax, %eax
js 0x33c1
cmpb $0x1, 0x625c(%rip)      # 0x92d0
jne 0x31ae
leaq 0x24c2(%rip), %rbx      # 0x5543
leaq 0x24ac(%rip), %r14      # 0x5534
leaq 0x62e1(%rip), %r15      # 0x9370
leaq 0x10(%rsp), %r12
leaq 0x118(%rsp), %r13
xorl %ebp, %ebp
leaq 0x5ceb(%rip), %rax      # 0x8d90
movq (%rbp,%rax), %r8
leaq 0x2cc7(%rip), %rax      # 0x5d78
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 0x30e6
callq 0x2060
cmpl $0x2, (%rax)
je 0x3107
leaq 0x262f(%rip), %rdi      # 0x571c
movq %r12, %rsi
xorl %eax, %eax
callq 0x418b
movq %r12, %rdi
callq 0x2170
testl %eax, %eax
js 0x33a5
movq %r12, %rdi
movl $0x1ff, %esi            # imm = 0x1FF
callq 0x20b0
cmpq $0x20, %rbp
je 0x3122
testl %eax, %eax
js 0x339c
addq $0x10, %rbp
cmpq $0x30, %rbp
jne 0x309e
leaq 0x2666(%rip), %rsi      # 0x579d
leaq 0x1f0(%rsp), %rdx
movl $0x2, %edi
callq 0x4075
testl %eax, %eax
je 0x316f
leaq 0x264a(%rip), %rsi      # 0x579e
leaq 0x2698(%rip), %rdx      # 0x57f3
leaq 0x1f0(%rsp), %rcx
movl $0x2, %edi
xorl %eax, %eax
callq 0x432b
leaq 0x2634(%rip), %rsi      # 0x57aa
leaq 0x1f0(%rsp), %rdx
movl $0x2, %edi
callq 0x4075
testl %eax, %eax
je 0x31ae
leaq 0x2618(%rip), %rsi      # 0x57ab
leaq 0x2659(%rip), %rdx      # 0x57f3
leaq 0x1f0(%rsp), %rcx
movl $0x2, %edi
xorl %eax, %eax
callq 0x432b
cmpl $0x0, 0x6143(%rip)      # 0x92f8
je 0x337e
leaq 0x1f0(%rsp), %rdi
movl $0x1000, %esi           # imm = 0x1000
callq 0x2260
testq %rax, %rax
je 0x33ca
leaq 0x27b5(%rip), %rdi      # 0x5992
leaq 0x20d6(%rip), %rsi      # 0x52ba
callq 0x2390
testq %rax, %rax
je 0x33d3
movq %rax, %r14
xorl %ebx, %ebx
leaq 0x27be(%rip), %r13      # 0x59bc
xorl %ebp, %ebp
movq %r14, %rdi
callq 0x2380
testq %rax, %rax
je 0x3282
movq %rax, %r15
movq (%rax), %rax
xorl %ecx, %ecx
cmpq $0x4, %rcx
je 0x322f
movb (%rcx,%r13), %dl
leaq 0x1(%rcx), %rsi
cmpb %dl, (%rax,%rcx)
movq %rsi, %rcx
je 0x3215
testb %dl, %dl
jne 0x3200
movq 0x8(%r15), %rdi
xorl %eax, %eax
movb (%rdi,%rax), %cl
testb %cl, %cl
je 0x324e
leaq 0x1(%rax), %rdx
cmpb %cl, 0x1f0(%rsp,%rax)
movq %rdx, %rax
je 0x3235
jmp 0x3200
callq 0x2180
movq %rax, %r12
cmpl %r12d, %ebp
jge 0x3200
movq %rbx, %rdi
callq 0x2030
movq (%r15), %rdi
callq 0x2490
movq %rax, %rbx
movl %r12d, %ebp
testq %rax, %rax
jne 0x3200
leaq 0x20d2(%rip), %rdi      # 0x534f
jmp 0x342b
movq %r14, %rdi
callq 0x2040
testq %rbx, %rbx
je 0x33dc
leaq 0x25e7(%rip), %rdi      # 0x5881
leaq 0x1f0(%rsp), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x418b
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x2320
testl %eax, %eax
js 0x33ed
movl $0xf000, %eax           # imm = 0xF000
andl 0x28(%rsp), %eax
cmpl $0x6000, %eax           # imm = 0x6000
jne 0x33f6
leaq 0x2619(%rip), %rdi      # 0x58f5
leaq 0x118(%rsp), %rsi
callq 0x2320
testl %eax, %eax
js 0x3402
movq 0x118(%rsp), %rax
cmpq 0x38(%rsp), %rax
jne 0x340b
movslq 0x5fed(%rip), %rax      # 0x92f8
leaq 0x1a8(%rsp), %rcx
movq %rax, (%rcx)
movq %rax, 0x8(%rcx)
xorl %eax, %eax
movq %rax, 0x10(%rcx)
movslq 0x5fd5(%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 0x6141(%rip), %edx      # 0x9488
movl $0x80000800, %edi       # imm = 0x80000800
movq %rbx, %rsi
callq 0x2150
testl %eax, %eax
js 0x3424
movl 0x5f96(%rip), %esi      # 0x92f8
movl 0x5f94(%rip), %edx      # 0x92fc
leaq 0x25f5(%rip), %rdi      # 0x5964
xorl %eax, %eax
callq 0x418b
movq %rbx, %rdi
callq 0x2030
leaq 0x610b(%rip), %rdi      # 0x9490
callq 0x20c0
addq $0x11f8, %rsp           # imm = 0x11F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x23d4(%rip), %rdi      # 0x5777
jmp 0x33ac
leaq 0x23a6(%rip), %rdi      # 0x5752
leaq 0x10(%rsp), %rsi
xorl %eax, %eax
callq 0x2de4
leaq 0x2309(%rip), %rdi      # 0x56c8
jmp 0x342b
leaq 0x2316(%rip), %rdi      # 0x56de
jmp 0x342b
leaq 0x2478(%rip), %rdi      # 0x5849
jmp 0x342b
leaq 0x25c5(%rip), %rdi      # 0x599f
jmp 0x342b
leaq 0x2471(%rip), %rdi      # 0x5854
leaq 0x1f0(%rsp), %rsi
jmp 0x33b1
leaq 0x24ba(%rip), %rdi      # 0x58ae
jmp 0x33fd
leaq 0x24d5(%rip), %rdi      # 0x58d2
movq %rbx, %rsi
jmp 0x33b1
leaq 0x24ee(%rip), %rdi      # 0x58f7
jmp 0x342b
leaq 0x24f9(%rip), %rdi      # 0x590b
leaq 0x1f0(%rsp), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2de4
leaq 0x251f(%rip), %rdi      # 0x594a
xorl %eax, %eax
callq 0x2de4