// File: parth-shel[P]xpac/client.cpp
// Function: base_handler()
static inline void base_handler(){
	std::string base_filepath = metadata_dir + "/." + "base" + ".metadata"; 
	if(!file_exists(base_filepath)) {
		base = new metadata("base","v:0.0.0");
		metadata::write_package(base, metadata_dir.c_str());
	} else {
		base = metadata::get_package(base_filepath);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
leaq 0x156fe(%rip), %rsi     # 0x1e450
leaq 0xc35c(%rip), %rdx      # 0x150b5
leaq -0x60(%rbp), %rdi
movq %rdi, -0x110(%rbp)
callq 0x9170
movq -0x110(%rbp), %rsi
leaq 0xc341(%rip), %rdx      # 0x150b8
leaq -0x40(%rbp), %rdi
callq 0x9470
jmp 0x8d82
leaq 0xc702(%rip), %rdx      # 0x1548b
leaq -0x20(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x9470
jmp 0x8d98
leaq -0x40(%rbp), %rdi
callq 0x47e8
leaq -0x60(%rbp), %rdi
callq 0x47e8
leaq -0x20(%rbp), %rdi
callq 0xcec0
movb %al, -0x111(%rbp)
jmp 0x8dbb
movb -0x111(%rbp), %al
testb $0x1, %al
jne 0x9010
jmp 0x8dcb
movl $0x70, %edi
callq 0x4410
movq %rax, -0x120(%rbp)
jmp 0x8dde
movb $0x1, -0xba(%rbp)
leaq -0x91(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x46e0
movq -0x128(%rbp), %rdx
leaq 0xc2b2(%rip), %rsi      # 0x150b8
leaq -0x90(%rbp), %rdi
callq 0x4560
jmp 0x8e14
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x46e0
movq -0x130(%rbp), %rdx
leaq 0xc7ae(%rip), %rsi      # 0x155e3
leaq -0xb8(%rbp), %rdi
callq 0x4560
jmp 0x8e43
movq -0x120(%rbp), %rdi
leaq -0x90(%rbp), %rsi
leaq -0xb8(%rbp), %rdx
callq 0x11350
jmp 0x8e5f
movq -0x120(%rbp), %rax
movb $0x0, -0xba(%rbp)
movq %rax, 0x15644(%rip)     # 0x1e4b8
leaq -0xb8(%rbp), %rdi
callq 0x47e8
leaq -0xb9(%rbp), %rdi
callq 0x4460
leaq -0x90(%rbp), %rdi
callq 0x47e8
leaq -0x91(%rbp), %rdi
callq 0x4460
movq 0x1560d(%rip), %rax     # 0x1e4b8
movq %rax, -0x148(%rbp)
leaq 0x15597(%rip), %rdi     # 0x1e450
callq 0x41c0
movq %rax, -0x140(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x138(%rbp)
callq 0x46e0
movq -0x140(%rbp), %rsi
movq -0x138(%rbp), %rdx
leaq -0xe0(%rbp), %rdi
callq 0x4560
jmp 0x8ef4
movq -0x148(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x11830
jmp 0x8f09
leaq -0xe0(%rbp), %rdi
callq 0x47e8
leaq -0xe1(%rbp), %rdi
callq 0x4460
jmp 0x906d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x8f49
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x47e8
leaq -0x60(%rbp), %rdi
callq 0x47e8
jmp 0x9088
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x907f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x8fb4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x8f9c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x47e8
leaq -0xb9(%rbp), %rdi
callq 0x4460
leaq -0x90(%rbp), %rdi
callq 0x47e8
leaq -0x91(%rbp), %rdi
callq 0x4460
testb $0x1, -0xba(%rbp)
jne 0x8fcb
jmp 0x8fd7
movq -0x120(%rbp), %rdi
callq 0x43f0
jmp 0x907f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x9002
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x47e8
leaq -0xe1(%rbp), %rdi
callq 0x4460
jmp 0x907f
leaq -0x108(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x41d0
jmp 0x9022
leaq -0x108(%rbp), %rdi
callq 0x11b80
movq %rax, -0x150(%rbp)
jmp 0x9037
movq -0x150(%rbp), %rax
movq %rax, 0x15473(%rip)     # 0x1e4b8
leaq -0x108(%rbp), %rdi
callq 0x47e8
jmp 0x906d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x47e8
jmp 0x907f
leaq -0x20(%rbp), %rdi
callq 0x47e8
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
leaq -0x20(%rbp), %rdi
callq 0x47e8
movq -0x68(%rbp), %rdi
callq 0x46d0
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)