// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_request_header
int
kmip_compare_request_header(const RequestHeader *a, const RequestHeader *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->maximum_response_size != b->maximum_response_size)
        {
            return(KMIP_FALSE);
        }
        
        if(a->asynchronous_indicator != b->asynchronous_indicator)
        {
            return(KMIP_FALSE);
        }
        
        if(a->batch_error_continuation_option != b->batch_error_continuation_option)
        {
            return(KMIP_FALSE);
        }
        
        if(a->batch_order_option != b->batch_order_option)
        {
            return(KMIP_FALSE);
        }
        
        if(a->time_stamp != b->time_stamp)
        {
            return(KMIP_FALSE);
        }
        
        if(a->batch_count != b->batch_count)
        {
            return(KMIP_FALSE);
        }
        
        if(a->attestation_capable_indicator != b->attestation_capable_indicator)
        {
            return(KMIP_FALSE);
        }
        
        if(a->attestation_type_count != b->attestation_type_count)
        {
            return(KMIP_FALSE);
        }
        
        if(a->protocol_version != b->protocol_version)
        {
            if((a->protocol_version == NULL) || (b->protocol_version == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_protocol_version(a->protocol_version, b->protocol_version) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->authentication != b->authentication)
        {
            if((a->authentication == NULL) || (b->authentication == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_authentication(a->authentication, b->authentication) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->attestation_types != b->attestation_types)
        {
            if((a->attestation_types == NULL) || (b->attestation_types == NULL))
            {
                return(KMIP_FALSE);
            }
            
            for(size_t i = 0; i < a->attestation_type_count; i++)
            {
                if(a->attestation_types[i] != b->attestation_types[i])
                {
                    return(KMIP_FALSE);
                }
            }
        }
        
        if(a->client_correlation_value != b->client_correlation_value)
        {
            if((a->client_correlation_value == NULL) || (b->client_correlation_value == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_text_string(a->client_correlation_value, b->client_correlation_value) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->server_correlation_value != b->server_correlation_value)
        {
            if((a->server_correlation_value == NULL) || (b->server_correlation_value == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_text_string(a->server_correlation_value, b->server_correlation_value) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
cmpq %rsi, %rdi
je 0xba78
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xba7d
movl 0x8(%r15), %eax
cmpl 0x8(%r14), %eax
jne 0xba7d
movl 0xc(%r15), %eax
cmpl 0xc(%r14), %eax
jne 0xba7d
movl 0x18(%r15), %eax
cmpl 0x18(%r14), %eax
jne 0xba7d
movl 0x1c(%r15), %eax
cmpl 0x1c(%r14), %eax
jne 0xba7d
movq 0x20(%r15), %rax
cmpq 0x20(%r14), %rax
jne 0xba7d
movl 0x28(%r15), %eax
cmpl 0x28(%r14), %eax
jne 0xba7d
movl 0x2c(%r15), %eax
cmpl 0x2c(%r14), %eax
jne 0xba7d
movq 0x38(%r15), %r12
cmpq 0x38(%r14), %r12
jne 0xba7d
movq (%r15), %rax
movq (%r14), %rcx
cmpq %rcx, %rax
je 0xb9a4
testq %rax, %rax
sete %dl
testq %rcx, %rcx
sete %sil
orb %dl, %sil
jne 0xba7d
movl (%rax), %edx
cmpl (%rcx), %edx
jne 0xba7d
movl 0x4(%rax), %eax
cmpl 0x4(%rcx), %eax
jne 0xba7d
movq 0x10(%r15), %rdi
movq 0x10(%r14), %rsi
cmpq %rsi, %rdi
je 0xb9d2
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xba7d
callq 0x6900
testl %eax, %eax
je 0xba7d
movq 0x30(%r15), %rax
movq 0x30(%r14), %rcx
cmpq %rcx, %rax
je 0xba2c
testq %rax, %rax
sete %dl
testq %rcx, %rcx
sete %sil
orb %dl, %sil
jne 0xba7d
testq %r12, %r12
setne %dl
je 0xba2c
movl (%rax), %esi
cmpl (%rcx), %esi
jne 0xba28
leaq -0x1(%r12), %rdx
xorl %esi, %esi
cmpq %rsi, %rdx
je 0xba2c
movl 0x4(%rax,%rsi,4), %r8d
leaq 0x1(%rsi), %rdi
cmpl 0x4(%rcx,%rsi,4), %r8d
movq %rdi, %rsi
je 0xba0a
cmpq %r12, %rdi
setb %dl
testb %dl, %dl
jne 0xba7d
movq 0x40(%r15), %rdi
movq 0x40(%r14), %rsi
cmpq %rsi, %rdi
je 0xba52
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xba7d
callq 0x6480
testl %eax, %eax
je 0xba7d
movq 0x48(%r15), %rdi
movq 0x48(%r14), %rsi
cmpq %rsi, %rdi
je 0xba78
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xba7d
callq 0x6480
testl %eax, %eax
je 0xba7d
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq