// File: /workspace/github_c_makefile_star2_O2/martintopholm[P]xping/icmp.c
// Function: activate
void
activate(struct probe *prb)
{
	struct probe *result;

	HASH_FIND(hh, hash, &prb->sa, sizeof(union addr), result);
	if (result == prb)
		; /* nothing, already active in hash */
	else if (result)
		prb->duplicate = result;
	else
		HASH_ADD(hh, hash, sa, sizeof(union addr), prb);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x54e8(%rip), %rbp      # 0x8260
testq %rbp, %rbp
je 0x2fb7
pushq $0x1c
popq %rax
leaq 0x44(%rbx), %r14
movl $0xfeedbeef, %edx       # imm = 0xFEEDBEEF
movl $0x9e3779b9, %esi       # imm = 0x9E3779B9
movq %r14, %rcx
movl $0x9e3779b9, %edi       # imm = 0x9E3779B9
cmpl $0xc, %eax
jb 0x2eae
movsbl (%rcx), %r9d
movsbl 0x1(%rcx), %r8d
shll $0x8, %r8d
movsbl 0x2(%rcx), %r11d
shll $0x10, %r11d
movzbl 0x3(%rcx), %r10d
shll $0x18, %r10d
addl %r11d, %r10d
movsbl 0x4(%rcx), %r11d
movsbl 0x5(%rcx), %r15d
shll $0x8, %r15d
movsbl 0x6(%rcx), %r12d
shll $0x10, %r12d
movzbl 0x7(%rcx), %r13d
shll $0x18, %r13d
addl %r12d, %r13d
addl %r11d, %esi
addl %r15d, %esi
addl %r13d, %esi
movsbl 0x8(%rcx), %r11d
movsbl 0x9(%rcx), %r15d
shll $0x8, %r15d
movsbl 0xa(%rcx), %r12d
shll $0x10, %r12d
movzbl 0xb(%rcx), %r13d
shll $0x18, %r13d
addl %r12d, %r13d
addl %r11d, %edx
addl %r15d, %edx
addl %r13d, %edx
addl %r9d, %edi
addl %r8d, %edi
addl %r10d, %edi
subl %esi, %edi
subl %edx, %edi
movl %edx, %r8d
shrl $0xd, %r8d
xorl %edi, %r8d
subl %edx, %esi
subl %r8d, %esi
movl %r8d, %edi
shll $0x8, %edi
xorl %esi, %edi
subl %r8d, %edx
subl %edi, %edx
movl %edi, %esi
shrl $0xd, %esi
xorl %edx, %esi
subl %edi, %r8d
subl %esi, %r8d
movl %esi, %edx
shrl $0xc, %edx
xorl %r8d, %edx
subl %esi, %edi
subl %edx, %edi
movl %edx, %r8d
shll $0x10, %r8d
xorl %edi, %r8d
subl %edx, %esi
subl %r8d, %esi
movl %r8d, %r9d
shrl $0x5, %r9d
xorl %esi, %r9d
subl %r8d, %edx
subl %r9d, %edx
movl %r9d, %edi
shrl $0x3, %edi
xorl %edx, %edi
subl %r9d, %r8d
subl %edi, %r8d
movl %edi, %esi
shll $0xa, %esi
xorl %r8d, %esi
subl %edi, %r9d
subl %esi, %r9d
movl %esi, %edx
shrl $0xf, %edx
xorl %r9d, %edx
addq $0xc, %rcx
addl $-0xc, %eax
jmp 0x2d9a
leal 0x1c(%rdx), %eax
pushq $-0x1c
popq %rcx
subl %edx, %ecx
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
movl %ecx, %r8d
subl %esi, %r8d
addl %edi, %r8d
addl %r9d, %r8d
shrl $0xd, %eax
xorl %r8d, %eax
addl %esi, %ecx
subl %eax, %ecx
movl %eax, %esi
shll $0x8, %esi
xorl %ecx, %esi
leal (%rax,%rsi), %ecx
negl %ecx
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 0x70(%rbp), %r12
movl 0x8(%r12), %eax
decl %eax
andl %ecx, %eax
movq (%r12), %rcx
shlq $0x4, %rax
movq (%rcx,%rax), %r13
testq %r13, %r13
je 0x2f6f
subq 0x20(%r12), %r13
jmp 0x2f72
xorl %r13d, %r13d
pushq $0x1c
popq %r15
testq %r13, %r13
je 0x2fb7
cmpl $0x1c, 0xa0(%r13)
jne 0x2f9b
movq 0x98(%r13), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2180
testl %eax, %eax
je 0x2fba
movq 0x90(%r13), %rax
movl $0x0, %r13d
testq %rax, %rax
je 0x2f76
subq 0x20(%r12), %rax
movq %rax, %r13
jmp 0x2f76
xorl %r13d, %r13d
cmpq %rbx, %r13
je 0x33bc
testq %r13, %r13
je 0x2fd1
movq %r13, 0x60(%rbx)
jmp 0x33bc
leaq 0x70(%rbx), %rcx
andq $0x0, 0x80(%rbx)
leaq 0x44(%rbx), %r15
movq %r15, 0x98(%rbx)
movl $0x1c, 0xa0(%rbx)
testq %rbp, %rbp
movq %rcx, 0x10(%rsp)
je 0x301b
movq %rbp, 0x8(%rsp)
movq 0x70(%rbp), %r14
movq 0x18(%r14), %rax
movq %rbx, 0x10(%rax)
subq 0x20(%r14), %rax
movq %rax, 0x78(%rbx)
movq %rcx, 0x18(%r14)
jmp 0x3087
movq %rbx, 0x523e(%rip)      # 0x8260
andq $0x0, 0x78(%rbx)
pushq $0x1
popq %rdi
pushq $0x40
popq %rsi
callq 0x2100
movq %rax, 0x70(%rbx)
testq %rax, %rax
je 0x33cb
movq %rax, %r14
movq 0x10(%rsp), %rax
movq %rax, 0x18(%r14)
movabsq $0x500000020, %rax      # imm = 0x500000020
movq %rax, 0x8(%r14)
movq $0x70, 0x20(%r14)
pushq $0x1
popq %rdi
movl $0x200, %esi            # imm = 0x200
callq 0x2100
movq %rax, (%r14)
testq %rax, %rax
je 0x33cb
movl $0xa0111fe1, 0x38(%r14) # imm = 0xA0111FE1
movq %rbx, 0x8(%rsp)
movl 0x10(%r14), %r13d
incl %r13d
movl %r13d, 0x10(%r14)
movq %r14, 0x70(%rbx)
movl $0xfeedbeef, 0xa4(%rbx) # imm = 0xFEEDBEEF
pushq $0x1c
popq %rax
movl $0x9e3779b9, %edx       # imm = 0x9E3779B9
movl $0xfeedbeef, %esi       # imm = 0xFEEDBEEF
movl $0x9e3779b9, %ecx       # imm = 0x9E3779B9
cmpl $0xc, %eax
jb 0x31bd
movsbl (%r15), %r8d
movsbl 0x1(%r15), %edi
shll $0x8, %edi
movsbl 0x2(%r15), %r10d
shll $0x10, %r10d
movzbl 0x3(%r15), %r9d
shll $0x18, %r9d
addl %r10d, %r9d
movsbl 0x4(%r15), %r10d
movsbl 0x5(%r15), %r11d
shll $0x8, %r11d
movsbl 0x6(%r15), %r12d
shll $0x10, %r12d
movzbl 0x7(%r15), %ebp
shll $0x18, %ebp
addl %r12d, %ebp
addl %r10d, %ecx
addl %r11d, %ecx
addl %ebp, %ecx
movsbl 0x8(%r15), %r10d
movsbl 0x9(%r15), %r11d
shll $0x8, %r11d
addl %r10d, %r11d
movsbl 0xa(%r15), %r10d
shll $0x10, %r10d
movzbl 0xb(%r15), %ebp
shll $0x18, %ebp
addl %esi, %r10d
addl %r11d, %r10d
addl %ebp, %r10d
addl %r8d, %edx
addl %edi, %edx
addl %r9d, %edx
subl %ecx, %edx
subl %r10d, %edx
movl %r10d, %esi
shrl $0xd, %esi
xorl %edx, %esi
subl %r10d, %ecx
subl %esi, %ecx
movl %esi, %edx
shll $0x8, %edx
xorl %ecx, %edx
subl %esi, %r10d
subl %edx, %r10d
movl %edx, %ecx
shrl $0xd, %ecx
xorl %r10d, %ecx
subl %edx, %esi
subl %ecx, %esi
movl %ecx, %edi
shrl $0xc, %edi
xorl %esi, %edi
subl %ecx, %edx
subl %edi, %edx
movl %edi, %esi
shll $0x10, %esi
xorl %edx, %esi
subl %edi, %ecx
subl %esi, %ecx
movl %esi, %r8d
shrl $0x5, %r8d
xorl %ecx, %r8d
subl %esi, %edi
subl %r8d, %edi
movl %r8d, %edx
shrl $0x3, %edx
xorl %edi, %edx
subl %r8d, %esi
subl %edx, %esi
movl %edx, %ecx
shll $0xa, %ecx
xorl %esi, %ecx
subl %edx, %r8d
subl %ecx, %r8d
movl %ecx, %esi
shrl $0xf, %esi
xorl %r8d, %esi
movl %esi, 0xa4(%rbx)
addq $0xc, %r15
addl $-0xc, %eax
jmp 0x30b2
leal 0x1c(%rsi), %eax
pushq $-0x1c
popq %r9
subl %esi, %r9d
movl %eax, 0xa4(%rbx)
movzbl 0x3(%r15), %edi
shll $0x18, %edi
addl %edx, %edi
movsbl 0x2(%r15), %edx
shll $0x10, %edx
movsbl 0x1(%r15), %r8d
shll $0x8, %r8d
addl %edx, %r8d
addl %edi, %r8d
movsbl (%r15), %edx
addl %r9d, %edx
addl %r8d, %edx
subl %ecx, %edx
shrl $0xd, %eax
xorl %edx, %eax
addl %ecx, %r9d
subl %eax, %r9d
movl %eax, %ecx
shll $0x8, %ecx
xorl %r9d, %ecx
leal (%rax,%rcx), %edx
negl %edx
addl %esi, %edx
addl $0x1c, %edx
movl %ecx, %esi
shrl $0xd, %esi
xorl %edx, %esi
subl %ecx, %eax
subl %esi, %eax
movl %esi, %edx
shrl $0xc, %edx
xorl %eax, %edx
subl %esi, %ecx
subl %edx, %ecx
movl %edx, %eax
shll $0x10, %eax
xorl %ecx, %eax
subl %edx, %esi
subl %eax, %esi
movl %eax, %ecx
shrl $0x5, %ecx
xorl %esi, %ecx
subl %eax, %edx
subl %ecx, %edx
movl %ecx, %esi
shrl $0x3, %esi
xorl %edx, %esi
subl %ecx, %eax
subl %esi, %eax
movl %esi, %edx
shll $0xa, %edx
xorl %eax, %edx
addl %edx, %esi
subl %esi, %ecx
shrl $0xf, %edx
xorl %ecx, %edx
movl %edx, 0xa4(%rbx)
movq 0x8(%rsp), %rax
movq 0x70(%rax), %rcx
movl 0x8(%rcx), %eax
decl %eax
andl %edx, %eax
movq (%rcx), %rdx
shlq $0x4, %rax
incl 0x8(%rdx,%rax)
leaq (%rdx,%rax), %rcx
movq (%rdx,%rax), %rdx
movq %rdx, 0x90(%rbx)
andq $0x0, 0x88(%rbx)
testq %rdx, %rdx
movq 0x10(%rsp), %rbp
je 0x32a4
movq %rbp, 0x18(%rdx)
movq %rbp, (%rcx)
movq 0x4fb2(%rip), %rcx      # 0x8260
movq 0x70(%rcx), %rcx
movq (%rcx), %rcx
imull $0xa, 0xc(%rcx,%rax), %edx
addl $0xa, %edx
cmpl %edx, 0x8(%rcx,%rax)
jb 0x33bc
cmpl $0x1, 0x34(%r14)
je 0x33bc
movl 0x8(%r14), %r15d
leal (%r15,%r15), %r12d
movq %r12, %rsi
shlq $0x4, %rsi
pushq $0x1
popq %rdi
callq 0x2100
testq %rax, %rax
je 0x33cb
movq %rax, %rbx
movb 0xc(%r14), %cl
incb %cl
decl %r12d
movl %r12d, %eax
andl %r13d, %eax
shrl %cl, %r13d
cmpl $0x1, %eax
sbbl $-0x1, %r13d
movl %r13d, 0x28(%r14)
andl $0x0, 0x2c(%r14)
movq (%r14), %rdi
xorl %ecx, %ecx
xorl %esi, %esi
cmpq %r15, %rsi
je 0x3386
movq %rsi, %rax
shlq $0x4, %rax
movq (%rdi,%rax), %r8
testq %r8, %r8
je 0x3381
movq 0x20(%r8), %r9
movl 0x34(%r8), %edx
andl %r12d, %edx
shlq $0x4, %rdx
leaq (%rbx,%rdx), %r10
movl 0x8(%rbx,%rdx), %eax
incl %eax
movl %eax, 0x8(%rbx,%rdx)
cmpl %r13d, %eax
jbe 0x3364
incl %ecx
movl %ecx, 0x2c(%r14)
xorl %edx, %edx
divl %r13d
movl %eax, 0xc(%r10)
andq $0x0, 0x18(%r8)
movq (%r10), %rax
movq %rax, 0x20(%r8)
testq %rax, %rax
je 0x3379
movq %r8, 0x18(%rax)
movq %r8, (%r10)
movq %r9, %r8
jmp 0x332e
incq %rsi
jmp 0x331e
callq 0x21d0
movq (%rbp), %rax
shll 0x8(%rax)
incl 0xc(%rax)
movq %rbx, (%rax)
movl 0x10(%rax), %ecx
shrl %ecx
cmpl %ecx, 0x2c(%rax)
jbe 0x33b8
movl 0x30(%rax), %ecx
incl %ecx
movl %ecx, 0x30(%rax)
cmpl $0x2, %ecx
jb 0x33bc
movl $0x1, 0x34(%rax)
jmp 0x33bc
andl $0x0, 0x30(%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $-0x1
popq %rdi
callq 0x21e0