// File: mahdibohloul[P]SnapTrip/./Business-Logic/Backend.cpp
// Function: Backend::fill_default_filter_info(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)
bool Backend::fill_default_filter_info(const data_t& data)
{
    if(!data.empty())
    {
        string activation_mode = find_info(ConstNames::Active, data);
        return (activation_mode == ConstNames::True) ? true : (activation_mode == ConstNames::False) ? false : throw Exception(ConstNames::Bad_Request_msg);
    }
    else
        throw Exception(ConstNames::Bad_Request_msg);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rdi
callq 0x80940
testb $0x1, %al
jne 0x7e08d
movq -0xa8(%rbp), %rsi
movq -0x18(%rbp), %rcx
leaq -0x38(%rbp), %rdi
leaq 0x99c4b(%rip), %rdx     # 0x117ba0
callq 0x7bad0
leaq -0x38(%rbp), %rdi
leaq 0x99c5b(%rip), %rsi     # 0x117bc0
callq 0x55080
movb $0x0, -0x41(%rbp)
movb $0x0, -0x75(%rbp)
testb $0x1, %al
jne 0x7df78
jmp 0x7df85
movb $0x1, %al
movb %al, -0xa9(%rbp)
jmp 0x7e00e
leaq -0x38(%rbp), %rdi
leaq 0x99c50(%rip), %rsi     # 0x117be0
callq 0x55080
testb $0x1, %al
jne 0x7df9b
jmp 0x7df9d
jmp 0x7e004
movl $0x28, %edi
callq 0x6210
movq %rax, %rcx
movq %rcx, -0xb8(%rbp)
movq %rax, -0x40(%rbp)
movb $0x1, -0x41(%rbp)
leaq 0x993c0(%rip), %rsi     # 0x117380
leaq -0x68(%rbp), %rdi
callq 0x61d0
jmp 0x7dfcb
movq -0xb8(%rbp), %rdi
movb $0x1, -0x75(%rbp)
leaq -0x68(%rbp), %rsi
callq 0xabc90
jmp 0x7dfe1
movq -0xb8(%rbp), %rdi
movb $0x0, -0x41(%rbp)
leaq 0x89c75(%rip), %rsi     # 0x107c68
leaq 0x2dd06(%rip), %rdx     # 0xabd00
callq 0x6710
jmp 0x7e13a
xorl %eax, %eax
movb %al, -0xa9(%rbp)
jmp 0x7e00e
movb -0xa9(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
testb $0x1, -0x75(%rbp)
jne 0x7e021
jmp 0x7e02a
leaq -0x68(%rbp), %rdi
callq 0x6828
leaq -0x38(%rbp), %rdi
callq 0x6828
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0xc0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x7e06e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
testb $0x1, -0x75(%rbp)
jne 0x7e063
jmp 0x7e06c
leaq -0x68(%rbp), %rdi
callq 0x6828
jmp 0x7e06e
testb $0x1, -0x41(%rbp)
jne 0x7e076
jmp 0x7e07f
movq -0x40(%rbp), %rdi
callq 0x6360
leaq -0x38(%rbp), %rdi
callq 0x6828
jmp 0x7e131
movb $0x1, -0x99(%rbp)
movl $0x28, %edi
callq 0x6210
movq %rax, -0xc0(%rbp)
leaq 0x992d4(%rip), %rsi     # 0x117380
leaq -0x98(%rbp), %rdi
callq 0x61d0
jmp 0x7e0ba
movq -0xc0(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0xabc90
jmp 0x7e0cf
movq -0xc0(%rbp), %rdi
movb $0x0, -0x99(%rbp)
leaq 0x89b84(%rip), %rsi     # 0x107c68
leaq 0x2dc15(%rip), %rdx     # 0xabd00
callq 0x6710
jmp 0x7e13a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
jmp 0x7e118
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x6828
testb $0x1, -0x99(%rbp)
jne 0x7e123
jmp 0x7e12f
movq -0xc0(%rbp), %rdi
callq 0x6360
jmp 0x7e131
movq -0x70(%rbp), %rdi
callq 0x6750
nopw (%rax,%rax)