// File: /workspace/github_cpp_makefile_star2_O1/donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGuiTextFilter::TextRange::split(char, ImVector<ImGuiTextFilter::TextRange>&)
void ImGuiTextFilter::TextRange::split(char separator, ImVector<TextRange>& out)
{
    out.resize(0);
    const char* wb = b;
    const char* we = wb;
    while (we < e)
    {
        if (*we == separator)
        {
            out.push_back(TextRange(wb, we));
            wb = we + 1;
        }
        we++;
    }
    if (wb != we)
        out.push_back(TextRange(wb, we));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rdi, %r15
movl 0x4(%rdx), %eax
testl %eax, %eax
movl %esi, -0x2c(%rbp)
jns 0x9f93
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r14d, %r14d
testl %ecx, %ecx
cmovgl %ecx, %r14d
movq %r14, %rdi
shlq $0x4, %rdi
movq 0x4b54d(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r12
movq 0x8(%rbx), %rsi
movslq (%rbx), %rdx
shlq $0x4, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x9f7b
movq 0x4b51b(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x4b50e(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r12, 0x8(%rbx)
movl %r14d, 0x4(%rbx)
movl -0x2c(%rbp), %esi
movl $0x0, (%rbx)
movq (%r15), %r13
cmpq 0x8(%r15), %r13
jae 0xa079
movq %r13, %r12
cmpb %sil, (%r13)
jne 0xa06a
movl (%rbx), %r14d
movl 0x4(%rbx), %eax
cmpl %eax, %r14d
jne 0xa04d
testl %eax, %eax
je 0x9fd3
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x9fd8
movl $0x8, %ecx
incl %r14d
cmpl %r14d, %ecx
cmovgl %ecx, %r14d
cmpl %r14d, %eax
jge 0xa04d
movq %r12, -0x38(%rbp)
movslq %r14d, %rdi
shlq $0x4, %rdi
movq 0x4b497(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r12
movq 0x8(%rbx), %rsi
movslq (%rbx), %rdx
shlq $0x4, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xa031
movq 0x4b465(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x4b458(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r12, 0x8(%rbx)
movl %r14d, 0x4(%rbx)
movq -0x38(%rbp), %r12
movl -0x2c(%rbp), %esi
movq 0x8(%rbx), %rax
movslq (%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
movq %r13, 0x8(%rax,%rcx)
leaq 0x1(%r13), %r12
incq %r13
cmpq 0x8(%r15), %r13
jb 0x9fa9
jmp 0xa07c
movq %r13, %r12
cmpq %r13, %r12
je 0xa12d
movl (%rbx), %r15d
movl 0x4(%rbx), %eax
cmpl %eax, %r15d
jne 0xa114
incl %r15d
testl %eax, %eax
je 0xa0a8
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0xa0ad
movl $0x8, %ecx
cmpl %r15d, %ecx
cmovgl %ecx, %r15d
cmpl %r15d, %eax
jge 0xa114
movslq %r15d, %rdi
shlq $0x4, %rdi
movq 0x4b3c9(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r14
movq 0x8(%rbx), %rsi
movslq (%rbx), %rdx
shlq $0x4, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0xa0ff
movq 0x4b397(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x4b38a(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r14, 0x8(%rbx)
movl %r15d, 0x4(%rbx)
movq 0x8(%rbx), %rax
movslq (%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, (%rbx)
shlq $0x4, %rcx
movq %r12, (%rax,%rcx)
movq %r13, 0x8(%rax,%rcx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq