// File: /workspace/github_c_makefile_star2_O2/mabdi[P]bunney/bunny-main.c
// Function: purge_outflow
static void purge_outflow(void) {
  DIR* d;
  struct dirent* dent;
  _u8 wbuf[MAXTOKEN];
  
  if (!outflow_dir) fatal("inflow_dir is NULL");
  
  if (!(d = opendir(outflow_dir))) pfatal("unable to open %s",outflow_dir);
  
  while ((dent = readdir(d))) {
    if (dent->d_name[0] == '.') continue;
    snprintf(wbuf,MAXTOKEN,"%s/%s",outflow_dir,dent->d_name);
    if (unlink(wbuf)) pfatal("unable to unlink %s\n",wbuf);
  }
  
  closedir(d);
  
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1000, %rsp           # imm = 0x1000
movq 0x93e5(%rip), %rdi      # 0x10310
testq %rdi, %rdi
je 0x7037
callq 0x2300
testq %rax, %rax
je 0x70b7
movq %rax, %rbx
leaq 0x54bb(%rip), %r14      # 0xc407
movq %rsp, %r15
movq %rbx, %rdi
callq 0x2320
testq %rax, %rax
je 0x7023
cmpb $0x2e, 0x13(%rax)
je 0x6f4f
addq $0x13, %rax
movq 0x939f(%rip), %rcx      # 0x10310
movl $0x1000, %esi           # imm = 0x1000
movq %r15, %rdi
movq %r14, %rdx
movq %rax, %r8
xorl %eax, %eax
callq 0x2340
movq %r15, %rdi
callq 0x2100
testl %eax, %eax
je 0x6f4f
leaq 0x54aa(%rip), %rdi      # 0xc443
movq %rsp, %rsi
xorl %eax, %eax
callq 0x2030
movq 0x92be(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x6fc0
leaq 0x548d(%rip), %rsi      # 0xc443
movq %rsp, %rdx
xorl %eax, %eax
callq 0x22d0
leaq 0x4276(%rip), %rdi      # 0xb23d
leaq 0x543f(%rip), %rsi      # 0xc40d
leaq 0x4278(%rip), %rdx      # 0xb24d
movl $0x1a1, %ecx            # imm = 0x1A1
xorl %eax, %eax
callq 0x2030
movq 0x9280(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x700f
leaq 0x4249(%rip), %rsi      # 0xb23d
leaq 0x5412(%rip), %rdx      # 0xc40d
leaq 0x424b(%rip), %rcx      # 0xb24d
movl $0x1a1, %r8d            # imm = 0x1A1
xorl %eax, %eax
callq 0x22d0
leaq 0x5026(%rip), %rdi      # 0xc03c
callq 0x2170
pushq $0x1
popq %rdi
callq 0x2230
movq %rbx, %rdi
addq $0x1000, %rsp           # imm = 0x1000
popq %rbx
popq %r14
popq %r15
jmp 0x2350
leaq 0x535a(%rip), %rdi      # 0xc398
xorl %eax, %eax
callq 0x2030
movq 0x921c(%rip), %rcx      # 0x10268
testq %rcx, %rcx
je 0x7063
leaq 0x5340(%rip), %rdi      # 0xc398
pushq $0x29
popq %rsi
pushq $0x1
popq %rdx
callq 0x23b0
leaq 0x41d3(%rip), %rdi      # 0xb23d
leaq 0x539c(%rip), %rsi      # 0xc40d
leaq 0x41d5(%rip), %rdx      # 0xb24d
movl $0x19a, %ecx            # imm = 0x19A
xorl %eax, %eax
callq 0x2030
movq 0x91dd(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x701b
leaq 0x41a6(%rip), %rsi      # 0xb23d
leaq 0x536f(%rip), %rdx      # 0xc40d
leaq 0x41a8(%rip), %rcx      # 0xb24d
movl $0x19a, %r8d            # imm = 0x19A
xorl %eax, %eax
callq 0x22d0
jmp 0x701b
movq 0x9252(%rip), %rsi      # 0x10310
leaq 0x5356(%rip), %rdi      # 0xc41b
xorl %eax, %eax
callq 0x2030
movq 0x9195(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x70ed
movq 0x9231(%rip), %rdx      # 0x10310
leaq 0x5335(%rip), %rsi      # 0xc41b
xorl %eax, %eax
callq 0x22d0
leaq 0x4149(%rip), %rdi      # 0xb23d
leaq 0x5312(%rip), %rsi      # 0xc40d
leaq 0x414b(%rip), %rdx      # 0xb24d
movl $0x19c, %ecx            # imm = 0x19C
xorl %eax, %eax
callq 0x2030
movq 0x9153(%rip), %rdi      # 0x10268
testq %rdi, %rdi
je 0x700f
leaq 0x4118(%rip), %rsi      # 0xb23d
leaq 0x52e1(%rip), %rdx      # 0xc40d
leaq 0x411a(%rip), %rcx      # 0xb24d
movl $0x19c, %r8d            # imm = 0x19C
jmp 0x7008