// File: /workspace/github_cpp_makefile_star2_O3/loadzero[P]geoloc/geoloc/locations.hpp
// Function: LocationParser::consume(Buffer const&)
void consume(const Buffer &b)
    {
        line_++;
        if (line_ < 3) return;

        csv_split((const char*) b.data(), b.size(), scratch_, toks_);

        if (toks_.size() != 9)
        {
            return;
        }

        Location loc;

        loc.id = to_u(toks_[0]);
        loc.country = toks_[1];
        loc.region = toks_[2];
        loc.city = toks_[3];
        loc.lat = toks_[5];
        loc.lon = toks_[6];

        emit(Buffer(&loc, sizeof(loc)));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq 0x68(%rdi), %rax
incq %rax
movq %rax, 0x68(%rdi)
cmpq $0x3, %rax
jb 0x60ff
movq %rdi, %rbx
movq (%rsi), %rdi
movq 0x8(%rsi), %rsi
leaq 0x30(%rbx), %rdx
leaq 0x50(%rbx), %r14
movq %r14, %rcx
callq 0x4e0f
movq 0x50(%rbx), %rax
movq 0x58(%rbx), %rcx
subq %rax, %rcx
cmpq $0x48, %rcx
jne 0x60ff
leaq 0x8(%rsp), %r15
movl $0x0, -0x8(%r15)
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
xorl %ecx, %ecx
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movb %cl, (%rbp)
leaq 0x98(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq %rcx, -0x8(%rdx)
movb %cl, (%rdx)
movq (%rax), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x30b0
movl %eax, -0x78(%rbp)
movq (%r14), %rax
movq 0x8(%rax), %r12
movq -0x68(%rbp), %r13
movq %r12, %rdi
callq 0x3100
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x3300
leaq 0x28(%rsp), %r15
movq (%r14), %rax
movq 0x10(%rax), %r12
movq 0x8(%r15), %r13
movq %r12, %rdi
callq 0x3100
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x3300
leaq 0x48(%rsp), %r15
movq (%r14), %rax
movq 0x18(%rax), %r12
movq 0x8(%r15), %r13
movq %r12, %rdi
callq 0x3100
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x3300
leaq 0x68(%rsp), %r15
movq (%r14), %rax
movq 0x28(%rax), %r12
movq 0x8(%r15), %r13
movq %r12, %rdi
callq 0x3100
movq %r15, %rdi
xorl %esi, %esi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x3300
leaq 0x88(%rsp), %r15
movq (%r14), %rax
movq 0x30(%rax), %r14
movq 0x8(%r15), %r12
movq %r14, %rdi
callq 0x3100
movq %r15, %rdi
xorl %esi, %esi
movq %r12, %rdx
movq %r14, %rcx
movq %rax, %r8
callq 0x3300
movq %rsp, %rax
leaq 0xa8(%rsp), %rsi
movq %rax, (%rsi)
movq $0xa8, 0x8(%rsi)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x60b4
callq 0x31d0
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x60c3
callq 0x31d0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x60d7
callq 0x31d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x60eb
callq 0x31d0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x60ff
callq 0x31d0
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6113
movq %rax, %rbx
movq %rsp, %rdi
callq 0x612e
movq %rbx, %rdi
callq 0x3350
movq %rax, %rdi
callq 0x4185