// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_decode_cryptographic_parameters
int
kmip_decode_cryptographic_parameters(KMIP *ctx, CryptographicParameters *value)
{
    CHECK_BUFFER_FULL(ctx, 8);
    
    kmip_init_cryptographic_parameters(value);
    
    int result = 0;
    int32 tag_type = 0;
    uint32 length = 0;
    
    kmip_decode_int32_be(ctx, &tag_type);
    CHECK_TAG_TYPE(ctx, tag_type, KMIP_TAG_CRYPTOGRAPHIC_PARAMETERS, KMIP_TYPE_STRUCTURE);
    
    kmip_decode_length(ctx, &length);
    CHECK_BUFFER_FULL(ctx, length);
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_BLOCK_CIPHER_MODE))
    {
        result = kmip_decode_enum(ctx, KMIP_TAG_BLOCK_CIPHER_MODE, &value->block_cipher_mode);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_BLOCK_CIPHER_MODE, value->block_cipher_mode);
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_PADDING_METHOD))
    {
        result = kmip_decode_enum(ctx, KMIP_TAG_PADDING_METHOD, &value->padding_method);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_PADDING_METHOD, value->padding_method);
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_HASHING_ALGORITHM))
    {
        result = kmip_decode_enum(ctx, KMIP_TAG_HASHING_ALGORITHM, &value->hashing_algorithm);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_HASHING_ALGORITHM, value->hashing_algorithm);
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_KEY_ROLE_TYPE))
    {
        result = kmip_decode_enum(ctx, KMIP_TAG_KEY_ROLE_TYPE, &value->key_role_type);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_KEY_ROLE_TYPE, value->key_role_type);
    }
    
    if(ctx->version >= KMIP_1_2)
    {
        if(kmip_is_tag_next(ctx, KMIP_TAG_DIGITAL_SIGNATURE_ALGORITHM))
        {
            result = kmip_decode_enum(ctx, KMIP_TAG_DIGITAL_SIGNATURE_ALGORITHM, &value->digital_signature_algorithm);
            CHECK_RESULT(ctx, result);
            CHECK_ENUM(ctx, KMIP_TAG_DIGITAL_SIGNATURE_ALGORITHM, value->digital_signature_algorithm);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_CRYPTOGRAPHIC_ALGORITHM))
        {
            result = kmip_decode_enum(ctx, KMIP_TAG_CRYPTOGRAPHIC_ALGORITHM, &value->cryptographic_algorithm);
            CHECK_RESULT(ctx, result);
            CHECK_ENUM(ctx, KMIP_TAG_CRYPTOGRAPHIC_ALGORITHM, value->cryptographic_algorithm);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_RANDOM_IV))
        {
            result = kmip_decode_bool(ctx, KMIP_TAG_RANDOM_IV, &value->random_iv);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_IV_LENGTH))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_IV_LENGTH, &value->iv_length);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_TAG_LENGTH))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_TAG_LENGTH, &value->tag_length);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_FIXED_FIELD_LENGTH))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_FIXED_FIELD_LENGTH, &value->fixed_field_length);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_INVOCATION_FIELD_LENGTH))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_INVOCATION_FIELD_LENGTH, &value->invocation_field_length);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_COUNTER_LENGTH))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_COUNTER_LENGTH, &value->counter_length);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_INITIAL_COUNTER_VALUE))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_INITIAL_COUNTER_VALUE, &value->initial_counter_value);
            CHECK_RESULT(ctx, result);
        }
    }
    
    if(ctx->version >= KMIP_1_4)
    {
        if(kmip_is_tag_next(ctx, KMIP_TAG_SALT_LENGTH))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_SALT_LENGTH, &value->salt_length);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_MASK_GENERATOR))
        {
            result = kmip_decode_enum(ctx, KMIP_TAG_MASK_GENERATOR, &value->mask_generator);
            CHECK_RESULT(ctx, result);
            CHECK_ENUM(ctx, KMIP_TAG_MASK_GENERATOR, value->mask_generator);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_MASK_GENERATOR_HASHING_ALGORITHM))
        {
            result = kmip_decode_enum(ctx, KMIP_TAG_MASK_GENERATOR_HASHING_ALGORITHM, &value->mask_generator_hashing_algorithm);
            CHECK_RESULT(ctx, result);
            CHECK_ENUM(ctx, KMIP_TAG_HASHING_ALGORITHM, value->mask_generator_hashing_algorithm);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_P_SOURCE))
        {
            value->p_source = ctx->calloc_func(ctx->state, 1, sizeof(ByteString));
            CHECK_NEW_MEMORY(ctx, value->p_source, sizeof(ByteString), "P Source byte string");
            
            result = kmip_decode_byte_string(ctx, KMIP_TAG_P_SOURCE, value->p_source);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_TRAILER_FIELD))
        {
            result = kmip_decode_integer(ctx, KMIP_TAG_TRAILER_FIELD, &value->trailer_field);
            CHECK_RESULT(ctx, result);
        }
    }
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0x7, %rax
ja 0x12f99
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
testq %rbx, %rbx
je 0x13102
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1308a
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x12f7b
jmp 0x13102
movq %rsi, %r14
testq %rsi, %rsi
je 0x12fcd
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
pcmpeqd %xmm1, %xmm1
movdqu %xmm1, 0x18(%r14)
movdqu %xmm1, 0x28(%r14)
movups %xmm0, 0x38(%r14)
movl $0xffffffff, 0x48(%r14) # imm = 0xFFFFFFFF
xorl %eax, %eax
leaq 0xc(%rsp), %r15
movl %eax, (%r15)
movl %eax, 0x8(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6a10
movl (%r15), %eax
movl %eax, %ecx
andl $0xffffff00, %ecx       # imm = 0xFFFFFF00
cmpl $0x42002b00, %ecx       # imm = 0x42002B00
jne 0x1305e
cmpb $0x1, %al
jne 0x130b3
leaq 0x8(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x64b0
movq 0x10(%rbx), %rcx
movq 0x8(%rbx), %rax
subq %rax, %rcx
addq (%rbx), %rcx
movl (%r15), %edx
cmpq %rdx, %rcx
jae 0x13111
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
testq %rbx, %rbx
je 0x13102
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x13181
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x13040
jmp 0x13102
movl $0xfffffffc, %ebp       # imm = 0xFFFFFFFC
testq %rbx, %rbx
je 0x13102
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x130db
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x13073
jmp 0x13102
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0xd0ad(%rip), %rsi      # 0x20148
movl $0x63, %edx
callq 0x66f0
movl $0x256c, 0x9c(%rbx,%r14) # imm = 0x256C
jmp 0x13102
movl $0xfffffffb, %ebp       # imm = 0xFFFFFFFB
testq %rbx, %rbx
je 0x13102
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x130db
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x130c4
jmp 0x13102
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0xd05c(%rip), %rsi      # 0x20148
movl $0x63, %edx
callq 0x66f0
movl $0x2575, 0x9c(%rbx,%r14) # imm = 0x2575
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
testq %rbx, %rbx
je 0x131e5
cmpq $0x3, %rcx
jb 0x131e5
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420011, %eax         # imm = 0x420011
jne 0x131e5
movq %rbx, %rdi
movl $0x420011, %esi         # imm = 0x420011
movq %r14, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x131ad
movl %eax, %ebp
testq %rbx, %rbx
je 0x13102
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x13332
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x13166
jmp 0x13102
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0xcfb6(%rip), %rsi      # 0x20148
movl $0x63, %edx
callq 0x66f0
movl $0x2578, 0x9c(%rbx,%r14) # imm = 0x2578
jmp 0x13102
movl (%r14), %edx
xorl %ebp, %ebp
leal -0x1(%rdx), %eax
cmpl $0x11, %eax
jae 0x1335e
testl %ebp, %ebp
je 0x131e5
movq %rbx, %rdi
movl $0x420011, %esi         # imm = 0x420011
movl %ebp, %ecx
callq 0x6120
leaq 0xe83d(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x257e, %edx           # imm = 0x257E
jmp 0x13ae7
testq %rbx, %rbx
je 0x13294
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13294
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x42005f, %eax         # imm = 0x42005F
jne 0x13294
leaq 0x4(%r14), %r12
movq %rbx, %rdi
movl $0x42005f, %esi         # imm = 0x42005F
movq %r12, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x13251
movl %eax, %r15d
leaq 0xe7d1(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x2584, %edx           # imm = 0x2584
jmp 0x13433
movl (%r12), %edx
leal -0x1(%rdx), %r15d
cmpl $0xa, %r15d
jb 0x1328a
movl $0xfffffff7, %ebp       # imm = 0xFFFFFFF7
movq %rbx, %rdi
movl $0x42005f, %esi         # imm = 0x42005F
movl $0xfffffff7, %ecx       # imm = 0xFFFFFFF7
callq 0x6120
leaq 0xe798(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x2585, %edx           # imm = 0x2585
callq 0x6de0
cmpl $0x9, %r15d
ja 0x13102
testq %rbx, %rbx
je 0x133cc
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x133cc
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420038, %eax         # imm = 0x420038
jne 0x133cc
leaq 0x8(%r14), %r12
movq %rbx, %rdi
movl $0x420038, %esi         # imm = 0x420038
movq %r12, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x13304
movl %eax, %r15d
leaq 0xe71e(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x258b, %edx           # imm = 0x258B
jmp 0x13433
movl (%r12), %edx
cmpl $0x11, %edx
ja 0x13c39
xorl %r15d, %r15d
movl $0xffe, %eax            # imm = 0xFFE
btl %edx, %eax
jb 0x13397
movl 0x18(%rbx), %eax
movl $0x3c000, %ecx          # imm = 0x3C000
btl %edx, %ecx
jae 0x1337a
xorl %ecx, %ecx
cmpl $0x4, %eax
jmp 0x1338d
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0xce05(%rip), %rsi      # 0x20148
movl $0x63, %edx
callq 0x66f0
movl $0x257d, 0x9c(%rbx,%r14) # imm = 0x257D
jmp 0x13102
cmpl $0x12, %edx
jne 0x138b5
xorl %eax, %eax
cmpl $0x4, 0x18(%rbx)
movl $0xfffffff5, %ebp       # imm = 0xFFFFFFF5
cmovael %eax, %ebp
jmp 0x131be
movl $0x3000, %ecx           # imm = 0x3000
btl %edx, %ecx
jae 0x13c39
xorl %ecx, %ecx
cmpl $0x2, %eax
movl $0xfffffff5, %r15d      # imm = 0xFFFFFFF5
cmovael %ecx, %r15d
testl %r15d, %r15d
je 0x133c3
movq %rbx, %rdi
movl $0x420038, %esi         # imm = 0x420038
movl %r15d, %ecx
callq 0x6120
leaq 0xe662(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x258c, %edx           # imm = 0x258C
callq 0x6de0
movl %r15d, %ebp
testl %r15d, %r15d
jne 0x13102
testq %rbx, %rbx
je 0x13488
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13488
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420083, %eax         # imm = 0x420083
jne 0x13488
leaq 0xc(%r14), %r12
movq %rbx, %rdi
movl $0x420083, %esi         # imm = 0x420083
movq %r12, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x13440
movl %eax, %r15d
leaq 0xe5ea(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x2592, %edx           # imm = 0x2592
callq 0x6de0
movl %r15d, %ebp
jmp 0x13102
movl (%r12), %edx
xorl %r15d, %r15d
leal -0x1(%rdx), %eax
cmpl $0x15, %eax
jae 0x13810
testl %r15d, %r15d
je 0x1347f
movq %rbx, %rdi
movl $0x420083, %esi         # imm = 0x420083
movl %r15d, %ecx
callq 0x6120
leaq 0xe5a6(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x2593, %edx           # imm = 0x2593
callq 0x6de0
movl %r15d, %ebp
testl %r15d, %r15d
jne 0x13102
cmpl $0x2, 0x18(%rbx)
jb 0x1391f
testq %rbx, %rbx
je 0x13557
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13557
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200ae, %eax         # imm = 0x4200AE
jne 0x13557
leaq 0x10(%r14), %r15
movq %rbx, %rdi
movl $0x4200ae, %esi         # imm = 0x4200AE
movq %r15, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x13502
movl %eax, %r12d
leaq 0xe520(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x259b, %edx           # imm = 0x259B
jmp 0x135c2
movl 0x18(%rbx), %eax
movl (%r15), %edx
leal -0x1(%rdx), %ecx
cmpl $0x10, %ecx
jae 0x13895
xorl %ecx, %ecx
testl %eax, %eax
movl $0xfffffff5, %r15d      # imm = 0xFFFFFFF5
cmovnel %ecx, %r15d
testl %r15d, %r15d
je 0x1354e
movq %rbx, %rdi
movl $0x4200ae, %esi         # imm = 0x4200AE
movl %r15d, %ecx
callq 0x6120
leaq 0xe4d7(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x259c, %edx           # imm = 0x259C
callq 0x6de0
movl %r15d, %ebp
testl %r15d, %r15d
jne 0x13102
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1361c
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420028, %eax         # imm = 0x420028
jne 0x1361c
leaq 0x14(%r14), %r15
movq %rbx, %rdi
movl $0x420028, %esi         # imm = 0x420028
movq %r15, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x135cf
movl %eax, %r12d
leaq 0xe45b(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25a2, %edx           # imm = 0x25A2
callq 0x6de0
movl %r12d, %ebp
jmp 0x13102
movl 0x18(%rbx), %edi
movl (%r15), %r12d
movl $0x420028, %esi         # imm = 0x420028
movl %r12d, %edx
callq 0x6350
movl %eax, %r15d
testl %eax, %eax
je 0x13613
movq %rbx, %rdi
movl $0x420028, %esi         # imm = 0x420028
movl %r12d, %edx
movl %r15d, %ecx
callq 0x6120
leaq 0xe412(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25a3, %edx           # imm = 0x25A3
callq 0x6de0
movl %r15d, %ebp
testl %r15d, %r15d
jne 0x13102
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13680
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200c5, %eax         # imm = 0x4200C5
jne 0x13680
leaq 0x18(%r14), %rdx
movq %rbx, %rdi
movl $0x4200c5, %esi         # imm = 0x4200C5
callq 0x6d20
testl %eax, %eax
je 0x13680
movl %eax, %ebp
leaq 0xe3a2(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25a9, %edx           # imm = 0x25A9
jmp 0x13ae7
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x136e4
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200cd, %eax         # imm = 0x4200CD
jne 0x136e4
leaq 0x1c(%r14), %rdx
movq %rbx, %rdi
movl $0x4200cd, %esi         # imm = 0x4200CD
callq 0x60d0
testl %eax, %eax
je 0x136e4
movl %eax, %ebp
leaq 0xe33e(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25af, %edx           # imm = 0x25AF
jmp 0x13ae7
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13748
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200ce, %eax         # imm = 0x4200CE
jne 0x13748
leaq 0x20(%r14), %rdx
movq %rbx, %rdi
movl $0x4200ce, %esi         # imm = 0x4200CE
callq 0x60d0
testl %eax, %eax
je 0x13748
movl %eax, %ebp
leaq 0xe2da(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25b5, %edx           # imm = 0x25B5
jmp 0x13ae7
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x137ac
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200cf, %eax         # imm = 0x4200CF
jne 0x137ac
leaq 0x24(%r14), %rdx
movq %rbx, %rdi
movl $0x4200cf, %esi         # imm = 0x4200CF
callq 0x60d0
testl %eax, %eax
je 0x137ac
movl %eax, %ebp
leaq 0xe276(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25bb, %edx           # imm = 0x25BB
jmp 0x13ae7
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13831
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200d2, %eax         # imm = 0x4200D2
jne 0x13831
leaq 0x28(%r14), %rdx
movq %rbx, %rdi
movl $0x4200d2, %esi         # imm = 0x4200D2
callq 0x60d0
testl %eax, %eax
je 0x13831
movl %eax, %ebp
leaq 0xe212(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25c1, %edx           # imm = 0x25C1
jmp 0x13ae7
leal -0x16(%rdx), %eax
cmpl $0x2, %eax
ja 0x13c44
xorl %eax, %eax
cmpl $0x4, 0x18(%rbx)
movl $0xfffffff5, %r15d      # imm = 0xFFFFFFF5
cmovael %eax, %r15d
jmp 0x13453
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x138bf
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200d0, %eax         # imm = 0x4200D0
jne 0x138bf
leaq 0x2c(%r14), %rdx
movq %rbx, %rdi
movl $0x4200d0, %esi         # imm = 0x4200D0
callq 0x60d0
testl %eax, %eax
je 0x138bf
movl %eax, %ebp
leaq 0xe18d(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25c7, %edx           # imm = 0x25C7
jmp 0x13ae7
leal -0x11(%rdx), %ecx
cmpl $0x3, %ecx
jae 0x13caf
xorl %ecx, %ecx
cmpl $0x4, %eax
movl $0xfffffff5, %r15d      # imm = 0xFFFFFFF5
cmovael %ecx, %r15d
jmp 0x13522
movl $0xfffffff7, %ebp       # imm = 0xFFFFFFF7
jmp 0x131be
testq %rbx, %rbx
je 0x1391f
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1391f
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200d1, %eax         # imm = 0x4200D1
jne 0x1391f
leaq 0x30(%r14), %rdx
movq %rbx, %rdi
movl $0x4200d1, %esi         # imm = 0x4200D1
callq 0x60d0
testl %eax, %eax
je 0x1391f
movl %eax, %ebp
leaq 0xe103(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25cd, %edx           # imm = 0x25CD
jmp 0x13ae7
testq %rbx, %rbx
sete %al
cmpl $0x4, 0x18(%rbx)
setb %cl
orb %al, %cl
jne 0x13b66
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1398f
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420100, %eax         # imm = 0x420100
jne 0x1398f
leaq 0x34(%r14), %rdx
movq %rbx, %rdi
movl $0x420100, %esi         # imm = 0x420100
callq 0x60d0
testl %eax, %eax
je 0x1398f
movl %eax, %ebp
leaq 0xe093(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25d6, %edx           # imm = 0x25D6
jmp 0x13ae7
testq %rbx, %rbx
je 0x13b66
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x139fa
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420101, %eax         # imm = 0x420101
jne 0x139fa
leaq 0x38(%r14), %r15
movq %rbx, %rdi
movl $0x420101, %esi         # imm = 0x420101
movq %r15, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x13b6d
movl %eax, %ebp
leaq 0xe028(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25dc, %edx           # imm = 0x25DC
jmp 0x13ae7
testq %rbx, %rbx
je 0x13b66
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13a65
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420102, %eax         # imm = 0x420102
jne 0x13a65
leaq 0x3c(%r14), %r15
movq %rbx, %rdi
movl $0x420102, %esi         # imm = 0x420102
movq %r15, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x13bda
movl %eax, %ebp
leaq 0xdfbd(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25e3, %edx           # imm = 0x25E3
jmp 0x13ae7
testq %rbx, %rbx
je 0x13b66
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13af1
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420103, %eax         # imm = 0x420103
jne 0x13af1
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x40(%r14)
testq %rax, %rax
je 0x13c07
movq %rbx, %rdi
movl $0x420103, %esi         # imm = 0x420103
movq %rax, %rdx
callq 0x6cc0
testl %eax, %eax
je 0x13af1
movl %eax, %ebp
leaq 0xdf36(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25ed, %edx           # imm = 0x25ED
callq 0x6de0
jmp 0x13102
testq %rbx, %rbx
je 0x13b66
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x13b66
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420104, %eax         # imm = 0x420104
jne 0x13b66
addq $0x48, %r14
movq %rbx, %rdi
movl $0x420104, %esi         # imm = 0x420104
movq %r14, %rdx
callq 0x60d0
movl $0x0, %ebp
testl %eax, %eax
je 0x13102
movl %eax, %r14d
leaq 0xdec4(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25f3, %edx           # imm = 0x25F3
callq 0x6de0
movl %r14d, %ebp
jmp 0x13102
xorl %ebp, %ebp
jmp 0x13102
movl 0x18(%rbx), %eax
movl (%r15), %edx
cmpl $0x1, %edx
setne %cl
cmpl $0x4, %eax
setb %r15b
orb %cl, %r15b
xorl %ebp, %ebp
cmpb $0x1, %r15b
jne 0x13bc6
xorl %ecx, %ecx
cmpl $0x4, %eax
movl $0xfffffff5, %eax       # imm = 0xFFFFFFF5
cmovael %ecx, %eax
cmpl $0x1, %edx
movl $0xfffffff7, %ebp       # imm = 0xFFFFFFF7
cmovel %eax, %ebp
movq %rbx, %rdi
movl $0x420101, %esi         # imm = 0x420101
movl %ebp, %ecx
callq 0x6120
leaq 0xde5c(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25dd, %edx           # imm = 0x25DD
callq 0x6de0
testq %rbx, %rbx
sete %al
orb %al, %r15b
jne 0x13102
jmp 0x13a03
movl (%r15), %edx
cmpl $0x11, %edx
ja 0x13cba
xorl %r15d, %r15d
movl $0xffe, %eax            # imm = 0xFFE
btl %edx, %eax
jb 0x13c68
movl 0x18(%rbx), %eax
movl $0x3c000, %ecx          # imm = 0x3C000
btl %edx, %ecx
jae 0x13c4f
xorl %ecx, %ecx
cmpl $0x4, %eax
jmp 0x13c5e
leaq 0xde2c(%rip), %rdx      # 0x21a3a
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
leaq 0xddf3(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25ea, %edx           # imm = 0x25EA
callq 0x6de0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
jmp 0x13102
movl $0xfffffff7, %r15d      # imm = 0xFFFFFFF7
jmp 0x13397
movl $0xfffffff7, %r15d      # imm = 0xFFFFFFF7
jmp 0x13453
movl $0x3000, %ecx           # imm = 0x3000
btl %edx, %ecx
jae 0x13cba
xorl %ecx, %ecx
cmpl $0x2, %eax
movl $0xfffffff5, %r15d      # imm = 0xFFFFFFF5
cmovael %ecx, %r15d
testl %r15d, %r15d
je 0x13c96
movq %rbx, %rdi
movl $0x420038, %esi         # imm = 0x420038
movl %r15d, %ecx
callq 0x6120
leaq 0xdd91(%rip), %rsi      # 0x21a15
movq %rbx, %rdi
movl $0x25e4, %edx           # imm = 0x25E4
callq 0x6de0
movl %r15d, %ebp
jmp 0x13c98
xorl %ebp, %ebp
testq %rbx, %rbx
je 0x13102
testl %r15d, %r15d
je 0x13a6e
jmp 0x13102
movl $0xfffffff7, %r15d      # imm = 0xFFFFFFF7
jmp 0x13522
movl $0xfffffff7, %r15d      # imm = 0xFFFFFFF7
jmp 0x13c68