// File: /workspace/github_c_makefile_star2_O0/gplessis[P]dotdeb-redis/src/ziplist.c
// Function: zipEntry
void zipEntry(unsigned char *p, zlentry *e) {

    ZIP_DECODE_PREVLEN(p, e->prevrawlensize, e->prevrawlen);
    ZIP_DECODE_LENGTH(p + e->prevrawlensize, e->encoding, e->lensize, e->len);
    e->headersize = e->prevrawlensize + e->lensize;
    e->p = p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
jmp 0x40412
movq -0x8(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xfe, %eax
jge 0x4042c
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
jmp 0x40436
movq -0x10(%rbp), %rax
movl $0x5, (%rax)
jmp 0x40438
movq -0x10(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x40451
movq -0x8(%rbp), %rax
movzbl (%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x4(%rax)
jmp 0x4046a
movq -0x10(%rbp), %rax
cmpl $0x5, (%rax)
jne 0x40468
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
movl 0x1(%rcx), %ecx
movl %ecx, 0x4(%rax)
jmp 0x4046a
jmp 0x4046c
jmp 0x4046e
jmp 0x40470
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
movb (%rax,%rcx), %cl
movq -0x10(%rbp), %rax
movb %cl, 0x14(%rax)
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0xc0, %eax
jge 0x404a4
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %ecx
andl $0xc0, %ecx
movb %cl, 0x14(%rax)
jmp 0x404a6
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0xc0, %eax
jge 0x405d9
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x0, %eax
jne 0x404ee
movq -0x10(%rbp), %rax
movl $0x1, 0x8(%rax)
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
movzbl (%rax,%rcx), %ecx
andl $0x3f, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xc(%rax)
jmp 0x405d7
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x40, %eax
jne 0x40537
movq -0x10(%rbp), %rax
movl $0x2, 0x8(%rax)
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
movzbl (%rax,%rcx), %ecx
andl $0x3f, %ecx
shll $0x8, %ecx
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rdx
movl (%rdx), %edx
movzbl 0x1(%rax,%rdx), %eax
orl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xc(%rax)
jmp 0x405d5
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %eax
cmpl $0x80, %eax
jne 0x405a5
movq -0x10(%rbp), %rax
movl $0x5, 0x8(%rax)
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rcx
movl (%rcx), %ecx
movzbl 0x1(%rax,%rcx), %ecx
shll $0x18, %ecx
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rdx
movl (%rdx), %edx
movzbl 0x2(%rax,%rdx), %eax
shll $0x10, %eax
orl %eax, %ecx
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rdx
movl (%rdx), %edx
movzbl 0x3(%rax,%rdx), %eax
shll $0x8, %eax
orl %eax, %ecx
movq -0x8(%rbp), %rax
movq -0x10(%rbp), %rdx
movl (%rdx), %edx
movzbl 0x4(%rax,%rdx), %eax
orl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xc(%rax)
jmp 0x405d3
xorl %eax, %eax
testb $0x1, %al
jne 0x405ad
jmp 0x405af
jmp 0x405d1
leaq 0xfd769(%rip), %rdi     # 0x13dd1f
leaq 0xfa32b(%rip), %rsi     # 0x13a8e8
movl $0x1a4, %edx            # imm = 0x1A4
callq 0x76ce0
movl $0x1, %edi
callq 0x263c0
jmp 0x405d3
jmp 0x405d5
jmp 0x405d7
jmp 0x405fa
movq -0x10(%rbp), %rax
movl $0x1, 0x8(%rax)
movq -0x10(%rbp), %rax
movzbl 0x14(%rax), %edi
callq 0x3fc70
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xc(%rax)
jmp 0x405fc
movq -0x10(%rbp), %rax
movl (%rax), %ecx
movq -0x10(%rbp), %rax
addl 0x8(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x18(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)