// File: /workspace/github_cpp_makefile_star2_O1/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 0x348a
cmpl $0x1, %esi
je 0x3460
testl %esi, %esi
jne 0x34bd
leaq 0x2ee1(%rip), %rcx      # 0x631e
leaq 0x10(%rsp), %rdi
movl $0x11, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x21f0
movl $0x38, %r8d
leaq 0x2ed2(%rip), %rcx      # 0x6330
jmp 0x34b2
leaq 0x2f02(%rip), %rcx      # 0x6369
leaq 0x10(%rsp), %rdi
movl $0xa, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x21f0
movl $0x2c, %r8d
leaq 0x2eec(%rip), %rcx      # 0x6374
jmp 0x34b2
leaq 0x2f10(%rip), %rcx      # 0x63a1
leaq 0x10(%rsp), %rdi
movl $0xd, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x21f0
movl $0x2c, %r8d
leaq 0x2efd(%rip), %rcx      # 0x63af
leaq 0x30(%rsp), %rdi
movq 0x8(%rdi), %rdx
jmp 0x34cf
movl $0x3, %r8d
leaq 0x2f12(%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 0x2ed1(%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 0x3554
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
jmp 0x355c
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 0x2eac(%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 0x35b4
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x35bc
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 0x361a
movq %rdx, 0xb0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc0(%rsp)
jmp 0x3621
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 0x2df0(%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 0x367c
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x3683
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 0x36e1
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x36e8
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 0x2bec(%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 0x373a
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x3740
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 0x3775
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x3792
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x37af
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x90(%rsp), %rdi
cmpq %r13, %rdi
je 0x37cc
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x37e6
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2130
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3807
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 0x282a
movq 0x110(%rsp), %rdi
cmpq %r14, %rdi
je 0x3857
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
leaq 0x20(%rsp), %rbx
leaq 0x40(%rsp), %r14
je 0x3878
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x5739(%rip), %rsi      # 0x8fb8
leaq 0x150(%rsp), %rdi
callq 0x20d0
leaq 0x1d0(%rsp), %rdi
callq 0x2070
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x38b0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x38c7
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 0x3902
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x3902
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x39fa
movq 0x60(%rsp), %rsi
jmp 0x39e9
movq %rax, 0x8(%rsp)
movq 0xf0(%rsp), %rdi
cmpq %r15, %rdi
je 0x3943
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x3943
movq %rax, 0x8(%rsp)
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x3967
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x3967
movq %rax, 0x8(%rsp)
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x398b
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x398b
movq %rax, 0x8(%rsp)
movq 0x90(%rsp), %rdi
cmpq %r13, %rdi
je 0x39af
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x39af
movq %rax, 0x8(%rsp)
movq 0x70(%rsp), %rdi
cmpq %r12, %rdi
je 0x39d0
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x39d0
movq %rax, 0x8(%rsp)
leaq 0x140(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39fa
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x2130
jmp 0x39fa
jmp 0x39f5
movq %rax, 0x8(%rsp)
movq 0x55b7(%rip), %rsi      # 0x8fb8
leaq 0x150(%rsp), %rdi
callq 0x20d0
leaq 0x1d0(%rsp), %rdi
callq 0x2070
jmp 0x3a24
jmp 0x3a1f
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x3a40
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x3a5c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2130
movq 0x8(%rsp), %rdi
callq 0x2230