; assembly | /* r2dec pseudo code output */ | /* bdlmt_eventscheduler.t/none @ 0x428bf0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bslmt::Barrier__BloombergLP::bdlmt::EventScheduler__BloombergLP::bslmt::TimedSemaphore___BloombergLP::bdlf::Bind_Bound () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_BloombergLP::bslmt::Barrier_BloombergLP::bdlmt::EventScheduler_BloombergLP::bslmt::TimedSemaphore_BloombergLP::bdlf::Bind_Bound (int64_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_18h; | uint32_t var_38h; | int64_t var_40h; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator > >(unsigned long*, BloombergLP::bdlf::Bind > const&, BloombergLP::bslma::Allocator*) */ 0x00428bf0 push rbp | 0x00428bf1 push r15 | 0x00428bf3 push r14 | 0x00428bf5 push rbx | 0x00428bf6 sub rsp, 0x48 | 0x00428bfa mov r14, rdx | r14 = rdx; 0x00428bfd mov rbp, rsi | 0x00428c00 mov r15, rdi | r15 = rdi; 0x00428c03 test rdx, rdx | | if (rdx == 0) { 0x00428c06 jne 0x428c1c | 0x00428c08 mov r14, qword [rip + 0x278a79] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x00428c0f test r14, r14 | | if (r14 != 0) { 0x00428c12 jne 0x428c1c | goto label_0; | } 0x00428c14 call 0x4381c0 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x00428c19 mov r14, rax | r14 = rax; | } | label_0: 0x00428c1c mov rax, qword [r14] | rax = *(r14); 0x00428c1f mov esi, 0x58 | esi = 0x58; 0x00428c24 mov rdi, r14 | rdi = r14; 0x00428c27 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x00428c2a mov rbx, rax | rbx = rax; 0x00428c2d mov qword [rax], 0x428d90 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bslmt::Barrier__BloombergLP::bdlmt::EventScheduler__BloombergLP::bslmt::TimedSemaphore___BloombergLP::bdlf::Bind_BoundTuple3_Bloo; 0x00428c34 mov rax, qword [rbp] | rax = *(rbp); 0x00428c38 mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x00428c3c mov rax, qword [rbp + 8] | rax = *((rbp + 8)); 0x00428c40 mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x00428c44 mov rax, qword [rbp + 0x10] | rax = *((rbp + 0x10)); 0x00428c48 mov qword [rbx + 0x18], rax | *((rbx + 0x18)) = rax; 0x00428c4c mov rax, qword [rbp + 0x18] | rax = *((rbp + 0x18)); 0x00428c50 mov qword [rbx + 0x20], rax | *((rbx + 0x20)) = rax; 0x00428c54 lea rdi, [rbx + 0x28] | 0x00428c58 mov qword [rbx + 0x28], 0 | *((rbx + 0x28)) = 0; 0x00428c60 mov qword [rbx + 0x50], r14 | *((rbx + 0x50)) = r14; 0x00428c64 movaps xmm0, xmmword [rip + 0x386c5] | xmm0 = .comment; 0x00428c6b movups xmmword [rbx + 0x40], xmm0 | __asm ("movups xmmword [rbx + 0x40], xmm0"); 0x00428c6f mov ecx, 0x4649d6 | 0x00428c74 xor esi, esi | 0x00428c76 xor edx, edx | 0x00428c78 call 0x43dff0 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x28, 0, 0, "string<...>::assign(i,j): string too long"); 0x00428c7d mov rdi, rsp | 0x00428c80 call 0x439850 | BloombergLP::bslmt::ThreadAttributes::ThreadAttributes() (rsp); 0x00428c85 mov rsi, rsp | 0x00428c88 mov edx, 0x4393c0 | 0x00428c8d mov rdi, r15 | 0x00428c90 mov rcx, rbx | 0x00428c93 call 0x439d40 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r15, rsp, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x00428c98 mov ebp, eax | 0x00428c9a cmp qword [rsp + 0x38], 0x17 | | if (*((rsp + 0x38)) != 0x17) { 0x00428ca0 je 0x428cb2 | 0x00428ca2 mov rsi, qword [rsp + 0x18] | rsi = *((rsp + 0x18)); 0x00428ca7 mov rdi, qword [rsp + 0x40] | rdi = *((rsp + 0x40)); 0x00428cac mov rax, qword [rdi] | rax = *(rdi); 0x00428caf call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00428cb2 test ebp, ebp | | if (ebp != 0) { 0x00428cb4 je 0x428cdf | 0x00428cb6 cmp qword [rbx + 0x48], 0x17 | | if (*((rbx + 0x48)) != 0x17) { 0x00428cbb je 0x428ccb | 0x00428cbd mov rsi, qword [rbx + 0x28] | rsi = *((rbx + 0x28)); 0x00428cc1 mov rdi, qword [rbx + 0x50] | rdi = *((rbx + 0x50)); 0x00428cc5 mov rax, qword [rdi] | rax = *(rdi); 0x00428cc8 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00428ccb mov qword [rbx + 0x40], 0xffffffffffffffff | *((rbx + 0x40)) = 0xffffffffffffffff; 0x00428cd3 mov rax, qword [r14] | rax = *(r14); 0x00428cd6 mov rdi, r14 | rdi = r14; 0x00428cd9 mov rsi, rbx | rsi = rbx; 0x00428cdc call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00428cdf mov eax, ebp | eax = ebp; 0x00428ce1 add rsp, 0x48 | 0x00428ce5 pop rbx | 0x00428ce6 pop r14 | 0x00428ce8 pop r15 | 0x00428cea pop rbp | 0x00428ceb ret | return rax; | }