// File: /workspace/github_cpp_makefile_star2_O3/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 0x490b(%rip), %rbp      # 0x1060f
leaq 0x4913(%rip), %rdx      # 0x1061e
leaq 0xc8(%rsp), %rdi
movq %rbp, %rsi
callq 0xd2b2
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48cb(%rip), %r13      # 0x105f9
leaq 0x48cc(%rip), %rdx      # 0x10601
leaq 0xa8(%rsp), %rdi
movq %r13, %rsi
callq 0xd2b2
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48b6(%rip), %r12      # 0x1060e
leaq 0x48bf(%rip), %rdx      # 0x1061e
leaq 0x88(%rsp), %rdi
movq %r12, %rsi
callq 0xd2b2
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4879(%rip), %rsi      # 0x105f8
leaq 0x487b(%rip), %rdx      # 0x10601
leaq 0x68(%rsp), %rdi
callq 0xd2b2
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x486b(%rip), %r14      # 0x1060b
leaq 0x4877(%rip), %rdx      # 0x1061e
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0xd2b2
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4844(%rip), %rsi      # 0x10608
leaq 0x4853(%rip), %rdx      # 0x1061e
leaq 0x28(%rsp), %rdi
callq 0xd2b2
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x4820(%rip), %rsi      # 0x10605
leaq 0x4832(%rip), %rdx      # 0x1061e
leaq 0x8(%rsp), %rdi
callq 0xd2b2
leaq 0xf8(%rsp), %rax
movq %rax, %r15
movq %rax, -0x10(%rax)
leaq 0x47f6(%rip), %rsi      # 0x10602
leaq 0x480b(%rip), %rdx      # 0x1061e
leaq 0xe8(%rsp), %rdi
callq 0xd2b2
movq 0xc8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbe57
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbe57
movl $0xf, %r8d
jmp 0xbefb
movq 0xa8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbe8e
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbe8e
movl $0x8, %r8d
movq %r13, %rbp
jmp 0xbefb
movq 0x88(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbec5
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbec5
movl $0x10, %r8d
movq %r12, %rbp
jmp 0xbefb
movq 0x68(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbf11
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbf11
movl $0x9, %r8d
leaq 0x46fd(%rip), %rbp      # 0x105f8
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
xorl %esi, %esi
movq %rbp, %rcx
callq 0x3380
jmp 0xbfe9
movq 0x48(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbf3e
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
je 0xbfde
movq 0x28(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbf70
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbf70
leaq 0x469a(%rip), %r14      # 0x10608
jmp 0xbfde
movq 0x8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbfa2
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbfa2
leaq 0x4665(%rip), %r14      # 0x10605
jmp 0xbfde
movq 0xe8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xbfd7
movl $0xf000, %eax           # imm = 0xF000
andl 0x120(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xbfd7
leaq 0x462d(%rip), %r14      # 0x10602
jmp 0xbfde
leaq 0x3686(%rip), %r14      # 0xf664
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3300
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0xc006
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xc022
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xc03e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xc05a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xc076
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xc09b
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0xc0c0
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0xc0e5
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 0xc11c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc11c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xc13d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc13d
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xc15e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc15e
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xc17f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc17f
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xc1a0
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc1a0
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xc1ca
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc1ca
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0xc1f4
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xc1f4
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0xc219
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x3270
movq %rbx, %rdi
callq 0x33e0