// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_attestation_credential
int
kmip_compare_attestation_credential(const AttestationCredential *a, const AttestationCredential *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->attestation_type != b->attestation_type)
        {
            return(KMIP_FALSE);
        }
        
        if(a->nonce != b->nonce)
        {
            if((a->nonce == NULL) || (b->nonce == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_nonce(a->nonce, b->nonce) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->attestation_measurement != b->attestation_measurement)
        {
            if((a->attestation_measurement == NULL) || (b->attestation_measurement == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_byte_string(a->attestation_measurement, b->attestation_measurement) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->attestation_assertion != b->attestation_assertion)
        {
            if((a->attestation_assertion == NULL) || (b->attestation_assertion == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_byte_string(a->attestation_assertion, b->attestation_assertion) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
je 0xf46b
cmpq $0x0, -0x10(%rbp)
je 0xf33c
cmpq $0x0, -0x18(%rbp)
jne 0xf348
movl $0x0, -0x4(%rbp)
jmp 0xf472
movq -0x10(%rbp), %rax
movl 0x8(%rax), %eax
movq -0x18(%rbp), %rcx
cmpl 0x8(%rcx), %eax
je 0xf364
movl $0x0, -0x4(%rbp)
jmp 0xf472
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rbp), %rcx
cmpq (%rcx), %rax
je 0xf3ba
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0xf388
movq -0x18(%rbp), %rax
cmpq $0x0, (%rax)
jne 0xf394
movl $0x0, -0x4(%rbp)
jmp 0xf472
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
callq 0x65a0
cmpl $0x0, %eax
jne 0xf3b8
movl $0x0, -0x4(%rbp)
jmp 0xf472
jmp 0xf3ba
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x18(%rbp), %rcx
cmpq 0x10(%rcx), %rax
je 0xf413
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0xf3e2
movq -0x18(%rbp), %rax
cmpq $0x0, 0x10(%rax)
jne 0xf3ee
movl $0x0, -0x4(%rbp)
jmp 0xf472
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x6430
cmpl $0x0, %eax
jne 0xf411
movl $0x0, -0x4(%rbp)
jmp 0xf472
jmp 0xf413
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq -0x18(%rbp), %rcx
cmpq 0x18(%rcx), %rax
je 0xf469
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0xf43b
movq -0x18(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0xf444
movl $0x0, -0x4(%rbp)
jmp 0xf472
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0x6430
cmpl $0x0, %eax
jne 0xf467
movl $0x0, -0x4(%rbp)
jmp 0xf472
jmp 0xf469
jmp 0xf46b
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)