// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_decode_request_header
int
kmip_decode_request_header(KMIP *ctx, RequestHeader *value)
{
    CHECK_BUFFER_FULL(ctx, 8);
    
    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_REQUEST_HEADER, KMIP_TYPE_STRUCTURE);
    
    kmip_decode_length(ctx, &length);
    CHECK_BUFFER_FULL(ctx, length);
    
    value->protocol_version = ctx->calloc_func(ctx->state, 1, sizeof(ProtocolVersion));
    CHECK_NEW_MEMORY(ctx, value->protocol_version, sizeof(ProtocolVersion), "ProtocolVersion structure");
    
    result = kmip_decode_protocol_version(ctx, value->protocol_version);
    CHECK_RESULT(ctx, result);
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_MAXIMUM_RESPONSE_SIZE))
    {
        result = kmip_decode_integer(ctx, KMIP_TAG_MAXIMUM_RESPONSE_SIZE, &value->maximum_response_size);
        CHECK_RESULT(ctx, result);
    }
    
    if(ctx->version >= KMIP_1_4)
    {
        if(kmip_is_tag_next(ctx, KMIP_TAG_CLIENT_CORRELATION_VALUE))
        {
            value->client_correlation_value = ctx->calloc_func(ctx->state, 1, sizeof(TextString));
            CHECK_NEW_MEMORY(ctx, value->client_correlation_value, sizeof(TextString), "ClientCorrelationValue text string");
            
            result = kmip_decode_text_string(ctx, KMIP_TAG_CLIENT_CORRELATION_VALUE, value->client_correlation_value);
            CHECK_RESULT(ctx, result);
        }
        
        if(kmip_is_tag_next(ctx, KMIP_TAG_SERVER_CORRELATION_VALUE))
        {
            value->server_correlation_value = ctx->calloc_func(ctx->state, 1, sizeof(TextString));
            CHECK_NEW_MEMORY(ctx, value->server_correlation_value, sizeof(TextString), "ServerCorrelationValue text string");
            
            result = kmip_decode_text_string(ctx, KMIP_TAG_SERVER_CORRELATION_VALUE, value->server_correlation_value);
            CHECK_RESULT(ctx, result);
        }
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_ASYNCHRONOUS_INDICATOR))
    {
        result = kmip_decode_bool(ctx, KMIP_TAG_ASYNCHRONOUS_INDICATOR, &value->asynchronous_indicator);
        CHECK_RESULT(ctx, result);
    }
    
    if(ctx->version >= KMIP_1_2)
    {
        if(kmip_is_tag_next(ctx, KMIP_TAG_ATTESTATION_CAPABLE_INDICATOR))
        {
            result = kmip_decode_bool(ctx, KMIP_TAG_ATTESTATION_CAPABLE_INDICATOR, &value->attestation_capable_indicator);
            CHECK_RESULT(ctx, result);
        }
        
        value->attestation_type_count = kmip_get_num_items_next(ctx, KMIP_TAG_ATTESTATION_TYPE);
        if(value->attestation_type_count > 0)
        {
            value->attestation_types = ctx->calloc_func(ctx->state, value->attestation_type_count, sizeof(enum attestation_type));
            CHECK_NEW_MEMORY(ctx, value->attestation_types, value->attestation_type_count * sizeof(enum attestation_type), "sequence of AttestationType enumerations");
            
            for(size_t i = 0; i < value->attestation_type_count; i++)
            {
                result = kmip_decode_enum(ctx, KMIP_TAG_ATTESTATION_TYPE, &value->attestation_types[i]);
                CHECK_RESULT(ctx, result);
                CHECK_ENUM(ctx, KMIP_TAG_ATTESTATION_TYPE, value->attestation_types[i]);
            }
        }
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_AUTHENTICATION))
    {
        value->authentication = ctx->calloc_func(ctx->state,1, sizeof(Authentication));
        CHECK_NEW_MEMORY(ctx, value->authentication, sizeof(Authentication), "Authentication structure");
        
        result = kmip_decode_authentication(ctx, value->authentication);
        CHECK_RESULT(ctx, result);
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_BATCH_ERROR_CONTINUATION_OPTION))
    {
        result = kmip_decode_enum(ctx, KMIP_TAG_BATCH_ERROR_CONTINUATION_OPTION, &value->batch_error_continuation_option);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_BATCH_ERROR_CONTINUATION_OPTION, value->batch_error_continuation_option);
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_BATCH_ORDER_OPTION))
    {
        result = kmip_decode_bool(ctx, KMIP_TAG_BATCH_ORDER_OPTION, &value->batch_order_option);
        CHECK_RESULT(ctx, result);
    }
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_TIME_STAMP))
    {
        result = kmip_decode_date_time(ctx, KMIP_TAG_TIME_STAMP, &value->time_stamp);
        CHECK_RESULT(ctx, result);
    }
    
    result = kmip_decode_integer(ctx, KMIP_TAG_BATCH_COUNT, &value->batch_count);
    CHECK_RESULT(ctx, result);
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0x7, %rax
ja 0x1bb2d
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
testq %rbx, %rbx
je 0x1bc62
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1bbea
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x1bb0f
jmp 0x1bc62
movq %rsi, %r14
xorl %eax, %eax
leaq 0x14(%rsp), %r15
movl %eax, (%r15)
movl %eax, 0x10(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6a10
movl (%r15), %eax
movl %eax, %ecx
andl $0xffffff00, %ecx       # imm = 0xFFFFFF00
cmpl $0x42007700, %ecx       # imm = 0x42007700
jne 0x1bbbe
cmpb $0x1, %al
jne 0x1bc13
leaq 0x10(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x64b0
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %rax
addq (%rbx), %rax
movl (%r15), %ecx
cmpq %rcx, %rax
jae 0x1bc73
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
testq %rbx, %rbx
je 0x1bc62
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1bd15
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x1bba0
jmp 0x1bc62
movl $0xfffffffc, %ebp       # imm = 0xFFFFFFFC
testq %rbx, %rbx
je 0x1bc62
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1bc3b
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x1bbd3
jmp 0x1bc62
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x5105(%rip), %rsi      # 0x20d00
movl $0x63, %edx
callq 0x66f0
movl $0x2a21, 0x9c(%rbx,%r14) # imm = 0x2A21
jmp 0x1bc62
movl $0xfffffffb, %ebp       # imm = 0xFFFFFFFB
testq %rbx, %rbx
je 0x1bc62
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1bc3b
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x1bc24
jmp 0x1bc62
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x50b4(%rip), %rsi      # 0x20d00
movl $0x63, %edx
callq 0x66f0
movl $0x2a28, 0x9c(%rbx,%r14) # imm = 0x2A28
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq *0x868(%rbx)
movq %rax, (%r14)
testq %rax, %rax
je 0x1bcce
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6750
testl %eax, %eax
je 0x1bd41
movl %eax, %ebp
testq %rbx, %rbx
je 0x1bc62
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1be3a
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x1bcb3
jmp 0x1bc62
leaq 0x648d(%rip), %rdx      # 0x22162
movl $0x8, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
testq %rbx, %rbx
je 0x1bc62
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0x1be66
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0x1bcf7
jmp 0x1bc62
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x4fda(%rip), %rsi      # 0x20d00
movl $0x63, %edx
callq 0x66f0
movl $0x2a2b, 0x9c(%rbx,%r14) # imm = 0x2A2B
jmp 0x1bc62
testq %rbx, %rbx
je 0x1bda1
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1bda1
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420050, %eax         # imm = 0x420050
jne 0x1bda1
leaq 0x8(%r14), %rdx
movq %rbx, %rdi
movl $0x420050, %esi         # imm = 0x420050
callq 0x60d0
testl %eax, %eax
je 0x1bda1
movl %eax, %ebp
leaq 0x63b3(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a36, %edx           # imm = 0x2A36
jmp 0x1c390
cmpl $0x4, 0x18(%rbx)
jb 0x1bf19
testq %rbx, %rbx
je 0x1bf79
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1be92
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420105, %eax         # imm = 0x420105
jne 0x1be92
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x40(%r14)
testq %rax, %rax
je 0x1c23b
movq %rbx, %rdi
movl $0x420105, %esi         # imm = 0x420105
movq %rax, %rdx
callq 0x6540
testl %eax, %eax
je 0x1be92
movl %eax, %ebp
leaq 0x631a(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a41, %edx           # imm = 0x2A41
jmp 0x1c390
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x4eb5(%rip), %rsi      # 0x20d00
movl $0x63, %edx
callq 0x66f0
movl $0x2a31, 0x9c(%rbx,%r14) # imm = 0x2A31
jmp 0x1bc62
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x4e89(%rip), %rsi      # 0x20d00
movl $0x63, %edx
callq 0x66f0
movl $0x2a2e, 0x9c(%rbx,%r14) # imm = 0x2A2E
jmp 0x1bc62
testq %rbx, %rbx
je 0x1bf79
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1bf19
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420106, %eax         # imm = 0x420106
jne 0x1bf19
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x48(%r14)
testq %rax, %rax
je 0x1c3a1
movq %rbx, %rdi
movl $0x420106, %esi         # imm = 0x420106
movq %rax, %rdx
callq 0x6540
testl %eax, %eax
je 0x1bf19
movl %eax, %ebp
leaq 0x623b(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a4a, %edx           # imm = 0x2A4A
jmp 0x1c390
testq %rbx, %rbx
je 0x1bf79
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1bf79
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420007, %eax         # imm = 0x420007
jne 0x1bf79
leaq 0xc(%r14), %rdx
movq %rbx, %rdi
movl $0x420007, %esi         # imm = 0x420007
callq 0x6d20
testl %eax, %eax
je 0x1bf79
movl %eax, %ebp
leaq 0x61db(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a51, %edx           # imm = 0x2A51
jmp 0x1c390
cmpl $0x2, 0x18(%rbx)
jb 0x1c11b
testq %rbx, %rbx
je 0x1bfe3
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1bfe3
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x4200d3, %eax         # imm = 0x4200D3
jne 0x1bfe3
leaq 0x2c(%r14), %rdx
movq %rbx, %rdi
movl $0x4200d3, %esi         # imm = 0x4200D3
callq 0x6d20
testl %eax, %eax
je 0x1bfe3
movl %eax, %ebp
leaq 0x6171(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a59, %edx           # imm = 0x2A59
jmp 0x1c390
movq %rbx, %rdi
movl $0x4200c7, %esi         # imm = 0x4200C7
callq 0x62f0
movq %rax, 0x38(%r14)
testq %rax, %rax
je 0x1c0ca
movq 0x890(%rbx), %rdi
movl $0x4, %edx
movq %rax, %rsi
callq *0x868(%rbx)
movq %rax, 0x30(%r14)
movq 0x38(%r14), %rsi
testq %rax, %rax
je 0x1c0cc
testq %rsi, %rsi
setne %al
je 0x1c0f3
xorl %r15d, %r15d
xorl %r13d, %r13d
movb %al, 0xf(%rsp)
movq 0x30(%r14), %rdx
addq %r15, %rdx
movq %rbx, %rdi
movl $0x4200c7, %esi         # imm = 0x4200C7
callq 0x6ae0
testl %eax, %eax
jne 0x1c0f5
movl 0x18(%rbx), %ecx
movq 0x30(%r14), %rax
movl (%rax,%r13,4), %edx
leal -0x1(%rdx), %eax
cmpl $0x3, %eax
setb %sil
cmpl $0x2, %ecx
setae %r12b
andb %sil, %r12b
jne 0x1c0af
xorl %ebp, %ebp
cmpl $0x2, %ecx
jae 0x1c082
movl $0xfffffff5, %ebp       # imm = 0xFFFFFFF5
cmpl $0x3, %eax
jb 0x1c08c
movl $0xfffffff7, %ebp       # imm = 0xFFFFFFF7
movq %rbx, %rdi
movl $0x4200c7, %esi         # imm = 0x4200C7
movl %ebp, %ecx
callq 0x6120
movq %rbx, %rdi
leaq 0x60a2(%rip), %rsi      # 0x22147
movl $0x2a66, %edx           # imm = 0x2A66
callq 0x6de0
testb %r12b, %r12b
je 0x1c10f
incq %r13
addq $0x4, %r15
cmpq 0x38(%r14), %r13
setb %al
jb 0x1c035
jmp 0x1c113
jmp 0x1c11b
shlq $0x2, %rsi
leaq 0x60eb(%rip), %rdx      # 0x221c2
movq %rbx, %rdi
callq 0x6ba0
leaq 0x6061(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a60, %edx           # imm = 0x2A60
jmp 0x1c3c4
jmp 0x1c113
movl %eax, %r12d
leaq 0x6048(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a65, %edx           # imm = 0x2A65
callq 0x6de0
movl %r12d, %ebp
movb 0xf(%rsp), %al
testb $0x1, %al
jne 0x1bc62
testq %rbx, %rbx
je 0x1c367
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1c19b
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x42000c, %eax         # imm = 0x42000C
jne 0x1c19b
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq *0x868(%rbx)
movq %rax, 0x10(%r14)
testq %rax, %rax
je 0x1c213
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6720
testl %eax, %eax
je 0x1c19b
movl %eax, %r15d
leaq 0x5fb6(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a71, %edx           # imm = 0x2A71
jmp 0x1c206
testq %rbx, %rbx
je 0x1c367
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1c2a6
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x42000e, %eax         # imm = 0x42000E
jne 0x1c2a6
leaq 0x18(%r14), %r12
movq %rbx, %rdi
movl $0x42000e, %esi         # imm = 0x42000E
movq %r12, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x1c263
movl %eax, %r15d
leaq 0x5f49(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a77, %edx           # imm = 0x2A77
callq 0x6de0
movl %r15d, %ebp
jmp 0x1bc62
leaq 0x5fd1(%rip), %rdx      # 0x221eb
movl $0x8, %esi
movq %rbx, %rdi
callq 0x6ba0
leaq 0x5f19(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a6e, %edx           # imm = 0x2A6E
jmp 0x1c3c4
leaq 0x5f3a(%rip), %rdx      # 0x2217c
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
leaq 0x5ef1(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a3e, %edx           # imm = 0x2A3E
jmp 0x1c3c4
movl (%r12), %edx
leal -0x1(%rdx), %r15d
cmpl $0x3, %r15d
jb 0x1c29c
movl $0xfffffff7, %ebp       # imm = 0xFFFFFFF7
movq %rbx, %rdi
movl $0x42000e, %esi         # imm = 0x42000E
movl $0xfffffff7, %ecx       # imm = 0xFFFFFFF7
callq 0x6120
leaq 0x5eb8(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a78, %edx           # imm = 0x2A78
callq 0x6de0
cmpl $0x2, %r15d
ja 0x1bc62
testq %rbx, %rbx
je 0x1c367
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1c30a
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420010, %eax         # imm = 0x420010
jne 0x1c30a
leaq 0x1c(%r14), %rdx
movq %rbx, %rdi
movl $0x420010, %esi         # imm = 0x420010
callq 0x6d20
testl %eax, %eax
je 0x1c30a
movl %eax, %ebp
leaq 0x5e4a(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a7e, %edx           # imm = 0x2A7E
jmp 0x1c390
testq %rbx, %rbx
je 0x1c367
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
subq %rax, %rcx
addq (%rbx), %rcx
cmpq $0x3, %rcx
jb 0x1c367
movzbl (%rax), %ecx
shll $0x10, %ecx
movzbl 0x1(%rax), %edx
shll $0x8, %edx
orl %ecx, %edx
movzbl 0x2(%rax), %eax
orl %edx, %eax
cmpl $0x420092, %eax         # imm = 0x420092
jne 0x1c367
leaq 0x20(%r14), %rdx
movq %rbx, %rdi
movl $0x420092, %esi         # imm = 0x420092
callq 0x6aa0
testl %eax, %eax
je 0x1c367
movl %eax, %ebp
leaq 0x5dea(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a84, %edx           # imm = 0x2A84
jmp 0x1c390
addq $0x28, %r14
movq %rbx, %rdi
movl $0x42000d, %esi         # imm = 0x42000D
movq %r14, %rdx
callq 0x60d0
testl %eax, %eax
je 0x1c39a
movl %eax, %ebp
leaq 0x5dbf(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a88, %edx           # imm = 0x2A88
callq 0x6de0
jmp 0x1bc62
xorl %ebp, %ebp
jmp 0x1bc62
leaq 0x5df7(%rip), %rdx      # 0x2219f
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
leaq 0x5d8b(%rip), %rsi      # 0x22147
movq %rbx, %rdi
movl $0x2a47, %edx           # imm = 0x2A47
callq 0x6de0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
jmp 0x1bc62