// File: /workspace/github_cpp_makefile_star2_O1/besm6[P]pascal-re/pascompl.cc
// Function: Bitset::p[abi:cxx11]() const
std::string Bitset::p() const
{
    std::ostringstream ostr;
    ostr <<'[';
    Bitset t = *this;
    int64_t start = minel(t);
    int64_t prev = start;
    t = t - Bits(start);
    while (t != Bits()) {
        int64_t m = minel(t);
        if (m != prev + 1) {
            if (ostr.str().size() != 1) ostr << ',';
            ostr << start;
            if (start != prev)
                ostr << (prev-start == 1 ? "," : "..") << prev;
            start = m;
        }
        prev = m;
        t = t - Bits(m);
    }
    if (ostr.str().size() != 1) ostr << ',';
    if (start >= 0) {
        ostr << start;
        if (start != prev)
            ostr << (prev-start == 1 ? "," : "..") << prev;
    }
    ostr << ']';
    return ostr.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x40(%rsp), %r14
movq %r14, %rdi
callq 0x3320
leaq 0x8(%rsp), %rsi
movb $0x5b, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
movabsq $0xffffffffffff, %rbp   # imm = 0xFFFFFFFFFFFF
movabsq $0x7fffffffffff, %r13   # imm = 0x7FFFFFFFFFFF
movq (%rbx), %rax
movq %rax, %rcx
shlq $0x10, %rcx
je 0x515f
leaq 0x1(%r13), %rcx
testq %rcx, %rax
je 0x5168
xorl %r15d, %r15d
jmp 0x5179
movq $-0x1, %r15
jmp 0x5179
movq %rax, %rcx
andq %r13, %rcx
bsrq %rcx, %r15
notq %r15
addq $0x30, %r15
movq %r12, 0x30(%rsp)
movb $0x2f, %cl
subb %r15b, %cl
movq %rbp, %r12
btrq %rcx, %r12
andq %rax, %r12
je 0x5290
leaq 0x1(%r13), %rbx
movq %r15, %r14
movq %r14, %rcx
movq %r12, %rax
andq %r13, %rax
bsrq %rax, %r14
notq %r14
addq $0x30, %r14
testq %rbx, %r12
movl $0x0, %eax
cmovneq %rax, %r14
movq %rcx, 0x28(%rsp)
leaq 0x1(%rcx), %rax
cmpq %rax, %r14
je 0x5279
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x33b0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rcx
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5206
movq 0x18(%rsp), %rsi
incq %rsi
movq %rcx, 0x38(%rsp)
callq 0x3260
movq 0x38(%rsp), %rcx
cmpq $0x1, %rcx
je 0x5225
movb $0x2c, 0x8(%rsp)
movl $0x1, %edx
leaq 0x40(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x32c0
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x3220
movq 0x28(%rsp), %rax
subq %r15, %rax
movq %r14, %r15
je 0x5279
xorl %edx, %edx
cmpq $0x1, %rax
leaq 0x1792d(%rip), %rsi     # 0x1cb79
leaq 0x17ffe(%rip), %rax     # 0x1d251
cmoveq %rax, %rsi
setne %dl
incq %rdx
leaq 0x40(%rsp), %rdi
callq 0x32c0
leaq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x3220
movq %r14, %r15
movb $0x2f, %al
subb %r14b, %al
movq %rbp, %rcx
btrq %rax, %rcx
andq %rcx, %r12
jne 0x519a
jmp 0x5293
movq %r15, %r14
leaq 0x48(%rsp), %r12
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x33b0
movq 0x30(%rsp), %r13
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
movq -0x8(%rax), %rbx
cmpq %rax, %rdi
je 0x52c9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
cmpq $0x1, %rbx
je 0x52e6
leaq 0x8(%rsp), %rsi
movb $0x2c, (%rsi)
leaq 0x40(%rsp), %rdi
movl $0x1, %edx
callq 0x32c0
testq %r15, %r15
js 0x5335
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x3220
movq %r14, %rax
subq %r15, %rax
je 0x5335
xorl %edx, %edx
cmpq $0x1, %rax
leaq 0x17f44(%rip), %rax     # 0x1d251
leaq 0x17865(%rip), %rsi     # 0x1cb79
cmoveq %rax, %rsi
setne %dl
incq %rdx
leaq 0x40(%rsp), %rdi
callq 0x32c0
leaq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0x3220
leaq 0x8(%rsp), %rsi
movb $0x5d, (%rsi)
leaq 0x40(%rsp), %rdi
movl $0x1, %edx
callq 0x32c0
movq %r13, %rdi
movq %r12, %rsi
callq 0x33b0
movq 0x1ec6a(%rip), %rsi     # 0x23fc8
leaq 0x40(%rsp), %rdi
callq 0x3130
leaq 0xb0(%rsp), %rdi
callq 0x30a0
movq %r13, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5392
jmp 0x5392
jmp 0x5392
jmp 0x5392
movq %rax, %rbx
movq 0x1ec2c(%rip), %rsi     # 0x23fc8
leaq 0x40(%rsp), %rdi
callq 0x3130
leaq 0xb0(%rsp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x3410