// File: /workspace/github_cpp_makefile_star2_O1/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 0x3b84(%rip), %r12      # 0x1062c
leaq 0x3b85(%rip), %rdx      # 0x10634
leaq 0x88(%rsp), %rdi
movq %r12, %rsi
callq 0xd216
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3b5c(%rip), %r13      # 0x1062b
leaq 0x3b5e(%rip), %rdx      # 0x10634
leaq 0x68(%rsp), %rdi
movq %r13, %rsi
callq 0xd216
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3b35(%rip), %rbp      # 0x10628
leaq 0x3b3a(%rip), %rdx      # 0x10634
leaq 0x48(%rsp), %rdi
movq %rbp, %rsi
callq 0xd216
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3b0e(%rip), %rsi      # 0x10625
leaq 0x3b16(%rip), %rdx      # 0x10634
leaq 0x28(%rsp), %rdi
callq 0xd216
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3aea(%rip), %r14      # 0x10622
leaq 0x3af5(%rip), %rdx      # 0x10634
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xd216
leaq 0xb8(%rsp), %rax
movq %rax, %r15
movq %rax, -0x10(%rax)
leaq 0x3abd(%rip), %rsi      # 0x1061f
leaq 0x3acb(%rip), %rdx      # 0x10634
leaq 0xa8(%rsp), %rdi
callq 0xd216
movq 0x88(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcbad
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcbad
movl $0x8, %r8d
jmp 0xcc4b
movq 0x68(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcbe1
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcbe1
movl $0x9, %r8d
movq %r13, %r12
jmp 0xcc4b
movq 0x48(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcc15
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcc15
movl $0xc, %r8d
movq %rbp, %r12
jmp 0xcc4b
movq 0x28(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcc5e
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xcc5e
movl $0xf, %r8d
leaq 0x39da(%rip), %r12      # 0x10625
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
xorl %esi, %esi
movq %r12, %rcx
callq 0x3380
jmp 0xccce
movq 0x8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xcc87
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
je 0xccc3
movq 0xa8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x3230
testl %eax, %eax
jne 0xccbc
movl $0xf000, %eax           # imm = 0xF000
andl 0xe0(%rsp), %eax
cmpl $0x4000, %eax           # imm = 0x4000
jne 0xccbc
leaq 0x3965(%rip), %r14      # 0x1061f
jmp 0xccc3
leaq 0x29a1(%rip), %r14      # 0xf664
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3300
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0xcceb
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcd07
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xcd23
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xcd3f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xcd5b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xcd80
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 0xcdb7
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xcdb7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xcdd8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xcdd8
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xcdf9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xcdf9
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xce1a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xce1a
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xce3b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3270
jmp 0xce3b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0xce60
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x3270
movq %rbx, %rdi
callq 0x33e0