// File: /workspace/github_c_makefile_star2_O2/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x4e7b(%rip), %rax      # 0x8260
movq %rax, (%rsp)
testq %rax, %rax
je 0x3735
movq %rdi, %rbx
leaq 0x44(%rdi), %r14
pushq $0x1c
popq %rax
movl $0x9e3779b9, %edi       # imm = 0x9E3779B9
movl $0xfeedbeef, %ecx       # imm = 0xFEEDBEEF
movl $0x9e3779b9, %esi       # imm = 0x9E3779B9
movq %r14, %rdx
cmpl $0xc, %eax
jb 0x351c
movsbl (%rdx), %r9d
movsbl 0x1(%rdx), %r8d
shll $0x8, %r8d
movsbl 0x2(%rdx), %r11d
shll $0x10, %r11d
movzbl 0x3(%rdx), %r10d
shll $0x18, %r10d
addl %r11d, %r10d
movsbl 0x4(%rdx), %r11d
movsbl 0x5(%rdx), %ebp
shll $0x8, %ebp
movsbl 0x6(%rdx), %r15d
shll $0x10, %r15d
movzbl 0x7(%rdx), %r12d
shll $0x18, %r12d
addl %r15d, %r12d
addl %r11d, %esi
addl %ebp, %esi
addl %r12d, %esi
movsbl 0x8(%rdx), %r11d
movsbl 0x9(%rdx), %ebp
shll $0x8, %ebp
movsbl 0xa(%rdx), %r15d
shll $0x10, %r15d
movzbl 0xb(%rdx), %r12d
shll $0x18, %r12d
addl %r15d, %r12d
addl %r11d, %ecx
addl %ebp, %ecx
addl %r12d, %ecx
addl %r9d, %edi
addl %r8d, %edi
addl %r10d, %edi
subl %esi, %edi
subl %ecx, %edi
movl %ecx, %r8d
shrl $0xd, %r8d
xorl %edi, %r8d
subl %ecx, %esi
subl %r8d, %esi
movl %r8d, %edi
shll $0x8, %edi
xorl %esi, %edi
subl %r8d, %ecx
subl %edi, %ecx
movl %edi, %esi
shrl $0xd, %esi
xorl %ecx, %esi
subl %edi, %r8d
subl %esi, %r8d
movl %esi, %ecx
shrl $0xc, %ecx
xorl %r8d, %ecx
subl %esi, %edi
subl %ecx, %edi
movl %ecx, %r8d
shll $0x10, %r8d
xorl %edi, %r8d
subl %ecx, %esi
subl %r8d, %esi
movl %r8d, %r9d
shrl $0x5, %r9d
xorl %esi, %r9d
subl %r8d, %ecx
subl %r9d, %ecx
movl %r9d, %edi
shrl $0x3, %edi
xorl %ecx, %edi
subl %r9d, %r8d
subl %edi, %r8d
movl %edi, %esi
shll $0xa, %esi
xorl %r8d, %esi
subl %edi, %r9d
subl %esi, %r9d
movl %esi, %ecx
shrl $0xf, %ecx
xorl %r9d, %ecx
addq $0xc, %rdx
addl $-0xc, %eax
jmp 0x340e
leal 0x1c(%rcx), %eax
pushq $-0x1c
popq %rdx
subl %ecx, %edx
movzbl 0x5f(%rbx), %r8d
shll $0x18, %r8d
addl %edi, %r8d
movsbl 0x5e(%rbx), %edi
shll $0x10, %edi
movsbl 0x5d(%rbx), %r9d
shll $0x8, %r9d
addl %edi, %r9d
addl %r8d, %r9d
movsbl 0x5c(%rbx), %edi
addl %edx, %edi
addl %r9d, %edi
subl %esi, %edi
shrl $0xd, %eax
xorl %edi, %eax
addl %esi, %edx
subl %eax, %edx
movl %eax, %esi
shll $0x8, %esi
xorl %edx, %esi
leal (%rax,%rsi), %edx
negl %edx
addl %edx, %ecx
addl $0x1c, %ecx
movl %esi, %edx
shrl $0xd, %edx
xorl %ecx, %edx
subl %esi, %eax
subl %edx, %eax
movl %edx, %ecx
shrl $0xc, %ecx
xorl %eax, %ecx
subl %edx, %esi
subl %ecx, %esi
movl %ecx, %eax
shll $0x10, %eax
xorl %esi, %eax
subl %ecx, %edx
subl %eax, %edx
movl %eax, %esi
shrl $0x5, %esi
xorl %edx, %esi
subl %eax, %ecx
subl %esi, %ecx
movl %esi, %edx
shrl $0x3, %edx
xorl %ecx, %edx
subl %esi, %eax
subl %edx, %eax
movl %edx, %ecx
shll $0xa, %ecx
xorl %eax, %ecx
addl %ecx, %edx
subl %edx, %esi
shrl $0xf, %ecx
xorl %esi, %ecx
movq (%rsp), %rax
movq 0x70(%rax), %rbp
movl 0x8(%rbp), %eax
decl %eax
andl %ecx, %eax
movq (%rbp), %r15
shlq $0x4, %rax
movq (%r15,%rax), %r13
testq %r13, %r13
je 0x35d8
subq 0x20(%rbp), %r13
jmp 0x35db
xorl %r13d, %r13d
pushq $0x1c
popq %r12
testq %r13, %r13
je 0x3735
cmpl $0x1c, 0xa0(%r13)
jne 0x3608
movq 0x98(%r13), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2180
testl %eax, %eax
je 0x3623
movq 0x90(%r13), %rax
movl $0x0, %r13d
testq %rax, %rax
je 0x35df
subq 0x20(%rbp), %rax
movq %rax, %r13
jmp 0x35df
movq 0x78(%rbx), %rax
testq %rax, %rax
jne 0x363a
cmpq $0x0, 0x80(%rbx)
je 0x3744
movq 0x18(%rbp), %rcx
movq 0x20(%rbp), %rsi
subq %rsi, %rcx
cmpq %rbx, %rcx
jne 0x3652
leaq (%rsi,%rax), %rcx
movq %rcx, 0x18(%rbp)
leaq 0x70(%rbx), %rcx
testq %rax, %rax
movq 0x80(%rbx), %rdx
leaq 0x10(%rsi,%rax), %rsi
leaq 0x4bf4(%rip), %rdi      # 0x8260
cmovneq %rsi, %rdi
movq (%rsp), %rsi
cmoveq %rdx, %rsi
movq %rdx, (%rdi)
testq %rdx, %rdx
je 0x368f
movq 0x70(%rsi), %rsi
movq 0x20(%rsi), %rdi
movq %rax, 0x8(%rdi,%rdx)
jmp 0x3693
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 0x36bc
addq %rax, %rdx
movq 0x90(%rbx), %rax
movq %rax, (%rdx)
movq 0x88(%rbx), %rax
movq 0x90(%rbx), %rcx
testq %rax, %rax
je 0x36d3
movq %rcx, 0x20(%rax)
testq %rcx, %rcx
je 0x36dc
movq %rax, 0x18(%rcx)
movq 0x4b7d(%rip), %r14      # 0x8260
movq 0x70(%r14), %rax
decl 0x10(%rax)
movq 0x80(%r14), %rcx
xorl %eax, %eax
testq %r14, %r14
je 0x3735
movq %rcx, %r15
cmpq %rbx, 0x60(%r14)
jne 0x371c
testq %rax, %rax
je 0x370c
movq %rax, 0x60(%r14)
jmp 0x371c
andq $0x0, 0x60(%r14)
movq %r14, %rdi
callq 0x2d60
movq %r14, %rax
movl $0x0, %ecx
movq %r15, %r14
testq %r15, %r15
je 0x36f3
movq 0x80(%r15), %rcx
movq %r15, %r14
jmp 0x36f3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
callq 0x21d0
movq 0x4b0d(%rip), %rax      # 0x8260
movq 0x70(%rax), %rdi
callq 0x21d0
andq $0x0, 0x4afc(%rip)      # 0x8260
xorl %ecx, %ecx
xorl %r14d, %r14d
jmp 0x36f1