// File: syzcch[P]FEC_C_version/./fec_rdp.h
// Function: rdp::rdp()
rdp()
    {
        disks = 4;
        pnumRdp = 257;
        stripe_unit_size = DATA_LENGTH;
        w = pnumRdp - 1;
        allDisks = disks + TOLERENCE;

        idata=(char **)malloc(sizeof(char *)*disks);
        for(int i=0; i<disks; i++)
        {
            idata[i]=(char *) malloc(sizeof(char)*stripe_unit_size);
            memset(idata[i],0,stripe_unit_size);
        }

        odata=(char **)malloc(sizeof(char *)*TOLERENCE);
        for(int i=0; i<TOLERENCE; i++)
        {
            odata[i]=(char *) malloc(sizeof(char)*stripe_unit_size);
            memset(odata[i],0,stripe_unit_size);
        }

        data=(char **)malloc(sizeof(char *)*allDisks);
        for(int i=0; i<allDisks; i++)
        {
            data[i]=(char *) malloc(sizeof(char)*stripe_unit_size);
            memset(data[i],0,stripe_unit_size);
        }

        inthis = (int *)malloc(sizeof(int *)*allDisks);

    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x2600
movq -0x20(%rbp), %rax
leaq 0x38b4(%rip), %rcx      # 0x5d08
addq $0x10, %rcx
movq %rcx, (%rax)
movl $0x4, 0x8(%rax)
movl $0x101, 0x10(%rax)      # imm = 0x101
movl $0x400, 0xc(%rax)       # imm = 0x400
movl 0x10(%rax), %ecx
subl $0x1, %ecx
movl %ecx, 0x14(%rax)
movl 0x8(%rax), %ecx
addl $0x2, %ecx
movl %ecx, 0x18(%rax)
movslq 0x8(%rax), %rdi
shlq $0x3, %rdi
callq 0x2170
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x20(%rax)
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x8(%rcx), %eax
jge 0x24f3
movq -0x20(%rbp), %rax
movslq 0xc(%rax), %rdi
shlq $0x0, %rdi
callq 0x2170
movq %rax, %rsi
movq -0x20(%rbp), %rax
movq 0x20(%rax), %rcx
movslq -0xc(%rbp), %rdx
movq %rsi, (%rcx,%rdx,8)
movq 0x20(%rax), %rcx
movslq -0xc(%rbp), %rdx
movq (%rcx,%rdx,8), %rdi
movslq 0xc(%rax), %rdx
xorl %esi, %esi
callq 0x2090
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x24a1
movl $0x10, %edi
callq 0x2170
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x28(%rax)
movl $0x0, -0x10(%rbp)
cmpl $0x2, -0x10(%rbp)
jge 0x255b
movq -0x20(%rbp), %rax
movslq 0xc(%rax), %rdi
shlq $0x0, %rdi
callq 0x2170
movq %rax, %rsi
movq -0x20(%rbp), %rax
movq 0x28(%rax), %rcx
movslq -0x10(%rbp), %rdx
movq %rsi, (%rcx,%rdx,8)
movq 0x28(%rax), %rcx
movslq -0x10(%rbp), %rdx
movq (%rcx,%rdx,8), %rdi
movslq 0xc(%rax), %rdx
xorl %esi, %esi
callq 0x2090
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x250f
movq -0x20(%rbp), %rax
movslq 0x18(%rax), %rdi
shlq $0x3, %rdi
callq 0x2170
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x30(%rax)
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x18(%rcx), %eax
jge 0x25d0
movq -0x20(%rbp), %rax
movslq 0xc(%rax), %rdi
shlq $0x0, %rdi
callq 0x2170
movq %rax, %rsi
movq -0x20(%rbp), %rax
movq 0x30(%rax), %rcx
movslq -0x14(%rbp), %rdx
movq %rsi, (%rcx,%rdx,8)
movq 0x30(%rax), %rcx
movslq -0x14(%rbp), %rdx
movq (%rcx,%rdx,8), %rdi
movslq 0xc(%rax), %rdx
xorl %esi, %esi
callq 0x2090
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x257e
movq -0x20(%rbp), %rax
movslq 0x18(%rax), %rdi
shlq $0x3, %rdi
callq 0x2170
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x38(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)