// File: /workspace/github_c_makefile_star2_O1/martintopholm[P]xping/icmp.c
// Function: deactivate
void
deactivate(struct probe *prb)
{
	struct probe *tmp, *tmp2, *t1;

	HASH_FIND(hh, hash, &prb->sa, sizeof(union addr), tmp);
	if (tmp == NULL)
		return; /* already inactive, i.e. not in hash */
	HASH_DELETE(hh, hash, prb);
	t1 = NULL;
	HASH_ITER(hh, hash, tmp, tmp2) {
		if (tmp->duplicate == prb) {
			if (t1 == NULL) {
				t1 = tmp;
				t1->duplicate = NULL;
				activate(t1);
			} else {
				tmp->duplicate = t1;
			}
		}
	}
}

// Assembly:
movq 0x3b49(%rip), %rcx      # 0x7260
testq %rcx, %rcx
je 0x3abf
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x44(%rdi), %rax
movl $0xfeedbeef, %edi       # imm = 0xFEEDBEEF
movl $0x9e3779b9, %r8d       # imm = 0x9E3779B9
movl $0x1c, %edx
movq %rax, %rsi
movl $0x9e3779b9, %r9d       # imm = 0x9E3779B9
movsbl (%rsi), %r10d
addl %r9d, %r10d
movsbl 0x1(%rsi), %r11d
shll $0x8, %r11d
addl %r10d, %r11d
movsbl 0x2(%rsi), %r10d
shll $0x10, %r10d
movzbl 0x3(%rsi), %r9d
shll $0x18, %r9d
addl %r10d, %r9d
addl %r11d, %r9d
movsbl 0x4(%rsi), %r10d
addl %r8d, %r10d
movsbl 0x5(%rsi), %r11d
shll $0x8, %r11d
addl %r10d, %r11d
movsbl 0x6(%rsi), %r10d
shll $0x10, %r10d
movzbl 0x7(%rsi), %r8d
shll $0x18, %r8d
addl %r10d, %r8d
addl %r11d, %r8d
movsbl 0x8(%rsi), %r10d
addl %edi, %r10d
movsbl 0x9(%rsi), %r11d
shll $0x8, %r11d
addl %r10d, %r11d
movsbl 0xa(%rsi), %r10d
shll $0x10, %r10d
movzbl 0xb(%rsi), %edi
shll $0x18, %edi
addl %r10d, %edi
addl %r11d, %edi
subl %r8d, %r9d
subl %edi, %r9d
movl %edi, %r10d
shrl $0xd, %r10d
xorl %r9d, %r10d
subl %edi, %r8d
subl %r10d, %r8d
movl %r10d, %r9d
shll $0x8, %r9d
xorl %r8d, %r9d
subl %r10d, %edi
subl %r9d, %edi
movl %r9d, %r8d
shrl $0xd, %r8d
xorl %edi, %r8d
subl %r9d, %r10d
subl %r8d, %r10d
movl %r8d, %edi
shrl $0xc, %edi
xorl %r10d, %edi
subl %r8d, %r9d
subl %edi, %r9d
movl %edi, %r10d
shll $0x10, %r10d
xorl %r9d, %r10d
subl %edi, %r8d
subl %r10d, %r8d
movl %r10d, %r11d
shrl $0x5, %r11d
xorl %r8d, %r11d
subl %r10d, %edi
subl %r11d, %edi
movl %r11d, %r9d
shrl $0x3, %r9d
xorl %edi, %r9d
subl %r11d, %r10d
subl %r9d, %r10d
movl %r9d, %r8d
shll $0xa, %r8d
xorl %r10d, %r8d
subl %r9d, %r11d
subl %r8d, %r11d
movl %r8d, %edi
shrl $0xf, %edi
xorl %r11d, %edi
addq $0xc, %rsi
addl $-0xc, %edx
cmpl $0xb, %edx
ja 0x3745
leal 0x1c(%rdi), %edx
movl $0xffffffe4, %esi       # imm = 0xFFFFFFE4
subl %edi, %esi
movzbl 0x5f(%rbx), %r10d
shll $0x18, %r10d
movsbl 0x5e(%rbx), %r11d
shll $0x10, %r11d
addl %r10d, %r11d
movsbl 0x5d(%rbx), %r10d
shll $0x8, %r10d
addl %r11d, %r10d
movsbl 0x5c(%rbx), %r11d
addl %r10d, %r11d
addl %r9d, %r11d
addl %esi, %r11d
subl %r8d, %r11d
shrl $0xd, %edx
xorl %r11d, %edx
addl %r8d, %esi
subl %edx, %esi
movl %edx, %r8d
shll $0x8, %r8d
xorl %esi, %r8d
leal (%rdx,%r8), %esi
negl %esi
addl %edi, %esi
addl $0x1c, %esi
movl %r8d, %edi
shrl $0xd, %edi
xorl %esi, %edi
subl %r8d, %edx
subl %edi, %edx
movl %edi, %esi
shrl $0xc, %esi
xorl %edx, %esi
subl %edi, %r8d
subl %esi, %r8d
movl %esi, %edx
shll $0x10, %edx
xorl %r8d, %edx
subl %esi, %edi
subl %edx, %edi
movl %edx, %r8d
shrl $0x5, %r8d
xorl %edi, %r8d
subl %edx, %esi
subl %r8d, %esi
movl %r8d, %edi
shrl $0x3, %edi
xorl %esi, %edi
subl %r8d, %edx
subl %edi, %edx
movl %edi, %esi
shll $0xa, %esi
xorl %edx, %esi
addl %esi, %edi
subl %edi, %r8d
shrl $0xf, %esi
xorl %r8d, %esi
movq 0x70(%rcx), %rcx
movl 0x8(%rcx), %edx
decl %edx
andl %esi, %edx
movq (%rcx), %rdi
shlq $0x4, %rdx
movq (%rdi,%rdx), %rdx
testq %rdx, %rdx
je 0x3935
subq 0x20(%rcx), %rdx
jmp 0x3937
xorl %edx, %edx
testq %rdx, %rdx
je 0x3aba
cmpl $0x1c, 0xa0(%rdx)
jne 0x397a
movq 0x98(%rdx), %rsi
movdqu (%rsi), %xmm0
movdqu 0xc(%rsi), %xmm1
movdqu (%rax), %xmm2
pcmpeqb %xmm0, %xmm2
movdqu 0xc(%rax), %xmm0
pcmpeqb %xmm1, %xmm0
pand %xmm2, %xmm0
pmovmskb %xmm0, %esi
cmpl $0xffff, %esi           # imm = 0xFFFF
je 0x3983
movq 0x90(%rdx), %rdx
jmp 0x392a
movq 0x78(%rbx), %rax
testq %rax, %rax
jne 0x399a
cmpq $0x0, 0x80(%rbx)
je 0x3ac0
movq 0x18(%rcx), %rsi
movq 0x20(%rcx), %rdx
subq %rdx, %rsi
cmpq %rbx, %rsi
jne 0x39b2
leaq (%rdx,%rax), %rsi
movq %rsi, 0x18(%rcx)
leaq 0x70(%rbx), %rcx
testq %rax, %rax
leaq 0x10(%rdx,%rax), %rdx
leaq 0x389b(%rip), %rsi      # 0x7260
cmovneq %rdx, %rsi
movq 0x80(%rbx), %rdx
movq %rdx, (%rsi)
movq 0x80(%rbx), %rdx
testq %rdx, %rdx
je 0x39f3
movq 0x387a(%rip), %rsi      # 0x7260
movq 0x70(%rsi), %rsi
movq 0x20(%rsi), %rsi
movq %rax, 0x8(%rsi,%rdx)
movq 0x3866(%rip), %rax      # 0x7260
movq 0x70(%rax), %rdx
movl 0x8(%rdx), %eax
decl %eax
andl 0xa4(%rbx), %eax
movq (%rdx), %rdx
shlq $0x4, %rax
decl 0x8(%rdx,%rax)
cmpq %rcx, (%rdx,%rax)
jne 0x3a27
addq %rax, %rdx
movq 0x90(%rbx), %rax
movq %rax, (%rdx)
movq 0x88(%rbx), %rax
testq %rax, %rax
je 0x3a3e
movq 0x90(%rbx), %rcx
movq %rcx, 0x20(%rax)
movq 0x90(%rbx), %rcx
testq %rcx, %rcx
je 0x3a4e
movq %rax, 0x18(%rcx)
movq 0x380b(%rip), %rax      # 0x7260
movq 0x70(%rax), %rax
decl 0x10(%rax)
movq 0x37fd(%rip), %r14      # 0x7260
testq %r14, %r14
je 0x3a71
movq 0x80(%r14), %r15
jmp 0x3a74
xorl %r15d, %r15d
testq %r14, %r14
je 0x3aba
xorl %eax, %eax
cmpq %rbx, 0x60(%r14)
jne 0x3a9f
testq %rax, %rax
je 0x3a8c
movq %rax, 0x60(%r14)
jmp 0x3a9f
movq $0x0, 0x60(%r14)
movq %r14, %rdi
callq 0x3020
movq %r14, %rax
testq %r15, %r15
je 0x3aad
movq 0x80(%r15), %rcx
jmp 0x3aaf
xorl %ecx, %ecx
movq %r15, %r14
testq %r15, %r15
movq %rcx, %r15
jne 0x3a7b
popq %rbx
popq %r14
popq %r15
retq
callq 0x21c0
movq 0x3794(%rip), %rax      # 0x7260
movq 0x70(%rax), %rdi
callq 0x21c0
movq $0x0, 0x3780(%rip) # 0x7260
jmp 0x3a5c