// File: /workspace/github_c_makefile_star2_O3/aerospike[P]aerospike-common/src/main/aerospike/ssl_util.c
// Function: as_tls_match_name
bool as_tls_match_name(X509 *x509, const char *name, bool allow_wildcard)
{
	// We've neutered the actual calls to no need the apr_pool_t or
	// server_rec arguments.
	//
	return modssl_X509_match_name((apr_pool_t *) NULL,
								  x509,
								  name,
								  allow_wildcard,
								  (server_rec *) NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
testq %rdi, %rdi
movl %edx, 0x14(%rsp)
movq %rsi, 0x8(%rsp)
je 0x13b6f
movq %rdi, %r15
movl $0x20, %edi
callq 0x8080
movq %rax, %rbx
xorl %eax, %eax
movq %r15, %rdi
movl $0x55, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rax, (%rbx)
movq $0x8, 0x8(%rbx)
movl $0x0, 0x10(%rbx)
movq %rax, 0x18(%rbx)
callq 0x8760
testq %rax, %rax
je 0x13a2b
movq %rax, %rdi
movq %rax, %r12
callq 0x8860
testl %eax, %eax
jle 0x13a1c
xorl %r13d, %r13d
movq %r12, %rdi
movl %r13d, %esi
callq 0x8af0
cmpl $0x2, (%rax)
jne 0x13a0c
movq 0x8(%rax), %rdi
callq 0x13db2
testq %rax, %rax
je 0x13a0c
movq %rbx, %rdi
movq %rax, %rbp
callq 0x13d5d
movq %rbp, (%rax)
movq %r12, %rdi
incl %r13d
callq 0x8860
cmpl %eax, %r13d
jl 0x139e0
movq 0xc585(%rip), %rsi      # 0x1ffa8
movq %r12, %rdi
callq 0x87d0
movq %r15, %rdi
callq 0x82c0
movq %rax, %rdi
movl $0xd, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %rax, %r15
callq 0x8890
cmpl $-0x1, %eax
je 0x13a91
movl %eax, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq 0x86d0
movq %rax, %rdi
callq 0x8210
movq %rax, %rdi
callq 0x13db2
movq %rbx, %rdi
movq %rax, %r13
callq 0x13d5d
movq %r15, %rdi
movl $0xd, %esi
movl %r12d, %edx
movq %r13, (%rax)
callq 0x8890
movl %eax, %r12d
cmpl $-0x1, %eax
jne 0x13a50
movl 0xc(%rbx), %r13d
testl %r13d, %r13d
je 0x13b71
jle 0x13b71
movq 0x18(%rbx), %rbp
movq 0xc511(%rip), %r12      # 0x1ffc0
xorl %r14d, %r14d
movq (%rbp,%r14,8), %r15
testq %r15, %r15
je 0x13b5e
cmpb $0x2a, (%r15)
jne 0x13afc
cmpb $0x0, 0x14(%rsp)
je 0x13afc
cmpb $0x2e, 0x1(%r15)
jne 0x13afc
movq 0x8(%rsp), %rdi
movl $0x2e, %esi
callq 0x82a0
testq %rax, %rax
je 0x13afc
leaq 0x1(%r15), %rdi
movq %rax, %rsi
callq 0x8130
testl %eax, %eax
je 0x13c12
movq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x8130
testl %eax, %eax
je 0x13c12
movq 0x8(%r12), %r10
testq %r10, %r10
je 0x13b5e
cmpl $0x2, (%r12)
jb 0x13b5e
movq 0x8(%rsp), %r9
movl $0x2, %edi
leaq 0x5a8e(%rip), %rsi      # 0x195c1
leaq 0x5a9e(%rip), %rdx      # 0x195d8
movl $0x15f, %ecx            # imm = 0x15F
leaq 0x5ab0(%rip), %r8       # 0x195f6
xorl %eax, %eax
pushq %r15
leaq 0x5ae2(%rip), %r11      # 0x19633
pushq %r11
callq *%r10
addq $0x10, %rsp
movl 0xc(%rbx), %r13d
incq %r14
movslq %r13d, %rax
cmpq %rax, %r14
jl 0x13ab2
jmp 0x13b71
xorl %ebx, %ebx
movq 0xc448(%rip), %rax      # 0x1ffc0
xorl %ebp, %ebp
movq 0x8(%rax), %r10
testq %r10, %r10
je 0x13bc1
cmpl $0x0, (%rax)
je 0x13bc1
subq $0x8, %rsp
xorl %ebp, %ebp
leaq 0x5a2c(%rip), %rsi      # 0x195c1
leaq 0x5a3c(%rip), %rdx      # 0x195d8
leaq 0x5a95(%rip), %r8       # 0x19638
leaq 0x5aa4(%rip), %r9       # 0x1964e
movl $0x1, %edi
movl $0x16e, %ecx            # imm = 0x16E
xorl %eax, %eax
pushq 0x10(%rsp)
callq *%r10
addq $0x10, %rsp
cmpl $0x0, 0xc(%rbx)
jle 0x13beb
xorl %r14d, %r14d
movslq 0x8(%rbx), %rcx
movq 0x18(%rbx), %rax
movslq %r14d, %r14
imulq %r14, %rcx
movq (%rax,%rcx), %rdi
callq 0x8940
incl %r14d
cmpl 0xc(%rbx), %r14d
jl 0x13bca
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x13bf9
callq 0x8940
movq %rbx, %rdi
callq 0x8940
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
jmp 0x13bc1