// File: /workspace/github_c_makefile_star2_O0/barabo[P]advanced-shell-history/src/logger.cpp
// Function: get_target[abi:cxx11](ash::Severity)
string get_target(const Severity level) {
  Config & config = Config::instance();

  // Default to /dev/null if the visibility is too low for this Logger.
  const Severity visible = parse(config.get_string("LOG_LEVEL", "DEBUG"));
  if (level < visible) return "/dev/null";
  // Use the configured target file.
  return config.get_string("LOG_FILE", "/dev/null");
}

// Assembly:
subq $0x148, %rsp            # imm = 0x148
movq %rdi, 0x38(%rsp)
movq %rdi, %rax
movq %rax, 0x40(%rsp)
movq %rdi, 0x140(%rsp)
movl %esi, 0x13c(%rsp)
callq 0x90ab0
movq %rax, 0x130(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0x48(%rsp)
leaq 0xe7(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x87f0
movq 0x50(%rsp), %rdx
leaq 0x11f8e(%rip), %rsi     # 0xb2d29
leaq 0xe8(%rsp), %rdi
callq 0x85b0
jmp 0xa0daa
leaq 0xaf(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x87f0
movq 0x30(%rsp), %rdx
leaq 0x11f3a(%rip), %rsi     # 0xb2d02
leaq 0xb0(%rsp), %rdi
callq 0x85b0
jmp 0xa0dd7
movq 0x48(%rsp), %rsi
leaq 0x108(%rsp), %rdi
leaq 0xe8(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
callq 0x909d0
jmp 0xa0dfb
leaq 0x108(%rsp), %rdi
callq 0xa0be0
movl %eax, 0x2c(%rsp)
jmp 0xa0e0e
leaq 0x108(%rsp), %rdi
callq 0x88f8
jmp 0xa0e1d
leaq 0xb0(%rsp), %rdi
callq 0x88f8
jmp 0xa0e2c
leaq 0xaf(%rsp), %rdi
callq 0x84a0
leaq 0xe8(%rsp), %rdi
callq 0x88f8
jmp 0xa0e48
leaq 0xe7(%rsp), %rdi
callq 0x84a0
movl 0x2c(%rsp), %eax
movl %eax, 0x12c(%rsp)
movl 0x13c(%rsp), %eax
cmpl 0x12c(%rsp), %eax
jge 0xa0f81
leaq 0xae(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x87f0
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x11e9c(%rip), %rsi     # 0xb2d33
callq 0x85b0
jmp 0xa0e9e
leaq 0xae(%rsp), %rdi
callq 0x84a0
jmp 0xa10ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xa0f49
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xa0f2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xa0f1a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x88f8
jmp 0xa0f18
jmp 0xa0f1a
leaq 0xb0(%rsp), %rdi
callq 0x88f8
jmp 0xa0f29
jmp 0xa0f2b
leaq 0xaf(%rsp), %rdi
callq 0x84a0
leaq 0xe8(%rsp), %rdi
callq 0x88f8
jmp 0xa0f47
jmp 0xa0f49
leaq 0xe7(%rsp), %rdi
callq 0x84a0
jmp 0xa10b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0xae(%rsp), %rdi
callq 0x84a0
jmp 0xa10b9
movq 0x130(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x87(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x87f0
movq 0x18(%rsp), %rdx
leaq 0x11d91(%rip), %rsi     # 0xb2d3d
leaq 0x88(%rsp), %rdi
callq 0x85b0
jmp 0xa0fbb
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x87f0
movq 0x8(%rsp), %rdx
leaq 0x11d5d(%rip), %rsi     # 0xb2d33
leaq 0x60(%rsp), %rdi
callq 0x85b0
jmp 0xa0fe2
movq 0x10(%rsp), %rsi
movq 0x38(%rsp), %rdi
leaq 0x88(%rsp), %rdx
leaq 0x60(%rsp), %rcx
callq 0x909d0
jmp 0xa1000
leaq 0x60(%rsp), %rdi
callq 0x88f8
jmp 0xa100c
leaq 0x5f(%rsp), %rdi
callq 0x84a0
leaq 0x88(%rsp), %rdi
callq 0x88f8
jmp 0xa1025
leaq 0x87(%rsp), %rdi
callq 0x84a0
jmp 0xa10ac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xa109d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
jmp 0xa1082
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xd8(%rsp)
movl %eax, 0xd4(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x88f8
jmp 0xa1080
jmp 0xa1082
leaq 0x5f(%rsp), %rdi
callq 0x84a0
leaq 0x88(%rsp), %rdi
callq 0x88f8
jmp 0xa109b
jmp 0xa109d
leaq 0x87(%rsp), %rdi
callq 0x84a0
jmp 0xa10b9
movq 0x40(%rsp), %rax
addq $0x148, %rsp            # imm = 0x148
retq
movq 0xd8(%rsp), %rdi
callq 0x87d0
movq %rax, %rdi
callq 0x8cf60
nop