Function at 0x1400bf0a4
Capabilities:
Allocate thread local storage

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140348824], eax
cmp eax, 0xffffffff
jne 0x1400bf112
lea rax, str.TLS_OUT_OF_INDEXES___gFaultInjectCountKey
mov qword [rsp + 0x20], rax
lea rdx, str.FaultInjection:_file__s__line__d:_CHECK_failed:__s_n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov ecx, 0xfffffffd
mov r9d, 0xd6
call fcn.1400b8218
cmp dword [0x140348824], 0xffffffff
je 0x1400bf164
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140348828], eax
cmp eax, 0xffffffff
jne 0x1400bf15a
lea rax, str.TLS_OUT_OF_INDEXES___gFaultInjectValueKey
mov qword [rsp + 0x20], rax
lea rdx, str.FaultInjection:_file__s__line__d:_CHECK_failed:__s_n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov ecx, 0xfffffffd
mov r9d, 0xdb
call fcn.1400b8218
cmp dword [0x140348828], 0xffffffff
je 0x1400bf607
mov dword [0x140348808], 1
lea rcx, str.NACL_FAULT_INJECTION
call fcn.1401a134c
test rax, rax
je 0x1400bf5de
mov rcx, rax
call fcn.140199f0c
mov rsi, rax
test rax, rax
jne 0x1400bf1b3
lea rax, str.NULL___config
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov ecx, 0xfffffffc
mov r9d, 0x24d
call fcn.1400b8218
mov qword [rsp + 0x28], rsi
cmp byte [rsi], 0
je 0x1400bf4f4
xorps xmm6, xmm6
lea rbp, [rsp + 0x70]
lea r14, [rsp + 0x30]
lea r15, [rsp + 0x58]
mov r12, qword [rsp + 0x28]
mov rcx, r12
lea rdx, [0x1401d2563]
call fcn.1401a6ad0
test rax, rax
je 0x1400bf1f7
mov r13, rax
mov byte [rax], 0
inc r13
jmp 0x1400bf205
mov rcx, r12
call fcn.1401a6660
mov r13, rax
add r13, r12
mov rcx, r12
mov edx, 0x3d
call fcn.140186930
test rax, rax
je 0x1400bf24a
mov rsi, rax
mov rbx, rax
sub rbx, r12
lea rcx, [rbx + 1]
call fcn.140095b30
test rax, rax
je 0x1400bf263
mov rdi, rax
mov rcx, rax
mov rdx, r12
mov r8, rbx
call fcn.1401a6960
mov byte [rdi + rbx], 0
mov qword [rsp + 0x30], rdi
jmp 0x1400bf296
mov ecx, 0xfffffffd
lea rdx, str.NaClFaultInject:_control_entry__s_malformed__no_equal_sign_n
mov r8, r12
call fcn.1400b8218
jmp 0x1400bf442
mov qword [rsp + 0x30], 0
lea rax, str.NULL___out_info__call_site_name
mov qword [rsp + 0x20], rax
mov ecx, 0xfffffffc
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov r9d, 0x232
call fcn.1400b8218
mov dword [rsp + 0x38], 0
lea r8, [rsi + 1]
lea rax, [rsp + 0x40]
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov ecx, 6
lea rdx, str.NaClFaultInject:_control_sequence__s_n
call fcn.1400b8218
mov al, byte [rsi + 1]
cmp al, 0x54
je 0x1400bf2d6
cmp al, 0x47
jne 0x1400bf431
xor eax, eax
jmp 0x1400bf2db
mov eax, 1
mov dword [rsp + 0x38], eax
add rsi, 2
movsx r8d, byte [rsi]
cmp r8d, 0x46
je 0x1400bf317
cmp r8d, 0x50
jne 0x1400bf419
mov dword [rsp + 0x58], 1
cmp byte [rsi + 1], 0x40
jne 0x1400bf337
mov qword [rsp + 0x68], 0xffffffffffffffff
add rsi, 2
mov rax, rsi
jmp 0x1400bf35d
mov dword [rsp + 0x58], 0
cmp byte [rsi + 1], 0x40
jne 0x1400bf36b
mov qword [rsp + 0x60], 0xffffffffffffffff
add rsi, 2
mov rax, rsi
jmp 0x1400bf38d
inc rsi
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.14019adf4
mov eax, eax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
cmp rax, rsi
je 0x1400bf3fd
mov rsi, rax
mov qword [rsp + 0x60], 0
jmp 0x1400bf3e1
inc rsi
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.14019adf4
mov eax, eax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x70]
cmp rax, rsi
je 0x1400bf40b
mov rsi, rax
cmp byte [rsi], 0x2f
jne 0x1400bf3ad
cmp byte [rsi + 1], 0x40
jne 0x1400bf3b8
mov qword [rsp + 0x68], 0xffffffffffffffff
add rsi, 2
mov rax, rsi
jmp 0x1400bf3de
mov qword [rsp + 0x68], 1
jmp 0x1400bf3e1
inc rsi
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call fcn.14019adf4
mov eax, eax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
cmp rax, rsi
je 0x1400bf4e3
mov rsi, rax
mov rcx, r14
mov rdx, r15
call fcn.1400bf8ad
cmp byte [rsi], 0x2b
jne 0x1400bf2e3
inc rsi
jmp 0x1400bf2e3
mov qword [rsp + 0x68], 1
jmp 0x1400bf360
mov qword [rsp + 0x60], 0
jmp 0x1400bf390
test r8d, r8d
je 0x1400bf456
mov ecx, 0xfffffffd
lea rdx, str.NaClFaultInjection:_expected_P_or_F__got__c_n
call fcn.1400b8218
jmp 0x1400bf442
mov ecx, 0xfffffffd
lea rdx, str.NaClFaultInjection:_fault_control_expression_should_indicate_if_the_counter_is_thread_local_or_global_n
call fcn.1400b8218
mov ecx, 0xfffffffc
lea rdx, str.NaClFaultInjection:_syntax_error_in_configuration__environment_variable_NACL_FAULT_INJECTION_contains__s__which_is_not_syntactically_correct._n
mov r8, r12
call fcn.1400b8218
mov rcx, qword [0x140348818]
mov edx, 0xa0
call fcn.140095bb0
mov rsi, rax
test rax, rax
jne 0x1400bf499
lea rax, str.NULL___info
mov qword [rsp + 0x20], rax
mov ecx, 0xfffffffc
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov r9d, 0x10c
call fcn.1400b8218
mov qword [0x140348818], rsi
mov rax, qword [0x140348810]
lea rcx, [rax + 1]
mov qword [0x140348810], rcx
lea rax, [rax + rax*4]
mov rcx, qword [rsp + 0x50]
mov qword [rsi + rax*8 + 0x20], rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi + rax*8 + 0x10], xmm1
movups xmmword [rsi + rax*8], xmm0
cmp byte [r13], 0
mov r12, r13
jne 0x1400bf1d8
jmp 0x1400bf4f4
mov ecx, 0xfffffffd
lea rdx, str.NaClLogInject:_bad_fault_count_n
jmp 0x1400bf43d
mov rcx, qword [rsp + 0x28]
call fcn.140095b90
mov rdi, qword [0x140348810]
mov rsi, rdi
shl rsi, 4
mov rcx, rsi
call fcn.140095b30
mov qword [0x1403487f8], rax
test rax, rax
jne 0x1400bf558
lea rax, str.NULL___gNaClFaultInjectCallSites
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov ecx, 0xfffffffc
mov r9d, 0x11e
call fcn.1400b8218
mov rdi, qword [0x140348810]
mov rsi, rdi
shl rsi, 4
mov rcx, rsi
call fcn.140095b30
mov qword [0x140348800], rax
test rax, rax
jne 0x1400bf59d
lea rax, str.NULL___gNaClFaultInjectMu
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str..._.._native_client_src_trusted_fault_injection_fault_injection.c
mov ecx, 0xfffffffc
mov r9d, 0x122
call fcn.1400b8218
mov rdi, qword [0x140348810]
test rdi, rdi
je 0x1400bf5de
xor esi, esi
xor edi, edi
xor ebx, ebx
mov rax, qword [0x1403487f8]
mov qword [rax + rdi], rsi
mov rax, qword [0x1403487f8]
mov qword [rax + rdi + 8], rsi
mov rcx, qword [0x140348800]
add rcx, rdi
call fcn.1400b82b4
inc rbx
add rdi, 0x10
cmp rbx, qword [0x140348810]
jb 0x1400bf5a8
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140183a80
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [0x140348824]
call qword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x1400bf164