// File: vsklad[P]cgen/./bal/io/textreader.hpp
// Function: TextReader::read_uint32(unsigned int, unsigned int)
inline uint32_t read_uint32(const uint32_t min_value = 0, const uint32_t max_value = UINT32_MAX) {
        load_next_token();
        if (current_token_type_ == ttDec) {
            uint64_t result = 0;
            auto index = 0;
            while (index < current_token_len_) {
                // this is checked when parsing the token already
                assert(_is_digit(current_line_[current_token_pos_ + index]));
                result = result * 10 + (current_line_[current_token_pos_ + index] - '0');
                if (result < min_value || result > max_value) {
                    parse_error(std::string("The unsigned int 32 bit value is out of bounds: ") +
                                std::to_string(min_value) + std::string("..") + std::to_string(max_value));
                };
                index++;
            };
            skip_token();
            return (uint32_t)result;
        };
        parse_error("Expect an unsigned int 32 bit value");
        return 0;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp            # imm = 0x180
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x272c0
movq -0x158(%rbp), %rax
cmpl $0x1, 0x40(%rax)
jne 0x25ff2
movq $0x0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x158(%rbp), %rcx
movslq -0x24(%rbp), %rax
cmpq 0x10(%rcx), %rax
jae 0x25fda
movq -0x158(%rbp), %rax
movq %rax, %rdi
addq $0x18, %rdi
movq 0x8(%rax), %rsi
movslq -0x24(%rbp), %rax
addq %rax, %rsi
callq 0xd630
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x30, %ecx
movb %al, -0x159(%rbp)
jl 0x25ce5
movq -0x158(%rbp), %rax
movq %rax, %rdi
addq $0x18, %rdi
movq 0x8(%rax), %rsi
movslq -0x24(%rbp), %rax
addq %rax, %rsi
callq 0xd630
movsbl (%rax), %eax
cmpl $0x39, %eax
setle %al
movb %al, -0x159(%rbp)
movb -0x159(%rbp), %al
testb $0x1, %al
jne 0x25cf1
jmp 0x25cf3
jmp 0x25d12
leaq 0x3c229(%rip), %rdi     # 0x61f23
leaq 0x3c257(%rip), %rsi     # 0x61f58
movl $0x171, %edx            # imm = 0x171
leaq 0x3c263(%rip), %rcx     # 0x61f70
callq 0xd1c0
movq -0x158(%rbp), %rax
imulq $0xa, -0x20(%rbp), %rcx
movq %rcx, -0x168(%rbp)
movq %rax, %rdi
addq $0x18, %rdi
movq 0x8(%rax), %rsi
movslq -0x24(%rbp), %rax
addq %rax, %rsi
callq 0xd630
movq %rax, %rcx
movq -0x168(%rbp), %rax
movsbl (%rcx), %ecx
subl $0x30, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl -0x14(%rbp), %ecx
cmpq %rcx, %rax
jb 0x25d72
movq -0x20(%rbp), %rax
movl -0x18(%rbp), %ecx
cmpq %rcx, %rax
jbe 0x25fcc
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0xd5b0
movq -0x170(%rbp), %rdx
leaq 0x3c21e(%rip), %rsi     # 0x61fb1
leaq -0xa8(%rbp), %rdi
callq 0xd440
jmp 0x25da1
movl -0x14(%rbp), %esi
leaq -0xe0(%rbp), %rdi
callq 0x260b0
jmp 0x25db2
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
leaq -0xe0(%rbp), %rdx
callq 0x28080
jmp 0x25dce
leaq -0x101(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0xd5b0
movq -0x178(%rbp), %rdx
leaq 0x3c1f3(%rip), %rsi     # 0x61fe2
leaq -0x100(%rbp), %rdi
callq 0xd440
jmp 0x25dfd
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0x100(%rbp), %rdx
callq 0x28080
jmp 0x25e16
movl -0x18(%rbp), %esi
leaq -0x128(%rbp), %rdi
callq 0x260b0
jmp 0x25e27
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x28080
jmp 0x25e3d
movq -0x158(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x262a0
jmp 0x25e4f
leaq -0x48(%rbp), %rdi
callq 0xd1b0
leaq -0x128(%rbp), %rdi
callq 0xd1b0
leaq -0x68(%rbp), %rdi
callq 0xd1b0
leaq -0x100(%rbp), %rdi
callq 0xd1b0
leaq -0x101(%rbp), %rdi
callq 0xd370
leaq -0x88(%rbp), %rdi
callq 0xd1b0
leaq -0xe0(%rbp), %rdi
callq 0xd1b0
leaq -0xa8(%rbp), %rdi
callq 0xd1b0
leaq -0xa9(%rbp), %rdi
callq 0xd370
jmp 0x25fcc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25fbb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25faf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25fa3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25f8b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25f7f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25f76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x25f6a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
leaq -0x48(%rbp), %rdi
callq 0xd1b0
leaq -0x128(%rbp), %rdi
callq 0xd1b0
leaq -0x68(%rbp), %rdi
callq 0xd1b0
leaq -0x100(%rbp), %rdi
callq 0xd1b0
leaq -0x101(%rbp), %rdi
callq 0xd370
leaq -0x88(%rbp), %rdi
callq 0xd1b0
leaq -0xe0(%rbp), %rdi
callq 0xd1b0
leaq -0xa8(%rbp), %rdi
callq 0xd1b0
leaq -0xa9(%rbp), %rdi
callq 0xd370
jmp 0x260a3
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x25c75
movq -0x158(%rbp), %rdi
callq 0x26900
movq -0x20(%rbp), %rax
movl %eax, -0x4(%rbp)
jmp 0x26097
leaq -0x149(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq 0xd5b0
movq -0x180(%rbp), %rdx
leaq 0x3bfd2(%rip), %rsi     # 0x61fe5
leaq -0x148(%rbp), %rdi
callq 0xd440
jmp 0x26021
movq -0x158(%rbp), %rdi
leaq -0x148(%rbp), %rsi
callq 0x262a0
jmp 0x26036
leaq -0x148(%rbp), %rdi
callq 0xd1b0
leaq -0x149(%rbp), %rdi
callq 0xd370
movl $0x0, -0x4(%rbp)
jmp 0x26097
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
jmp 0x26089
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb8(%rbp)
movl %eax, -0xbc(%rbp)
leaq -0x148(%rbp), %rdi
callq 0xd1b0
leaq -0x149(%rbp), %rdi
callq 0xd370
jmp 0x260a3
movl -0x4(%rbp), %eax
addq $0x180, %rsp            # imm = 0x180
popq %rbp
retq
movq -0xb8(%rbp), %rdi
callq 0xd5a0
nop