Function at 0x140119100
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp + 0x28], r8
lock inc qword [0x1402365d8]
jle 0x140119273
mov eax, dword [0x140236690]
mov r8, qword gs:[0x58]
mov rax, qword [r8 + rax*8]
cmp byte [rax + 0x68], 0
jne 0x1401192f2
mov ebx, r9d
mov eax, dword [0x140236690]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
inc qword [rax + 0x60]
mov byte [rax + 0x68], 1
mov eax, dword [0x1402365b8]
cmp eax, 0x3ffffffd
ja 0x140119193
lea ecx, [rax + 1]
lock cmpxchg dword [0x1402365b8], ecx
je 0x14011919f
lea rcx, [0x1402365b8]
call fcn.1401361d0
movzx esi, byte [rbp + 0x80]
movzx eax, byte [0x1402365c0]
cmp qword [0x1402365c8], 0
jne 0x1401191e4
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
call qword [rax + 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov qword [rbp], rdi
mov byte [rbp + 8], bl
mov byte [rbp + 9], sil
lea rcx, [rbp - 0x10]
call fcn.140118500
jmp 0x14011921b
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
call qword [rax + 0x28]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
mov qword [rbp], rdi
mov byte [rbp + 8], bl
mov byte [rbp + 9], sil
mov rcx, qword [0x1402365c8]
mov rax, qword [0x1402365d0]
lea rdx, [rbp - 0x10]
call qword [rax + 0x28]
mov edx, 0xffffffff
lock xadd dword [0x1402365b8], edx
dec edx
mov eax, edx
and eax, 0xbfffffff
cmp eax, 0x80000000
jne 0x140119244
lea rcx, [0x1402365b8]
call fcn.1401362f0
mov eax, dword [0x140236690]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x68], 0
test bl, bl
je 0x140119391
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
call fcn.140119550
mov dword [rbp + 0x20], 0
mov byte [rbp + 0x24], 0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x58], rax
lea rax, [0x14010ed30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
lea rax, [0x14010f9b0]
mov qword [rbp - 0x40], rax
lea rax, [0x1401ffbc8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 3
mov qword [rbp + 0x10], 0
lea rax, [rbp - 0x58]
mov qword [rbp], rax
mov qword [rbp + 8], 2
lea rcx, [rbp + 0x20]
lea rdx, [rbp - 0x10]
call fcn.140113fb0
mov qword [rbp - 0x38], rax
test rax, rax
je 0x140119388
lea rcx, [rbp - 0x38]
jmp 0x140119383
call qword [rdx + 0x30]
test rax, rax
mov ecx, 1
cmovne rcx, rax
cmove rdx, rax
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rdx
mov dword [rbp - 0x18], 0
mov byte [rbp - 0x14], 0
lea rax, [rbp + 0x28]
mov qword [rbp - 0x58], rax
lea rax, [0x14010ed30]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], rax
lea rax, [0x14010ed40]
mov qword [rbp - 0x40], rax
lea rax, str.panicked_at_:_nlibrary_std_srcpanic.rs
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 3
mov qword [rbp + 0x10], 0
lea rax, [rbp - 0x58]
mov qword [rbp], rax
mov qword [rbp + 8], 2
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x10]
call fcn.140113fb0
mov qword [rbp + 0x20], rax
test rax, rax
je 0x140119388
lea rcx, [rbp + 0x20]
call fcn.14010f5d0
mov ecx, 7
int 0x29
ud2
mov dword [rbp - 0x38], 0
mov byte [rbp - 0x34], 0
lea rax, str.thread_caused_non_unwinding_panic._aborting._n
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp], 8
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x10]
call fcn.140113fb0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.14010f860
mov ecx, 7
int 0x29
ud2