// File: /workspace/github_cpp_makefile_star2_O1/chrissimpkins[P]octopus/src/main.cpp
// Function: pathToPosts(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
inline void pathToPosts(string& path_to_posts) {
	string dir1 = "./source/_posts";
	string dir2 = "./_posts";
	string dir3 = "../source/_posts";
	string dir4 = "../_posts";
	string dir5 = "../../source/_posts";
	string dir6 = "../../../source/_posts";
	string dir7 = "../../../../source/_posts";
	string dir8 = "../../../../../source/_posts";
	// test for the correct path to the _posts directory from the pwd
	if (isDirPresent(dir1)) {
		path_to_posts = "./source/_posts";
	}
	else if (isDirPresent(dir2)) {
		path_to_posts = "./_posts";
	}
	else if (isDirPresent(dir3)) {
		path_to_posts = "../source/_posts";
	}
	else if (isDirPresent(dir4)) {
		path_to_posts = "../_posts";
	}
	else if (isDirPresent(dir5)) {
		path_to_posts = "../../source/_posts";
	}
	else if (isDirPresent(dir6)) {
		path_to_posts = "../../../source/_posts";
	}
	else if (isDirPresent(dir7)) {
		path_to_posts = "../../../../source/_posts";
	}
	else if (isDirPresent(dir8)) {
		path_to_posts = "../../../../../source/_posts";
	}
	else {
		// assume user in the _posts directory if other tests do not match (otherwise they are outside of their Octopress site directory altogether)
		path_to_posts = ".";
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdi, %rbx
leaq 0xd8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4997(%rip), %rbp      # 0x1060f
leaq 0x499f(%rip), %rdx      # 0x1061e
leaq 0xc8(%rsp), %rdi
movq %rbp, %rsi
callq 0xd216
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4957(%rip), %r13      # 0x105f9
leaq 0x4958(%rip), %rdx      # 0x10601
leaq 0xa8(%rsp), %rdi
movq %r13, %rsi
callq 0xd216
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4942(%rip), %r12      # 0x1060e
leaq 0x494b(%rip), %rdx      # 0x1061e
leaq 0x88(%rsp), %rdi
movq %r12, %rsi
callq 0xd216
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4905(%rip), %rsi      # 0x105f8
leaq 0x4907(%rip), %rdx      # 0x10601
leaq 0x68(%rsp), %rdi
callq 0xd216
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48f7(%rip), %r14      # 0x1060b
leaq 0x4903(%rip), %rdx      # 0x1061e
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0xd216
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48d0(%rip), %rsi      # 0x10608
leaq 0x48df(%rip), %rdx      # 0x1061e
leaq 0x28(%rsp), %rdi
callq 0xd216
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48ac(%rip), %rsi      # 0x10605
leaq 0x48be(%rip), %rdx      # 0x1061e
leaq 0x8(%rsp), %rdi
callq 0xd216
leaq 0xf8(%rsp), %rax
movq %rax, %r15
movq %rax, -0x10(%rax)
leaq 0x4882(%rip), %rsi      # 0x10602
leaq 0x4897(%rip), %rdx      # 0x1061e
leaq 0xe8(%rsp), %rdi
callq 0xd216
movq 0xc8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbdcb
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbdcb
movl $0xf, %r8d
jmp 0xbe6f
movq 0xa8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbe02
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbe02
movl $0x8, %r8d
movq %r13, %rbp
jmp 0xbe6f
movq 0x88(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbe39
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbe39
movl $0x10, %r8d
movq %r12, %rbp
jmp 0xbe6f
movq 0x68(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbe85
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbe85
movl $0x9, %r8d
leaq 0x4789(%rip), %rbp      # 0x105f8
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
xorl %esi, %esi
movq %rbp, %rcx
callq 0x3380
jmp 0xbf5d
movq 0x48(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbeb2
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
je 0xbf52
movq 0x28(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbee4
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbee4
leaq 0x4726(%rip), %r14      # 0x10608
jmp 0xbf52
movq 0x8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbf16
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbf16
leaq 0x46f1(%rip), %r14      # 0x10605
jmp 0xbf52
movq 0xe8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbf4b
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbf4b
leaq 0x46b9(%rip), %r14      # 0x10602
jmp 0xbf52
leaq 0x3712(%rip), %r14      # 0xf664
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3300
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0xbf7a
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xbf96
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xbfb2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xbfce
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xbfea
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xc00f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0xc034
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0xc059
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3270
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0xc090
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc090
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xc0b1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc0b1
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xc0d2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc0d2
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xc0f3
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc0f3
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xc114
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc114
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xc13e
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc13e
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0xc168
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc168
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0xc18d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3270
movq %rbx, %rdi
callq 0x33e0