// File: /workspace/github_cpp_makefile_star2_O3/chrissimpkins[P]octopus/src/main.cpp
// Function: pathToPublic(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
inline void pathToPublic(string& path_to_public) {
	string dir1 = "./public";
	string dir2 = "../public";
	string dir3 = "../../public";
	string dir4 = "../../../public";
	string dir5 = "../../../../public";
	string dir6 = "../../../../../public";
	// test for the correct path to the public directory from the pwd
	if (isDirPresent(dir1)) {
		path_to_public = "./public";
	}
	else if (isDirPresent(dir2)) {
		path_to_public = "../public";
	}
	else if (isDirPresent(dir3)) {
		path_to_public = "../../public";
	}
	else if (isDirPresent(dir4)) {
		path_to_public = "../../../public";
	}
	else if (isDirPresent(dir5)) {
		path_to_public = "../../../../public";
	}
	else if (isDirPresent(dir6)) {
		path_to_public = "../../../../../public";
	}
	else {
		path_to_public = ".";
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rdi, %rbx
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3af8(%rip), %r12      # 0x1062c
leaq 0x3af9(%rip), %rdx      # 0x10634
leaq 0x88(%rsp), %rdi
movq %r12, %rsi
callq 0xd2b2
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3ad0(%rip), %r13      # 0x1062b
leaq 0x3ad2(%rip), %rdx      # 0x10634
leaq 0x68(%rsp), %rdi
movq %r13, %rsi
callq 0xd2b2
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3aa9(%rip), %rbp      # 0x10628
leaq 0x3aae(%rip), %rdx      # 0x10634
leaq 0x48(%rsp), %rdi
movq %rbp, %rsi
callq 0xd2b2
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3a82(%rip), %rsi      # 0x10625
leaq 0x3a8a(%rip), %rdx      # 0x10634
leaq 0x28(%rsp), %rdi
callq 0xd2b2
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3a5e(%rip), %r14      # 0x10622
leaq 0x3a69(%rip), %rdx      # 0x10634
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xd2b2
leaq 0xb8(%rsp), %rax
movq %rax, %r15
movq %rax, -0x10(%rax)
leaq 0x3a31(%rip), %rsi      # 0x1061f
leaq 0x3a3f(%rip), %rdx      # 0x10634
leaq 0xa8(%rsp), %rdi
callq 0xd2b2
movq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcc39
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcc39
movl $0x8, %r8d
jmp 0xccd7
movq 0x68(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcc6d
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcc6d
movl $0x9, %r8d
movq %r13, %r12
jmp 0xccd7
movq 0x48(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcca1
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcca1
movl $0xc, %r8d
movq %rbp, %r12
jmp 0xccd7
movq 0x28(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xccea
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xccea
movl $0xf, %r8d
leaq 0x394e(%rip), %r12      # 0x10625
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
xorl %esi, %esi
movq %r12, %rcx
callq 0x3380
jmp 0xcd5a
movq 0x8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcd13
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
je 0xcd4f
movq 0xa8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcd48
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcd48
leaq 0x38d9(%rip), %r14      # 0x1061f
jmp 0xcd4f
leaq 0x2915(%rip), %r14      # 0xf664
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3300
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xcd77
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcd93
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xcdaf
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xcdcb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xcde7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xce0c
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xce43
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xce43
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xce64
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xce64
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xce85
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xce85
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xcea6
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xcea6
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xcec7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xcec7
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xceec
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
movq %rbx, %rdi
callq 0x33e0