Function at 0x140047a0e
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
cmp byte [rcx + 0x19], 0
je 0x140047a34
mov byte [rbp + 0x27], 3
jmp 0x140047a4d
call sym.std::panicking::panic_count::get_count::h6c2caa52a31feb2b
cmp rax, 1
jbe 0x140047a45
mov byte [rbp + 0x27], 1
jmp 0x140047a4d
call sym.std::panic::get_backtrace_style::h6f63c51c86f2dbac
mov byte [rbp + 0x27], al
mov rax, qword [rsi + 0x10]
mov qword [rbp - 8], rax
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
call sym.std::panicking::payload_as_str::hc8120db743e0ae17
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov ecx, dword [0x1400e11a0]
test ecx, ecx
je 0x140047bf7
dec ecx
call fcn.1400a4524
cmp rax, 2
jbe 0x140047ab6
lock inc qword [rax - 0x10]
jle 0x140047c17
add rax, 0xfffffffffffffff0
lea rcx, [rbp + 0x18]
mov qword [rcx], rax
call sym.std::thread::Thread::name::h17850a2dbae21e9f
test rax, rax
lea rcx, str._unnamed_thread__panicked_at__n1
cmovne rcx, rax
push 9
pop rax
cmovne rax, rdx
jmp 0x140047ac5
and qword [rbp + 0x18], 0
push 9
pop rax
lea rcx, str._unnamed_thread__panicked_at__n1
lea rdx, [rbp - 0x58]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 8]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x27]
mov qword [rbp - 0x30], rax
xor ecx, ecx
call sym.std::io::stdio::try_set_output_capture::ha306c5c97469e498
mov rbx, rax
mov rdi, rdx
lea rsi, [rbp + 8]
mov qword [rsi - 8], rax
mov qword [rsi], rdx
test rax, rax
sete al
test rdx, rdx
setne r15b
and r15b, al
je 0x140047b4a
mov qword [rbp + 0x10], rdi
lea rbx, [rdi + 0x10]
mov cl, 1
xor eax, eax
lock cmpxchg byte [rdi + 0x10], cl
jne 0x140047c0a
mov rax, qword [0x1400e1120]
shl rax, 1
test rax, rax
je 0x140047b67
call sym.std::panicking::panic_count::is_zero_slow_path::hc4cb039001d82d47
mov r14d, eax
xor r14b, 1
jmp 0x140047b6a
lea rdx, [rbp - 0x18]
and dword [rdx], 0
mov byte [rdx + 4], 0
lea r8, [sym.std::io::Write::write_fmt::hdd05168affbfeba5]
lea rcx, [rbp - 0x48]
call sym.std::panicking::default_hook::__u7b__u7b_closure_u7d__u7d_::h7120d35577ceb7b3
jmp 0x140047ba2
xor r14d, r14d
mov al, byte [rdi + 0x11]
lea rdx, [rdi + 0x18]
lea r8, [sym.std::io::Write::write_fmt::hd04c5e3a28035cae]
lea rcx, [rbp - 0x48]
call sym.std::panicking::default_hook::__u7b__u7b_closure_u7d__u7d_::h7120d35577ceb7b3
mov rcx, rbx
mov edx, r14d
call sym.core::ptr::drop_in_place_std::io::stdio::StdinLock_::h19ea38d6519aff82
mov rcx, qword [rbp + 0x10]
call sym.std::io::stdio::try_set_output_capture::ha306c5c97469e498
test rax, rax
je 0x140047bd5
mov rbx, qword [rbp]
mov rdi, qword [rbp + 8]
lea rcx, [rbp + 0x18]
call sym.core::ptr::drop_in_place_core::option::Option_std::thread::Thread__::he37eb5c033535922
test rdi, rdi
sete al
or al, bl
or r15b, al
test r15b, 1
jne 0x140047bc4
mov rcx, rsi
call sym._ZN4core3ptr101drop_in_place_LT_alloc..sync..Arc_LT_std..sync..mutex..Mutex_LT_alloc..vec..Vec_LT_u8_GT__GT__GT__GT_17h98f7943
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], 1
test rdx, rdx
je 0x140047b9a
lock dec qword [rdx]
jne 0x140047b9a
lea rcx, [rbp - 0x10]
call sym.alloc::sync::Arc_T_A_::drop_slow::h9d2214d21699a437
jmp 0x140047b9a
lea rcx, [0x1400e1188]
call sym.std::sys::thread_local::key::windows::LazyKey::init::h3b25bd09068d2560
mov ecx, eax
jmp 0x140047a79
mov rcx, rbx
call sym.std::sys::sync::mutex::futex::Mutex::lock_contended::hbe5cde1fd81d392d
jmp 0x140047b2d
ud2