// File: /workspace/github_c_makefile_star2_O3/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 0x3bdc(%rip), %rcx      # 0x7260
testq %rcx, %rcx
je 0x3a11
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 0x36b2
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 0x3a0c
subq 0x20(%rcx), %rdx
cmpl $0x1c, 0xa0(%rdx)
jne 0x38de
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 0x38e7
movq 0x90(%rdx), %rdx
jmp 0x3897
movq 0x78(%rbx), %rax
testq %rax, %rax
jne 0x38fe
cmpq $0x0, 0x80(%rbx)
je 0x39ec
movq 0x18(%rcx), %rdx
movq 0x20(%rcx), %rsi
subq %rsi, %rdx
cmpq %rbx, %rdx
jne 0x3916
leaq (%rsi,%rax), %rdx
movq %rdx, 0x18(%rcx)
movq 0x80(%rbx), %rdx
testq %rax, %rax
je 0x3930
movq %rdx, 0x10(%rsi,%rax)
movq 0x3932(%rip), %rsi      # 0x7260
jmp 0x393a
movq %rdx, 0x3929(%rip)      # 0x7260
movq %rdx, %rsi
leaq 0x70(%rbx), %rcx
testq %rdx, %rdx
je 0x3952
movq 0x70(%rsi), %rsi
movq 0x20(%rsi), %rdi
movq %rax, 0x8(%rdi,%rdx)
jmp 0x3956
movq 0x70(%rsi), %rsi
movl 0x8(%rsi), %eax
decl %eax
andl 0xa4(%rbx), %eax
movq (%rsi), %rdx
shlq $0x4, %rax
decl 0x8(%rdx,%rax)
cmpq %rcx, (%rdx,%rax)
jne 0x397f
addq %rax, %rdx
movq 0x90(%rbx), %rax
movq %rax, (%rdx)
movq 0x88(%rbx), %rax
movq 0x90(%rbx), %rcx
testq %rax, %rax
je 0x3996
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x399f
movq %rax, 0x18(%rcx)
movq 0x38ba(%rip), %r15      # 0x7260
movq 0x70(%r15), %rax
decl 0x10(%rax)
testq %r15, %r15
je 0x3a0c
xorl %eax, %eax
movq %r15, %r14
movq 0x80(%r15), %r15
cmpq %rbx, 0x60(%r14)
jne 0x39cd
testq %rax, %rax
je 0x39da
movq %rax, 0x60(%r14)
movq %rax, %r14
movq %r14, %rax
testq %r15, %r15
jne 0x39b4
jmp 0x3a0c
movq $0x0, 0x60(%r14)
movq %r14, %rdi
callq 0x2fc4
jmp 0x39d0
callq 0x21c0
movq 0x3868(%rip), %rax      # 0x7260
movq 0x70(%rax), %rdi
callq 0x21c0
movq $0x0, 0x3854(%rip) # 0x7260
popq %rbx
popq %r14
popq %r15
retq