// File: /workspace/github_cpp_makefile_star2_O3/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 0x29a0(%rip), %rax      # 0x4d28
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 0x2890
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 0x2480
movl 0x8(%r15), %eax
testl %eax, %eax
je 0x2480
leal 0x1(%rax), %esi
lock
cmpxchgl %esi, 0x8(%r15)
jne 0x2463
movl 0x8(%r15), %eax
testl %eax, %eax
je 0x2483
movq -0x60(%rbp), %rsi
jmp 0x2485
xorl %r15d, %r15d
xorl %esi, %esi
subq %rdx, %rcx
sarq $0x5, %rcx
movl 0x8(%rbx), %eax
testl %eax, %eax
je 0x24b4
leal 0x1(%rax), %edx
lock
cmpxchgl %edx, 0x8(%rbx)
jne 0x248f
movl 0x8(%rbx), %eax
testl %eax, %eax
movq -0x80(%rbp), %rax
movl $0x0, %edx
cmoveq %rdx, %rax
movq %rbx, %rdi
jmp 0x24b8
xorl %edi, %edi
xorl %eax, %eax
movb $0x1, %r13b
cmpq %rax, %rsi
jne 0x24d1
testq %rsi, %rsi
setne %al
cmpq %rcx, -0x50(%rbp)
setne %r13b
andb %al, %r13b
testq %rdi, %rdi
je 0x24db
callq 0x2be6
testq %r15, %r15
je 0x24e8
movq %r15, %rdi
callq 0x2be6
movq 0x2ac9(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
je 0x24ff
movl 0xc(%rbx), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rbx)
jmp 0x2509
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rbx)
cmpl $0x1, %eax
jne 0x2517
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
testb %r13b, %r13b
je 0x2676
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 0xb0c(%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 0x2c52
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x258f
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 0x25a8
callq 0x2be6
shlq $0x5, %r15
movq (%r13,%r15), %rsi
movq 0x8(%r13,%r15), %rdx
movq 0x2a03(%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 0xa78(%rip), %xmm0      # 0x3095
movups %xmm0, 0x10(%rax)
movups 0xa5d(%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 0x2c52
movq -0x68(%rbp), %rdi
testq %rdi, %rdi
je 0x2658
callq 0x2be6
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x266d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
incq -0x50(%rbp)
jmp 0x2439
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x26ab
movq 0x2932(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
je 0x2696
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0x26a0
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x26ab
movq (%rdi), %rax
callq *0x18(%rax)
leaq -0x2a8(%rbp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2be6
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x26e1
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 0x2764
movq %rax, %r15
jmp 0x276c
jmp 0x2701
movq %rax, %r15
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x2723
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x2723
movq %rax, %r15
jmp 0x2758
movq %rax, %r15
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2758
movq 0x2885(%rip), %rax      # 0x4fb8
cmpb $0x0, (%rax)
jne 0x2744
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
jmp 0x274d
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
cmpl $0x1, %eax
jne 0x2758
movq (%rdi), %rax
callq *0x18(%rax)
leaq -0x2a8(%rbp), %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2be6
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x278e
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x2130
movq %r15, %rdi
callq 0x21b0