// File: /workspace/github_cpp_makefile_star2_O3/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 0xbd2e(%rip), %rdi      # 0x12458
movq %r15, %rsi
callq 0x9336
movq %rax, %rbx
leaq 0xbd24(%rip), %rax      # 0x12460
cmpq %rax, %rbx
je 0x69eb
cmpl $0x0, 0xbdec(%rip)      # 0x12538
je 0x67ca
movb 0x3f8(%rbx), %r14b
leaq 0x90(%rsp), %rsi
movl $0x40, %edx
movq %r15, %rdi
movl $0x1, %ecx
callq 0xa4ca
cmpb $0x1, %r14b
jne 0x67a4
movq 0x330(%rbx), %rdx
leaq 0x6611(%rip), %rsi      # 0xcd94
leaq 0x5ab9(%rip), %rcx      # 0xc243
testb %bpl, %bpl
cmovneq %rsi, %rcx
leaq 0x65e2(%rip), %rdi      # 0xcd7a
movq %rax, %rsi
xorl %eax, %eax
callq 0x40b4
jmp 0x67ca
leaq 0x65e9(%rip), %rcx      # 0xcd94
leaq 0x5a91(%rip), %rdx      # 0xc243
testb %bpl, %bpl
cmovneq %rcx, %rdx
leaq 0x65e0(%rip), %rdi      # 0xcda0
movq %rax, %rsi
xorl %eax, %eax
callq 0x40b4
cmpl $0x0, 0xc087(%rip)      # 0x12858
je 0x69dc
leaq 0x90(%rsp), %rdi
callq 0xa23c
leaq 0xc0a5(%rip), %rdi      # 0x12890
leaq 0xbe16(%rip), %rsi      # 0x12608
callq 0x84e6
movq %rax, %r14
leaq 0xc097(%rip), %rax      # 0x12898
cmpq %rax, %r14
je 0x69fd
movq %r15, %rdi
callq 0x9c38
leaq 0x90(%rsp), %r12
movq %r12, %rdi
movl %eax, %esi
callq 0xa12c
movq %r12, %rdi
movq %r15, %rsi
callq 0xa5f4
movq %r12, %rdi
xorl %esi, %esi
callq 0xa492
leaq 0xa0(%r14), %rdi
movq %rdi, 0x8(%rsp)
movq %r12, %rsi
callq 0x87a8
movq %rax, %r13
leaq 0xa8(%r14), %rax
cmpq %rax, %r13
je 0x6a1c
leaq 0xa0(%r13), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x8a10
movq %rax, %r12
leaq 0xa8(%r13), %rax
cmpq %rax, %r12
je 0x69dc
cmpl $0x0, 0xbcac(%rip)      # 0x12538
je 0x68fb
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
movq %r15, %rdi
movl $0x1, %ecx
callq 0xa4ca
movq %rax, (%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa4ca
movq %rax, %r15
leaq 0xbd39(%rip), %rdi      # 0x12608
movl $0x40, %edx
leaq 0x10(%rsp), %rsi
movl $0x1, %ecx
callq 0xa4ca
leaq 0x6b98(%rip), %rdi      # 0xd482
movq (%rsp), %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x40b4
movq %rbp, %rdi
movq %r12, %rsi
callq 0x8bfa
cmpq $0x0, 0xc8(%r13)
jne 0x698e
cmpl $0x0, 0xbc21(%rip)      # 0x12538
je 0x6967
leaq 0x90(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa4ca
movq %rax, %r15
leaq 0xbcc9(%rip), %rdi      # 0x12608
leaq 0x10(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa4ca
leaq 0x6b49(%rip), %rdi      # 0xd4a3
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x40b4
movl 0xbeeb(%rip), %edi      # 0x12858
leaq 0xbc94(%rip), %rsi      # 0x12608
leaq 0x90(%rsp), %rdx
callq 0x9d1b
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x8c36
cmpq $0x0, 0xc8(%r14)
jne 0x69dc
cmpl $0x0, 0xbb99(%rip)      # 0x12538
je 0x69cd
leaq 0xbc60(%rip), %rdi      # 0x12608
leaq 0x50(%rsp), %rsi
movl $0x40, %edx
movl $0x1, %ecx
callq 0xa4ca
leaq 0x6b0c(%rip), %rdi      # 0xd4cf
movq %rax, %rsi
xorl %eax, %eax
callq 0x40b4
leaq 0xbebc(%rip), %rdi      # 0x12890
movq %r14, %rsi
callq 0x8c74
leaq 0xba75(%rip), %rdi      # 0x12458
movq %rbx, %rsi
callq 0x972e
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6a20(%rip), %rdi      # 0xd424
leaq 0x6754(%rip), %rsi      # 0xd15f
leaq 0x6a26(%rip), %rcx      # 0xd438
movl $0x489, %edx            # imm = 0x489
callq 0x3260
leaq 0x6a4a(%rip), %rdi      # 0xd46d
leaq 0x6735(%rip), %rsi      # 0xd15f
leaq 0x6a07(%rip), %rcx      # 0xd438
movl $0x48e, %edx            # imm = 0x48E
callq 0x3260
nop