// File: /workspace/github_cpp_makefile_star2_O2/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 0xc410(%rip), %rdi      # 0x12458
movq %r15, %rsi
callq 0x8d96
movq %rax, %rbx
leaq 0xc406(%rip), %rax      # 0x12460
cmpq %rax, %rbx
je 0x62f8
cmpl $0x0, 0xc4ce(%rip)      # 0x12538
je 0x60e4
movb 0x3f8(%rbx), %r14b
leaq 0x90(%rsp), %rsi
pushq $0x40
popq %rdx
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x9e40
cmpb $0x1, %r14b
jne 0x60be
movq 0x330(%rbx), %rdx
leaq 0x5cf7(%rip), %rsi      # 0xbd94
leaq 0x519f(%rip), %rcx      # 0xb243
testb %bpl, %bpl
cmovneq %rsi, %rcx
leaq 0x5cc8(%rip), %rdi      # 0xbd7a
movq %rax, %rsi
xorl %eax, %eax
callq 0x3f31
jmp 0x60e4
leaq 0x5ccf(%rip), %rcx      # 0xbd94
leaq 0x5177(%rip), %rdx      # 0xb243
testb %bpl, %bpl
cmovneq %rcx, %rdx
leaq 0x5cc6(%rip), %rdi      # 0xbda0
movq %rax, %rsi
xorl %eax, %eax
callq 0x3f31
cmpl $0x0, 0xc76d(%rip)      # 0x12858
je 0x62e9
leaq 0x90(%rsp), %rdi
callq 0x9c00
leaq 0xc78b(%rip), %rdi      # 0x12890
leaq 0xc4fc(%rip), %rsi      # 0x12608
callq 0x7cc2
movq %rax, %r14
leaq 0xc77d(%rip), %rax      # 0x12898
cmpq %rax, %r14
je 0x630a
movq %r15, %rdi
callq 0x9686
leaq 0x90(%rsp), %r12
movq %r12, %rdi
movl %eax, %esi
callq 0x9b06
movq %r12, %rdi
movq %r15, %rsi
callq 0x9f5e
movq %r12, %rdi
xorl %esi, %esi
callq 0x9e08
leaq 0xa0(%r14), %rdi
movq %rdi, 0x8(%rsp)
movq %r12, %rsi
callq 0x800a
movq %rax, %r13
leaq 0xa8(%r14), %rax
cmpq %rax, %r13
je 0x6329
leaq 0xa0(%r13), %rbp
movq %rbp, %rdi
movq %r15, %rsi
callq 0x82f0
movq %rax, %r12
leaq 0xa8(%r13), %rax
cmpq %rax, %r12
je 0x62e9
cmpl $0x0, 0xc392(%rip)      # 0x12538
je 0x620f
leaq 0x50(%rsp), %rsi
pushq $0x40
popq %rax
pushq $0x1
popq %rcx
movq %r15, %rdi
movq %rax, %r15
movq %rax, %rdx
callq 0x9e40
movq %rax, (%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movq %r15, %rdx
pushq $0x1
popq %rcx
callq 0x9e40
movq %rax, %r15
leaq 0xc421(%rip), %rdi      # 0x12608
leaq 0x10(%rsp), %rsi
pushq $0x40
popq %rdx
pushq $0x1
popq %rcx
callq 0x9e40
leaq 0x6284(%rip), %rdi      # 0xc482
movq (%rsp), %rsi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3f31
movq %rbp, %rdi
movq %r12, %rsi
callq 0x8554
cmpq $0x0, 0xc8(%r13)
jne 0x629f
cmpl $0x0, 0xc30d(%rip)      # 0x12538
je 0x6278
leaq 0x90(%rsp), %rdi
leaq 0x50(%rsp), %rsi
pushq $0x40
popq %r15
pushq $0x1
popq %rbp
movq %r15, %rdx
movl %ebp, %ecx
callq 0x9e40
movq %rax, %r12
leaq 0xc3b3(%rip), %rdi      # 0x12608
leaq 0x10(%rsp), %rsi
movq %r15, %rdx
movl %ebp, %ecx
callq 0x9e40
leaq 0x6238(%rip), %rdi      # 0xc4a3
movq %r12, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x3f31
movl 0xc5da(%rip), %edi      # 0x12858
leaq 0xc383(%rip), %rsi      # 0x12608
leaq 0x90(%rsp), %rdx
callq 0x9765
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x85a4
cmpq $0x0, 0xc8(%r14)
jne 0x62e9
cmpl $0x0, 0xc288(%rip)      # 0x12538
je 0x62da
leaq 0xc34f(%rip), %rdi      # 0x12608
leaq 0x50(%rsp), %rsi
pushq $0x40
popq %rdx
pushq $0x1
popq %rcx
callq 0x9e40
leaq 0x61ff(%rip), %rdi      # 0xc4cf
movq %rax, %rsi
xorl %eax, %eax
callq 0x3f31
leaq 0xc5af(%rip), %rdi      # 0x12890
movq %r14, %rsi
callq 0x85f2
leaq 0xc168(%rip), %rdi      # 0x12458
movq %rbx, %rsi
callq 0x920c
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6113(%rip), %rdi      # 0xc424
leaq 0x5e47(%rip), %rsi      # 0xc15f
leaq 0x6119(%rip), %rcx      # 0xc438
movl $0x489, %edx            # imm = 0x489
callq 0x3260
leaq 0x613d(%rip), %rdi      # 0xc46d
leaq 0x5e28(%rip), %rsi      # 0xc15f
leaq 0x60fa(%rip), %rcx      # 0xc438
movl $0x48e, %edx            # imm = 0x48E
callq 0x3260