// File: /workspace/github_cpp_makefile_star2_O1/hugosantos[P]dbeacon/dbeacon.cpp
// Function: removeSource(address const&, bool)
void removeSource(const address &baddr, bool timeout) {
	Sources::iterator i = sources.find(baddr);
	if (i != sources.end()) {
		if (verbose) {
			char tmp[64];

			if (i->second.identified) {
				info("Removing source %s [%s]%s",
					baddr.to_string(tmp, sizeof(tmp)), i->second.name.c_str(),
					(timeout ? " by Timeout" : ""));
			} else {
				info("Removing source %s%s",
					baddr.to_string(tmp, sizeof(tmp)), (timeout ? " by Timeout" : ""));
			}
		}

		if (IsSSMEnabled())
			CountSSMLeave(ssmProbeAddr, baddr);

		sources.erase(i);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movl %esi, %ebp
movq %rdi, %r15
leaq 0xbccc(%rip), %rdi      # 0x12458
movq %r15, %rsi
callq 0x93be
movq %rax, %rbx
leaq 0xbcc2(%rip), %rax      # 0x12460
cmpq %rax, %rbx
je 0x6a4d
cmpl $0x0, 0xbd8a(%rip)      # 0x12538
je 0x682c
movb 0x3f8(%rbx), %r14b
leaq 0x90(%rsp), %rsi
movl $0x40, %edx
movq %r15, %rdi
movl $0x1, %ecx
callq 0xa578
cmpb $0x1, %r14b
jne 0x6806
movq 0x330(%rbx), %rdx
leaq 0x65af(%rip), %rsi      # 0xcd94
leaq 0x5a57(%rip), %rcx      # 0xc243
testb %bpl, %bpl
cmovneq %rsi, %rcx
leaq 0x6580(%rip), %rdi      # 0xcd7a
movq %rax, %rsi
xorl %eax, %eax
callq 0x40b4
jmp 0x682c
leaq 0x6587(%rip), %rcx      # 0xcd94
leaq 0x5a2f(%rip), %rdx      # 0xc243
testb %bpl, %bpl
cmovneq %rcx, %rdx
leaq 0x657e(%rip), %rdi      # 0xcda0
movq %rax, %rsi
xorl %eax, %eax
callq 0x40b4
cmpl $0x0, 0xc025(%rip)      # 0x12858
je 0x6a3e
leaq 0x90(%rsp), %rdi
callq 0xa2ea
leaq 0xc043(%rip), %rdi      # 0x12890
leaq 0xbdb4(%rip), %rsi      # 0x12608
callq 0x8554
movq %rax, %r14
leaq 0xc035(%rip), %rax      # 0x12898
cmpq %rax, %r14
je 0x6a5f
movq %r15, %rdi
callq 0x9cce
leaq 0x90(%rsp), %r12
movq %r12, %rdi
movl %eax, %esi
callq 0xa1da
movq %r12, %rdi
movq %r15, %rsi
callq 0xa6a2
movq %r12, %rdi
xorl %esi, %esi
callq 0xa540
leaq 0xa0(%r14), %rdi
movq %rdi, 0x8(%rsp)
movq %r12, %rsi
callq 0x8828
movq %rax, %r13
leaq 0xa8(%r14), %rax
cmpq %rax, %r13
je 0x6a7e
leaq 0xa0(%r13), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x8a94
movq %rax, %r12
leaq 0xa8(%r13), %rax
cmpq %rax, %r12
je 0x6a3e
cmpl $0x0, 0xbc4a(%rip)      # 0x12538
je 0x695d
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
movq %r15, %rdi
movl $0x1, %ecx
callq 0xa578
movq %rax, (%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa578
movq %rax, %r15
leaq 0xbcd7(%rip), %rdi      # 0x12608
movl $0x40, %edx
leaq 0x10(%rsp), %rsi
movl $0x1, %ecx
callq 0xa578
leaq 0x6b3d(%rip), %rdi      # 0xd489
movq (%rsp), %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x40b4
movq %rbp, %rdi
movq %r12, %rsi
callq 0x8c82
cmpq $0x0, 0xc8(%r13)
jne 0x69f0
cmpl $0x0, 0xbbbf(%rip)      # 0x12538
je 0x69c9
leaq 0x90(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa578
movq %rax, %r15
leaq 0xbc67(%rip), %rdi      # 0x12608
leaq 0x10(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa578
leaq 0x6aee(%rip), %rdi      # 0xd4aa
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x40b4
movl 0xbe89(%rip), %edi      # 0x12858
leaq 0xbc32(%rip), %rsi      # 0x12608
leaq 0x90(%rsp), %rdx
callq 0x9dbc
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x8cbe
cmpq $0x0, 0xc8(%r14)
jne 0x6a3e
cmpl $0x0, 0xbb37(%rip)      # 0x12538
je 0x6a2f
leaq 0xbbfe(%rip), %rdi      # 0x12608
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa578
leaq 0x6ab1(%rip), %rdi      # 0xd4d6
movq %rax, %rsi
xorl %eax, %eax
callq 0x40b4
leaq 0xbe5a(%rip), %rdi      # 0x12890
movq %r14, %rsi
callq 0x8cfc
leaq 0xba13(%rip), %rdi      # 0x12458
movq %rbx, %rsi
callq 0x97b4
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x69c5(%rip), %rdi      # 0xd42b
leaq 0x66f9(%rip), %rsi      # 0xd166
leaq 0x69cb(%rip), %rcx      # 0xd43f
movl $0x489, %edx            # imm = 0x489
callq 0x3260
leaq 0x69ef(%rip), %rdi      # 0xd474
leaq 0x66da(%rip), %rsi      # 0xd166
leaq 0x69ac(%rip), %rcx      # 0xd43f
movl $0x48e, %edx            # imm = 0x48E
callq 0x3260
nop