// File: /workspace/github_c_makefile_star2_O0/mabdi[P]bunney/bunny-main.c
// Function: flow_command
static _u32 flow_command(_u32 type, _u32 p1, _u32 p2, _u32 p3) {
  _u32 r;
  struct bunny_flowreq f;
  if (type == FLOW_SAVEFILE) fatal("flow_command called with FLOW_SAVEFILE");
  f.type = type;
  f.p1   = p1;
  f.p2   = p2;
  f.p3   = p3;
  
  if (write(flow_pipe_cmd,&f,sizeof(struct bunny_flowreq)) != sizeof(struct bunny_flowreq))
    fatal("unable to communicate with the component (see bunny-flow.out)");
    
  if (read(flow_pipe_ret,&r,sizeof(_u32)) != sizeof(_u32))
    fatal("short response on command 0x%x(%d,%d,%d) (see bunny-flow.out)",type,p1,p2,p3);
    
  if (type != FLOW_GET_FUZZABLE && r)
    fatal("NOK response on command 0x%x(%d,%d,%d) (see bunny-flow.out)",type,p1,p2,p3);
  else
  if (type == FLOW_GET_FUZZABLE && !r)
    fatal("FLOW_GET_FUZZABLE == 0 (see bunny-flow.out)");

  return r;  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl %edx, -0xc(%rbp)
movl %ecx, -0x10(%rbp)
cmpl $0x3e9, -0x4(%rbp)      # imm = 0x3E9
jne 0x7646
jmp 0x75b3
jmp 0x75b5
leaq 0x7e26(%rip), %rdi      # 0xf3e2
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xad0d(%rip)      # 0x122d8
je 0x75e2
movq 0xad04(%rip), %rdi      # 0x122d8
leaq 0x7e07(%rip), %rsi      # 0xf3e2
movb $0x0, %al
callq 0x22d0
jmp 0x75e4
jmp 0x75e6
leaq 0x6bc4(%rip), %rdi      # 0xe1b1
leaq 0x7e2c(%rip), %rsi      # 0xf420
leaq 0x6bc6(%rip), %rdx      # 0xe1c1
movl $0x15b, %ecx            # imm = 0x15B
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xacc9(%rip)      # 0x122d8
je 0x763a
movq 0xacc0(%rip), %rdi      # 0x122d8
leaq 0x6b92(%rip), %rsi      # 0xe1b1
leaq 0x7dfa(%rip), %rdx      # 0xf420
leaq 0x6b94(%rip), %rcx      # 0xe1c1
movl $0x15b, %r8d            # imm = 0x15B
movb $0x0, %al
callq 0x22d0
jmp 0x763c
movl $0x1, %edi
callq 0x2250
movl -0x4(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0x8(%rbp), %eax
movl %eax, -0x20(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x18(%rbp)
movl 0xac48(%rip), %edi      # 0x122ac
leaq -0x24(%rbp), %rsi
movl $0x10, %edx
callq 0x20c0
cmpq $0x10, %rax
je 0x7711
jmp 0x767e
jmp 0x7680
leaq 0x7da6(%rip), %rdi      # 0xf42d
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xac42(%rip)      # 0x122d8
je 0x76ad
movq 0xac39(%rip), %rdi      # 0x122d8
leaq 0x7d87(%rip), %rsi      # 0xf42d
movb $0x0, %al
callq 0x22d0
jmp 0x76af
jmp 0x76b1
leaq 0x6af9(%rip), %rdi      # 0xe1b1
leaq 0x7d61(%rip), %rsi      # 0xf420
leaq 0x6afb(%rip), %rdx      # 0xe1c1
movl $0x162, %ecx            # imm = 0x162
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xabfe(%rip)      # 0x122d8
je 0x7705
movq 0xabf5(%rip), %rdi      # 0x122d8
leaq 0x6ac7(%rip), %rsi      # 0xe1b1
leaq 0x7d2f(%rip), %rdx      # 0xf420
leaq 0x6ac9(%rip), %rcx      # 0xe1c1
movl $0x162, %r8d            # imm = 0x162
movb $0x0, %al
callq 0x22d0
jmp 0x7707
movl $0x1, %edi
callq 0x2250
movl 0xab99(%rip), %edi      # 0x122b0
leaq -0x14(%rbp), %rsi
movl $0x4, %edx
callq 0x22e0
cmpq $0x4, %rax
je 0x77df
jmp 0x7731
jmp 0x7733
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
movl -0xc(%rbp), %ecx
movl -0x10(%rbp), %r8d
leaq 0x7d3b(%rip), %rdi      # 0xf482
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xab82(%rip)      # 0x122d8
je 0x777b
movq 0xab79(%rip), %rdi      # 0x122d8
movl -0x4(%rbp), %edx
movl -0x8(%rbp), %ecx
movl -0xc(%rbp), %r8d
movl -0x10(%rbp), %r9d
leaq 0x7d0e(%rip), %rsi      # 0xf482
movb $0x0, %al
callq 0x22d0
jmp 0x777d
jmp 0x777f
leaq 0x6a2b(%rip), %rdi      # 0xe1b1
leaq 0x7c93(%rip), %rsi      # 0xf420
leaq 0x6a2d(%rip), %rdx      # 0xe1c1
movl $0x165, %ecx            # imm = 0x165
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xab30(%rip)      # 0x122d8
je 0x77d3
movq 0xab27(%rip), %rdi      # 0x122d8
leaq 0x69f9(%rip), %rsi      # 0xe1b1
leaq 0x7c61(%rip), %rdx      # 0xf420
leaq 0x69fb(%rip), %rcx      # 0xe1c1
movl $0x165, %r8d            # imm = 0x165
movb $0x0, %al
callq 0x22d0
jmp 0x77d5
movl $0x1, %edi
callq 0x2250
cmpl $0x3, -0x4(%rbp)
je 0x78a3
cmpl $0x0, -0x14(%rbp)
je 0x78a3
jmp 0x77f5
jmp 0x77f7
movl -0x4(%rbp), %esi
movl -0x8(%rbp), %edx
movl -0xc(%rbp), %ecx
movl -0x10(%rbp), %r8d
leaq 0x7ccc(%rip), %rdi      # 0xf4d7
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xaabe(%rip)      # 0x122d8
je 0x783f
movq 0xaab5(%rip), %rdi      # 0x122d8
movl -0x4(%rbp), %edx
movl -0x8(%rbp), %ecx
movl -0xc(%rbp), %r8d
movl -0x10(%rbp), %r9d
leaq 0x7c9f(%rip), %rsi      # 0xf4d7
movb $0x0, %al
callq 0x22d0
jmp 0x7841
jmp 0x7843
leaq 0x6967(%rip), %rdi      # 0xe1b1
leaq 0x7bcf(%rip), %rsi      # 0xf420
leaq 0x6969(%rip), %rdx      # 0xe1c1
movl $0x168, %ecx            # imm = 0x168
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xaa6c(%rip)      # 0x122d8
je 0x7897
movq 0xaa63(%rip), %rdi      # 0x122d8
leaq 0x6935(%rip), %rsi      # 0xe1b1
leaq 0x7b9d(%rip), %rdx      # 0xf420
leaq 0x6937(%rip), %rcx      # 0xe1c1
movl $0x168, %r8d            # imm = 0x168
movb $0x0, %al
callq 0x22d0
jmp 0x7899
movl $0x1, %edi
callq 0x2250
cmpl $0x3, -0x4(%rbp)
jne 0x794c
cmpl $0x0, -0x14(%rbp)
jne 0x794c
jmp 0x78b9
jmp 0x78bb
leaq 0x7c68(%rip), %rdi      # 0xf52a
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xaa07(%rip)      # 0x122d8
je 0x78e8
movq 0xa9fe(%rip), %rdi      # 0x122d8
leaq 0x7c49(%rip), %rsi      # 0xf52a
movb $0x0, %al
callq 0x22d0
jmp 0x78ea
jmp 0x78ec
leaq 0x68be(%rip), %rdi      # 0xe1b1
leaq 0x7b26(%rip), %rsi      # 0xf420
leaq 0x68c0(%rip), %rdx      # 0xe1c1
movl $0x16b, %ecx            # imm = 0x16B
movb $0x0, %al
callq 0x2030
cmpq $0x0, 0xa9c3(%rip)      # 0x122d8
je 0x7940
movq 0xa9ba(%rip), %rdi      # 0x122d8
leaq 0x688c(%rip), %rsi      # 0xe1b1
leaq 0x7af4(%rip), %rdx      # 0xf420
leaq 0x688e(%rip), %rcx      # 0xe1c1
movl $0x16b, %r8d            # imm = 0x16B
movb $0x0, %al
callq 0x22d0
jmp 0x7942
movl $0x1, %edi
callq 0x2250
jmp 0x794e
movl -0x14(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw (%rax,%rax)