// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x4289(%rip), %rax      # 0x7260
testq %rax, %rax
je 0x3237
leaq 0x44(%rbx), %rcx
movl $0x1c, %edx
movl $0x9e3779b9, %r9d       # imm = 0x9E3779B9
movl $0xfeedbeef, %edi       # imm = 0xFEEDBEEF
movl $0x9e3779b9, %r8d       # imm = 0x9E3779B9
movq %rcx, %rsi
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 0x2ffd
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
movl %esi, %r9d
subl %r8d, %r9d
addl %r11d, %r9d
shrl $0xd, %edx
xorl %r9d, %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, %r9d
shll $0xa, %r9d
xorl %edx, %r9d
addl %r9d, %edi
subl %edi, %r8d
shrl $0xf, %r9d
xorl %r8d, %r9d
movq 0x70(%rax), %rsi
movl 0x8(%rsi), %edx
decl %edx
andl %r9d, %edx
movq (%rsi), %rdi
shlq $0x4, %rdx
movq (%rdi,%rdx), %rdx
testq %rdx, %rdx
je 0x3237
subq 0x20(%rsi), %rdx
cmpl $0x1c, 0xa0(%rdx)
jne 0x322e
movq 0x98(%rdx), %rdi
movdqu (%rdi), %xmm0
movdqu 0xc(%rdi), %xmm1
movdqu (%rcx), %xmm2
pcmpeqb %xmm0, %xmm2
movdqu 0xc(%rcx), %xmm0
pcmpeqb %xmm1, %xmm0
pand %xmm2, %xmm0
pmovmskb %xmm0, %edi
cmpl $0xffff, %edi           # imm = 0xFFFF
je 0x3239
movq 0x90(%rdx), %rdx
jmp 0x31eb
xorl %edx, %edx
cmpq %rbx, %rdx
je 0x3669
testq %rdx, %rdx
je 0x3250
movq %rdx, 0x60(%rbx)
jmp 0x3669
leaq 0x70(%rbx), %r15
leaq 0x44(%rbx), %r12
movq $0x0, 0x80(%rbx)
movq %r12, 0x98(%rbx)
movl $0x1c, 0xa0(%rbx)
testq %rax, %rax
je 0x329e
movq 0x70(%rax), %rax
movq 0x18(%rax), %rcx
movq %rbx, 0x10(%rcx)
subq 0x20(%rax), %rcx
movq %rcx, 0x78(%rbx)
movq %r15, 0x18(%rax)
movq 0x3fc8(%rip), %rax      # 0x7260
movq 0x70(%rax), %r14
jmp 0x330c
movq %rbx, 0x3fbb(%rip)      # 0x7260
movq $0x0, 0x78(%rbx)
movl $0x1, %edi
movl $0x40, %esi
callq 0x2100
movq %rax, 0x70(%rbx)
testq %rax, %rax
je 0x3673
movq %rax, %r14
movq %r15, 0x18(%rax)
movabsq $0x500000020, %rax      # imm = 0x500000020
movq %rax, 0x8(%r14)
movq $0x70, 0x20(%r14)
movl $0x1, %edi
movl $0x200, %esi            # imm = 0x200
callq 0x2100
movq %rax, (%r14)
testq %rax, %rax
je 0x3673
movl $0xa0111fe1, 0x38(%r14) # imm = 0xA0111FE1
movq %rbx, %rax
incl 0x10(%r14)
movq %r14, 0x70(%rbx)
movl $0xfeedbeef, 0xa4(%rbx) # imm = 0xFEEDBEEF
movl $0xfeedbeef, %edx       # imm = 0xFEEDBEEF
movl $0x9e3779b9, %esi       # imm = 0x9E3779B9
movl $0x1c, %ecx
movl $0x9e3779b9, %edi       # imm = 0x9E3779B9
movsbl (%r12), %r8d
addl %edi, %r8d
movsbl 0x1(%r12), %r9d
shll $0x8, %r9d
addl %r8d, %r9d
movsbl 0x2(%r12), %r8d
shll $0x10, %r8d
movzbl 0x3(%r12), %edi
shll $0x18, %edi
addl %r8d, %edi
addl %r9d, %edi
movsbl 0x4(%r12), %r8d
addl %esi, %r8d
movsbl 0x5(%r12), %r9d
shll $0x8, %r9d
addl %r8d, %r9d
movsbl 0x6(%r12), %r8d
shll $0x10, %r8d
movzbl 0x7(%r12), %esi
shll $0x18, %esi
addl %r8d, %esi
addl %r9d, %esi
movsbl 0x8(%r12), %r8d
movsbl 0x9(%r12), %r9d
shll $0x8, %r9d
addl %r8d, %r9d
movsbl 0xa(%r12), %r8d
shll $0x10, %r8d
addl %edx, %r8d
addl %r9d, %r8d
movzbl 0xb(%r12), %edx
shll $0x18, %edx
addl %r8d, %edx
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
movl %edx, 0xa4(%rbx)
addq $0xc, %r12
addl $-0xc, %ecx
cmpl $0xb, %ecx
ja 0x3332
leal 0x1c(%rdx), %ecx
movl $0xffffffe4, %r8d       # imm = 0xFFFFFFE4
subl %edx, %r8d
movl %ecx, 0xa4(%rbx)
movzbl 0x3(%r12), %r9d
shll $0x18, %r9d
movsbl 0x2(%r12), %r10d
shll $0x10, %r10d
addl %r9d, %r10d
movsbl 0x1(%r12), %r9d
shll $0x8, %r9d
addl %r10d, %r9d
movsbl (%r12), %r10d
addl %r9d, %r10d
addl %edi, %r10d
addl %r8d, %r10d
subl %esi, %r10d
shrl $0xd, %ecx
xorl %r10d, %ecx
addl %esi, %r8d
subl %ecx, %r8d
movl %ecx, %esi
shll $0x8, %esi
xorl %r8d, %esi
leal (%rcx,%rsi), %edi
negl %edi
addl %edi, %edx
addl $0x1c, %edx
movl %esi, %edi
shrl $0xd, %edi
xorl %edx, %edi
subl %esi, %ecx
subl %edi, %ecx
movl %edi, %edx
shrl $0xc, %edx
xorl %ecx, %edx
subl %edi, %esi
subl %edx, %esi
movl %edx, %ecx
shll $0x10, %ecx
xorl %esi, %ecx
subl %edx, %edi
subl %ecx, %edi
movl %ecx, %esi
shrl $0x5, %esi
xorl %edi, %esi
subl %ecx, %edx
subl %esi, %edx
movl %esi, %edi
shrl $0x3, %edi
xorl %edx, %edi
subl %esi, %ecx
subl %edi, %ecx
movl %edi, %edx
shll $0xa, %edx
xorl %ecx, %edx
addl %edx, %edi
subl %edi, %esi
shrl $0xf, %edx
xorl %esi, %edx
movl %edx, 0xa4(%rbx)
movq 0x70(%rax), %rcx
movl 0x8(%rcx), %eax
decl %eax
andl %edx, %eax
movq (%rcx), %rdx
shlq $0x4, %rax
leaq (%rdx,%rax), %rcx
incl 0x8(%rdx,%rax)
movq (%rdx,%rax), %rdx
movq %rdx, 0x90(%rbx)
movq $0x0, 0x88(%rbx)
testq %rdx, %rdx
je 0x353b
movq %r15, 0x18(%rdx)
movq %r15, (%rcx)
movq 0x3d1b(%rip), %rcx      # 0x7260
movq 0x70(%rcx), %rcx
movq (%rcx), %rcx
movl 0xc(%rcx,%rax), %edx
leal (%rdx,%rdx,4), %edx
leal 0xa(,%rdx,2), %edx
cmpl %edx, 0x8(%rcx,%rax)
jb 0x3669
cmpl $0x1, 0x34(%r14)
je 0x3669
movl 0x8(%r14), %r12d
leal (%r12,%r12), %r13d
movq %r13, %rsi
shlq $0x4, %rsi
movl $0x1, %edi
callq 0x2100
testq %rax, %rax
je 0x3673
movq %rax, %rbx
movl 0x10(%r14), %esi
movb 0xc(%r14), %cl
incb %cl
decl %r13d
movl %r13d, %eax
andl %esi, %eax
shrl %cl, %esi
cmpl $0x1, %eax
sbbl $-0x1, %esi
movl %esi, 0x28(%r14)
movl $0x0, 0x2c(%r14)
movq (%r14), %rdi
testq %r12, %r12
je 0x3631
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %r8, %rax
shlq $0x4, %rax
movq (%rdi,%rax), %r9
testq %r9, %r9
je 0x3629
movq 0x20(%r9), %r10
movl 0x34(%r9), %edx
andl %r13d, %edx
shlq $0x4, %rdx
leaq (%rbx,%rdx), %r11
movl 0x8(%rbx,%rdx), %eax
incl %eax
movl %eax, 0x8(%rbx,%rdx)
cmpl %esi, %eax
jbe 0x3606
incl %ecx
movl %ecx, 0x2c(%r14)
xorl %edx, %edx
divl %esi
movl %eax, 0xc(%r11)
movq $0x0, 0x18(%r9)
movq (%r11), %rax
movq %rax, 0x20(%r9)
testq %rax, %rax
je 0x361e
movq %r9, 0x18(%rax)
movq %r9, (%r11)
movq %r10, %r9
testq %r10, %r10
jne 0x35d7
incq %r8
cmpq %r12, %r8
jne 0x35c7
callq 0x21c0
movq (%r15), %rax
shll 0x8(%rax)
incl 0xc(%rax)
movq %rbx, (%rax)
movl 0x10(%rax), %ecx
shrl %ecx
cmpl %ecx, 0x2c(%rax)
jbe 0x3662
movl 0x30(%rax), %ecx
incl %ecx
movl %ecx, 0x30(%rax)
cmpl $0x2, %ecx
jb 0x3669
movl $0x1, 0x34(%rax)
jmp 0x3669
movl $0x0, 0x30(%rax)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x21d0