// File: /workspace/github_c_makefile_star2_O1/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
pushq %rax
movl %edx, 0x4(%rsp)
movq %rsi, %r14
movb $0x1, %cl
testq %rdi, %rdi
je 0x13951
movq %rdi, %r15
movl $0x20, %edi
callq 0x8080
movq %rax, %rbx
xorl %eax, %eax
movq %rax, (%rbx)
movq $0x8, 0x8(%rbx)
movl $0x0, 0x10(%rbx)
movq %rax, 0x18(%rbx)
movq %r15, %rdi
movl $0x55, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x8760
testq %rax, %rax
je 0x138e0
movq %rax, %r12
movq %rax, %rdi
callq 0x8860
testl %eax, %eax
jle 0x138d1
xorl %r13d, %r13d
movq %r12, %rdi
movl %r13d, %esi
callq 0x8af0
cmpl $0x2, (%rax)
jne 0x138c1
movq 0x8(%rax), %rdi
callq 0x13d21
testq %rax, %rax
je 0x138c1
movq %rax, %rbp
movq %rbx, %rdi
callq 0x13cd6
movq %rbp, (%rax)
incl %r13d
movq %r12, %rdi
callq 0x8860
cmpl %eax, %r13d
jl 0x13895
movq 0xc6d0(%rip), %rsi      # 0x1ffa8
movq %r12, %rdi
callq 0x87d0
movq %r15, %rdi
callq 0x82c0
movq %rax, %r15
movq %rax, %rdi
movl $0xd, %esi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x8890
cmpl $-0x1, %eax
je 0x13946
movl %eax, %r12d
movq %r15, %rdi
movl %r12d, %esi
callq 0x86d0
movq %rax, %rdi
callq 0x8210
movq %rax, %rdi
callq 0x13d21
movq %rax, %r13
movq %rbx, %rdi
callq 0x13cd6
movq %r13, (%rax)
movq %r15, %rdi
movl $0xd, %esi
movl %r12d, %edx
callq 0x8890
movl %eax, %r12d
cmpl $-0x1, %eax
jne 0x13905
cmpl $0x0, 0xc(%rbx)
sete %al
movb $0x1, %cl
jmp 0x13955
xorl %ebx, %ebx
movb $0x1, %al
testb %al, %al
jne 0x13a4b
cmpl $0x0, 0xc(%rbx)
jle 0x13a4b
movq 0x18(%rbx), %rbp
xorl %r13d, %r13d
movq (%rbp,%r13,8), %r15
testq %r15, %r15
je 0x13a35
cmpb $0x2a, (%r15)
jne 0x1398c
cmpb $0x2e, 0x1(%r15)
sete %al
jmp 0x1398e
xorl %eax, %eax
cmpb $0x0, 0x4(%rsp)
je 0x139bb
testb %al, %al
je 0x139bb
movq %r14, %rdi
movl $0x2e, %esi
callq 0x82a0
testq %rax, %rax
je 0x139bb
leaq 0x1(%r15), %rdi
movq %rax, %rsi
callq 0x8130
testl %eax, %eax
je 0x139d1
movq %r15, %rdi
movq %r14, %rsi
callq 0x8130
testl %eax, %eax
je 0x139d1
movb $0x1, %al
xorl %r12d, %r12d
jmp 0x139d6
movb $0x1, %r12b
xorl %eax, %eax
testb %al, %al
je 0x13a2c
movq 0xc5df(%rip), %rax      # 0x1ffc0
movq 0x8(%rax), %r10
testq %r10, %r10
je 0x13a2c
movq 0xc5cf(%rip), %rax      # 0x1ffc0
cmpl $0x2, (%rax)
jb 0x13a2c
movl $0x2, %edi
leaq 0x5bbf(%rip), %rsi      # 0x195c1
leaq 0x5bcf(%rip), %rdx      # 0x195d8
movl $0x15f, %ecx            # imm = 0x15F
leaq 0x5be1(%rip), %r8       # 0x195f6
movq %r14, %r9
xorl %eax, %eax
pushq %r15
leaq 0x5c10(%rip), %r11      # 0x19633
pushq %r11
callq *%r10
addq $0x10, %rsp
testb %r12b, %r12b
jne 0x13aec
incq %r13
movslq 0xc(%rbx), %rax
cmpq %rax, %r13
jl 0x1396e
xorl %ebp, %ebp
movb $0x1, %cl
jmp 0x13a4d
xorl %ebp, %ebp
testb %cl, %cl
je 0x13a9b
movq 0xc568(%rip), %rax      # 0x1ffc0
movq 0x8(%rax), %r10
testq %r10, %r10
je 0x13a9b
cmpl $0x0, (%rax)
je 0x13a9b
subq $0x8, %rsp
leaq 0x5b50(%rip), %rsi      # 0x195c1
leaq 0x5b60(%rip), %rdx      # 0x195d8
leaq 0x5bb9(%rip), %r8       # 0x19638
leaq 0x5bc8(%rip), %r9       # 0x1964e
movl $0x1, %edi
movl $0x16e, %ecx            # imm = 0x16E
xorl %eax, %eax
pushq %r14
callq *%r10
addq $0x10, %rsp
cmpl $0x0, 0xc(%rbx)
jle 0x13ac5
xorl %r14d, %r14d
movq 0x18(%rbx), %rax
movslq 0x8(%rbx), %rcx
movslq %r14d, %r14
imulq %r14, %rcx
movq (%rax,%rcx), %rdi
callq 0x8940
incl %r14d
cmpl 0xc(%rbx), %r14d
jl 0x13aa4
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x13ad3
callq 0x8940
movq %rbx, %rdi
callq 0x8940
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb $0x1, %bpl
xorl %ecx, %ecx
jmp 0x13a4d