; assembly | /* r2dec pseudo code output */ | /* bdlcc_skiplist.t/none @ 0x5c11a0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bdlcc::SkipList_unsigned_long__unsigned_long___BloombergLP::bsls::AtomicInt__BloombergLP::bslmt::Barrier___BloombergLP () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_BloombergLP::bdlcc::SkipList_unsigned_long_unsigned_long_BloombergLP::bsls::AtomicInt_BloombergLP::bslmt::Barrier_BloombergLP (int64_t arg4, int64_t arg3, uint32_t arg2, int64_t arg1) { | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator*, BloombergLP::bsls::AtomicInt*, BloombergLP::bslmt::Barrier*), BloombergLP::bdlf::Bind_BoundTuple3*, BloombergLP::bsls::AtomicInt*, BloombergLP::bslmt::Barrier*> > >(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, BloombergLP::bdlf::Bind*, BloombergLP::bsls::AtomicInt*, BloombergLP::bslmt::Barrier*), BloombergLP::bdlf::Bind_BoundTuple3*, BloombergLP::bsls::AtomicInt*, BloombergLP::bslmt::Barrier*> > const&, BloombergLP::bslma::Allocator*) */ 0x005c11a0 push rbp | 0x005c11a1 push r15 | 0x005c11a3 push r14 | 0x005c11a5 push r13 | 0x005c11a7 push r12 | 0x005c11a9 push rbx | 0x005c11aa push rax | 0x005c11ab mov r14, rcx | r14 = rcx; 0x005c11ae mov r12, rdx | r12 = rdx; 0x005c11b1 mov r15, rsi | r15 = rsi; 0x005c11b4 mov qword [rsp], rdi | *(rsp) = rdi; 0x005c11b8 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x005c11bd je 0x5c11c5 | 0x005c11bf mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x005c11c3 jmp 0x5c11c9 | | } else { 0x005c11c5 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x005c11c9 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x005c11cd test r14, r14 | | if (r14 == 0) { 0x005c11d0 jne 0x5c11e6 | 0x005c11d2 mov r14, qword [rip + 0x359967] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x005c11d9 test r14, r14 | | if (r14 != 0) { 0x005c11dc jne 0x5c11e6 | goto label_0; | } 0x005c11de call 0x64efc0 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x005c11e3 mov r14, rax | r14 = rax; | } | label_0: 0x005c11e6 mov rax, qword [r14] | rax = *(r14); 0x005c11e9 mov esi, 0x58 | esi = 0x58; 0x005c11ee mov rdi, r14 | rdi = r14; 0x005c11f1 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x005c11f4 mov rbx, rax | rbx = rax; 0x005c11f7 mov qword [rax], 0x5c1320 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bdlcc::SkipList_unsigned_long__unsigned_long___BloombergLP::bsls::AtomicInt__BloombergLP::bslmt::Barrier___BloombergLP::bdlf::Bin; 0x005c11fe mov rax, qword [r12] | rax = *(r12); 0x005c1202 mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x005c1206 mov rax, qword [r12 + 8] | rax = *((r12 + 8)); 0x005c120b mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x005c120f mov rax, qword [r12 + 0x10] | rax = *((r12 + 0x10)); 0x005c1214 mov qword [rbx + 0x18], rax | *((rbx + 0x18)) = rax; 0x005c1218 mov rax, qword [r12 + 0x18] | rax = *((r12 + 0x18)); 0x005c121d mov qword [rbx + 0x20], rax | *((rbx + 0x20)) = rax; 0x005c1221 lea rdi, [rbx + 0x28] | 0x005c1225 mov qword [rbx + 0x28], 0 | *((rbx + 0x28)) = 0; 0x005c122d mov qword [rbx + 0x50], r14 | *((rbx + 0x50)) = r14; 0x005c1231 movaps xmm0, xmmword [rip + 0xb9a58] | xmm0 = .comment; 0x005c1238 movups xmmword [rbx + 0x40], xmm0 | __asm ("movups xmmword [rbx + 0x40], xmm0"); 0x005c123c mov ecx, 0x67cb5d | 0x005c1241 mov rsi, r13 | 0x005c1244 mov rdx, rbp | 0x005c1247 call 0x654130 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x28, r13, rbp, "string<...>::assign(i,j): string too long"); 0x005c124c mov edx, 0x650100 | 0x005c1251 mov rdi, qword [rsp] | 0x005c1255 mov rsi, r15 | 0x005c1258 mov rcx, rbx | 0x005c125b call 0x650a90 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x005c1260 mov ebp, eax | 0x005c1262 test eax, eax | | if (eax != 0) { 0x005c1264 je 0x5c128f | 0x005c1266 cmp qword [rbx + 0x48], 0x17 | | if (*((rbx + 0x48)) != 0x17) { 0x005c126b je 0x5c127b | 0x005c126d mov rsi, qword [rbx + 0x28] | rsi = *((rbx + 0x28)); 0x005c1271 mov rdi, qword [rbx + 0x50] | rdi = *((rbx + 0x50)); 0x005c1275 mov rax, qword [rdi] | rax = *(rdi); 0x005c1278 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x005c127b mov qword [rbx + 0x40], 0xffffffffffffffff | *((rbx + 0x40)) = 0xffffffffffffffff; 0x005c1283 mov rax, qword [r14] | rax = *(r14); 0x005c1286 mov rdi, r14 | rdi = r14; 0x005c1289 mov rsi, rbx | rsi = rbx; 0x005c128c call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x005c128f mov eax, ebp | eax = ebp; 0x005c1291 add rsp, 8 | 0x005c1295 pop rbx | 0x005c1296 pop r12 | 0x005c1298 pop r13 | 0x005c129a pop r14 | 0x005c129c pop r15 | 0x005c129e pop rbp | 0x005c129f ret | return rax; | }