// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH12_DynamicMemory/examples/useBlob2.cc
// Function: main
int main(int argc, char const *argv[])
{
	string str;
	StrBlob blob;
	ifstream data("./data/storyDataFile");

	while (getline(data, str))
		blob.push_back(str);

	for (StrBlobPtr it= blob.begin(); neq(it, blob.end()); it.incr())
		cout << it.deref() << endl;

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
leaq -0x90(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl $0x28, %edi
callq 0x2120
movq %rax, %rbx
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%rbx)
leaq 0x2968(%rip), %rax      # 0x4cf0
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movq $0x0, 0x20(%rbx)
leaq 0xc63(%rip), %rsi       # 0x3004
leaq -0x2a8(%rbp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x21d0
movq %rbx, %r14
addq $0x10, %r14
leaq -0xa0(%rbp), %r12
movq -0x2a8(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x21e0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2404
movq %r14, %rdi
movq %r12, %rsi
callq 0x28bc
jmp 0x23c3
movq %r14, -0x60(%rbp)
movq %rbx, -0x58(%rbp)
movq 0x2ba5(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
movq %r14, -0x80(%rbp)
je 0x2421
incl 0xc(%rbx)
jmp 0x2425
lock
incl 0xc(%rbx)
leaq -0x60(%rbp), %rax
movq $0x0, 0x10(%rax)
leaq -0x38(%rbp), %r14
leaq -0x48(%rbp), %r12
movq 0x10(%rbx), %rdx
movq 0x18(%rbx), %rcx
movq 0x2b70(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
je 0x2452
incl 0xc(%rbx)
jmp 0x2456
lock
incl 0xc(%rbx)
movq -0x58(%rbp), %r15
testq %r15, %r15
je 0x2477
movl 0x8(%r15), %eax
testl %eax, %eax
je 0x2474
leal 0x1(%rax), %esi
lock
cmpxchgl %esi, 0x8(%r15)
jne 0x2463
jmp 0x2477
xorl %r15d, %r15d
testq %r15, %r15
je 0x2487
movl 0x8(%r15), %eax
testl %eax, %eax
sete %al
jmp 0x2489
movb $0x1, %al
testb %al, %al
jne 0x2493
movq -0x60(%rbp), %rsi
jmp 0x2495
xorl %esi, %esi
subq %rdx, %rcx
sarq $0x5, %rcx
movl 0x8(%rbx), %eax
testl %eax, %eax
je 0x24b2
leal 0x1(%rax), %edx
lock
cmpxchgl %edx, 0x8(%rbx)
jne 0x249f
movq %rbx, %rdi
jmp 0x24b4
xorl %edi, %edi
testq %rdi, %rdi
je 0x24cd
movl 0x8(%rdi), %eax
testl %eax, %eax
movq -0x80(%rbp), %rax
movl $0x0, %edx
cmoveq %rdx, %rax
jmp 0x24cf
xorl %eax, %eax
movb $0x1, %r13b
cmpq %rax, %rsi
jne 0x24e8
testq %rax, %rax
setne %al
cmpq %rcx, -0x50(%rbp)
setne %r13b
andb %al, %r13b
testq %rdi, %rdi
je 0x24f2
callq 0x2c42
testq %r15, %r15
je 0x24ff
movq %r15, %rdi
callq 0x2c42
movq 0x2ab2(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
je 0x2516
movl 0xc(%rbx), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rbx)
jmp 0x2520
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rbx)
cmpl $0x1, %eax
jne 0x252e
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
testb %r13b, %r13b
je 0x268d
movq -0x50(%rbp), %r15
movq %r14, -0x48(%rbp)
movq $0x14, -0x78(%rbp)
movq %r12, %rdi
leaq -0x78(%rbp), %rsi
xorl %edx, %edx
callq 0x21c0
movq %rax, -0x48(%rbp)
movq -0x78(%rbp), %rcx
movq %rcx, -0x38(%rbp)
movups 0xaf5(%rip), %xmm0      # 0x305d
movups %xmm0, (%rax)
movl $0x646e6520, 0x10(%rax) # imm = 0x646E6520
movq %rcx, -0x40(%rbp)
movq -0x48(%rbp), %rax
movb $0x0, (%rax,%rcx)
leaq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x2cae
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x25a6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x50(%rbp), %r15
movq -0x70(%rbp), %rax
movq -0x68(%rbp), %rdi
movq (%rax), %r13
testq %rdi, %rdi
je 0x25bf
callq 0x2c42
shlq $0x5, %r15
movq (%r13,%r15), %rsi
movq 0x8(%r13,%r15), %rdx
movq 0x29ec(%rip), %rdi      # 0x4fc0
callq 0x2140
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20b0
movq -0x50(%rbp), %r15
movq %r14, -0x48(%rbp)
movq $0x20, -0x70(%rbp)
movq %r12, %rdi
leaq -0x70(%rbp), %rsi
xorl %edx, %edx
callq 0x21c0
movq %rax, -0x48(%rbp)
movq -0x70(%rbp), %rcx
movq %rcx, -0x38(%rbp)
movups 0xa61(%rip), %xmm0      # 0x3095
movups %xmm0, 0x10(%rax)
movups 0xa46(%rip), %xmm0      # 0x3085
movups %xmm0, (%rax)
movq %rcx, -0x40(%rbp)
movq -0x48(%rbp), %rax
movb $0x0, (%rax,%rcx)
leaq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x2cae
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x266f
callq 0x2c42
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x2684
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
incq -0x50(%rbp)
jmp 0x2439
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x26c2
movq 0x291b(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
je 0x26ad
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x26b7
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x26c2
movq (%rdi), %rax
callq *0x18(%rax)
leaq -0x2a8(%rbp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2c42
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x26f8
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x2130
xorl %eax, %eax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
jmp 0x277b
movq %rax, %r15
jmp 0x2783
jmp 0x2718
movq %rax, %r15
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x273a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x273a
movq %rax, %r15
jmp 0x276f
movq %rax, %r15
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x276f
movq 0x286e(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
jne 0x275b
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
jmp 0x2764
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x276f
movq (%rdi), %rax
callq *0x18(%rax)
leaq -0x2a8(%rbp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2c42
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x27a5
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x2130
movq %r15, %rdi
callq 0x21b0
nop