Function at 0x140153edc
Capabilities:
Allocate thread local storage

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1403e4a84], eax
cmp eax, 0xffffffff
jne 0x140153f45
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.14014fd13
cmp dword [0x1403e4a84], 0xffffffff
je 0x140153f97
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1403e4a88], eax
cmp eax, 0xffffffff
jne 0x140153f8d
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.14014fd13
cmp dword [0x1403e4a88], 0xffffffff
je 0x140154578
mov dword [0x1403e4a68], 1
lea rcx, str.NACL_FAULT_INJECTION
call fcn.14021a2bc
test rax, rax
je 0x140154553
mov rcx, rax
call fcn.14021f65c
mov rsi, rax
test rax, rax
jne 0x140153fe6
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.14014fd13
cmp byte [rsi], 0
mov qword [rsp + 0x70], rsi
je 0x140154469
movabs rax, 0xaaaaaaaaaaaaaaaa
mov ecx, 0xaaaaaaaa
mov qword [rsp + 0x58], rcx
lea r14, [0x14028fc66]
lea r12, str.NaClFaultInjection:_syntax_error_in_configuration__environment_variable_NACL_FAULT_INJECTION_contains__s__which_is_not_syntactically_correct._n
mov r15, rsi
mov rcx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], rax
mov rcx, r15
mov rdx, r14
call fcn.14022e060
test rax, rax
mov rbx, r15
je 0x14015404b
mov byte [rax], 0
inc rax
jmp 0x140154056
mov rcx, rbx
call fcn.14022dda0
add rax, rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
mov edx, 0x3d
call fcn.140205948
test rax, rax
je 0x14015409b
mov r15, rax
mov rsi, rax
sub rsi, rbx
lea rcx, [rsi + 1]
call fcn.1400fe9f0
mov rdi, rax
test rax, rax
je 0x1401540b4
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call fcn.14022def0
mov byte [rdi + rsi], 0
jmp 0x1401540de
mov ecx, 0xfffffffd
lea rdx, str.NaClFaultInject:_control_entry__s_malformed__no_equal_sign_n
mov r8, rbx
call fcn.14014fd13
jmp 0x14015436c
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.14014fd13
lea r8, [r15 + 1]
mov ecx, 6
lea rdx, str.NaClFaultInject:_control_sequence__s_n
call fcn.14014fd13
movzx eax, byte [r15 + 1]
cmp eax, 0x54
mov qword [rsp + 0x68], rdi
je 0x140154114
cmp eax, 0x47
jne 0x14015433f
mov qword [rsp + 0x60], rbx
xor eax, eax
jmp 0x14015411e
mov qword [rsp + 0x60], rbx
mov eax, 1
mov qword [rsp + 0x58], rax
add r15, 2
mov r14d, 8
xor edi, edi
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x50], rax
movsx r12d, byte [r15]
cmp r12d, 0x46
je 0x14015416c
cmp r12d, 0x50
jne 0x140154325
cmp byte [r15 + 1], 0x40
jne 0x140154180
add r15, 2
mov rbp, 0xffffffffffffffff
jmp 0x1401541eb
cmp byte [r15 + 1], 0x40
jne 0x1401541b3
add r15, 2
mov rsi, 0xffffffffffffffff
jmp 0x1401541f7
inc r15
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rcx, r15
lea rdx, [rsp + 0x78]
xor r8d, r8d
call fcn.140220624
mov rcx, qword [rsp + 0x78]
cmp rcx, r15
je 0x1401541e6
mov ebp, eax
mov r15, rcx
jmp 0x1401541eb
inc r15
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rcx, r15
lea rdx, [rsp + 0x78]
xor r8d, r8d
call fcn.140220624
mov rcx, qword [rsp + 0x78]
cmp rcx, r15
je 0x1401541f5
mov esi, eax
mov r15, rcx
jmp 0x1401541f7
mov ebp, 1
mov r13d, 1
xor esi, esi
jmp 0x14015424e
xor esi, esi
mov ebp, 1
xor r13d, r13d
cmp byte [r15], 0x2f
jne 0x14015424e
cmp byte [r15 + 1], 0x40
jne 0x140154219
add r15, 2
mov rbp, 0xffffffffffffffff
jmp 0x14015424e
inc r15
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rcx, r15
lea rdx, [rsp + 0x78]
xor r8d, r8d
call fcn.140220624
mov rcx, qword [rsp + 0x78]
cmp rcx, r15
je 0x140154453
mov ebp, eax
mov r15, rcx
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jne 0x1401542c2
test rdi, rdi
mov rcx, rdi
mov eax, 4
cmove rcx, rax
mov qword [rsp + 0x50], rcx
lea rax, [rcx*8]
lea rdx, [rax + rax*2]
mov rcx, qword [rsp + 0x38]
call fcn.1400fea70
mov rcx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1401542c2
lea rax, str.NULL___new_exprs
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, 0x1b0
call fcn.14014fd13
xor eax, eax
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbp
mov ecx, 6
lea rdx, str.NaClFaultInject:_adding__c__I64d__I64u__at__I64u_n
mov r8d, r12d
mov r9, rsi
call fcn.14014fd13
inc rbx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x38]
mov dword [rax + r14*2 - 0x10], r13d
mov dword [rax + r14*2 - 0xc], 0xaaaaaaaa
mov qword [rax + r14*2 - 8], rsi
mov qword [rax + r14*2], rbp
xor eax, eax
cmp byte [r15], 0x2b
sete al
add r15, rax
add r14, 0xc
add rdi, 2
jmp 0x140154144
test r12d, r12d
jne 0x140154373
lea r14, [0x14028fc66]
lea r12, str.NaClFaultInjection:_syntax_error_in_configuration__environment_variable_NACL_FAULT_INJECTION_contains__s__which_is_not_syntactically_correct._n
mov r15, qword [rsp + 0x40]
jmp 0x1401543af
mov ecx, 0xfffffffd
lea rdx, str.NaClFaultInjection:_fault_control_expression_should_indicate_if_the_counter_is_thread_local_or_global_n
call fcn.14014fd13
xor eax, eax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x48], rax
xor eax, eax
mov qword [rsp + 0x50], rax
mov r15, qword [rsp + 0x40]
jmp 0x14015439f
mov ecx, 0xfffffffd
lea rdx, str.NaClFaultInjection:_expected_P_or_F__got__c_n
mov r8d, r12d
call fcn.14014fd13
lea r14, [0x14028fc66]
lea r12, str.NaClFaultInjection:_syntax_error_in_configuration__environment_variable_NACL_FAULT_INJECTION_contains__s__which_is_not_syntactically_correct._n
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov ecx, 0xfffffffc
mov rdx, r12
mov r8, rbx
call fcn.14014fd13
mov rcx, qword [0x1403e4a78]
mov edx, 0xa0
call fcn.1400fea70
mov rsi, rax
test rax, rax
jne 0x1401543f2
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.14014fd13
mov qword [0x1403e4a78], rsi
mov rax, qword [0x1403e4a70]
lea rbx, [rax + 1]
mov qword [0x1403e4a70], rbx
lea rax, [rax + rax*4]
mov rcx, qword [rsp + 0x68]
mov qword [rsi + rax*8], rcx
mov rcx, qword [rsp + 0x58]
mov dword [rsi + rax*8 + 8], ecx
mov dword [rsi + rax*8 + 0xc], 0xaaaaaaaa
mov rcx, qword [rsp + 0x38]
mov qword [rsi + rax*8 + 0x10], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsi + rax*8 + 0x18], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsi + rax*8 + 0x20], rcx
cmp byte [r15], 0
jne 0x140154030
jmp 0x140154470
mov ecx, 0xfffffffd
lea rdx, str.NaClLogInject:_bad_fault_count_n
call fcn.14014fd13
jmp 0x140154387
mov rbx, qword [0x1403e4a70]
mov rcx, qword [rsp + 0x70]
call fcn.1400fea50
mov rsi, rbx
shl rsi, 4
mov rcx, rsi
call fcn.1400fe9f0
mov qword [0x1403e4a58], rax
test rax, rax
jne 0x1401544cd
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.14014fd13
mov rbx, qword [0x1403e4a70]
mov rsi, rbx
shl rsi, 4
mov rcx, rsi
call fcn.1400fe9f0
mov qword [0x1403e4a60], rax
test rax, rax
jne 0x140154512
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.14014fd13
mov rbx, qword [0x1403e4a70]
test rbx, rbx
je 0x140154553
xor esi, esi
xor edi, edi
xor ebx, ebx
mov rax, qword [0x1403e4a58]
mov qword [rax + rdi], rsi
mov rax, qword [0x1403e4a58]
mov qword [rax + rdi + 8], rsi
mov rcx, qword [0x1403e4a60]
add rcx, rdi
call fcn.14014f604
inc rbx
add rdi, 0x10
cmp rbx, qword [0x1403e4a70]
jb 0x14015451d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140203460
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [0x1403e4a84]
call qword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x140153f97