// File: /workspace/github_cpp_makefile_star2_O2/vsklad[P]cgen/commandline.cpp
// Function: CGenCommandLineReader::parse_variable_pad(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, CGenVariableInfo, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, CGenVariableInfo>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void CGenCommandLineReader::parse_variable_pad(CGenVariablesMap& variables_map, const std::string& variable_name) {
    if (variable_name.empty()) {
        parse_error(ERROR_PAD_MUST_FOLLOW_DEFINITION);
    };
    if (is_binary_variable_name(variable_name)) {
        parse_error(ERROR_BINARY_VARIABLE_PAD_INCOMPATIBLE);
    };
    
    CGenVariableInfo& variable_value = variables_map.find(variable_name)->second;
    
    if (variable_value.mode != vmValue) {
        parse_error(ERROR_PAD_MUST_FOLLOW_VALUE);
    };
    
    skip_token();
    read_symbol(':');
    if (is_token("sha1") || is_token("SHA1")) {
        variable_value.data = acl::SHA1<bal::Literal<bal::Cnf>>::pad_message(variable_value.data.data(),
                                                                             variable_value.data.size());
        skip_token();
    } else if (is_token("sha256") || is_token("SHA256")) {
        variable_value.data = acl::SHA256<bal::Literal<bal::Cnf>>::pad_message(variable_value.data.data(),
                                                                               variable_value.data.size());
        skip_token();
    } else {
        parse_error(ERROR_PAD_UNKNOWN_VALUE);
    };
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdx)
jne 0x16df1
movq (%rbx), %rax
movq -0x18(%rax), %r12
leaq 0x208c3(%rip), %rsi     # 0x3767f
leaq -0xc0(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xc0e0
addq %rbx, %r12
leaq -0xc0(%rbp), %rsi
movq %r12, %rdi
callq 0x189ce
leaq -0xc0(%rbp), %rdi
callq 0xc110
cmpq $0x0, 0x8(%r14)
je 0x16e3b
movq (%r14), %rax
movsbl (%rax), %eax
addl $-0x30, %eax
cmpl $0x9, %eax
ja 0x16e3b
movq (%rbx), %rax
movq -0x18(%rax), %r12
leaq 0x208ae(%rip), %rsi     # 0x376bb
leaq -0xa0(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xc0e0
addq %rbx, %r12
leaq -0xa0(%rbp), %rsi
movq %r12, %rdi
callq 0x189ce
leaq -0xa0(%rbp), %rdi
callq 0xc110
movq %r15, %rdi
movq %r14, %rsi
callq 0x19c10
movq %rax, %r14
cmpl $0x0, 0x40(%rax)
je 0x16e82
movq (%rbx), %rax
movq -0x18(%rax), %r15
leaq 0x2088e(%rip), %rsi     # 0x376eb
leaq -0x80(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xc0e0
addq %rbx, %r15
leaq -0x80(%rbp), %rsi
movq %r15, %rdi
callq 0x189ce
leaq -0x80(%rbp), %rdi
callq 0xc110
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movq 0x10(%rbx,%rcx), %rdx
addq %rdx, 0x8(%rbx,%rcx)
andq $0x0, 0x10(%rbx,%rcx)
andl $0x0, 0x40(%rbx,%rcx)
movq -0x18(%rax), %rdi
addq %rbx, %rdi
pushq $0x3a
popq %rsi
callq 0x18ac2
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
leaq 0x20880(%rip), %rsi     # 0x3773e
callq 0x18cd6
testb %al, %al
jne 0x16f15
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
leaq 0x2086b(%rip), %rsi     # 0x37743
callq 0x18cd6
testb %al, %al
jne 0x16f15
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
leaq 0x20856(%rip), %rsi     # 0x37748
callq 0x18cd6
testb %al, %al
jne 0x16f15
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
leaq 0x20843(%rip), %rsi     # 0x3774f
callq 0x18cd6
testb %al, %al
je 0x16f6f
movq %r14, %r15
addq $0x58, %r15
movq 0x58(%r14), %rsi
movl 0x60(%r14), %edx
leaq -0x40(%rbp), %r14
movq %r14, %rdi
callq 0x18ea2
movq %r15, %rdi
movq %r14, %rsi
callq 0x18e2a
movq %r14, %rdi
callq 0xde58
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq 0x10(%rbx,%rax), %rcx
addq %rcx, 0x8(%rbx,%rax)
andq $0x0, 0x10(%rbx,%rax)
andl $0x0, 0x40(%rbx,%rax)
addq $0xa0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rax
movq -0x18(%rax), %r14
leaq 0x207d9(%rip), %rsi     # 0x37756
leaq -0x60(%rbp), %rdi
leaq -0x40(%rbp), %rdx
callq 0xc0e0
addq %r14, %rbx
leaq -0x60(%rbp), %rsi
movq %rbx, %rdi
callq 0x189ce
leaq -0x60(%rbp), %rdi
callq 0xc110
jmp 0x16f5f
movq %rax, %rbx
leaq -0x60(%rbp), %rdi
jmp 0x16fd2
jmp 0x16fd9
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
jmp 0x16fd2
jmp 0x16fd9
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
jmp 0x16fd2
jmp 0x16fd9
movq %rax, %rbx
leaq -0x80(%rbp), %rdi
callq 0xc110
jmp 0x16fdc
movq %rax, %rbx
movq %rbx, %rdi
callq 0xc4c0