// File: /workspace/github_cpp_makefile_star2_O3/buildsi[P]ldaudit-yaml/auditlib.cpp
// Function: la_activity
void la_activity (uintptr_t *cookie, unsigned int flag) {

  std::string flagName;
  std::string desc;
  switch(flag) {
    case LA_ACT_CONSISTENT:
      flagName = "LA_ACT_CONSISTENT";
      desc = "Link-map activity has been completed (map is consistent)";
      break;
    case LA_ACT_ADD:
      flagName = "LA_ACT_ADD";
      desc = "New objects are being added to the link map.";
      break;
    case LA_ACT_DELETE:
      flagName = "LA_ACT_DELETE";
      desc = "Objects are being removed from the link map.";
      break;
    default:
      flagName = "???";
    }

  std::stringstream ss;
  ss << cookie;
   
  std::string output = "  - event: activity_occurring\n    function: la_activity\n    initiated_by: " + ss.str() + "\n    flag: " + flagName + "\n    description: "+ desc +"\n";
  doPrint(output);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp            # imm = 0x2D8
movq %rdi, %rbx
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %edx, %edx
movq %rdx, -0x8(%rax)
movb %dl, (%rax)
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rdx, -0x8(%rax)
movb %dl, (%rax)
cmpl $0x2, %esi
je 0x3483
cmpl $0x1, %esi
je 0x3459
testl %esi, %esi
jne 0x34b6
leaq 0x2ee8(%rip), %rcx      # 0x631e
leaq 0x10(%rsp), %rdi
movl $0x11, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x21f0
movl $0x38, %r8d
leaq 0x2ed9(%rip), %rcx      # 0x6330
jmp 0x34ab
leaq 0x2f09(%rip), %rcx      # 0x6369
leaq 0x10(%rsp), %rdi
movl $0xa, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x21f0
movl $0x2c, %r8d
leaq 0x2ef3(%rip), %rcx      # 0x6374
jmp 0x34ab
leaq 0x2f17(%rip), %rcx      # 0x63a1
leaq 0x10(%rsp), %rdi
movl $0xd, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x21f0
movl $0x2c, %r8d
leaq 0x2f04(%rip), %rcx      # 0x63af
leaq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rdx
jmp 0x34c8
movl $0x3, %r8d
leaq 0x2f19(%rip), %rcx      # 0x63dc
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x21f0
leaq 0x150(%rsp), %rdi
callq 0x20b0
leaq 0x160(%rsp), %rdi
movq %rbx, %rsi
callq 0x20e0
leaq 0x168(%rsp), %rsi
leaq 0x130(%rsp), %rdi
callq 0x2200
leaq 0x2ed8(%rip), %rcx      # 0x63e0
leaq 0x130(%rsp), %rdi
movl $0x4a, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x2140
leaq 0x80(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x354d
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0x3555
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2eb3(%rip), %rsi      # 0x642b
callq 0x2250
leaq 0xa0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x35ad
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x35b5
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x90(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x2060
leaq 0xc0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3613
movq %rdx, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0x361a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xb0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2df7(%rip), %rsi      # 0x6437
callq 0x2250
leaq 0xe0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3675
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x367c
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0xd0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
callq 0x2060
leaq 0x100(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x36da
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x36e1
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0xf0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2bf3(%rip), %rsi      # 0x62fa
callq 0x2250
leaq 0x60(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3733
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x3739
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0xf0(%rsp), %rdi
cmpq %r15, %rdi
je 0x376e
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x378b
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x37a8
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x90(%rsp), %rdi
cmpq %r13, %rdi
je 0x37c5
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x37df
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2130
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3800
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2130
leaq 0x120(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
leaq 0x110(%rsp), %rdi
callq 0x2090
leaq 0x110(%rsp), %rdi
callq 0x2823
movq 0x110(%rsp), %rdi
cmpq %r14, %rdi
je 0x3850
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
leaq 0x20(%rsp), %rbx
leaq 0x40(%rsp), %r14
je 0x3871
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x5740(%rip), %rsi      # 0x8fb8
leaq 0x150(%rsp), %rdi
callq 0x20d0
leaq 0x1d0(%rsp), %rdi
callq 0x2070
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x38a9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x38c0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2130
addq $0x2d8, %rsp            # imm = 0x2D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, 0x8(%rsp)
movq 0x110(%rsp), %rdi
cmpq %r14, %rdi
je 0x38fb
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x38fb
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x39f3
movq 0x60(%rsp), %rsi
jmp 0x39e2
movq %rax, 0x8(%rsp)
movq 0xf0(%rsp), %rdi
cmpq %r15, %rdi
je 0x393c
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x393c
movq %rax, 0x8(%rsp)
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x3960
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x3960
movq %rax, 0x8(%rsp)
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3984
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x3984
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rdi
cmpq %r13, %rdi
je 0x39a8
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x39a8
movq %rax, 0x8(%rsp)
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x39c9
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x39c9
movq %rax, 0x8(%rsp)
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39f3
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x39f3
jmp 0x39ee
movq %rax, 0x8(%rsp)
movq 0x55be(%rip), %rsi      # 0x8fb8
leaq 0x150(%rsp), %rdi
callq 0x20d0
leaq 0x1d0(%rsp), %rdi
callq 0x2070
jmp 0x3a1d
jmp 0x3a18
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x3a39
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3a55
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x8(%rsp), %rdi
callq 0x2230