// File: DoubleString[P]RtConverter/src/RtConverter/Deploy.cpp
// Function: bamboo::Deploy::m_checkStation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool Deploy::m_checkStation(string sta) {
	list<string>::iterator strItr;
	list<VrsStaItem>::iterator itemItr;
	map<string, list<VrsStaItem>>::iterator mapItr;
	/// should check more precisely
	transform(sta.begin(), sta.end(), sta.begin(), ::toupper);
	for (strItr = post_stalist.begin(); strItr != post_stalist.end(); strItr++) {
		string value = (*strItr);
		transform(value.begin(), value.end(), value.begin(), ::toupper);
		if (!strncmp(sta.c_str(), value.c_str(), 4)) return false;
	}
	for (mapItr = rt_mounts.begin(); mapItr != rt_mounts.end(); mapItr++) {
		for (itemItr = (*mapItr).second.begin(); itemItr != (*mapItr).second.end(); ++itemItr) {
			string value = (*itemItr).staname;
			transform(value.begin(), value.end(), value.begin(), ::toupper);
			if (!strncmp(sta.c_str(), value.c_str(), 4)) return false;
		}
	}
	return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movq %rsi, -0x138(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x450e0
leaq -0x28(%rbp), %rdi
callq 0x4fff0
leaq -0x30(%rbp), %rdi
callq 0x50010
movq -0x138(%rbp), %rdi
callq 0x9660
movq -0x138(%rbp), %rdi
movq %rax, -0x38(%rbp)
callq 0x9420
movq -0x138(%rbp), %rdi
movq %rax, -0x40(%rbp)
callq 0x9660
movq %rax, -0x48(%rbp)
movq -0x38(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq 0xa7635(%rip), %rcx     # 0xf6fd8
callq 0x50030
movq -0x130(%rbp), %rdi
movq %rax, -0x50(%rbp)
addq $0x1bf8, %rdi           # imm = 0x1BF8
callq 0x45180
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x130(%rbp), %rdi
addq $0x1bf8, %rdi           # imm = 0x1BF8
callq 0x451e0
movq %rax, -0x60(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x451b0
testb $0x1, %al
jne 0x4f9f8
jmp 0x4fb27
leaq -0x20(%rbp), %rdi
callq 0x45210
movq %rax, %rsi
leaq -0x80(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x92d0
movq -0x148(%rbp), %rdi
callq 0x9660
movq -0x148(%rbp), %rdi
movq %rax, -0x88(%rbp)
callq 0x9420
movq -0x148(%rbp), %rdi
movq %rax, -0x90(%rbp)
callq 0x9660
movq %rax, -0x98(%rbp)
movq -0x88(%rbp), %rdi
movq -0x90(%rbp), %rsi
movq -0x98(%rbp), %rdx
movq 0xa756f(%rip), %rcx     # 0xf6fd8
callq 0x50030
movq %rax, -0x140(%rbp)
jmp 0x4fa77
movq -0x138(%rbp), %rdi
movq -0x140(%rbp), %rax
movq %rax, -0xb0(%rbp)
callq 0x92b0
movq %rax, -0x150(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x92b0
movq -0x150(%rbp), %rdi
movq %rax, %rsi
movl $0x4, %edx
callq 0x9360
cmpl $0x0, %eax
jne 0x4faea
movb $0x0, -0x1(%rbp)
movl $0x1, -0xb4(%rbp)
jmp 0x4faf4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x9480
jmp 0x4fd36
movl $0x0, -0xb4(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x9480
movl -0xb4(%rbp), %eax
testl %eax, %eax
je 0x4fb0e
jmp 0x4fb09
jmp 0x4fd28
jmp 0x4fb10
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x452a0
movq %rax, -0xc0(%rbp)
jmp 0x4f9cb
movq -0x130(%rbp), %rdi
addq $0x1c10, %rdi           # imm = 0x1C10
callq 0x500b0
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x130(%rbp), %rdi
addq $0x1c10, %rdi           # imm = 0x1C10
callq 0x50110
movq %rax, -0xd0(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x500e0
testb $0x1, %al
jne 0x4fb7f
jmp 0x4fd24
leaq -0x30(%rbp), %rdi
callq 0x50140
movq %rax, %rdi
addq $0x20, %rdi
callq 0x50160
movq %rax, -0xd8(%rbp)
movq -0xd8(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x50140
movq %rax, %rdi
addq $0x20, %rdi
callq 0x47f20
movq %rax, -0xe0(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x50190
testb $0x1, %al
jne 0x4fbdb
jmp 0x4fd0b
leaq -0x28(%rbp), %rdi
callq 0x501c0
movq %rax, %rsi
addq $0x20, %rsi
leaq -0x100(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x92d0
movq -0x160(%rbp), %rdi
callq 0x9660
movq -0x160(%rbp), %rdi
movq %rax, -0x108(%rbp)
callq 0x9420
movq -0x160(%rbp), %rdi
movq %rax, -0x110(%rbp)
callq 0x9660
movq %rax, -0x118(%rbp)
movq -0x108(%rbp), %rdi
movq -0x110(%rbp), %rsi
movq -0x118(%rbp), %rdx
movq 0xa7385(%rip), %rcx     # 0xf6fd8
callq 0x50030
movq %rax, -0x158(%rbp)
jmp 0x4fc61
movq -0x138(%rbp), %rdi
movq -0x158(%rbp), %rax
movq %rax, -0x120(%rbp)
callq 0x92b0
movq %rax, -0x168(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x92b0
movq -0x168(%rbp), %rdi
movq %rax, %rsi
movl $0x4, %edx
callq 0x9360
cmpl $0x0, %eax
jne 0x4fcd7
movb $0x0, -0x1(%rbp)
movl $0x1, -0xb4(%rbp)
jmp 0x4fce1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xa0(%rbp)
movl %eax, -0xa4(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x9480
jmp 0x4fd36
movl $0x0, -0xb4(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x9480
movl -0xb4(%rbp), %eax
testl %eax, %eax
je 0x4fcfb
jmp 0x4fcf9
jmp 0x4fd28
jmp 0x4fcfd
leaq -0x28(%rbp), %rdi
callq 0x501e0
jmp 0x4fba6
jmp 0x4fd0d
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
callq 0x50200
movq %rax, -0x128(%rbp)
jmp 0x4fb4c
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
movq -0xa0(%rbp), %rdi
callq 0x9d20
nopw %cs:(%rax,%rax)
nopl (%rax)