// File: /workspace/github_cpp_makefile_star2_O1/parth-shel[P]xpac/man_help.cpp
// Function: man_help()
void man_help() {
	string line;
	string token;
	ifstream help_file("man_help_txt");
	if(help_file.is_open()) {
		cout<<"These are common xpac commands used in various situations:"<<endl<<endl;		
		while(getline(help_file, line)) {	
			istringstream stream(line);
			// parse command option
			getline(stream, token, '|');
			string option_str = token;
			// parse functionality
			getline(stream, token, '\n');
			string functionality_str = token;
			
			// display to standard output
			printf("%-35s %-100s\n", option_str.c_str(), functionality_str.c_str());
		}

	} else {
		cout<<"Error accessing xpac -help"<<endl;
	}
	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
leaq -0x78(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x3239(%rip), %rsi      # 0xc812
leaq -0x2b0(%rbp), %rdi
movl $0x8, %edx
callq 0x3610
leaq -0x238(%rbp), %rdi
callq 0x30e0
testb %al, %al
je 0x978c
movq 0x69cb(%rip), %r14      # 0xffd0
leaq 0x3213(%rip), %rsi      # 0xc81f
movl $0x3a, %edx
movq %r14, %rdi
callq 0x3400
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x3370
movsbl %al, %esi
movq 0x6999(%rip), %rdi      # 0xffd0
callq 0x3030
movq %rax, %rdi
callq 0x3280
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3370
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3280
leaq -0x98(%rbp), %rbx
leaq -0x88(%rbp), %r15
leaq -0x430(%rbp), %r12
leaq -0x48(%rbp), %r13
movq -0x2b0(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x2b0(%rbp), %r14
addq %r14, %rdi
movl $0xa, %esi
callq 0x3370
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3620
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x97d2
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x3590
movq %r12, %rdi
movq %r13, %rsi
movl $0x7c, %edx
callq 0x3620
leaq -0x58(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
leaq -0x68(%rbp), %rdi
callq 0x8092
movq %r12, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x3620
movq %rbx, -0xa8(%rbp)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
addq %rsi, %rdx
leaq -0xa8(%rbp), %rdi
callq 0x8092
movq -0x68(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq 0x3118(%rip), %rdi      # 0xc85a
xorl %eax, %eax
callq 0x3060
movq -0xa8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x975a
callq 0x3360
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x976c
callq 0x3360
movq %r12, %rdi
movq 0x6852(%rip), %rsi      # 0xffc8
callq 0x34d0
leaq -0x3b8(%rbp), %rdi
callq 0x3160
jmp 0x9687
movq 0x683d(%rip), %rbx      # 0xffd0
leaq 0x30ce(%rip), %rsi      # 0xc868
movl $0x1a, %edx
movq %rbx, %rdi
callq 0x3400
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3370
movsbl %al, %esi
movq 0x680b(%rip), %rdi      # 0xffd0
callq 0x3030
movq %rax, %rdi
callq 0x3280
leaq -0x2b0(%rbp), %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x97f0
callq 0x3360
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x9805
callq 0x3360
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x986e
jmp 0x985f
jmp 0x9820
movq %rax, %rbx
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x983c
callq 0x3360
jmp 0x983c
jmp 0x9839
movq %rax, %rbx
movq 0x6785(%rip), %rsi      # 0xffc8
leaq -0x430(%rbp), %rdi
callq 0x34d0
leaq -0x3b8(%rbp), %rdi
callq 0x3160
jmp 0x9862
jmp 0x985f
movq %rax, %rbx
leaq -0x2b0(%rbp), %rdi
callq 0x3100
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x9880
callq 0x3360
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x9895
callq 0x3360
movq %rbx, %rdi
callq 0x35c0
nopl (%rax)