; assembly | /* r2dec pseudo code output */ | /* balcl_commandline.t/assume @ 0x46f420 */ | #include | ; (fcn) method.BloombergLP::balcl._anonymous_namespace_::u::ArrayConstraint_BloombergLP::bdlt::Datetime__bsl::function_bool__BloombergLP::bdlt::Datetime_const__std::__1::basic_ostream_char__std::__1::char_traits_char_______15_::parse_BloombergLP::balcl::Option () | int64_t method_BloombergLP::balcl_anonymous_namespace_::u::ArrayConstraint_BloombergLP::bdlt::Datetime_bsl::function_bool_BloombergLP::bdlt::Datetime_const_std::_1::basic_ostream_char_std::_1::char_traits_char_15_::parse_BloombergLP::balcl::Option (int64_t arg4, int64_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_7h; | int64_t var_8h; | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* BloombergLP::balcl::(anonymous namespace)::u::ArrayConstraint >&)>, 15>::parse(BloombergLP::balcl::OptionValue*, std::__1::basic_ostream >&, bsl::basic_string, bsl::allocator > const&) const */ 0x0046f420 push r15 | 0x0046f422 push r14 | 0x0046f424 push r13 | 0x0046f426 push r12 | 0x0046f428 push rbx | 0x0046f429 sub rsp, 0x10 | 0x0046f42d mov r13, rcx | r13 = rcx; 0x0046f430 mov r15, rdx | r15 = rdx; 0x0046f433 mov r14, rsi | r14 = rsi; 0x0046f436 mov r12, rdi | r12 = rdi; 0x0046f439 mov rdi, rsi | 0x0046f43c call 0x465e70 | BloombergLP::balcl::OptionValue::type()const (rsi); 0x0046f441 movabs rax, 0x800000141dd76000 | rax = 0x800000141dd76000; 0x0046f44b mov qword [rsp + 8], rax | *((rsp + 8)) = rax; 0x0046f450 cmp qword [r13 + 0x20], 0x17 | 0x0046f455 mov rbx, r13 | rbx = r13; | if (*((r13 + 0x20)) != 0x17) { 0x0046f458 je 0x46f45e | 0x0046f45a mov rbx, qword [r13] | rbx = *(r13); | } 0x0046f45e mov rdi, rbx | 0x0046f461 call 0x4046c0 | eax = strlen (*(r13)); 0x0046f466 lea rdi, [rsp + 8] | 0x0046f46b mov rsi, rbx | rsi = rbx; 0x0046f46e mov edx, eax | edx = eax; 0x0046f470 call 0x477340 | eax = BloombergLP::bdlt::Iso8601Util::parse(BloombergLP::bdlt::Datetime*,char const*,int) (rsp + 8); 0x0046f475 test eax, eax | | if (eax == 0) { 0x0046f477 je 0x46f4e0 | goto label_0; | } 0x0046f479 mov esi, 0x4b3cad | 0x0046f47e mov edx, 0x12 | 0x0046f483 mov rdi, r15 | 0x0046f486 call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (r15, "A 'bdlt::Datetime', 0x12); 0x0046f48b mov esi, 0x4b3c5d | 0x0046f490 mov edx, 0x21 | 0x0046f495 mov rdi, rax | 0x0046f498 call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, " value was expected, instead of \", 0x21); 0x0046f49d mov rdi, rax | 0x0046f4a0 mov rsi, r13 | 0x0046f4a3 call 0x44fd10 | rax = std::_1::basic_ostream>&bsl::operator << ,bsl::allocator>(std::_1::basic_ostream>&,bsl::basic_string,bsl::allocator>const&) (rax, r13); 0x0046f4a8 mov esi, 0x4afd15 | 0x0046f4ad mov edx, 1 | 0x0046f4b2 mov rdi, rax | 0x0046f4b5 call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, 0x4afd15, 1); 0x0046f4ba mov byte [rsp + 7], 0xa | *((rsp + 7)) = 0xa; 0x0046f4bf lea rsi, [rsp + 7] | 0x0046f4c4 mov edx, 1 | 0x0046f4c9 mov rdi, rax | 0x0046f4cc call 0x455a90 | rax = std::_1::basic_ostream>&std::_1::_put_character_sequence>(std::_1::basic_ostream>&,char const*,unsigned long) (rax, rsp + 7, 1); 0x0046f4d1 mov rdi, rax | rdi = rax; 0x0046f4d4 call 0x404980 | eax = std::_1::basic_ostream>::flush() (); | do { 0x0046f4d9 xor eax, eax | eax = 0; 0x0046f4db jmp 0x46f5bc | goto label_1; | label_0: 0x0046f4e0 mov rax, qword [r12 + 0x50] | rax = *((r12 + 0x50)); 0x0046f4e5 test rax, rax | | if (rax == 0) { 0x0046f4e8 je 0x46f4ff | goto label_2; | } 0x0046f4ea add r12, 0x10 | r12 += 0x10; 0x0046f4ee lea rsi, [rsp + 8] | rsi = rsp + 8; 0x0046f4f3 mov rdi, r12 | rdi = r12; 0x0046f4f6 mov rdx, r15 | rdx = r15; 0x0046f4f9 call rax | al = void (*rax)() (); 0x0046f4fb test al, al | 0x0046f4fd je 0x46f4d9 | | } while (al == 0); | label_2: 0x0046f4ff mov eax, dword [r14 + 0x40] | eax = *((r14 + 0x40)); 0x0046f503 dec eax | eax--; 0x0046f505 jmp qword [rax*8 + 0x4b0458] | | label_1: 0x0046f5bc add rsp, 0x10 | 0x0046f5c0 pop rbx | 0x0046f5c1 pop r12 | 0x0046f5c3 pop r13 | 0x0046f5c5 pop r14 | 0x0046f5c7 pop r15 | 0x0046f5c9 ret | return rax; | }