From e249c481581423a2e4d862bd4b4738f47002d9ae Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Wed, 15 Apr 2026 16:03:01 +0200 Subject: [PATCH 1/3] feat: fix clang-format pointer alignment For real this time_final_final_v2. --- .clang-format | 8 +++--- includes/core.h | 46 +++++++++++++++++----------------- scripts/stub.c | 44 ++++++++++++++++---------------- src/helpers/valgrind_wrapper.c | 4 +-- 4 files changed, 51 insertions(+), 51 deletions(-) diff --git a/.clang-format b/.clang-format index e7d00fe..25a80ca 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,5 @@ --- -Language: Cpp -BasedOnStyle: Google -PointerAlignment: Left -... +Language: Cpp +BasedOnStyle: Google +PointerAlignment: Right +DerivePointerAlignment: false diff --git a/includes/core.h b/includes/core.h index dd97925..4f65f81 100644 --- a/includes/core.h +++ b/includes/core.h @@ -21,28 +21,28 @@ extern "C" { #define CALLGRIND_ZERO_STATS #endif -typedef uint64_t* InstrumentHooks; +typedef uint64_t *InstrumentHooks; -InstrumentHooks* instrument_hooks_init(void); -void instrument_hooks_deinit(InstrumentHooks*); +InstrumentHooks *instrument_hooks_init(void); +void instrument_hooks_deinit(InstrumentHooks *); -bool instrument_hooks_is_instrumented(InstrumentHooks*); -uint8_t instrument_hooks_start_benchmark(InstrumentHooks*); -uint8_t instrument_hooks_stop_benchmark(InstrumentHooks*); -uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks*, int32_t pid, - const char* uri); +bool instrument_hooks_is_instrumented(InstrumentHooks *); +uint8_t instrument_hooks_start_benchmark(InstrumentHooks *); +uint8_t instrument_hooks_stop_benchmark(InstrumentHooks *); +uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks *, int32_t pid, + const char *uri); // Deprecated: use instrument_hooks_set_executed_benchmark instead -uint8_t instrument_hooks_executed_benchmark(InstrumentHooks*, int32_t pid, - const char* uri); -uint8_t instrument_hooks_set_integration(InstrumentHooks*, const char* name, - const char* version); +uint8_t instrument_hooks_executed_benchmark(InstrumentHooks *, int32_t pid, + const char *uri); +uint8_t instrument_hooks_set_integration(InstrumentHooks *, const char *name, + const char *version); #define MARKER_TYPE_SAMPLE_START 0 #define MARKER_TYPE_SAMPLE_END 1 #define MARKER_TYPE_BENCHMARK_START 2 #define MARKER_TYPE_BENCHMARK_END 3 -uint8_t instrument_hooks_add_marker(InstrumentHooks*, uint32_t pid, +uint8_t instrument_hooks_add_marker(InstrumentHooks *, uint32_t pid, uint8_t marker_type, uint64_t timestamp); uint64_t instrument_hooks_current_timestamp(void); @@ -63,22 +63,22 @@ void instrument_hooks_set_feature(instrument_hooks_feature_t feature, // Call collect_linked_libraries to gather linked library metadata. // Then call write_environment to flush everything to // $CODSPEED_PROFILE_FOLDER/environment-.json. -uint8_t instrument_hooks_set_environment(InstrumentHooks*, - const char* section_name, - const char* key, const char* value); -uint8_t instrument_hooks_set_environment_list(InstrumentHooks*, - const char* section_name, - const char* key, - const char* const* values, +uint8_t instrument_hooks_set_environment(InstrumentHooks *, + const char *section_name, + const char *key, const char *value); +uint8_t instrument_hooks_set_environment_list(InstrumentHooks *, + const char *section_name, + const char *key, + const char *const *values, uint32_t count); -uint8_t instrument_hooks_write_environment(InstrumentHooks*, uint32_t pid); +uint8_t instrument_hooks_write_environment(InstrumentHooks *, uint32_t pid); // Header functions that will be inlined. This can be used by languages that // directly consume the headers such as C or C++. This will allow for more // precise tracking of the benchmark performance. static inline uint8_t instrument_hooks_start_benchmark_inline( - InstrumentHooks* instance) { + InstrumentHooks *instance) { instrument_hooks_set_feature(FEATURE_DISABLE_CALLGRIND_MARKERS, true); if (instrument_hooks_start_benchmark(instance) != 0) { return 1; @@ -90,7 +90,7 @@ static inline uint8_t instrument_hooks_start_benchmark_inline( } static inline uint8_t instrument_hooks_stop_benchmark_inline( - InstrumentHooks* instance) { + InstrumentHooks *instance) { CALLGRIND_STOP_INSTRUMENTATION; return instrument_hooks_stop_benchmark(instance); } diff --git a/scripts/stub.c b/scripts/stub.c index 1e2505e..5b2f1e3 100644 --- a/scripts/stub.c +++ b/scripts/stub.c @@ -6,61 +6,61 @@ typedef struct InstrumentHooks { char reserved; } InstrumentHooks; -InstrumentHooks* instrument_hooks_init() { +InstrumentHooks *instrument_hooks_init() { static InstrumentHooks instance = {}; return &instance; } -void instrument_hooks_deinit(InstrumentHooks* hooks) {} +void instrument_hooks_deinit(InstrumentHooks *hooks) {} -bool instrument_hooks_is_instrumented(InstrumentHooks* hooks) { return false; } +bool instrument_hooks_is_instrumented(InstrumentHooks *hooks) { return false; } -uint8_t instrument_hooks_start_benchmark(InstrumentHooks* hooks) { return 0; } +uint8_t instrument_hooks_start_benchmark(InstrumentHooks *hooks) { return 0; } -uint8_t instrument_hooks_stop_benchmark(InstrumentHooks* hooks) { return 0; } +uint8_t instrument_hooks_stop_benchmark(InstrumentHooks *hooks) { return 0; } -uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks* hooks, - uint32_t pid, const char* uri) { +uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks *hooks, + uint32_t pid, const char *uri) { return 0; } // Deprecated: use instrument_hooks_set_executed_benchmark instead -uint8_t instrument_hooks_executed_benchmark(InstrumentHooks* hooks, - uint32_t pid, const char* uri) { +uint8_t instrument_hooks_executed_benchmark(InstrumentHooks *hooks, + uint32_t pid, const char *uri) { return 0; } -uint8_t instrument_hooks_set_integration(InstrumentHooks* hooks, - const char* name, - const char* version) { +uint8_t instrument_hooks_set_integration(InstrumentHooks *hooks, + const char *name, + const char *version) { return 0; } -void instrument_hooks_set_feature(InstrumentHooks* hooks, uint64_t feature, +void instrument_hooks_set_feature(InstrumentHooks *hooks, uint64_t feature, bool enabled) {} uint64_t instrument_hooks_current_timestamp() { return 0; } -uint8_t instrument_hooks_add_marker(InstrumentHooks* hooks, uint32_t pid, +uint8_t instrument_hooks_add_marker(InstrumentHooks *hooks, uint32_t pid, uint8_t marker_type, uint64_t timestamp) { return 0; } -uint8_t instrument_hooks_set_environment(InstrumentHooks* hooks, - const char* section_name, - const char* key, const char* value) { +uint8_t instrument_hooks_set_environment(InstrumentHooks *hooks, + const char *section_name, + const char *key, const char *value) { return 0; } -uint8_t instrument_hooks_set_environment_list(InstrumentHooks* hooks, - const char* section_name, - const char* key, - const char* const* values, +uint8_t instrument_hooks_set_environment_list(InstrumentHooks *hooks, + const char *section_name, + const char *key, + const char *const *values, uint32_t count) { return 0; } -uint8_t instrument_hooks_write_environment(InstrumentHooks* hooks, +uint8_t instrument_hooks_write_environment(InstrumentHooks *hooks, uint32_t pid) { return 0; } diff --git a/src/helpers/valgrind_wrapper.c b/src/helpers/valgrind_wrapper.c index 5dfc2b6..c8f306f 100644 --- a/src/helpers/valgrind_wrapper.c +++ b/src/helpers/valgrind_wrapper.c @@ -11,7 +11,7 @@ uint8_t running_on_valgrind() { return RUNNING_ON_VALGRIND > 0; } void callgrind_dump_stats() { CALLGRIND_DUMP_STATS; } -void callgrind_dump_stats_at(uint8_t const* pos_str) { +void callgrind_dump_stats_at(uint8_t const *pos_str) { CALLGRIND_DUMP_STATS_AT(pos_str); } @@ -27,7 +27,7 @@ uint8_t running_on_valgrind() { return 0; } void callgrind_dump_stats() {} -void callgrind_dump_stats_at(uint8_t const* pos_str) {} +void callgrind_dump_stats_at(uint8_t const *pos_str) {} void callgrind_zero_stats() {} From 292d58d1fe5b7c39a99c4f0bf0ddfe58b551748c Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Fri, 10 Apr 2026 17:53:06 +0200 Subject: [PATCH 2/3] fix: make C API compatible with macOS Use `c_char` (signed on macOS) instead of `u8` for all FFI string parameters in c.zig, and change the public InstrumentHooks type to an opaque struct so the header and generated core.c agree on the type layout. The release script now post-processes Zig's mangled struct names into stable `struct InstrumentHooks`. Also fixes CMakeLists using CMAKE_CXX_COMPILER_ID for a C-only project and removes the release dependency from example build targets. Co-Authored-By: Claude --- Justfile | 4 +- dist/core.c | 68346 +++++++++++++++----------- example/CMakeLists.txt | 6 +- includes/core.h | 9 +- scripts/release.py | 29 +- scripts/stub.c | 77 +- src/c.zig | 44 +- src/environment/root.zig | 2 +- src/helpers/valgrind_wrapper.c | 28 +- src/instruments/fifo_instrument.zig | 4 +- src/instruments/root.zig | 4 +- src/instruments/valgrind.zig | 2 +- src/runner_fifo.zig | 4 +- src/shared.zig | 4 +- 14 files changed, 38905 insertions(+), 29658 deletions(-) diff --git a/Justfile b/Justfile index c372ff7..5dc0962 100644 --- a/Justfile +++ b/Justfile @@ -8,13 +8,13 @@ build: # Use a fixed traversal seed for reproducible transpilation output zig build --seed 12345 -cmake-build-example: release +cmake-build-example: cd example && mkdir -p build && cd build && cmake .. && make -j cmake-run-example: cmake-build-example ./example/build/example -bazel-build-example: release +bazel-build-example: cd example && bazelisk build //:example bazel-run-example: bazel-build-example diff --git a/dist/core.c b/dist/core.c index 56ff790..5a44b73 100644 --- a/dist/core.c +++ b/dist/core.c @@ -6,2871 +6,4168 @@ #if defined(_WIN32) || defined(__APPLE__) // Stub implementations - instrumentation not supported on Windows/macOS -#include -#include +#include -typedef struct InstrumentHooks { - char reserved; -} InstrumentHooks; +#include "core.h" -InstrumentHooks* instrument_hooks_init() { - static InstrumentHooks instance = {}; - return &instance; -} +struct InstrumentHooks { + uint64_t _unused; +}; + +static struct InstrumentHooks stub_instance = {0}; -void instrument_hooks_deinit(InstrumentHooks* hooks) {} +InstrumentHooks *instrument_hooks_init(void) { return &stub_instance; } -bool instrument_hooks_is_instrumented(InstrumentHooks* hooks) { return false; } +void instrument_hooks_deinit(InstrumentHooks *hooks) { (void)hooks; } -uint8_t instrument_hooks_start_benchmark(InstrumentHooks* hooks) { return 0; } +bool instrument_hooks_is_instrumented(InstrumentHooks *hooks) { + (void)hooks; + return false; +} + +uint8_t instrument_hooks_start_benchmark(InstrumentHooks *hooks) { + (void)hooks; + return 0; +} -uint8_t instrument_hooks_stop_benchmark(InstrumentHooks* hooks) { return 0; } +uint8_t instrument_hooks_stop_benchmark(InstrumentHooks *hooks) { + (void)hooks; + return 0; +} -uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks* hooks, - uint32_t pid, const char* uri) { +uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks *hooks, + int32_t pid, const char *uri) { + (void)hooks; + (void)pid; + (void)uri; return 0; } // Deprecated: use instrument_hooks_set_executed_benchmark instead -uint8_t instrument_hooks_executed_benchmark(InstrumentHooks* hooks, - uint32_t pid, const char* uri) { +uint8_t instrument_hooks_executed_benchmark(InstrumentHooks *hooks, int32_t pid, + const char *uri) { + (void)hooks; + (void)pid; + (void)uri; return 0; } -uint8_t instrument_hooks_set_integration(InstrumentHooks* hooks, - const char* name, - const char* version) { +uint8_t instrument_hooks_set_integration(InstrumentHooks *hooks, + const char *name, + const char *version) { + (void)hooks; + (void)name; + (void)version; return 0; } -void instrument_hooks_set_feature(InstrumentHooks* hooks, uint64_t feature, - bool enabled) {} +void instrument_hooks_set_feature(uint64_t feature, bool enabled) { + (void)feature; + (void)enabled; +} -uint64_t instrument_hooks_current_timestamp() { return 0; } +uint64_t instrument_hooks_current_timestamp(void) { return 0; } -uint8_t instrument_hooks_add_marker(InstrumentHooks* hooks, uint32_t pid, +uint8_t instrument_hooks_add_marker(InstrumentHooks *hooks, int32_t pid, uint8_t marker_type, uint64_t timestamp) { + (void)hooks; + (void)pid; + (void)marker_type; + (void)timestamp; return 0; } -uint8_t instrument_hooks_set_environment(InstrumentHooks* hooks, - const char* section_name, - const char* key, const char* value) { +uint8_t instrument_hooks_set_environment(InstrumentHooks *hooks, + const char *section_name, + const char *key, const char *value) { + (void)hooks; + (void)section_name; + (void)key; + (void)value; return 0; } -uint8_t instrument_hooks_set_environment_list(InstrumentHooks* hooks, - const char* section_name, - const char* key, - const char* const* values, +uint8_t instrument_hooks_set_environment_list(InstrumentHooks *hooks, + const char *section_name, + const char *key, + const char *const *values, uint32_t count) { + (void)hooks; + (void)section_name; + (void)key; + (void)values; + (void)count; return 0; } -uint8_t instrument_hooks_write_environment(InstrumentHooks* hooks, - uint32_t pid) { +uint8_t instrument_hooks_write_environment(InstrumentHooks *hooks, + int32_t pid) { + (void)hooks; + (void)pid; return 0; } #else +#include "core.h" #define ZIG_TARGET_MAX_INT_ALIGNMENT 16 #include "zig.h" struct anon__lazy_58 { - uint8_t const *ptr; - uintptr_t len; + uint8_t const *ptr; + uintptr_t len; }; struct instruments_valgrind_ValgrindInstrument__564; -typedef struct anon__lazy_88 nav__781_39; +typedef struct anon__lazy_88 nav__782_39; struct mem_Allocator__599; struct mem_Allocator_VTable__602; struct mem_Allocator__599 { - void *ptr; - struct mem_Allocator_VTable__602 const *vtable; + void *ptr; + struct mem_Allocator_VTable__602 const *vtable; }; struct instruments_valgrind_ValgrindInstrument__564 { - struct mem_Allocator__599 allocator; + struct mem_Allocator__599 allocator; }; struct anon__lazy_88 { - struct instruments_valgrind_ValgrindInstrument__564 payload; - uint16_t error; + struct instruments_valgrind_ValgrindInstrument__564 payload; + uint16_t error; }; struct fs_File__646; -typedef struct anon__lazy_99 nav__1157_39; -typedef struct anon__lazy_58 nav__1157_41; +typedef struct anon__lazy_99 nav__1158_39; +typedef struct anon__lazy_58 nav__1158_41; struct fs_File__646 { - int32_t handle; + int32_t handle; }; struct anon__lazy_99 { - struct fs_File__646 payload; - uint16_t error; + struct fs_File__646 payload; + uint16_t error; }; struct fs_File_OpenFlags__2111; struct fs_File_OpenFlags__2111 { - uint8_t mode; - uint8_t lock; - bool lock_nonblocking; - bool allow_ctty; + uint8_t mode; + uint8_t lock; + bool lock_nonblocking; + bool allow_ctty; }; struct fifo_UnixPipe_Writer__638; -typedef struct anon__lazy_107 nav__1159_39; -typedef struct anon__lazy_58 nav__1159_42; +typedef struct anon__lazy_107 nav__1160_39; +typedef struct anon__lazy_58 nav__1160_42; struct array_list_ArrayListAligned_28u8_2cnull_29__658; -typedef struct anon__lazy_110 nav__1159_50; +typedef struct anon__lazy_110 nav__1160_50; struct anon__lazy_110 { - uint8_t *ptr; - uintptr_t len; + uint8_t *ptr; + uintptr_t len; }; struct array_list_ArrayListAligned_28u8_2cnull_29__658 { - struct anon__lazy_110 items; - uintptr_t capacity; - struct mem_Allocator__599 allocator; + struct anon__lazy_110 items; + uintptr_t capacity; + struct mem_Allocator__599 allocator; }; struct fifo_UnixPipe_Writer__638 { - struct mem_Allocator__599 allocator; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 buffer; - struct fs_File__646 file; + struct mem_Allocator__599 allocator; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 buffer; + struct fs_File__646 file; }; struct anon__lazy_107 { - struct fifo_UnixPipe_Writer__638 payload; - uint16_t error; + struct fifo_UnixPipe_Writer__638 payload; + uint16_t error; }; -typedef struct anon__lazy_99 nav__1159_59; +typedef struct anon__lazy_99 nav__1160_59; struct fifo_UnixPipe_Reader__640; -typedef struct anon__lazy_117 nav__1158_39; -typedef struct anon__lazy_58 nav__1158_42; -typedef struct anon__lazy_110 nav__1158_50; +typedef struct anon__lazy_117 nav__1159_39; +typedef struct anon__lazy_58 nav__1159_42; +typedef struct anon__lazy_110 nav__1159_50; struct fifo_UnixPipe_Reader__640 { - struct mem_Allocator__599 allocator; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 buffer; - struct fs_File__646 file; + struct mem_Allocator__599 allocator; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 buffer; + struct fs_File__646 file; }; struct anon__lazy_117 { - struct fifo_UnixPipe_Reader__640 payload; - uint16_t error; + struct fifo_UnixPipe_Reader__640 payload; + uint16_t error; }; -typedef struct anon__lazy_99 nav__1158_59; +typedef struct anon__lazy_99 nav__1159_59; struct runner_fifo_RunnerFifo__631; -typedef struct anon__lazy_123 nav__1124_39; -typedef struct anon__lazy_110 nav__1124_49; +typedef struct anon__lazy_123 nav__1125_39; +typedef struct anon__lazy_110 nav__1125_49; struct runner_fifo_RunnerFifo__631 { - struct mem_Allocator__599 allocator; - struct fifo_UnixPipe_Writer__638 writer; - struct fifo_UnixPipe_Reader__640 reader; + struct mem_Allocator__599 allocator; + struct fifo_UnixPipe_Writer__638 writer; + struct fifo_UnixPipe_Reader__640 reader; }; struct anon__lazy_123 { - struct runner_fifo_RunnerFifo__631 payload; - uint16_t error; + struct runner_fifo_RunnerFifo__631 payload; + uint16_t error; }; -typedef struct anon__lazy_58 nav__1124_64; -typedef struct anon__lazy_107 nav__1124_66; -typedef struct anon__lazy_117 nav__1124_71; +typedef struct anon__lazy_58 nav__1125_64; +typedef struct anon__lazy_107 nav__1125_66; +typedef struct anon__lazy_117 nav__1125_71; struct shared_Command__2195; struct shared_Command__struct_2198__2198; -typedef struct anon__lazy_58 nav__1163_44; +typedef struct anon__lazy_58 nav__1164_44; struct shared_Command__struct_2198__2198 { - struct anon__lazy_58 uri; - uint32_t pid; + struct anon__lazy_58 uri; + int32_t pid; }; struct shared_Command__struct_2199__2199; struct shared_Command__struct_2199__2199 { - struct anon__lazy_58 name; - struct anon__lazy_58 version; + struct anon__lazy_58 name; + struct anon__lazy_58 version; }; struct shared_Command__struct_2200__2200; struct shared_MarkerType__2202; struct shared_MarkerType__2202 { - union { - uint64_t SampleStart; - uint64_t SampleEnd; - uint64_t BenchmarkStart; - uint64_t BenchmarkEnd; - } payload; - uint8_t tag; + union { + uint64_t SampleStart; + uint64_t SampleEnd; + uint64_t BenchmarkStart; + uint64_t BenchmarkEnd; + } payload; + uint8_t tag; }; struct shared_Command__struct_2200__2200 { - struct shared_MarkerType__2202 marker; - uint32_t pid; + struct shared_MarkerType__2202 marker; + int32_t pid; }; struct shared_Command__2195 { - union { - struct shared_Command__struct_2198__2198 ExecutedBenchmark; - struct shared_Command__struct_2199__2199 SetIntegration; - struct shared_Command__struct_2200__2200 AddMarker; - uint64_t SetVersion; - uint8_t IntegrationModeResponse; - } payload; - uint8_t tag; + union { + struct shared_Command__struct_2198__2198 ExecutedBenchmark; + struct shared_Command__struct_2199__2199 SetIntegration; + struct shared_Command__struct_2200__2200 AddMarker; + uint64_t SetVersion; + uint8_t IntegrationModeResponse; + } payload; + uint8_t tag; }; -typedef struct anon__lazy_110 nav__1163_65; -struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237; -struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *context; +typedef struct anon__lazy_110 nav__1164_65; +struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237; +struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *context; }; -typedef struct anon__lazy_154 nav__5021_38; -struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420; +typedef struct anon__lazy_154 nav__5022_38; +struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420; struct anon__lazy_154 { - uint32_t payload; - uint16_t error; + uint32_t payload; + uint16_t error; }; struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396; -struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *context; +struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *context; }; struct io_Reader__2566; -typedef struct anon__lazy_166 nav__5021_50; -typedef struct anon__lazy_110 nav__5021_52; +typedef struct anon__lazy_166 nav__5022_50; +typedef struct anon__lazy_110 nav__5022_52; struct io_Reader__2566 { - void const *context; - struct anon__lazy_166 (*readFn)(void const *, struct anon__lazy_110); + void const *context; + struct anon__lazy_166 (*readFn)(void const *, struct anon__lazy_110); }; struct anon__lazy_166 { - uintptr_t payload; - uint16_t error; + uintptr_t payload; + uint16_t error; }; -typedef struct anon__lazy_176 nav__5021_64; +typedef struct anon__lazy_176 nav__5022_64; struct anon__lazy_176 { - uint16_t error; - uint8_t payload[4]; + uint16_t error; + uint8_t payload[4]; }; -typedef struct anon__lazy_154 nav__5020_38; -typedef struct anon__lazy_110 nav__5063_39; -typedef struct anon__lazy_180 nav__5063_40; +typedef struct anon__lazy_154 nav__5021_38; +typedef struct anon__lazy_180 nav__5064_38; struct anon__lazy_180 { - struct anon__lazy_110 payload; - uint16_t error; + int32_t payload; + uint16_t error; }; -typedef struct anon__lazy_166 nav__5063_59; -typedef struct anon__lazy_185 nav__5063_69; -struct anon__lazy_185 { - uint64_t payload; - uint16_t error; +typedef struct anon__lazy_166 nav__5064_50; +typedef struct anon__lazy_110 nav__5064_52; +typedef struct anon__lazy_176 nav__5064_64; +typedef struct anon__lazy_180 nav__5063_38; +typedef struct anon__lazy_110 nav__5066_39; +typedef struct anon__lazy_186 nav__5066_40; +struct anon__lazy_186 { + struct anon__lazy_110 payload; + uint16_t error; }; -typedef struct anon__lazy_187 nav__5063_72; -struct anon__lazy_187 { - uint16_t error; - uint8_t payload[8]; +typedef struct anon__lazy_166 nav__5066_59; +typedef struct anon__lazy_191 nav__5066_69; +struct anon__lazy_191 { + uint64_t payload; + uint16_t error; }; -typedef struct anon__lazy_58 nav__5062_39; -typedef struct anon__lazy_190 nav__5062_40; -struct anon__lazy_190 { - struct anon__lazy_58 payload; - uint16_t error; +typedef struct anon__lazy_193 nav__5066_72; +struct anon__lazy_193 { + uint16_t error; + uint8_t payload[8]; +}; +typedef struct anon__lazy_58 nav__5065_39; +typedef struct anon__lazy_196 nav__5065_40; +struct anon__lazy_196 { + struct anon__lazy_58 payload; + uint16_t error; +}; +typedef struct anon__lazy_110 nav__5065_55; +typedef struct anon__lazy_186 nav__5065_57; +typedef struct anon__lazy_200 nav__5062_39; +typedef struct anon__lazy_58 nav__5062_44; +struct anon__lazy_200 { + struct shared_Command__struct_2198__2198 payload; + uint16_t error; }; -typedef struct anon__lazy_110 nav__5062_55; typedef struct anon__lazy_180 nav__5062_57; -typedef struct anon__lazy_194 nav__5061_39; +typedef struct anon__lazy_196 nav__5062_60; +typedef struct anon__lazy_200 nav__5061_39; typedef struct anon__lazy_58 nav__5061_44; -struct anon__lazy_194 { - struct shared_Command__struct_2198__2198 payload; - uint16_t error; +typedef struct anon__lazy_208 nav__5072_39; +typedef struct anon__lazy_58 nav__5072_44; +struct anon__lazy_208 { + struct shared_Command__struct_2199__2199 payload; + uint16_t error; }; -typedef struct anon__lazy_154 nav__5061_57; -typedef struct anon__lazy_190 nav__5061_60; -typedef struct anon__lazy_194 nav__5060_39; -typedef struct anon__lazy_58 nav__5060_44; -typedef struct anon__lazy_202 nav__5069_39; -typedef struct anon__lazy_58 nav__5069_44; -struct anon__lazy_202 { - struct shared_Command__struct_2199__2199 payload; - uint16_t error; +typedef struct anon__lazy_196 nav__5072_57; +typedef struct anon__lazy_208 nav__5071_39; +typedef struct anon__lazy_58 nav__5071_44; +typedef struct anon__lazy_191 nav__5078_38; +typedef struct anon__lazy_166 nav__5078_50; +typedef struct anon__lazy_110 nav__5078_52; +typedef struct anon__lazy_193 nav__5078_64; +typedef struct anon__lazy_191 nav__5077_38; +typedef struct anon__lazy_216 nav__5076_39; +struct anon__lazy_216 { + struct shared_MarkerType__2202 payload; + uint16_t error; }; -typedef struct anon__lazy_190 nav__5069_57; -typedef struct anon__lazy_202 nav__5068_39; -typedef struct anon__lazy_58 nav__5068_44; -typedef struct anon__lazy_185 nav__5075_38; -typedef struct anon__lazy_166 nav__5075_50; -typedef struct anon__lazy_110 nav__5075_52; -typedef struct anon__lazy_187 nav__5075_64; -typedef struct anon__lazy_185 nav__5074_38; -typedef struct anon__lazy_210 nav__5073_39; -struct anon__lazy_210 { - struct shared_MarkerType__2202 payload; - uint16_t error; +typedef struct anon__lazy_154 nav__5076_54; +typedef struct anon__lazy_191 nav__5076_56; +typedef struct anon__lazy_216 nav__5075_39; +typedef struct anon__lazy_220 nav__5074_39; +struct anon__lazy_220 { + struct shared_Command__struct_2200__2200 payload; + uint16_t error; }; -typedef struct anon__lazy_154 nav__5073_54; -typedef struct anon__lazy_185 nav__5073_56; -typedef struct anon__lazy_210 nav__5072_39; -typedef struct anon__lazy_214 nav__5071_39; -struct anon__lazy_214 { - struct shared_Command__struct_2200__2200 payload; - uint16_t error; +typedef struct anon__lazy_180 nav__5074_57; +typedef struct anon__lazy_216 nav__5074_60; +typedef struct anon__lazy_220 nav__5073_39; +typedef struct anon__lazy_225 nav__5080_38; +struct anon__lazy_225 { + uint16_t error; + uint8_t payload; }; -typedef struct anon__lazy_154 nav__5071_57; -typedef struct anon__lazy_210 nav__5071_60; -typedef struct anon__lazy_214 nav__5070_39; -typedef struct anon__lazy_219 nav__5077_38; -struct anon__lazy_219 { - uint16_t error; - uint8_t payload; +typedef struct anon__lazy_154 nav__5080_46; +typedef struct anon__lazy_225 nav__5079_38; +typedef struct anon__lazy_231 nav__5020_39; +typedef struct anon__lazy_58 nav__5020_45; +struct anon__lazy_231 { + struct shared_Command__2195 payload; + uint16_t error; }; -typedef struct anon__lazy_154 nav__5077_46; -typedef struct anon__lazy_219 nav__5076_38; -typedef struct anon__lazy_225 nav__5019_39; +typedef struct anon__lazy_154 nav__5020_66; +typedef struct anon__lazy_200 nav__5020_68; +typedef struct anon__lazy_208 nav__5020_70; +typedef struct anon__lazy_220 nav__5020_72; +typedef struct anon__lazy_191 nav__5020_74; +typedef struct anon__lazy_225 nav__5020_76; +typedef struct anon__lazy_231 nav__5019_39; typedef struct anon__lazy_58 nav__5019_45; -struct anon__lazy_225 { - struct shared_Command__2195 payload; - uint16_t error; -}; -typedef struct anon__lazy_154 nav__5019_66; -typedef struct anon__lazy_194 nav__5019_68; -typedef struct anon__lazy_202 nav__5019_70; -typedef struct anon__lazy_214 nav__5019_72; -typedef struct anon__lazy_185 nav__5019_74; -typedef struct anon__lazy_219 nav__5019_76; -typedef struct anon__lazy_225 nav__5018_39; -typedef struct anon__lazy_58 nav__5018_45; -typedef struct anon__lazy_225 nav__1168_39; -typedef struct anon__lazy_58 nav__1168_45; -typedef struct anon__lazy_110 nav__1168_68; -typedef struct anon__lazy_166 nav__1168_76; +typedef struct anon__lazy_231 nav__1169_39; +typedef struct anon__lazy_58 nav__1169_45; +typedef struct anon__lazy_110 nav__1169_68; +typedef struct anon__lazy_166 nav__1169_76; struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 { - struct anon__lazy_110 buffer; - uintptr_t pos; + struct anon__lazy_110 buffer; + uintptr_t pos; }; -typedef struct anon__lazy_225 nav__1169_39; -typedef struct anon__lazy_234 nav__1169_42; -typedef struct anon__lazy_58 nav__1169_46; -struct anon__lazy_234 { - uint64_t payload; - bool is_null; +typedef struct anon__lazy_231 nav__1170_39; +typedef struct anon__lazy_240 nav__1170_42; +typedef struct anon__lazy_58 nav__1170_46; +struct anon__lazy_240 { + uint64_t payload; + bool is_null; }; -typedef struct anon__lazy_234 nav__1170_40; -typedef struct anon__lazy_58 nav__1170_48; -typedef struct anon__lazy_225 nav__1170_60; -typedef struct anon__lazy_110 nav__1170_70; -typedef struct anon__lazy_241 nav__1170_77; -struct anon__lazy_241 { - struct shared_Command__2195 f0; +typedef struct anon__lazy_240 nav__1171_40; +typedef struct anon__lazy_58 nav__1171_48; +typedef struct anon__lazy_231 nav__1171_60; +typedef struct anon__lazy_110 nav__1171_70; +typedef struct anon__lazy_247 nav__1171_77; +struct anon__lazy_247 { + struct shared_Command__2195 f0; }; -typedef struct anon__lazy_110 nav__1134_50; -typedef struct anon__lazy_58 nav__1134_63; -typedef struct anon__lazy_234 nav__1134_76; -typedef struct anon__lazy_58 nav__1125_43; -typedef struct anon__lazy_246 nav__1125_45; -struct anon__lazy_246 { - struct anon__lazy_58 f0; +typedef struct anon__lazy_110 nav__1135_50; +typedef struct anon__lazy_58 nav__1135_63; +typedef struct anon__lazy_240 nav__1135_76; +typedef struct anon__lazy_58 nav__1126_43; +typedef struct anon__lazy_252 nav__1126_45; +struct anon__lazy_252 { + struct anon__lazy_58 f0; }; -typedef struct anon__lazy_219 nav__1135_38; -typedef struct anon__lazy_110 nav__1135_53; -typedef struct anon__lazy_58 nav__1135_66; -typedef struct anon__lazy_234 nav__1135_79; -typedef struct anon__lazy_225 nav__1135_81; -struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591; -typedef struct anon__lazy_251 nav__815_39; -typedef struct anon__lazy_110 nav__815_50; -struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 { - struct runner_fifo_RunnerFifo__631 fifo; +typedef struct anon__lazy_225 nav__1136_38; +typedef struct anon__lazy_110 nav__1136_53; +typedef struct anon__lazy_58 nav__1136_66; +typedef struct anon__lazy_240 nav__1136_79; +typedef struct anon__lazy_231 nav__1136_81; +struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591; +typedef struct anon__lazy_257 nav__816_39; +typedef struct anon__lazy_110 nav__816_50; +struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 { + struct runner_fifo_RunnerFifo__631 fifo; }; -struct anon__lazy_251 { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 payload; - uint16_t error; +struct anon__lazy_257 { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + payload; + uint16_t error; }; -typedef struct anon__lazy_123 nav__815_62; -typedef struct anon__lazy_219 nav__815_65; -struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582; -typedef struct anon__lazy_257 nav__802_39; -typedef struct anon__lazy_110 nav__802_50; -struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 { - struct runner_fifo_RunnerFifo__631 fifo; +typedef struct anon__lazy_123 nav__816_62; +typedef struct anon__lazy_225 nav__816_65; +struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582; +typedef struct anon__lazy_263 nav__803_39; +typedef struct anon__lazy_110 nav__803_50; +struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 { + struct runner_fifo_RunnerFifo__631 fifo; }; -struct anon__lazy_257 { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 payload; - uint16_t error; +struct anon__lazy_263 { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + payload; + uint16_t error; }; -typedef struct anon__lazy_123 nav__802_62; -typedef struct anon__lazy_219 nav__802_65; +typedef struct anon__lazy_123 nav__803_62; +typedef struct anon__lazy_225 nav__803_65; struct instruments_root_Instrument__554; -typedef struct anon__lazy_263 nav__738_39; -typedef struct anon__lazy_110 nav__738_53; +typedef struct anon__lazy_269 nav__739_39; +typedef struct anon__lazy_110 nav__739_53; struct instruments_root_Instrument__554 { - union { - struct instruments_valgrind_ValgrindInstrument__564 valgrind; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 perf; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 analysis; - } payload; - uint8_t tag; + union { + struct instruments_valgrind_ValgrindInstrument__564 valgrind; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + perf; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + analysis; + } payload; + uint8_t tag; }; -struct anon__lazy_263 { - struct instruments_root_Instrument__554 payload; - uint16_t error; +struct anon__lazy_269 { + struct instruments_root_Instrument__554 payload; + uint16_t error; }; -typedef struct anon__lazy_88 nav__738_69; -typedef struct anon__lazy_251 nav__738_71; -typedef struct anon__lazy_257 nav__738_73; -struct instrument_hooks_InstrumentHooks__547; -typedef struct anon__lazy_270 nav__726_39; -typedef struct anon__lazy_110 nav__726_54; +typedef struct anon__lazy_88 nav__739_69; +typedef struct anon__lazy_257 nav__739_71; +typedef struct anon__lazy_263 nav__739_73; +struct InstrumentHooks; +typedef struct anon__lazy_276 nav__727_39; +typedef struct anon__lazy_110 nav__727_54; struct environment_root_Environment__559; struct environment_root_EnvironmentJson__839; -struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 { - uint8_t *bytes; - uintptr_t len; - uintptr_t capacity; +struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 { + uint8_t *bytes; + uintptr_t len; + uintptr_t capacity; }; struct array_hash_map_IndexHeader__886; struct debug_SafetyLock__890; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 entries; - struct array_hash_map_IndexHeader__886 *index_header; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + entries; + struct array_hash_map_IndexHeader__886 *index_header; }; -struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 map; +struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + map; }; -struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 { - uint8_t *bytes; - uintptr_t len; - uintptr_t capacity; +struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 { + uint8_t *bytes; + uintptr_t len; + uintptr_t capacity; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 entries; - struct array_hash_map_IndexHeader__886 *index_header; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + entries; + struct array_hash_map_IndexHeader__886 *index_header; }; -struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 map; +struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + map; }; struct environment_root_EnvironmentJson__839 { - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 integration_environment; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 linked_libraries; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + integration_environment; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + linked_libraries; }; struct environment_linked_libraries_root_LinkedLibraries__843; -struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942; +struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942; struct environment_linked_libraries_root_LibraryInfo__940; -typedef struct anon__lazy_294 nav__726_90; -struct anon__lazy_294 { - struct environment_linked_libraries_root_LibraryInfo__940 *ptr; - uintptr_t len; +typedef struct anon__lazy_300 nav__727_90; +struct anon__lazy_300 { + struct environment_linked_libraries_root_LibraryInfo__940 *ptr; + uintptr_t len; }; -struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 { - struct anon__lazy_294 items; - uintptr_t capacity; - struct mem_Allocator__599 allocator; +struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 { + struct anon__lazy_300 items; + uintptr_t capacity; + struct mem_Allocator__599 allocator; }; struct environment_linked_libraries_root_LinkedLibraries__843 { - struct mem_Allocator__599 allocator; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 libraries; + struct mem_Allocator__599 allocator; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + libraries; }; struct environment_root_Environment__559 { - struct mem_Allocator__599 allocator; - struct environment_root_EnvironmentJson__839 data; - struct environment_linked_libraries_root_LinkedLibraries__843 libs; + struct mem_Allocator__599 allocator; + struct environment_root_EnvironmentJson__839 data; + struct environment_linked_libraries_root_LinkedLibraries__843 libs; }; -struct instrument_hooks_InstrumentHooks__547 { - struct instruments_root_Instrument__554 instrument; - struct environment_root_Environment__559 environment; +struct InstrumentHooks { + struct instruments_root_Instrument__554 instrument; + struct environment_root_Environment__559 environment; }; -struct anon__lazy_270 { - struct instrument_hooks_InstrumentHooks__547 payload; - uint16_t error; +struct anon__lazy_276 { + struct InstrumentHooks payload; + uint16_t error; }; -typedef struct anon__lazy_263 nav__726_100; -typedef struct anon__lazy_306 nav__237_46; -struct anon__lazy_306 { - struct instrument_hooks_InstrumentHooks__547 *payload; - uint16_t error; +typedef struct anon__lazy_269 nav__727_100; +typedef struct anon__lazy_312 nav__238_46; +struct anon__lazy_312 { + struct InstrumentHooks *payload; + uint16_t error; }; -typedef struct anon__lazy_110 nav__237_51; +typedef struct anon__lazy_110 nav__238_51; struct mem_Allocator_VTable__602 { - uint8_t *(*alloc)(void *, uintptr_t, uint8_t, uintptr_t); - bool (*resize)(void *, struct anon__lazy_110, uint8_t, uintptr_t, uintptr_t); - uint8_t *(*remap)(void *, struct anon__lazy_110, uint8_t, uintptr_t, uintptr_t); - void (*free)(void *, struct anon__lazy_110, uint8_t, uintptr_t); + uint8_t *(*alloc)(void *, uintptr_t, uint8_t, uintptr_t); + bool (*resize)(void *, struct anon__lazy_110, uint8_t, uintptr_t, uintptr_t); + uint8_t *(*remap)(void *, struct anon__lazy_110, uint8_t, uintptr_t, + uintptr_t); + void (*free)(void *, struct anon__lazy_110, uint8_t, uintptr_t); }; -typedef struct anon__lazy_294 nav__237_101; -typedef struct anon__lazy_270 nav__237_107; -typedef struct anon__lazy_306 nav__4527_40; -typedef struct anon__lazy_319 nav__4527_51; -struct anon__lazy_319 { - uint8_t *payload; - uint16_t error; +typedef struct anon__lazy_300 nav__238_101; +typedef struct anon__lazy_276 nav__238_107; +typedef struct anon__lazy_312 nav__4528_40; +typedef struct anon__lazy_325 nav__4528_51; +struct anon__lazy_325 { + uint8_t *payload; + uint16_t error; }; -typedef struct anon__lazy_58 nav__1225_39; +typedef struct anon__lazy_58 nav__1226_39; struct fs_Dir__2113; struct fs_Dir__2113 { - int32_t fd; + int32_t fd; }; -typedef struct anon__lazy_99 nav__1222_39; -typedef struct anon__lazy_58 nav__1222_41; -typedef struct anon__lazy_110 nav__1160_48; -typedef struct anon__lazy_110 nav__1165_48; -typedef struct anon__lazy_110 nav__1439_43; -typedef struct anon__lazy_58 nav__4911_46; -typedef struct anon__lazy_58 nav__1316_40; -typedef struct anon__lazy_166 nav__1316_47; -struct os_linux_timespec__struct_3262__3262; -struct os_linux_timespec__struct_3262__3262 { - intptr_t sec; - intptr_t nsec; +typedef struct anon__lazy_99 nav__1223_39; +typedef struct anon__lazy_58 nav__1223_41; +typedef struct anon__lazy_110 nav__1161_48; +typedef struct anon__lazy_110 nav__1166_48; +typedef struct anon__lazy_110 nav__1440_43; +typedef struct anon__lazy_58 nav__4912_46; +typedef struct anon__lazy_58 nav__1317_40; +typedef struct anon__lazy_166 nav__1317_47; +struct os_linux_timespec__struct_3278__3278; +struct os_linux_timespec__struct_3278__3278 { + intptr_t sec; + intptr_t nsec; }; -typedef struct anon__lazy_350 nav__4925_41; -struct anon__lazy_350 { - struct os_linux_timespec__struct_3262__3262 payload; - uint16_t error; +typedef struct anon__lazy_356 nav__4926_41; +struct anon__lazy_356 { + struct os_linux_timespec__struct_3278__3278 payload; + uint16_t error; }; -typedef struct anon__lazy_166 nav__1306_38; -typedef struct anon__lazy_110 nav__1306_41; -typedef struct anon__lazy_110 nav__1436_43; -typedef struct anon__lazy_110 nav__4984_40; -typedef struct anon__lazy_166 nav__5017_38; -typedef struct anon__lazy_110 nav__5017_41; -typedef struct anon__lazy_176 nav__5059_39; -typedef struct anon__lazy_166 nav__5059_44; -typedef struct anon__lazy_110 nav__5059_46; -typedef struct anon__lazy_187 nav__5064_39; -typedef struct anon__lazy_166 nav__5064_44; -typedef struct anon__lazy_110 nav__5064_46; -typedef struct anon__lazy_110 nav__5065_39; -typedef struct anon__lazy_180 nav__5065_40; -typedef struct anon__lazy_319 nav__5065_51; -typedef struct anon__lazy_166 nav__5024_38; -typedef struct anon__lazy_110 nav__5024_41; -struct cimport_struct_timespec__3333; -struct cimport_struct_timespec__3333 { - long tv_sec; - long tv_nsec; +typedef struct anon__lazy_166 nav__1307_38; +typedef struct anon__lazy_110 nav__1307_41; +typedef struct anon__lazy_110 nav__1437_43; +typedef struct anon__lazy_110 nav__4985_40; +typedef struct anon__lazy_166 nav__5018_38; +typedef struct anon__lazy_110 nav__5018_41; +typedef struct anon__lazy_176 nav__5060_39; +typedef struct anon__lazy_166 nav__5060_44; +typedef struct anon__lazy_110 nav__5060_46; +typedef struct anon__lazy_193 nav__5067_39; +typedef struct anon__lazy_166 nav__5067_44; +typedef struct anon__lazy_110 nav__5067_46; +typedef struct anon__lazy_110 nav__5068_39; +typedef struct anon__lazy_186 nav__5068_40; +typedef struct anon__lazy_325 nav__5068_51; +typedef struct anon__lazy_166 nav__5025_38; +typedef struct anon__lazy_110 nav__5025_41; +struct cimport_struct_timespec__3349; +struct cimport_struct_timespec__3349 { + long tv_sec; + long tv_nsec; }; -typedef struct anon__lazy_376 nav__4779_42; -struct anon__lazy_376 { - long payload; - bool is_null; +typedef struct anon__lazy_382 nav__4780_42; +struct anon__lazy_382 { + long payload; + bool is_null; }; -typedef struct anon__lazy_58 nav__4784_43; -typedef struct anon__lazy_241 nav__5087_39; -typedef struct anon__lazy_58 nav__5087_43; -typedef struct anon__lazy_58 nav__5090_39; -typedef struct anon__lazy_246 nav__5090_40; -typedef struct anon__lazy_110 nav__1126_50; -typedef struct anon__lazy_294 nav__768_67; -typedef struct anon__lazy_319 nav__5091_39; -typedef struct anon__lazy_110 nav__5091_52; -typedef struct anon__lazy_58 nav__5126_39; -typedef struct anon__lazy_58 nav__4728_40; -typedef struct anon__lazy_403 nav__4728_49; -struct anon__lazy_403 { - uint16_t error; - uint8_t payload[4096]; +typedef struct anon__lazy_58 nav__4785_43; +typedef struct anon__lazy_247 nav__5090_39; +typedef struct anon__lazy_58 nav__5090_43; +typedef struct anon__lazy_58 nav__5093_39; +typedef struct anon__lazy_252 nav__5093_40; +typedef struct anon__lazy_110 nav__1127_50; +typedef struct anon__lazy_300 nav__769_67; +typedef struct anon__lazy_325 nav__5094_39; +typedef struct anon__lazy_110 nav__5094_52; +typedef struct anon__lazy_58 nav__5129_39; +typedef struct anon__lazy_58 nav__4729_40; +typedef struct anon__lazy_409 nav__4729_49; +struct anon__lazy_409 { + uint16_t error; + uint8_t payload[4096]; }; -typedef struct anon__lazy_99 nav__4664_39; -typedef struct anon__lazy_58 nav__4664_42; -typedef struct anon__lazy_403 nav__4664_53; -typedef struct anon__lazy_110 nav__1404_42; -typedef struct anon__lazy_110 nav__1441_43; -typedef struct anon__lazy_58 nav__6120_46; -typedef struct anon__lazy_166 nav__1315_38; -typedef struct anon__lazy_58 nav__1315_41; -typedef struct anon__lazy_350 nav__1815_39; -typedef struct anon__lazy_166 nav__1305_38; -typedef struct anon__lazy_110 nav__1305_41; -typedef struct anon__lazy_166 nav__4976_38; -typedef struct anon__lazy_110 nav__4976_42; -typedef struct anon__lazy_110 nav__5026_40; -typedef struct anon__lazy_166 nav__5026_43; -typedef struct anon__lazy_319 nav__6121_39; -typedef struct anon__lazy_166 nav__6121_49; -typedef struct anon__lazy_166 nav__5025_38; -typedef struct anon__lazy_110 nav__5025_41; -typedef struct anon__lazy_376 nav__7055_38; -typedef struct anon__lazy_58 nav__7835_40; -typedef struct anon__lazy_110 nav__7835_51; -typedef struct anon__lazy_241 nav__7836_39; -typedef struct anon__lazy_58 nav__7836_43; -typedef struct anon__lazy_110 nav__7836_59; -typedef struct anon__lazy_180 nav__7836_63; -typedef struct anon__lazy_110 nav__7837_41; -typedef struct anon__lazy_180 nav__7837_45; -typedef struct anon__lazy_110 nav__7838_41; -typedef struct anon__lazy_180 nav__7838_45; -typedef struct anon__lazy_58 nav__7840_39; -typedef struct anon__lazy_246 nav__7840_40; -typedef struct anon__lazy_110 nav__7840_47; -typedef struct anon__lazy_180 nav__7840_51; -typedef struct anon__lazy_110 nav__1164_49; -typedef struct anon__lazy_110 nav__1171_50; -typedef struct anon__lazy_166 nav__1171_58; -typedef struct anon__lazy_294 nav__3629_48; -typedef struct anon__lazy_58 nav__5132_39; -typedef struct anon__lazy_403 nav__1899_39; -typedef struct anon__lazy_58 nav__1899_41; -typedef struct anon__lazy_110 nav__1899_47; typedef struct anon__lazy_99 nav__4665_39; -typedef struct anon__lazy_446 nav__4665_50; -struct anon__lazy_446 { - int32_t payload; - uint16_t error; -}; +typedef struct anon__lazy_58 nav__4665_42; +typedef struct anon__lazy_409 nav__4665_53; +typedef struct anon__lazy_110 nav__1405_42; typedef struct anon__lazy_110 nav__1442_43; -typedef struct anon__lazy_180 nav__1442_55; -typedef struct anon__lazy_58 nav__7913_45; -typedef struct anon__lazy_58 nav__7915_45; -typedef struct anon__lazy_166 nav__1634_38; -typedef struct anon__lazy_58 nav__1634_40; -typedef struct anon__lazy_166 nav__1626_38; -typedef struct anon__lazy_110 nav__1626_40; -typedef struct anon__lazy_166 nav__7986_38; -typedef struct anon__lazy_474 nav__7986_42; -struct anon__lazy_474 { - uintptr_t f0; - uint8_t f1; -}; -typedef struct anon__lazy_319 nav__7987_39; -typedef struct anon__lazy_110 nav__7987_52; -typedef struct anon__lazy_166 nav__5023_38; -typedef struct anon__lazy_110 nav__5023_41; -typedef struct anon__lazy_58 nav__7989_39; -struct io_Writer__4338; -typedef struct anon__lazy_241 nav__8283_40; -typedef struct anon__lazy_166 nav__8283_43; -typedef struct anon__lazy_58 nav__8283_45; -struct io_Writer__4338 { - void const *context; - struct anon__lazy_166 (*writeFn)(void const *, struct anon__lazy_58); +typedef struct anon__lazy_58 nav__6123_46; +typedef struct anon__lazy_166 nav__1316_38; +typedef struct anon__lazy_58 nav__1316_41; +typedef struct anon__lazy_356 nav__1816_39; +typedef struct anon__lazy_166 nav__1306_38; +typedef struct anon__lazy_110 nav__1306_41; +typedef struct anon__lazy_166 nav__4977_38; +typedef struct anon__lazy_110 nav__4977_42; +typedef struct anon__lazy_110 nav__5027_40; +typedef struct anon__lazy_166 nav__5027_43; +typedef struct anon__lazy_325 nav__6124_39; +typedef struct anon__lazy_166 nav__6124_49; +typedef struct anon__lazy_166 nav__5026_38; +typedef struct anon__lazy_110 nav__5026_41; +typedef struct anon__lazy_382 nav__7058_38; +typedef struct anon__lazy_58 nav__7838_40; +typedef struct anon__lazy_110 nav__7838_51; +typedef struct anon__lazy_247 nav__7839_39; +typedef struct anon__lazy_58 nav__7839_43; +typedef struct anon__lazy_110 nav__7839_59; +typedef struct anon__lazy_186 nav__7839_63; +typedef struct anon__lazy_110 nav__7840_41; +typedef struct anon__lazy_186 nav__7840_45; +typedef struct anon__lazy_110 nav__7841_41; +typedef struct anon__lazy_186 nav__7841_45; +typedef struct anon__lazy_58 nav__7843_39; +typedef struct anon__lazy_252 nav__7843_40; +typedef struct anon__lazy_110 nav__7843_47; +typedef struct anon__lazy_186 nav__7843_51; +typedef struct anon__lazy_110 nav__1165_49; +typedef struct anon__lazy_110 nav__1172_50; +typedef struct anon__lazy_166 nav__1172_58; +typedef struct anon__lazy_300 nav__3630_48; +typedef struct anon__lazy_58 nav__5135_39; +typedef struct anon__lazy_409 nav__1900_39; +typedef struct anon__lazy_58 nav__1900_41; +typedef struct anon__lazy_110 nav__1900_47; +typedef struct anon__lazy_99 nav__4666_39; +typedef struct anon__lazy_180 nav__4666_50; +typedef struct anon__lazy_110 nav__1443_43; +typedef struct anon__lazy_186 nav__1443_55; +typedef struct anon__lazy_58 nav__7916_45; +typedef struct anon__lazy_58 nav__7918_45; +typedef struct anon__lazy_166 nav__1635_38; +typedef struct anon__lazy_58 nav__1635_40; +typedef struct anon__lazy_166 nav__1627_38; +typedef struct anon__lazy_110 nav__1627_40; +typedef struct anon__lazy_166 nav__7989_38; +typedef struct anon__lazy_478 nav__7989_42; +struct anon__lazy_478 { + uintptr_t f0; + uint8_t f1; }; -struct fmt_FormatOptions__4745; -typedef struct anon__lazy_489 nav__8283_67; -struct anon__lazy_489 { - uintptr_t payload; - bool is_null; +typedef struct anon__lazy_325 nav__7990_39; +typedef struct anon__lazy_110 nav__7990_52; +typedef struct anon__lazy_166 nav__5024_38; +typedef struct anon__lazy_110 nav__5024_41; +typedef struct anon__lazy_58 nav__7992_39; +struct io_Writer__4352; +typedef struct anon__lazy_247 nav__8286_40; +typedef struct anon__lazy_166 nav__8286_43; +typedef struct anon__lazy_58 nav__8286_45; +struct io_Writer__4352 { + void const *context; + struct anon__lazy_166 (*writeFn)(void const *, struct anon__lazy_58); }; -struct fmt_FormatOptions__4745 { - struct anon__lazy_489 precision; - struct anon__lazy_489 width; - uint32_t fill; - uint8_t alignment; +struct fmt_FormatOptions__4759; +typedef struct anon__lazy_493 nav__8286_67; +struct anon__lazy_493 { + uintptr_t payload; + bool is_null; }; -typedef struct anon__lazy_110 nav__8149_39; -typedef struct anon__lazy_180 nav__8149_40; -typedef struct anon__lazy_241 nav__8149_42; -typedef struct anon__lazy_58 nav__8149_48; -struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328; -struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *context; +struct fmt_FormatOptions__4759 { + struct anon__lazy_493 precision; + struct anon__lazy_493 width; + uint32_t fill; + uint8_t alignment; }; -typedef struct anon__lazy_166 nav__8149_71; -typedef struct anon__lazy_166 nav__8651_41; -typedef struct anon__lazy_58 nav__8651_43; -typedef struct anon__lazy_489 nav__8651_53; -typedef struct anon__lazy_110 nav__8151_39; -typedef struct anon__lazy_180 nav__8151_40; -typedef struct anon__lazy_166 nav__8151_54; -typedef struct anon__lazy_58 nav__8151_56; -typedef struct anon__lazy_166 nav__8653_41; -typedef struct anon__lazy_58 nav__8653_43; typedef struct anon__lazy_110 nav__8152_39; -typedef struct anon__lazy_180 nav__8152_40; -typedef struct anon__lazy_166 nav__8152_54; -typedef struct anon__lazy_58 nav__8152_56; -typedef struct anon__lazy_58 nav__8654_40; -typedef struct anon__lazy_246 nav__8654_41; -typedef struct anon__lazy_166 nav__8654_44; -typedef struct anon__lazy_489 nav__8654_55; -typedef struct anon__lazy_110 nav__8153_39; -typedef struct anon__lazy_180 nav__8153_40; -typedef struct anon__lazy_58 nav__8153_42; -typedef struct anon__lazy_246 nav__8153_43; -typedef struct anon__lazy_166 nav__8153_59; -typedef struct anon__lazy_110 nav__1406_41; -typedef struct anon__lazy_294 nav__4333_43; -typedef struct anon__lazy_446 nav__1646_38; -typedef struct anon__lazy_110 nav__1452_39; -typedef struct anon__lazy_110 nav__8241_39; -typedef struct anon__lazy_166 nav__8241_50; -typedef struct anon__lazy_110 nav__8242_39; -typedef struct anon__lazy_180 nav__8242_40; -typedef struct anon__lazy_319 nav__8242_51; -typedef struct anon__lazy_110 nav__8243_40; -typedef struct anon__lazy_166 nav__8244_48; -typedef struct anon__lazy_58 nav__8244_50; -typedef struct anon__lazy_58 nav__8245_45; -typedef struct anon__lazy_58 nav__8246_45; -typedef struct anon__lazy_166 nav__8248_48; -typedef struct anon__lazy_58 nav__8248_50; -typedef struct anon__lazy_166 nav__8266_38; -typedef struct anon__lazy_58 nav__8266_41; -typedef struct anon__lazy_58 nav__8274_40; -typedef struct anon__lazy_166 nav__8274_43; -typedef struct anon__lazy_58 nav__8663_44; -typedef struct anon__lazy_489 nav__8663_56; -typedef struct anon__lazy_166 nav__8663_60; -typedef struct anon__lazy_541 nav__8663_66; -struct anon__lazy_541 { - uint32_t f0; - struct anon__lazy_58 f1; -}; -typedef struct anon__lazy_546 nav__8663_76; -struct anon__lazy_546 { - struct anon__lazy_58 f0; - struct anon__lazy_58 f1; +typedef struct anon__lazy_186 nav__8152_40; +typedef struct anon__lazy_247 nav__8152_42; +typedef struct anon__lazy_58 nav__8152_48; +struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342; +struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *context; }; -typedef struct anon__lazy_548 nav__8663_78; -struct anon__lazy_548 { - uint32_t f0; - struct shared_MarkerType__2202 f1; +typedef struct anon__lazy_166 nav__8152_71; +typedef struct anon__lazy_166 nav__8654_41; +typedef struct anon__lazy_58 nav__8654_43; +typedef struct anon__lazy_493 nav__8654_53; +typedef struct anon__lazy_110 nav__8154_39; +typedef struct anon__lazy_186 nav__8154_40; +typedef struct anon__lazy_166 nav__8154_54; +typedef struct anon__lazy_58 nav__8154_56; +typedef struct anon__lazy_166 nav__8656_41; +typedef struct anon__lazy_58 nav__8656_43; +typedef struct anon__lazy_110 nav__8155_39; +typedef struct anon__lazy_186 nav__8155_40; +typedef struct anon__lazy_166 nav__8155_54; +typedef struct anon__lazy_58 nav__8155_56; +typedef struct anon__lazy_58 nav__8657_40; +typedef struct anon__lazy_252 nav__8657_41; +typedef struct anon__lazy_166 nav__8657_44; +typedef struct anon__lazy_493 nav__8657_55; +typedef struct anon__lazy_110 nav__8156_39; +typedef struct anon__lazy_186 nav__8156_40; +typedef struct anon__lazy_58 nav__8156_42; +typedef struct anon__lazy_252 nav__8156_43; +typedef struct anon__lazy_166 nav__8156_59; +typedef struct anon__lazy_110 nav__1407_41; +typedef struct anon__lazy_300 nav__4334_43; +typedef struct anon__lazy_180 nav__1647_38; +typedef struct anon__lazy_110 nav__1453_39; +typedef struct anon__lazy_110 nav__8244_39; +typedef struct anon__lazy_166 nav__8244_50; +typedef struct anon__lazy_110 nav__8245_39; +typedef struct anon__lazy_186 nav__8245_40; +typedef struct anon__lazy_325 nav__8245_51; +typedef struct anon__lazy_110 nav__8246_40; +typedef struct anon__lazy_166 nav__8247_48; +typedef struct anon__lazy_58 nav__8247_50; +typedef struct anon__lazy_58 nav__8248_45; +typedef struct anon__lazy_58 nav__8249_45; +typedef struct anon__lazy_166 nav__8251_48; +typedef struct anon__lazy_58 nav__8251_50; +typedef struct anon__lazy_166 nav__8269_38; +typedef struct anon__lazy_58 nav__8269_41; +typedef struct anon__lazy_58 nav__8277_40; +typedef struct anon__lazy_166 nav__8277_43; +typedef struct anon__lazy_58 nav__8667_44; +typedef struct anon__lazy_493 nav__8667_56; +typedef struct anon__lazy_166 nav__8667_60; +typedef struct anon__lazy_545 nav__8667_66; +struct anon__lazy_545 { + int32_t f0; + struct anon__lazy_58 f1; }; -typedef struct anon__lazy_550 nav__8663_80; +typedef struct anon__lazy_550 nav__8667_76; struct anon__lazy_550 { - uint64_t f0; + struct anon__lazy_58 f0; + struct anon__lazy_58 f1; }; -typedef struct anon__lazy_553 nav__8663_84; -struct anon__lazy_553 { - uint8_t f0; +typedef struct anon__lazy_552 nav__8667_78; +struct anon__lazy_552 { + int32_t f0; + struct shared_MarkerType__2202 f1; }; -typedef struct anon__lazy_58 nav__8650_44; -typedef struct anon__lazy_489 nav__8650_56; -typedef struct anon__lazy_166 nav__8650_60; -typedef struct anon__lazy_110 nav__4982_39; -typedef struct anon__lazy_489 nav__8652_41; -typedef struct anon__lazy_166 nav__8652_45; -typedef struct anon__lazy_58 nav__8652_47; -typedef struct anon__lazy_58 nav__8655_39; -typedef struct anon__lazy_489 nav__8655_44; -typedef struct anon__lazy_166 nav__8655_48; -typedef struct anon__lazy_110 nav__8659_39; -typedef struct anon__lazy_110 nav__8660_39; -typedef struct anon__lazy_166 nav__4910_38; -typedef struct anon__lazy_58 nav__4910_41; -typedef struct anon__lazy_58 nav__8661_40; -typedef struct anon__lazy_166 nav__4977_38; -typedef struct anon__lazy_58 nav__4977_42; -typedef struct anon__lazy_110 nav__4977_50; -typedef struct anon__lazy_166 nav__8273_38; -typedef struct anon__lazy_58 nav__8273_41; -typedef struct anon__lazy_58 nav__8664_40; -typedef struct anon__lazy_541 nav__8664_41; -typedef struct anon__lazy_166 nav__8664_44; -typedef struct anon__lazy_58 nav__8665_40; -typedef struct anon__lazy_546 nav__8665_41; -typedef struct anon__lazy_166 nav__8665_44; -typedef struct anon__lazy_548 nav__8666_40; -typedef struct anon__lazy_166 nav__8666_43; -typedef struct anon__lazy_58 nav__8666_45; -typedef struct anon__lazy_550 nav__8667_39; -typedef struct anon__lazy_166 nav__8667_42; -typedef struct anon__lazy_58 nav__8667_44; -typedef struct anon__lazy_553 nav__8668_39; -typedef struct anon__lazy_166 nav__8668_42; -typedef struct anon__lazy_58 nav__8668_44; -typedef struct anon__lazy_219 nav__8295_38; -typedef struct anon__lazy_166 nav__8311_38; -typedef struct anon__lazy_58 nav__8311_40; -typedef struct anon__lazy_219 nav__8311_48; -typedef struct anon__lazy_154 nav__8311_50; -typedef struct anon__lazy_58 nav__8670_39; -typedef struct anon__lazy_489 nav__8670_44; -typedef struct anon__lazy_166 nav__8670_48; -typedef struct anon__lazy_110 nav__8670_57; -typedef struct anon__lazy_219 nav__8670_60; -typedef struct anon__lazy_489 nav__8679_41; -typedef struct anon__lazy_166 nav__8679_45; -typedef struct anon__lazy_58 nav__8679_47; -typedef struct anon__lazy_596 nav__8679_56; -struct anon__lazy_596 { - uint8_t array[2]; +typedef struct anon__lazy_554 nav__8667_80; +struct anon__lazy_554 { + uint64_t f0; }; -typedef struct anon__lazy_110 nav__8679_58; -typedef struct anon__lazy_489 nav__8678_41; -typedef struct anon__lazy_166 nav__8678_45; -typedef struct anon__lazy_58 nav__8678_47; -typedef struct anon__lazy_489 nav__8669_41; -typedef struct anon__lazy_166 nav__8669_45; -typedef struct anon__lazy_58 nav__8669_47; -typedef struct anon__lazy_166 nav__1430_38; -typedef struct anon__lazy_58 nav__1430_42; -typedef struct anon__lazy_58 nav__8671_40; -typedef struct anon__lazy_166 nav__8671_51; -typedef struct anon__lazy_58 nav__8673_40; -typedef struct anon__lazy_541 nav__8673_41; -typedef struct anon__lazy_166 nav__8673_44; -typedef struct anon__lazy_489 nav__8673_55; -typedef struct anon__lazy_58 nav__8674_40; -typedef struct anon__lazy_546 nav__8674_41; -typedef struct anon__lazy_166 nav__8674_44; -typedef struct anon__lazy_489 nav__8674_55; -typedef struct anon__lazy_548 nav__8675_40; -typedef struct anon__lazy_166 nav__8675_43; -typedef struct anon__lazy_58 nav__8675_45; -typedef struct anon__lazy_489 nav__8675_58; -typedef struct anon__lazy_550 nav__8676_39; -typedef struct anon__lazy_166 nav__8676_42; -typedef struct anon__lazy_58 nav__8676_44; -typedef struct anon__lazy_489 nav__8676_55; -typedef struct anon__lazy_553 nav__8677_39; -typedef struct anon__lazy_166 nav__8677_42; -typedef struct anon__lazy_58 nav__8677_44; -typedef struct anon__lazy_489 nav__8677_55; -typedef struct anon__lazy_596 nav__8050_39; -typedef struct anon__lazy_154 nav__8301_38; -typedef struct anon__lazy_58 nav__8301_40; -typedef struct anon__lazy_596 nav__8301_48; -typedef struct anon__lazy_616 nav__8301_52; -struct anon__lazy_616 { - uint8_t array[3]; +typedef struct anon__lazy_557 nav__8667_84; +struct anon__lazy_557 { + uint8_t f0; }; -typedef struct anon__lazy_618 nav__8301_56; -struct anon__lazy_618 { - uint8_t array[4]; +typedef struct anon__lazy_58 nav__8653_44; +typedef struct anon__lazy_493 nav__8653_56; +typedef struct anon__lazy_166 nav__8653_60; +typedef struct anon__lazy_110 nav__4983_39; +typedef struct anon__lazy_493 nav__8655_41; +typedef struct anon__lazy_166 nav__8655_45; +typedef struct anon__lazy_58 nav__8655_47; +typedef struct anon__lazy_58 nav__8658_39; +typedef struct anon__lazy_493 nav__8658_44; +typedef struct anon__lazy_166 nav__8658_48; +typedef struct anon__lazy_110 nav__8662_39; +typedef struct anon__lazy_110 nav__8663_39; +typedef struct anon__lazy_166 nav__4911_38; +typedef struct anon__lazy_58 nav__4911_41; +typedef struct anon__lazy_58 nav__8665_40; +typedef struct anon__lazy_166 nav__4978_38; +typedef struct anon__lazy_58 nav__4978_42; +typedef struct anon__lazy_110 nav__4978_50; +typedef struct anon__lazy_166 nav__8276_38; +typedef struct anon__lazy_58 nav__8276_41; +typedef struct anon__lazy_58 nav__8668_40; +typedef struct anon__lazy_545 nav__8668_41; +typedef struct anon__lazy_166 nav__8668_44; +typedef struct anon__lazy_58 nav__8669_40; +typedef struct anon__lazy_550 nav__8669_41; +typedef struct anon__lazy_166 nav__8669_44; +typedef struct anon__lazy_552 nav__8670_40; +typedef struct anon__lazy_166 nav__8670_43; +typedef struct anon__lazy_58 nav__8670_45; +typedef struct anon__lazy_554 nav__8671_39; +typedef struct anon__lazy_166 nav__8671_42; +typedef struct anon__lazy_58 nav__8671_44; +typedef struct anon__lazy_557 nav__8672_39; +typedef struct anon__lazy_166 nav__8672_42; +typedef struct anon__lazy_58 nav__8672_44; +typedef struct anon__lazy_225 nav__8298_38; +typedef struct anon__lazy_166 nav__8314_38; +typedef struct anon__lazy_58 nav__8314_40; +typedef struct anon__lazy_225 nav__8314_48; +typedef struct anon__lazy_154 nav__8314_50; +typedef struct anon__lazy_58 nav__8674_39; +typedef struct anon__lazy_493 nav__8674_44; +typedef struct anon__lazy_166 nav__8674_48; +typedef struct anon__lazy_110 nav__8674_57; +typedef struct anon__lazy_225 nav__8674_60; +typedef struct anon__lazy_493 nav__8684_41; +typedef struct anon__lazy_166 nav__8684_45; +typedef struct anon__lazy_58 nav__8684_47; +typedef struct anon__lazy_602 nav__8684_56; +struct anon__lazy_602 { + uint8_t array[2]; }; -typedef struct anon__lazy_219 nav__8294_38; -typedef struct anon__lazy_219 nav__8685_38; -typedef struct anon__lazy_110 nav__8685_40; -typedef struct anon__lazy_219 nav__8296_38; -typedef struct anon__lazy_110 nav__8296_40; -typedef struct anon__lazy_58 nav__8278_40; -typedef struct anon__lazy_166 nav__8278_43; -typedef struct anon__lazy_58 nav__1424_41; -typedef struct anon__lazy_489 nav__8680_41; -typedef struct anon__lazy_166 nav__8680_45; -typedef struct anon__lazy_58 nav__8680_47; -typedef struct anon__lazy_58 nav__8681_39; -typedef struct anon__lazy_489 nav__8681_44; -typedef struct anon__lazy_166 nav__8681_48; -typedef struct anon__lazy_489 nav__8687_44; -typedef struct anon__lazy_166 nav__8687_48; -typedef struct anon__lazy_58 nav__8687_50; -typedef struct anon__lazy_550 nav__8687_56; -typedef struct anon__lazy_489 nav__8682_44; -typedef struct anon__lazy_166 nav__8682_48; -typedef struct anon__lazy_58 nav__8682_50; -typedef struct anon__lazy_489 nav__8683_41; +typedef struct anon__lazy_110 nav__8684_58; +typedef struct anon__lazy_493 nav__8683_41; typedef struct anon__lazy_166 nav__8683_45; typedef struct anon__lazy_58 nav__8683_47; -typedef struct anon__lazy_489 nav__8684_41; -typedef struct anon__lazy_166 nav__8684_45; -typedef struct anon__lazy_58 nav__8684_47; -typedef struct anon__lazy_154 nav__8303_38; -typedef struct anon__lazy_596 nav__8303_40; -typedef struct anon__lazy_154 nav__8305_38; -typedef struct anon__lazy_616 nav__8305_40; -typedef struct anon__lazy_154 nav__8309_38; -typedef struct anon__lazy_618 nav__8309_40; -typedef struct anon__lazy_110 nav__1443_43; -typedef struct anon__lazy_166 nav__1443_52; +typedef struct anon__lazy_493 nav__8673_41; +typedef struct anon__lazy_166 nav__8673_45; +typedef struct anon__lazy_58 nav__8673_47; +typedef struct anon__lazy_166 nav__1431_38; +typedef struct anon__lazy_58 nav__1431_42; +typedef struct anon__lazy_166 nav__8675_48; +typedef struct anon__lazy_58 nav__8675_50; +typedef struct anon__lazy_58 nav__8676_40; +typedef struct anon__lazy_166 nav__8676_51; +typedef struct anon__lazy_58 nav__8678_40; +typedef struct anon__lazy_545 nav__8678_41; +typedef struct anon__lazy_166 nav__8678_44; +typedef struct anon__lazy_493 nav__8678_55; +typedef struct anon__lazy_58 nav__8679_40; +typedef struct anon__lazy_550 nav__8679_41; +typedef struct anon__lazy_166 nav__8679_44; +typedef struct anon__lazy_493 nav__8679_55; +typedef struct anon__lazy_552 nav__8680_40; +typedef struct anon__lazy_166 nav__8680_43; +typedef struct anon__lazy_58 nav__8680_45; +typedef struct anon__lazy_493 nav__8680_58; +typedef struct anon__lazy_554 nav__8681_39; +typedef struct anon__lazy_166 nav__8681_42; +typedef struct anon__lazy_58 nav__8681_44; +typedef struct anon__lazy_493 nav__8681_55; +typedef struct anon__lazy_557 nav__8682_39; +typedef struct anon__lazy_166 nav__8682_42; +typedef struct anon__lazy_58 nav__8682_44; +typedef struct anon__lazy_493 nav__8682_55; +typedef struct anon__lazy_602 nav__8053_39; +typedef struct anon__lazy_154 nav__8304_38; +typedef struct anon__lazy_58 nav__8304_40; +typedef struct anon__lazy_602 nav__8304_48; +typedef struct anon__lazy_622 nav__8304_52; +struct anon__lazy_622 { + uint8_t array[3]; +}; +typedef struct anon__lazy_624 nav__8304_56; +struct anon__lazy_624 { + uint8_t array[4]; +}; +typedef struct anon__lazy_225 nav__8297_38; +typedef struct anon__lazy_225 nav__8690_38; +typedef struct anon__lazy_110 nav__8690_40; +typedef struct anon__lazy_225 nav__8299_38; +typedef struct anon__lazy_110 nav__8299_40; +typedef struct anon__lazy_58 nav__8281_40; +typedef struct anon__lazy_166 nav__8281_43; typedef struct anon__lazy_58 nav__1425_41; -typedef struct anon__lazy_110 nav__1425_47; -typedef struct anon__lazy_489 nav__8694_41; -typedef struct anon__lazy_166 nav__8694_45; -typedef struct anon__lazy_58 nav__8694_47; -typedef struct anon__lazy_596 nav__8694_56; -typedef struct anon__lazy_110 nav__8694_58; -typedef struct anon__lazy_489 nav__8693_41; -typedef struct anon__lazy_166 nav__8693_45; -typedef struct anon__lazy_58 nav__8693_47; -typedef struct anon__lazy_489 nav__8686_41; -typedef struct anon__lazy_166 nav__8686_45; -typedef struct anon__lazy_58 nav__8686_47; -typedef struct anon__lazy_550 nav__8688_39; -typedef struct anon__lazy_166 nav__8688_42; -typedef struct anon__lazy_58 nav__8688_44; -typedef struct anon__lazy_550 nav__8689_39; -typedef struct anon__lazy_166 nav__8689_42; -typedef struct anon__lazy_58 nav__8689_44; -typedef struct anon__lazy_550 nav__8690_39; -typedef struct anon__lazy_166 nav__8690_42; -typedef struct anon__lazy_58 nav__8690_44; -typedef struct anon__lazy_550 nav__8691_39; -typedef struct anon__lazy_166 nav__8691_42; -typedef struct anon__lazy_58 nav__8691_44; -typedef struct anon__lazy_489 nav__8699_41; +typedef struct anon__lazy_493 nav__8685_41; +typedef struct anon__lazy_166 nav__8685_45; +typedef struct anon__lazy_58 nav__8685_47; +typedef struct anon__lazy_58 nav__8686_39; +typedef struct anon__lazy_493 nav__8686_44; +typedef struct anon__lazy_166 nav__8686_48; +typedef struct anon__lazy_493 nav__8692_44; +typedef struct anon__lazy_166 nav__8692_48; +typedef struct anon__lazy_58 nav__8692_50; +typedef struct anon__lazy_554 nav__8692_56; +typedef struct anon__lazy_493 nav__8687_44; +typedef struct anon__lazy_166 nav__8687_48; +typedef struct anon__lazy_58 nav__8687_50; +typedef struct anon__lazy_493 nav__8688_41; +typedef struct anon__lazy_166 nav__8688_45; +typedef struct anon__lazy_58 nav__8688_47; +typedef struct anon__lazy_493 nav__8689_41; +typedef struct anon__lazy_166 nav__8689_45; +typedef struct anon__lazy_58 nav__8689_47; +typedef struct anon__lazy_154 nav__8306_38; +typedef struct anon__lazy_602 nav__8306_40; +typedef struct anon__lazy_154 nav__8308_38; +typedef struct anon__lazy_622 nav__8308_40; +typedef struct anon__lazy_154 nav__8312_38; +typedef struct anon__lazy_624 nav__8312_40; +typedef struct anon__lazy_110 nav__1444_43; +typedef struct anon__lazy_166 nav__1444_52; +typedef struct anon__lazy_58 nav__1426_41; +typedef struct anon__lazy_110 nav__1426_47; +typedef struct anon__lazy_493 nav__8699_41; typedef struct anon__lazy_166 nav__8699_45; typedef struct anon__lazy_58 nav__8699_47; -typedef struct anon__lazy_489 nav__8692_41; -typedef struct anon__lazy_166 nav__8692_45; -typedef struct anon__lazy_58 nav__8692_47; -typedef struct anon__lazy_154 nav__8307_38; -typedef struct anon__lazy_616 nav__8307_40; -typedef struct anon__lazy_166 nav__1368_38; -typedef struct anon__lazy_474 nav__1368_42; -typedef struct anon__lazy_550 nav__8695_39; +typedef struct anon__lazy_602 nav__8699_56; +typedef struct anon__lazy_110 nav__8699_58; +typedef struct anon__lazy_493 nav__8698_41; +typedef struct anon__lazy_166 nav__8698_45; +typedef struct anon__lazy_58 nav__8698_47; +typedef struct anon__lazy_493 nav__8691_41; +typedef struct anon__lazy_166 nav__8691_45; +typedef struct anon__lazy_58 nav__8691_47; +typedef struct anon__lazy_554 nav__8693_39; +typedef struct anon__lazy_166 nav__8693_42; +typedef struct anon__lazy_58 nav__8693_44; +typedef struct anon__lazy_554 nav__8694_39; +typedef struct anon__lazy_166 nav__8694_42; +typedef struct anon__lazy_58 nav__8694_44; +typedef struct anon__lazy_554 nav__8695_39; typedef struct anon__lazy_166 nav__8695_42; typedef struct anon__lazy_58 nav__8695_44; -typedef struct anon__lazy_489 nav__8695_55; -typedef struct anon__lazy_550 nav__8696_39; +typedef struct anon__lazy_554 nav__8696_39; typedef struct anon__lazy_166 nav__8696_42; typedef struct anon__lazy_58 nav__8696_44; -typedef struct anon__lazy_489 nav__8696_55; -typedef struct anon__lazy_550 nav__8697_39; -typedef struct anon__lazy_166 nav__8697_42; -typedef struct anon__lazy_58 nav__8697_44; -typedef struct anon__lazy_489 nav__8697_55; -typedef struct anon__lazy_550 nav__8698_39; -typedef struct anon__lazy_166 nav__8698_42; -typedef struct anon__lazy_58 nav__8698_44; -typedef struct anon__lazy_489 nav__8698_55; -typedef struct anon__lazy_110 nav__238_50; -typedef struct anon__lazy_110 nav__727_55; -typedef struct anon__lazy_294 nav__727_91; -typedef struct anon__lazy_110 nav__8700_52; -typedef struct anon__lazy_110 nav__803_51; -typedef struct anon__lazy_110 nav__816_51; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518; -typedef struct anon__lazy_58 nav__769_44; +typedef struct anon__lazy_493 nav__8704_41; +typedef struct anon__lazy_166 nav__8704_45; +typedef struct anon__lazy_58 nav__8704_47; +typedef struct anon__lazy_493 nav__8697_41; +typedef struct anon__lazy_166 nav__8697_45; +typedef struct anon__lazy_58 nav__8697_47; +typedef struct anon__lazy_154 nav__8310_38; +typedef struct anon__lazy_622 nav__8310_40; +typedef struct anon__lazy_166 nav__1369_38; +typedef struct anon__lazy_478 nav__1369_42; +typedef struct anon__lazy_554 nav__8700_39; +typedef struct anon__lazy_166 nav__8700_42; +typedef struct anon__lazy_58 nav__8700_44; +typedef struct anon__lazy_493 nav__8700_55; +typedef struct anon__lazy_554 nav__8701_39; +typedef struct anon__lazy_166 nav__8701_42; +typedef struct anon__lazy_58 nav__8701_44; +typedef struct anon__lazy_493 nav__8701_55; +typedef struct anon__lazy_554 nav__8702_39; +typedef struct anon__lazy_166 nav__8702_42; +typedef struct anon__lazy_58 nav__8702_44; +typedef struct anon__lazy_493 nav__8702_55; +typedef struct anon__lazy_554 nav__8703_39; +typedef struct anon__lazy_166 nav__8703_42; +typedef struct anon__lazy_58 nav__8703_44; +typedef struct anon__lazy_493 nav__8703_55; +typedef struct anon__lazy_110 nav__239_50; +typedef struct anon__lazy_110 nav__728_55; +typedef struct anon__lazy_300 nav__728_91; +typedef struct anon__lazy_110 nav__8705_52; +typedef struct anon__lazy_110 nav__804_51; +typedef struct anon__lazy_110 nav__817_51; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540; +typedef struct anon__lazy_58 nav__770_44; struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 { - struct anon__lazy_58 *keys; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *values; - uint32_t len; - uint32_t index; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 { + struct anon__lazy_58 *keys; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *values; + uint32_t len; + uint32_t index; }; -typedef struct anon__lazy_294 nav__769_76; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 { - struct anon__lazy_58 *key_ptr; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *value_ptr; +typedef struct anon__lazy_300 nav__770_76; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 { + struct anon__lazy_58 *key_ptr; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *value_ptr; }; -typedef struct anon__lazy_678 nav__769_87; -struct anon__lazy_678 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 payload; - bool is_null; +typedef struct anon__lazy_684 nav__770_87; +struct anon__lazy_684 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 + payload; + bool is_null; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561; struct environment_root_EnvironmentValue__850; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 { - struct anon__lazy_58 *keys; - struct environment_root_EnvironmentValue__850 *values; - uint32_t len; - uint32_t index; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 { + struct anon__lazy_58 *keys; + struct environment_root_EnvironmentValue__850 *values; + uint32_t len; + uint32_t index; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 { - uint8_t *bytes; - uintptr_t len; - uintptr_t capacity; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 { + uint8_t *bytes; + uintptr_t len; + uintptr_t capacity; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 entries; - struct array_hash_map_IndexHeader__886 *index_header; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + entries; + struct array_hash_map_IndexHeader__886 *index_header; }; struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 map; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + map; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6547; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6547 { - struct anon__lazy_58 *key_ptr; - struct environment_root_EnvironmentValue__850 *value_ptr; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6569; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6569 { + struct anon__lazy_58 *key_ptr; + struct environment_root_EnvironmentValue__850 *value_ptr; }; -typedef struct anon__lazy_695 nav__769_104; -struct anon__lazy_695 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6547 payload; - bool is_null; +typedef struct anon__lazy_701 nav__770_104; +struct anon__lazy_701 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6569 + payload; + bool is_null; }; -typedef struct anon__lazy_697 nav__769_109; -struct anon__lazy_697 { - struct anon__lazy_58 const *ptr; - uintptr_t len; +typedef struct anon__lazy_703 nav__770_109; +struct anon__lazy_703 { + struct anon__lazy_58 const *ptr; + uintptr_t len; }; struct environment_root_EnvironmentValue__850 { - union { - struct anon__lazy_58 string; - struct anon__lazy_697 list; - } payload; - uint8_t tag; + union { + struct anon__lazy_58 string; + struct anon__lazy_703 list; + } payload; + uint8_t tag; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593; struct environment_linked_libraries_root_LibraryEntry__858; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 { - struct anon__lazy_58 *keys; - struct environment_linked_libraries_root_LibraryEntry__858 *values; - uint32_t len; - uint32_t index; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 { + struct anon__lazy_58 *keys; + struct environment_linked_libraries_root_LibraryEntry__858 *values; + uint32_t len; + uint32_t index; }; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579 { - struct anon__lazy_58 *key_ptr; - struct environment_linked_libraries_root_LibraryEntry__858 *value_ptr; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601 { + struct anon__lazy_58 *key_ptr; + struct environment_linked_libraries_root_LibraryEntry__858 *value_ptr; }; -typedef struct anon__lazy_710 nav__769_122; -struct anon__lazy_710 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579 payload; - bool is_null; +typedef struct anon__lazy_716 nav__770_122; +struct anon__lazy_716 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601 + payload; + bool is_null; }; -typedef struct anon__lazy_58 nav__3786_42; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 { - uint8_t *ptrs[3]; - uintptr_t len; - uintptr_t capacity; +typedef struct anon__lazy_58 nav__3787_42; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 { + uint8_t *ptrs[3]; + uintptr_t len; + uintptr_t capacity; }; -typedef struct anon__lazy_721 nav__3786_62; -struct anon__lazy_721 { - struct anon__lazy_58 *ptr; - uintptr_t len; +typedef struct anon__lazy_727 nav__3787_62; +struct anon__lazy_727 { + struct anon__lazy_58 *ptr; + uintptr_t len; }; -typedef struct anon__lazy_724 nav__3786_65; -struct anon__lazy_724 { - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *ptr; - uintptr_t len; +typedef struct anon__lazy_730 nav__3787_65; +struct anon__lazy_730 { + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *ptr; + uintptr_t len; }; -typedef struct anon__lazy_678 nav__8701_39; -typedef struct anon__lazy_58 nav__8701_44; -typedef struct anon__lazy_58 nav__3997_42; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 { - uint8_t *ptrs[3]; - uintptr_t len; - uintptr_t capacity; +typedef struct anon__lazy_684 nav__8706_39; +typedef struct anon__lazy_58 nav__8706_44; +typedef struct anon__lazy_58 nav__3998_42; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 { + uint8_t *ptrs[3]; + uintptr_t len; + uintptr_t capacity; }; -typedef struct anon__lazy_721 nav__3997_62; -typedef struct anon__lazy_737 nav__3997_65; -struct anon__lazy_737 { - struct environment_root_EnvironmentValue__850 *ptr; - uintptr_t len; +typedef struct anon__lazy_727 nav__3998_62; +typedef struct anon__lazy_743 nav__3998_65; +struct anon__lazy_743 { + struct environment_root_EnvironmentValue__850 *ptr; + uintptr_t len; }; -typedef struct anon__lazy_695 nav__8703_39; -typedef struct anon__lazy_58 nav__8703_44; -typedef struct anon__lazy_58 nav__772_43; -typedef struct anon__lazy_697 nav__772_46; -typedef struct anon__lazy_294 nav__772_79; -typedef struct anon__lazy_58 nav__4176_42; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823; -struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 { - uint8_t *ptrs[3]; - uintptr_t len; - uintptr_t capacity; +typedef struct anon__lazy_701 nav__8708_39; +typedef struct anon__lazy_58 nav__8708_44; +typedef struct anon__lazy_58 nav__773_43; +typedef struct anon__lazy_703 nav__773_46; +typedef struct anon__lazy_300 nav__773_79; +typedef struct anon__lazy_58 nav__4177_42; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845; +struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 { + uint8_t *ptrs[3]; + uintptr_t len; + uintptr_t capacity; }; -typedef struct anon__lazy_721 nav__4176_62; -typedef struct anon__lazy_762 nav__4176_65; -struct anon__lazy_762 { - struct environment_linked_libraries_root_LibraryEntry__858 *ptr; - uintptr_t len; +typedef struct anon__lazy_727 nav__4177_62; +typedef struct anon__lazy_768 nav__4177_65; +struct anon__lazy_768 { + struct environment_linked_libraries_root_LibraryEntry__858 *ptr; + uintptr_t len; }; -typedef struct anon__lazy_710 nav__8705_39; -typedef struct anon__lazy_58 nav__8705_44; -typedef struct anon__lazy_294 nav__3630_50; -typedef struct anon__lazy_58 nav__3630_56; +typedef struct anon__lazy_716 nav__8710_39; +typedef struct anon__lazy_58 nav__8710_44; +typedef struct anon__lazy_300 nav__3631_50; +typedef struct anon__lazy_58 nav__3631_56; struct environment_linked_libraries_root_LibraryInfo__940 { - struct anon__lazy_58 path; - struct anon__lazy_58 soname; - struct anon__lazy_58 build_id; + struct anon__lazy_58 path; + struct anon__lazy_58 soname; + struct anon__lazy_58 build_id; }; -typedef struct anon__lazy_58 nav__8720_39; -typedef struct anon__lazy_721 nav__8720_41; -typedef struct anon__lazy_724 nav__8721_40; -typedef struct anon__lazy_58 nav__8729_39; -typedef struct anon__lazy_721 nav__8729_41; -typedef struct anon__lazy_737 nav__8730_40; -typedef struct anon__lazy_58 nav__8730_51; -typedef struct anon__lazy_697 nav__8730_54; -typedef struct anon__lazy_58 nav__8731_40; -typedef struct anon__lazy_697 nav__8731_42; -typedef struct anon__lazy_110 nav__8731_54; -typedef struct anon__lazy_110 nav__4115_51; +typedef struct anon__lazy_58 nav__8725_39; +typedef struct anon__lazy_727 nav__8725_41; +typedef struct anon__lazy_730 nav__8726_40; +typedef struct anon__lazy_58 nav__8734_39; +typedef struct anon__lazy_727 nav__8734_41; +typedef struct anon__lazy_743 nav__8735_40; +typedef struct anon__lazy_58 nav__8735_51; +typedef struct anon__lazy_703 nav__8735_54; +typedef struct anon__lazy_58 nav__8736_40; +typedef struct anon__lazy_703 nav__8736_42; +typedef struct anon__lazy_110 nav__8736_54; +typedef struct anon__lazy_110 nav__4116_51; struct array_hash_map_IndexHeader__886 { - zig_align(4) uint8_t bit_index; + zig_align(4) uint8_t bit_index; }; -typedef struct anon__lazy_110 nav__3965_52; -typedef struct anon__lazy_110 nav__3921_51; -typedef struct anon__lazy_58 nav__8739_39; -typedef struct anon__lazy_721 nav__8739_41; -typedef struct anon__lazy_762 nav__8740_40; -typedef struct anon__lazy_58 nav__8740_51; +typedef struct anon__lazy_110 nav__3966_52; +typedef struct anon__lazy_110 nav__3922_51; +typedef struct anon__lazy_58 nav__8744_39; +typedef struct anon__lazy_727 nav__8744_41; +typedef struct anon__lazy_768 nav__8745_40; +typedef struct anon__lazy_58 nav__8745_51; struct environment_linked_libraries_root_LibraryEntry__858 { - struct anon__lazy_58 path; - struct anon__lazy_58 build_id; + struct anon__lazy_58 path; + struct anon__lazy_58 build_id; }; -typedef struct anon__lazy_110 nav__4294_51; -typedef struct anon__lazy_58 nav__3631_46; -typedef struct anon__lazy_294 nav__4335_42; -typedef struct anon__lazy_58 nav__8812_39; -typedef struct anon__lazy_697 nav__8812_41; -typedef struct anon__lazy_110 nav__4147_39; -typedef struct anon__lazy_110 nav__8813_40; -typedef struct anon__lazy_110 nav__8814_40; -typedef struct anon__lazy_110 nav__3953_39; -typedef struct anon__lazy_110 nav__4326_39; -typedef struct anon__lazy_294 nav__4381_40; -typedef struct anon__lazy_58 nav__4381_55; -typedef struct anon__lazy_294 nav__8815_41; -typedef struct anon__lazy_110 nav__8815_51; -typedef struct anon__lazy_110 nav__8816_39; -typedef struct anon__lazy_110 nav__8832_39; -typedef struct anon__lazy_110 nav__8833_39; -typedef struct anon__lazy_294 nav__8833_42; -typedef struct anon__lazy_110 nav__239_55; -typedef struct anon__lazy_294 nav__239_91; -typedef struct anon__lazy_110 nav__1129_50; -typedef struct anon__lazy_58 nav__1129_63; -typedef struct anon__lazy_234 nav__1129_76; -typedef struct anon__lazy_110 nav__805_51; -typedef struct anon__lazy_110 nav__818_51; +typedef struct anon__lazy_110 nav__4295_51; +typedef struct anon__lazy_58 nav__3632_46; +typedef struct anon__lazy_300 nav__4336_42; +typedef struct anon__lazy_58 nav__8817_39; +typedef struct anon__lazy_703 nav__8817_41; +typedef struct anon__lazy_110 nav__4148_39; +typedef struct anon__lazy_110 nav__8818_40; +typedef struct anon__lazy_110 nav__8819_40; +typedef struct anon__lazy_110 nav__3954_39; +typedef struct anon__lazy_110 nav__4327_39; +typedef struct anon__lazy_300 nav__4382_40; +typedef struct anon__lazy_58 nav__4382_55; +typedef struct anon__lazy_300 nav__8820_41; +typedef struct anon__lazy_110 nav__8820_51; +typedef struct anon__lazy_110 nav__8821_39; +typedef struct anon__lazy_110 nav__8837_39; +typedef struct anon__lazy_110 nav__8838_39; +typedef struct anon__lazy_300 nav__8838_42; typedef struct anon__lazy_110 nav__240_55; -typedef struct anon__lazy_294 nav__240_91; +typedef struct anon__lazy_300 nav__240_91; typedef struct anon__lazy_110 nav__1130_50; typedef struct anon__lazy_58 nav__1130_63; -typedef struct anon__lazy_234 nav__1130_76; +typedef struct anon__lazy_240 nav__1130_76; typedef struct anon__lazy_110 nav__806_51; typedef struct anon__lazy_110 nav__819_51; typedef struct anon__lazy_110 nav__241_55; -typedef struct anon__lazy_294 nav__241_91; -typedef struct anon__lazy_110 nav__1131_51; -typedef struct anon__lazy_58 nav__1131_61; -typedef struct anon__lazy_234 nav__1131_76; -typedef struct anon__lazy_110 nav__807_52; -typedef struct anon__lazy_110 nav__820_52; -typedef struct anon__lazy_110 nav__242_56; -typedef struct anon__lazy_294 nav__242_92; -typedef struct anon__lazy_58 nav__8838_39; -typedef struct anon__lazy_853 nav__8840_45; -struct anon__lazy_853 { - bool array[32]; -}; -typedef struct anon__lazy_855 nav__8840_47; -struct anon__lazy_855 { - bool is_null; - uint8_t payload; -}; -typedef struct anon__lazy_855 nav__8842_38; -typedef struct anon__lazy_853 nav__8842_40; +typedef struct anon__lazy_300 nav__241_91; +typedef struct anon__lazy_110 nav__1131_50; +typedef struct anon__lazy_58 nav__1131_63; +typedef struct anon__lazy_240 nav__1131_76; +typedef struct anon__lazy_110 nav__807_51; +typedef struct anon__lazy_110 nav__820_51; +typedef struct anon__lazy_110 nav__242_55; +typedef struct anon__lazy_300 nav__242_91; typedef struct anon__lazy_110 nav__1132_51; typedef struct anon__lazy_58 nav__1132_61; -typedef struct anon__lazy_234 nav__1132_76; +typedef struct anon__lazy_240 nav__1132_76; typedef struct anon__lazy_110 nav__808_52; typedef struct anon__lazy_110 nav__821_52; -typedef struct anon__lazy_110 nav__244_56; -typedef struct anon__lazy_294 nav__244_92; -typedef struct anon__lazy_870 nav__244_102; -struct anon__lazy_870 { - uint8_t const *f0; - uint8_t const *f1; +typedef struct anon__lazy_110 nav__243_56; +typedef struct anon__lazy_300 nav__243_92; +typedef struct anon__lazy_58 nav__8843_39; +typedef struct anon__lazy_860 nav__8845_45; +struct anon__lazy_860 { + bool array[32]; }; -typedef struct anon__lazy_180 nav__244_104; -typedef struct anon__lazy_110 nav__8850_39; -typedef struct anon__lazy_180 nav__8850_40; -typedef struct anon__lazy_870 nav__8850_43; -typedef struct anon__lazy_110 nav__8851_40; -typedef struct anon__lazy_110 nav__8852_39; -typedef struct anon__lazy_180 nav__8852_40; -typedef struct anon__lazy_870 nav__8852_43; -typedef struct anon__lazy_489 nav__8852_54; -typedef struct anon__lazy_110 nav__8853_39; -typedef struct anon__lazy_870 nav__8895_40; -typedef struct anon__lazy_166 nav__8895_43; -typedef struct anon__lazy_58 nav__8895_44; -typedef struct anon__lazy_489 nav__8895_55; -typedef struct anon__lazy_870 nav__8854_39; -struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544; -struct io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29__7536; -struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 { - uint64_t bytes_written; +typedef struct anon__lazy_862 nav__8845_47; +struct anon__lazy_862 { + bool is_null; + uint8_t payload; }; -struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558; -struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 { - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *context; +typedef struct anon__lazy_862 nav__8847_38; +typedef struct anon__lazy_860 nav__8847_40; +typedef struct anon__lazy_110 nav__1133_51; +typedef struct anon__lazy_58 nav__1133_61; +typedef struct anon__lazy_240 nav__1133_76; +typedef struct anon__lazy_110 nav__809_52; +typedef struct anon__lazy_110 nav__822_52; +typedef struct anon__lazy_110 nav__245_56; +typedef struct anon__lazy_300 nav__245_92; +typedef struct anon__lazy_877 nav__245_103; +struct anon__lazy_877 { + uint8_t const *f0; + uint8_t const *f1; }; -typedef struct anon__lazy_166 nav__8854_53; -typedef struct anon__lazy_58 nav__8854_54; -typedef struct anon__lazy_489 nav__8855_38; -typedef struct anon__lazy_110 nav__8856_39; -typedef struct anon__lazy_180 nav__8856_40; -typedef struct anon__lazy_870 nav__8856_42; -typedef struct anon__lazy_166 nav__8856_57; -typedef struct anon__lazy_58 nav__8856_58; -typedef struct anon__lazy_166 nav__8894_38; -typedef struct anon__lazy_58 nav__8894_41; -typedef struct anon__lazy_489 nav__8896_42; -typedef struct anon__lazy_166 nav__8896_46; -typedef struct anon__lazy_58 nav__8896_47; -typedef struct anon__lazy_166 nav__8879_38; -typedef struct anon__lazy_58 nav__8879_42; -typedef struct anon__lazy_166 nav__4888_38; -typedef struct anon__lazy_58 nav__4888_40; -typedef struct anon__lazy_110 nav__1133_54; -typedef struct anon__lazy_58 nav__1133_69; -typedef struct anon__lazy_234 nav__1133_77; -typedef struct anon__lazy_110 nav__809_55; -typedef struct anon__lazy_110 nav__822_55; -typedef struct anon__lazy_110 nav__249_58; -typedef struct anon__lazy_294 nav__249_94; -typedef struct anon__lazy_350 nav__4781_41; -typedef struct anon__lazy_58 nav__773_41; -typedef struct anon__lazy_697 nav__773_46; -typedef struct anon__lazy_294 nav__773_79; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 { - struct anon__lazy_58 *key_ptr; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *value_ptr; - uintptr_t index; - bool found_existing; +typedef struct anon__lazy_186 nav__245_105; +typedef struct anon__lazy_110 nav__8855_39; +typedef struct anon__lazy_186 nav__8855_40; +typedef struct anon__lazy_877 nav__8855_43; +typedef struct anon__lazy_110 nav__8856_40; +typedef struct anon__lazy_110 nav__8857_39; +typedef struct anon__lazy_186 nav__8857_40; +typedef struct anon__lazy_877 nav__8857_43; +typedef struct anon__lazy_493 nav__8857_54; +typedef struct anon__lazy_110 nav__8858_39; +typedef struct anon__lazy_877 nav__8900_40; +typedef struct anon__lazy_166 nav__8900_43; +typedef struct anon__lazy_58 nav__8900_44; +typedef struct anon__lazy_493 nav__8900_55; +typedef struct anon__lazy_877 nav__8859_39; +struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570; +struct + io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29__7562; +struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 { + uint64_t bytes_written; }; -typedef struct anon__lazy_912 nav__773_93; -struct anon__lazy_912 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 payload; - uint16_t error; +struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584; +struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 { + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + *context; }; -typedef struct anon__lazy_110 nav__773_96; -typedef struct anon__lazy_180 nav__773_98; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 { - struct anon__lazy_58 *key_ptr; - struct environment_root_EnvironmentValue__850 *value_ptr; - uintptr_t index; - bool found_existing; +typedef struct anon__lazy_166 nav__8859_53; +typedef struct anon__lazy_58 nav__8859_54; +typedef struct anon__lazy_493 nav__8860_38; +typedef struct anon__lazy_110 nav__8861_39; +typedef struct anon__lazy_186 nav__8861_40; +typedef struct anon__lazy_877 nav__8861_42; +typedef struct anon__lazy_166 nav__8861_57; +typedef struct anon__lazy_58 nav__8861_58; +typedef struct anon__lazy_166 nav__8899_38; +typedef struct anon__lazy_58 nav__8899_41; +typedef struct anon__lazy_493 nav__8901_42; +typedef struct anon__lazy_166 nav__8901_46; +typedef struct anon__lazy_58 nav__8901_47; +typedef struct anon__lazy_166 nav__8884_38; +typedef struct anon__lazy_58 nav__8884_42; +typedef struct anon__lazy_166 nav__4889_38; +typedef struct anon__lazy_58 nav__4889_40; +typedef struct anon__lazy_110 nav__1134_54; +typedef struct anon__lazy_58 nav__1134_69; +typedef struct anon__lazy_240 nav__1134_77; +typedef struct anon__lazy_110 nav__810_55; +typedef struct anon__lazy_110 nav__823_55; +typedef struct anon__lazy_110 nav__250_58; +typedef struct anon__lazy_300 nav__250_94; +typedef struct anon__lazy_356 nav__4782_41; +typedef struct anon__lazy_58 nav__774_41; +typedef struct anon__lazy_703 nav__774_46; +typedef struct anon__lazy_300 nav__774_79; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 { + struct anon__lazy_58 *key_ptr; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *value_ptr; + uintptr_t index; + bool found_existing; }; -typedef struct anon__lazy_917 nav__773_110; -struct anon__lazy_917 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 payload; - uint16_t error; +typedef struct anon__lazy_919 nav__774_93; +struct anon__lazy_919 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + payload; + uint16_t error; }; -typedef struct anon__lazy_58 nav__770_41; -typedef struct anon__lazy_294 nav__770_73; -typedef struct anon__lazy_110 nav__770_79; -typedef struct anon__lazy_180 nav__770_81; -typedef struct anon__lazy_697 nav__770_85; -typedef struct anon__lazy_110 nav__251_56; -typedef struct anon__lazy_294 nav__251_92; -typedef struct anon__lazy_58 nav__251_99; -typedef struct anon__lazy_110 nav__8897_39; -typedef struct anon__lazy_180 nav__8897_40; -typedef struct anon__lazy_58 nav__8897_43; -typedef struct anon__lazy_912 nav__3788_39; -typedef struct anon__lazy_58 nav__3788_44; -struct array_hash_map_StringContext__872; -typedef struct anon__lazy_917 nav__3999_39; -typedef struct anon__lazy_58 nav__3999_44; -typedef struct anon__lazy_912 nav__3789_39; +typedef struct anon__lazy_110 nav__774_96; +typedef struct anon__lazy_186 nav__774_98; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 { + struct anon__lazy_58 *key_ptr; + struct environment_root_EnvironmentValue__850 *value_ptr; + uintptr_t index; + bool found_existing; +}; +typedef struct anon__lazy_924 nav__774_110; +struct anon__lazy_924 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + payload; + uint16_t error; +}; +typedef struct anon__lazy_58 nav__771_41; +typedef struct anon__lazy_300 nav__771_73; +typedef struct anon__lazy_110 nav__771_79; +typedef struct anon__lazy_186 nav__771_81; +typedef struct anon__lazy_703 nav__771_85; +typedef struct anon__lazy_110 nav__252_56; +typedef struct anon__lazy_300 nav__252_92; +typedef struct anon__lazy_58 nav__252_100; +typedef struct anon__lazy_110 nav__8902_39; +typedef struct anon__lazy_186 nav__8902_40; +typedef struct anon__lazy_58 nav__8902_43; +typedef struct anon__lazy_919 nav__3789_39; typedef struct anon__lazy_58 nav__3789_44; -typedef struct anon__lazy_917 nav__4000_39; +struct array_hash_map_StringContext__872; +typedef struct anon__lazy_924 nav__4000_39; typedef struct anon__lazy_58 nav__4000_44; -typedef struct anon__lazy_912 nav__8898_39; -typedef struct anon__lazy_58 nav__8898_44; -typedef struct anon__lazy_489 nav__8898_67; -typedef struct anon__lazy_721 nav__8898_73; -typedef struct anon__lazy_724 nav__8898_76; -typedef struct anon__lazy_917 nav__8899_39; -typedef struct anon__lazy_58 nav__8899_44; -typedef struct anon__lazy_489 nav__8899_67; -typedef struct anon__lazy_721 nav__8899_73; -typedef struct anon__lazy_737 nav__8899_76; -typedef struct anon__lazy_219 nav__3798_60; -typedef struct anon__lazy_934 nav__3798_62; -struct anon__lazy_934 { - struct array_hash_map_IndexHeader__886 *payload; - uint16_t error; +typedef struct anon__lazy_919 nav__3790_39; +typedef struct anon__lazy_58 nav__3790_44; +typedef struct anon__lazy_924 nav__4001_39; +typedef struct anon__lazy_58 nav__4001_44; +typedef struct anon__lazy_919 nav__8903_39; +typedef struct anon__lazy_58 nav__8903_44; +typedef struct anon__lazy_493 nav__8903_67; +typedef struct anon__lazy_727 nav__8903_73; +typedef struct anon__lazy_730 nav__8903_76; +typedef struct anon__lazy_924 nav__8904_39; +typedef struct anon__lazy_58 nav__8904_44; +typedef struct anon__lazy_493 nav__8904_67; +typedef struct anon__lazy_727 nav__8904_73; +typedef struct anon__lazy_743 nav__8904_76; +typedef struct anon__lazy_225 nav__3799_60; +typedef struct anon__lazy_941 nav__3799_62; +struct anon__lazy_941 { + struct array_hash_map_IndexHeader__886 *payload; + uint16_t error; }; -typedef struct anon__lazy_489 nav__8900_38; -typedef struct anon__lazy_58 nav__8900_41; -typedef struct anon__lazy_938 nav__8900_61; -struct anon__lazy_938 { - uint32_t *ptr; - uintptr_t len; +typedef struct anon__lazy_493 nav__8905_38; +typedef struct anon__lazy_58 nav__8905_41; +typedef struct anon__lazy_945 nav__8905_61; +struct anon__lazy_945 { + uint32_t *ptr; + uintptr_t len; }; -typedef struct anon__lazy_721 nav__8900_64; -typedef struct anon__lazy_58 nav__8901_42; -typedef struct anon__lazy_938 nav__8901_66; -typedef struct anon__lazy_721 nav__8901_69; -typedef struct anon__lazy_724 nav__8901_72; -typedef struct anon__lazy_219 nav__4009_60; -typedef struct anon__lazy_934 nav__4009_62; -typedef struct anon__lazy_489 nav__8902_38; -typedef struct anon__lazy_58 nav__8902_41; -typedef struct anon__lazy_938 nav__8902_61; -typedef struct anon__lazy_721 nav__8902_64; -typedef struct anon__lazy_58 nav__8903_42; -typedef struct anon__lazy_938 nav__8903_66; -typedef struct anon__lazy_721 nav__8903_69; -typedef struct anon__lazy_737 nav__8903_72; -typedef struct anon__lazy_110 nav__3945_52; -typedef struct anon__lazy_180 nav__3945_54; -typedef struct anon__lazy_938 nav__3945_62; -typedef struct anon__lazy_58 nav__3945_65; -typedef struct anon__lazy_721 nav__3945_67; -typedef struct anon__lazy_724 nav__3945_72; -typedef struct anon__lazy_219 nav__3963_38; -typedef struct anon__lazy_934 nav__3964_40; -typedef struct anon__lazy_110 nav__3964_51; -typedef struct anon__lazy_180 nav__3964_53; -typedef struct anon__lazy_58 nav__8904_40; -typedef struct anon__lazy_938 nav__8905_39; -typedef struct anon__lazy_58 nav__8906_40; -typedef struct anon__lazy_489 nav__8907_38; +typedef struct anon__lazy_727 nav__8905_64; +typedef struct anon__lazy_58 nav__8906_42; +typedef struct anon__lazy_945 nav__8906_66; +typedef struct anon__lazy_727 nav__8906_69; +typedef struct anon__lazy_730 nav__8906_72; +typedef struct anon__lazy_225 nav__4010_60; +typedef struct anon__lazy_941 nav__4010_62; +typedef struct anon__lazy_493 nav__8907_38; typedef struct anon__lazy_58 nav__8907_41; -struct array_hash_map_Index_28u8_29__7097; -typedef struct anon__lazy_973 nav__8907_58; -struct anon__lazy_973 { - struct array_hash_map_Index_28u8_29__7097 *ptr; - uintptr_t len; +typedef struct anon__lazy_945 nav__8907_61; +typedef struct anon__lazy_727 nav__8907_64; +typedef struct anon__lazy_58 nav__8908_42; +typedef struct anon__lazy_945 nav__8908_66; +typedef struct anon__lazy_727 nav__8908_69; +typedef struct anon__lazy_743 nav__8908_72; +typedef struct anon__lazy_110 nav__3946_52; +typedef struct anon__lazy_186 nav__3946_54; +typedef struct anon__lazy_945 nav__3946_62; +typedef struct anon__lazy_58 nav__3946_65; +typedef struct anon__lazy_727 nav__3946_67; +typedef struct anon__lazy_730 nav__3946_72; +typedef struct anon__lazy_225 nav__3964_38; +typedef struct anon__lazy_941 nav__3965_40; +typedef struct anon__lazy_110 nav__3965_51; +typedef struct anon__lazy_186 nav__3965_53; +typedef struct anon__lazy_58 nav__8909_40; +typedef struct anon__lazy_945 nav__8910_39; +typedef struct anon__lazy_58 nav__8911_40; +typedef struct anon__lazy_493 nav__8912_38; +typedef struct anon__lazy_58 nav__8912_41; +struct array_hash_map_Index_28u8_29__7119; +typedef struct anon__lazy_980 nav__8912_58; +struct anon__lazy_980 { + struct array_hash_map_Index_28u8_29__7119 *ptr; + uintptr_t len; }; -struct array_hash_map_Index_28u8_29__7097 { - uint8_t entry_index; - uint8_t distance_from_start_index; +struct array_hash_map_Index_28u8_29__7119 { + uint8_t entry_index; + uint8_t distance_from_start_index; }; -typedef struct anon__lazy_489 nav__8908_38; -typedef struct anon__lazy_58 nav__8908_41; -struct array_hash_map_Index_28u16_29__7101; -typedef struct anon__lazy_978 nav__8908_58; -struct anon__lazy_978 { - struct array_hash_map_Index_28u16_29__7101 *ptr; - uintptr_t len; +typedef struct anon__lazy_493 nav__8913_38; +typedef struct anon__lazy_58 nav__8913_41; +struct array_hash_map_Index_28u16_29__7123; +typedef struct anon__lazy_985 nav__8913_58; +struct anon__lazy_985 { + struct array_hash_map_Index_28u16_29__7123 *ptr; + uintptr_t len; }; -struct array_hash_map_Index_28u16_29__7101 { - uint16_t entry_index; - uint16_t distance_from_start_index; +struct array_hash_map_Index_28u16_29__7123 { + uint16_t entry_index; + uint16_t distance_from_start_index; }; -typedef struct anon__lazy_489 nav__8909_38; -typedef struct anon__lazy_58 nav__8909_41; -struct array_hash_map_Index_28u32_29__7105; -typedef struct anon__lazy_983 nav__8909_58; -struct anon__lazy_983 { - struct array_hash_map_Index_28u32_29__7105 *ptr; - uintptr_t len; +typedef struct anon__lazy_493 nav__8914_38; +typedef struct anon__lazy_58 nav__8914_41; +struct array_hash_map_Index_28u32_29__7127; +typedef struct anon__lazy_990 nav__8914_58; +struct anon__lazy_990 { + struct array_hash_map_Index_28u32_29__7127 *ptr; + uintptr_t len; }; -struct array_hash_map_Index_28u32_29__7105 { - uint32_t entry_index; - uint32_t distance_from_start_index; +struct array_hash_map_Index_28u32_29__7127 { + uint32_t entry_index; + uint32_t distance_from_start_index; }; -typedef struct anon__lazy_58 nav__8910_42; -typedef struct anon__lazy_938 nav__8910_66; -typedef struct anon__lazy_721 nav__8910_69; -typedef struct anon__lazy_724 nav__8910_72; -typedef struct anon__lazy_973 nav__8910_77; -typedef struct anon__lazy_58 nav__8911_42; -typedef struct anon__lazy_938 nav__8911_66; -typedef struct anon__lazy_721 nav__8911_69; -typedef struct anon__lazy_724 nav__8911_72; -typedef struct anon__lazy_978 nav__8911_77; -typedef struct anon__lazy_58 nav__8912_42; -typedef struct anon__lazy_938 nav__8912_66; -typedef struct anon__lazy_721 nav__8912_69; -typedef struct anon__lazy_724 nav__8912_72; -typedef struct anon__lazy_983 nav__8912_77; -typedef struct anon__lazy_110 nav__4139_52; -typedef struct anon__lazy_180 nav__4139_54; -typedef struct anon__lazy_938 nav__4139_62; -typedef struct anon__lazy_58 nav__4139_65; -typedef struct anon__lazy_721 nav__4139_67; -typedef struct anon__lazy_737 nav__4139_72; -typedef struct anon__lazy_697 nav__4139_75; -typedef struct anon__lazy_58 nav__8913_40; -typedef struct anon__lazy_938 nav__8914_39; -typedef struct anon__lazy_58 nav__8915_40; -typedef struct anon__lazy_489 nav__8916_38; -typedef struct anon__lazy_58 nav__8916_41; -typedef struct anon__lazy_973 nav__8916_58; -typedef struct anon__lazy_489 nav__8917_38; -typedef struct anon__lazy_58 nav__8917_41; -typedef struct anon__lazy_978 nav__8917_58; -typedef struct anon__lazy_489 nav__8918_38; -typedef struct anon__lazy_58 nav__8918_41; -typedef struct anon__lazy_983 nav__8918_58; -typedef struct anon__lazy_58 nav__8919_42; -typedef struct anon__lazy_938 nav__8919_66; -typedef struct anon__lazy_721 nav__8919_69; -typedef struct anon__lazy_737 nav__8919_72; -typedef struct anon__lazy_973 nav__8919_77; -typedef struct anon__lazy_58 nav__8920_42; -typedef struct anon__lazy_938 nav__8920_66; -typedef struct anon__lazy_721 nav__8920_69; -typedef struct anon__lazy_737 nav__8920_72; -typedef struct anon__lazy_978 nav__8920_77; -typedef struct anon__lazy_58 nav__8921_42; -typedef struct anon__lazy_938 nav__8921_66; -typedef struct anon__lazy_721 nav__8921_69; -typedef struct anon__lazy_737 nav__8921_72; -typedef struct anon__lazy_983 nav__8921_77; -typedef struct anon__lazy_110 nav__8922_39; -typedef struct anon__lazy_180 nav__8922_40; -typedef struct anon__lazy_319 nav__8922_51; -typedef struct anon__lazy_110 nav__8924_39; -typedef struct anon__lazy_180 nav__8924_40; -typedef struct anon__lazy_319 nav__8924_51; -typedef struct anon__lazy_938 nav__8925_56; -typedef struct anon__lazy_973 nav__8925_60; -typedef struct anon__lazy_938 nav__8926_56; -typedef struct anon__lazy_978 nav__8926_60; -typedef struct anon__lazy_938 nav__8927_56; -typedef struct anon__lazy_983 nav__8927_60; -typedef struct anon__lazy_58 nav__3759_40; +typedef struct anon__lazy_58 nav__8915_42; +typedef struct anon__lazy_945 nav__8915_66; +typedef struct anon__lazy_727 nav__8915_69; +typedef struct anon__lazy_730 nav__8915_72; +typedef struct anon__lazy_980 nav__8915_77; +typedef struct anon__lazy_58 nav__8916_42; +typedef struct anon__lazy_945 nav__8916_66; +typedef struct anon__lazy_727 nav__8916_69; +typedef struct anon__lazy_730 nav__8916_72; +typedef struct anon__lazy_985 nav__8916_77; +typedef struct anon__lazy_58 nav__8917_42; +typedef struct anon__lazy_945 nav__8917_66; +typedef struct anon__lazy_727 nav__8917_69; +typedef struct anon__lazy_730 nav__8917_72; +typedef struct anon__lazy_990 nav__8917_77; +typedef struct anon__lazy_110 nav__4140_52; +typedef struct anon__lazy_186 nav__4140_54; +typedef struct anon__lazy_945 nav__4140_62; +typedef struct anon__lazy_58 nav__4140_65; +typedef struct anon__lazy_727 nav__4140_67; +typedef struct anon__lazy_743 nav__4140_72; +typedef struct anon__lazy_703 nav__4140_75; +typedef struct anon__lazy_58 nav__8918_40; +typedef struct anon__lazy_945 nav__8919_39; +typedef struct anon__lazy_58 nav__8920_40; +typedef struct anon__lazy_493 nav__8921_38; +typedef struct anon__lazy_58 nav__8921_41; +typedef struct anon__lazy_980 nav__8921_58; +typedef struct anon__lazy_493 nav__8922_38; +typedef struct anon__lazy_58 nav__8922_41; +typedef struct anon__lazy_985 nav__8922_58; +typedef struct anon__lazy_493 nav__8923_38; +typedef struct anon__lazy_58 nav__8923_41; +typedef struct anon__lazy_990 nav__8923_58; +typedef struct anon__lazy_58 nav__8924_42; +typedef struct anon__lazy_945 nav__8924_66; +typedef struct anon__lazy_727 nav__8924_69; +typedef struct anon__lazy_743 nav__8924_72; +typedef struct anon__lazy_980 nav__8924_77; +typedef struct anon__lazy_58 nav__8925_42; +typedef struct anon__lazy_945 nav__8925_66; +typedef struct anon__lazy_727 nav__8925_69; +typedef struct anon__lazy_743 nav__8925_72; +typedef struct anon__lazy_985 nav__8925_77; +typedef struct anon__lazy_58 nav__8926_42; +typedef struct anon__lazy_945 nav__8926_66; +typedef struct anon__lazy_727 nav__8926_69; +typedef struct anon__lazy_743 nav__8926_72; +typedef struct anon__lazy_990 nav__8926_77; +typedef struct anon__lazy_110 nav__8927_39; +typedef struct anon__lazy_186 nav__8927_40; +typedef struct anon__lazy_325 nav__8927_51; +typedef struct anon__lazy_110 nav__8929_39; +typedef struct anon__lazy_186 nav__8929_40; +typedef struct anon__lazy_325 nav__8929_51; +typedef struct anon__lazy_945 nav__8930_56; +typedef struct anon__lazy_980 nav__8930_60; +typedef struct anon__lazy_945 nav__8931_56; +typedef struct anon__lazy_985 nav__8931_60; +typedef struct anon__lazy_945 nav__8932_56; +typedef struct anon__lazy_990 nav__8932_60; typedef struct anon__lazy_58 nav__3760_40; -typedef struct anon__lazy_973 nav__8928_40; -typedef struct anon__lazy_489 nav__8929_38; -typedef struct anon__lazy_58 nav__8929_41; -typedef struct anon__lazy_973 nav__8929_47; -typedef struct anon__lazy_938 nav__8929_66; -typedef struct anon__lazy_721 nav__8929_69; -typedef struct anon__lazy_978 nav__8930_40; -typedef struct anon__lazy_489 nav__8931_38; -typedef struct anon__lazy_58 nav__8931_41; -typedef struct anon__lazy_978 nav__8931_47; -typedef struct anon__lazy_938 nav__8931_66; -typedef struct anon__lazy_721 nav__8931_69; -typedef struct anon__lazy_983 nav__8932_40; -typedef struct anon__lazy_489 nav__8933_38; -typedef struct anon__lazy_58 nav__8933_41; -typedef struct anon__lazy_983 nav__8933_47; -typedef struct anon__lazy_938 nav__8933_66; -typedef struct anon__lazy_721 nav__8933_69; -typedef struct anon__lazy_938 nav__8935_56; -typedef struct anon__lazy_973 nav__8935_60; -typedef struct anon__lazy_938 nav__8936_56; -typedef struct anon__lazy_978 nav__8936_60; -typedef struct anon__lazy_938 nav__8937_56; -typedef struct anon__lazy_983 nav__8937_60; -typedef struct anon__lazy_489 nav__8938_38; +typedef struct anon__lazy_58 nav__3761_40; +typedef struct anon__lazy_980 nav__8933_40; +typedef struct anon__lazy_493 nav__8934_38; +typedef struct anon__lazy_58 nav__8934_41; +typedef struct anon__lazy_980 nav__8934_47; +typedef struct anon__lazy_945 nav__8934_66; +typedef struct anon__lazy_727 nav__8934_69; +typedef struct anon__lazy_985 nav__8935_40; +typedef struct anon__lazy_493 nav__8936_38; +typedef struct anon__lazy_58 nav__8936_41; +typedef struct anon__lazy_985 nav__8936_47; +typedef struct anon__lazy_945 nav__8936_66; +typedef struct anon__lazy_727 nav__8936_69; +typedef struct anon__lazy_990 nav__8937_40; +typedef struct anon__lazy_493 nav__8938_38; typedef struct anon__lazy_58 nav__8938_41; -typedef struct anon__lazy_973 nav__8938_47; -typedef struct anon__lazy_938 nav__8938_66; -typedef struct anon__lazy_721 nav__8938_69; -typedef struct anon__lazy_489 nav__8939_38; -typedef struct anon__lazy_58 nav__8939_41; -typedef struct anon__lazy_978 nav__8939_47; -typedef struct anon__lazy_938 nav__8939_66; -typedef struct anon__lazy_721 nav__8939_69; -typedef struct anon__lazy_489 nav__8940_38; -typedef struct anon__lazy_58 nav__8940_41; -typedef struct anon__lazy_983 nav__8940_47; -typedef struct anon__lazy_938 nav__8940_66; -typedef struct anon__lazy_721 nav__8940_69; -typedef struct anon__lazy_319 nav__8941_39; -typedef struct anon__lazy_166 nav__8941_49; -typedef struct anon__lazy_319 nav__8943_39; -typedef struct anon__lazy_166 nav__8943_49; +typedef struct anon__lazy_990 nav__8938_47; +typedef struct anon__lazy_945 nav__8938_66; +typedef struct anon__lazy_727 nav__8938_69; +typedef struct anon__lazy_945 nav__8940_56; +typedef struct anon__lazy_980 nav__8940_60; +typedef struct anon__lazy_945 nav__8941_56; +typedef struct anon__lazy_985 nav__8941_60; +typedef struct anon__lazy_945 nav__8942_56; +typedef struct anon__lazy_990 nav__8942_60; +typedef struct anon__lazy_493 nav__8943_38; +typedef struct anon__lazy_58 nav__8943_41; +typedef struct anon__lazy_980 nav__8943_47; +typedef struct anon__lazy_945 nav__8943_66; +typedef struct anon__lazy_727 nav__8943_69; +typedef struct anon__lazy_493 nav__8944_38; +typedef struct anon__lazy_58 nav__8944_41; +typedef struct anon__lazy_985 nav__8944_47; +typedef struct anon__lazy_945 nav__8944_66; +typedef struct anon__lazy_727 nav__8944_69; +typedef struct anon__lazy_493 nav__8945_38; +typedef struct anon__lazy_58 nav__8945_41; +typedef struct anon__lazy_990 nav__8945_47; +typedef struct anon__lazy_945 nav__8945_66; +typedef struct anon__lazy_727 nav__8945_69; +typedef struct anon__lazy_325 nav__8946_39; +typedef struct anon__lazy_166 nav__8946_49; +typedef struct anon__lazy_325 nav__8948_39; +typedef struct anon__lazy_166 nav__8948_49; +typedef struct anon__lazy_58 nav__3723_39; typedef struct anon__lazy_58 nav__3722_39; -typedef struct anon__lazy_58 nav__3721_39; -typedef struct anon__lazy_319 nav__8944_39; -typedef struct anon__lazy_110 nav__8944_52; -typedef struct anon__lazy_58 nav__9004_39; -struct hash_wyhash_Wyhash__8229; -struct hash_wyhash_Wyhash__8229 { - uint64_t a; - uint64_t b; - uint64_t state[3]; - uintptr_t total_len; - uintptr_t buf_len; - uint8_t buf[48]; -}; -typedef struct anon__lazy_58 nav__9005_39; -typedef struct anon__lazy_58 nav__851_39; -typedef struct anon__lazy_58 nav__771_41; -typedef struct anon__lazy_697 nav__771_43; -typedef struct anon__lazy_294 nav__771_76; -typedef struct anon__lazy_721 nav__771_83; -typedef struct anon__lazy_1061 nav__771_85; -struct anon__lazy_1061 { - struct anon__lazy_721 payload; - uint16_t error; -}; -typedef struct anon__lazy_110 nav__771_88; -typedef struct anon__lazy_180 nav__771_90; -typedef struct anon__lazy_58 nav__252_44; -typedef struct anon__lazy_721 nav__252_46; -typedef struct anon__lazy_1061 nav__252_53; -typedef struct anon__lazy_110 nav__252_58; -typedef struct anon__lazy_294 nav__252_110; -typedef struct anon__lazy_697 nav__252_118; +typedef struct anon__lazy_325 nav__8949_39; +typedef struct anon__lazy_110 nav__8949_52; typedef struct anon__lazy_58 nav__9009_39; -typedef struct anon__lazy_721 nav__9009_41; -typedef struct anon__lazy_1061 nav__9009_42; -typedef struct anon__lazy_319 nav__9009_54; -typedef struct anon__lazy_58 nav__9010_40; -typedef struct anon__lazy_721 nav__9010_42; -typedef struct anon__lazy_110 nav__9010_52; -typedef struct anon__lazy_319 nav__9011_39; -typedef struct anon__lazy_166 nav__9011_49; -typedef struct anon__lazy_110 nav__9012_39; -typedef struct anon__lazy_58 nav__9012_41; -typedef struct anon__lazy_721 nav__9012_43; -typedef struct anon__lazy_110 nav__253_55; -typedef struct anon__lazy_294 nav__253_91; -typedef struct anon__lazy_294 nav__3633_50; -typedef struct anon__lazy_58 nav__3633_56; -struct os_linux_dl_phdr_info__8376; -typedef struct anon__lazy_58 nav__774_44; -typedef struct anon__lazy_294 nav__774_76; -typedef struct anon__lazy_710 nav__774_87; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426; -struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 { - struct anon__lazy_58 *key_ptr; - struct environment_linked_libraries_root_LibraryEntry__858 *value_ptr; - uintptr_t index; - bool found_existing; +struct hash_wyhash_Wyhash__8255; +struct hash_wyhash_Wyhash__8255 { + uint64_t a; + uint64_t b; + uint64_t state[3]; + uintptr_t total_len; + uintptr_t buf_len; + uint8_t buf[48]; }; -typedef struct anon__lazy_1079 nav__774_95; -struct anon__lazy_1079 { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 payload; - uint16_t error; +typedef struct anon__lazy_58 nav__9010_39; +typedef struct anon__lazy_58 nav__852_39; +typedef struct anon__lazy_58 nav__772_41; +typedef struct anon__lazy_703 nav__772_43; +typedef struct anon__lazy_300 nav__772_76; +typedef struct anon__lazy_727 nav__772_83; +typedef struct anon__lazy_1068 nav__772_85; +struct anon__lazy_1068 { + struct anon__lazy_727 payload; + uint16_t error; }; -typedef struct anon__lazy_110 nav__774_97; -typedef struct anon__lazy_180 nav__774_99; -typedef struct anon__lazy_294 nav__775_69; -typedef struct anon__lazy_58 nav__775_83; -typedef struct anon__lazy_110 nav__775_86; -typedef struct anon__lazy_1083 nav__775_89; -struct anon__lazy_1083 { - struct anon__lazy_58 f0; - uint32_t f1; +typedef struct anon__lazy_110 nav__772_88; +typedef struct anon__lazy_186 nav__772_90; +typedef struct anon__lazy_58 nav__253_45; +typedef struct anon__lazy_727 nav__253_47; +typedef struct anon__lazy_1068 nav__253_54; +typedef struct anon__lazy_110 nav__253_59; +typedef struct anon__lazy_300 nav__253_112; +typedef struct anon__lazy_703 nav__253_120; +typedef struct anon__lazy_58 nav__9014_39; +typedef struct anon__lazy_727 nav__9014_41; +typedef struct anon__lazy_1068 nav__9014_42; +typedef struct anon__lazy_325 nav__9014_54; +typedef struct anon__lazy_58 nav__9015_40; +typedef struct anon__lazy_727 nav__9015_42; +typedef struct anon__lazy_110 nav__9015_52; +typedef struct anon__lazy_325 nav__9016_39; +typedef struct anon__lazy_166 nav__9016_49; +typedef struct anon__lazy_110 nav__9017_39; +typedef struct anon__lazy_58 nav__9017_41; +typedef struct anon__lazy_727 nav__9017_43; +typedef struct anon__lazy_110 nav__254_55; +typedef struct anon__lazy_300 nav__254_91; +typedef struct anon__lazy_300 nav__3634_50; +typedef struct anon__lazy_58 nav__3634_56; +struct os_linux_dl_phdr_info__8403; +typedef struct anon__lazy_58 nav__775_44; +typedef struct anon__lazy_300 nav__775_76; +typedef struct anon__lazy_716 nav__775_87; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453; +struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 { + struct anon__lazy_58 *key_ptr; + struct environment_linked_libraries_root_LibraryEntry__858 *value_ptr; + uintptr_t index; + bool found_existing; }; -typedef struct anon__lazy_180 nav__775_91; -struct json_stringify_StringifyOptions__8484; -struct json_stringify_StringifyOptions__8484 { - uint8_t whitespace; - bool emit_null_optional_fields; - bool emit_strings_as_arrays; - bool escape_unicode; - bool emit_nonportable_numbers_as_strings; +typedef struct anon__lazy_1087 nav__775_95; +struct anon__lazy_1087 { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + payload; + uint16_t error; }; -struct fs_File_CreateFlags__8504; -struct fs_File_CreateFlags__8504 { - uintptr_t mode; - bool read; - bool truncate; - bool exclusive; - uint8_t lock; - bool lock_nonblocking; +typedef struct anon__lazy_110 nav__775_97; +typedef struct anon__lazy_186 nav__775_99; +typedef struct anon__lazy_300 nav__776_69; +typedef struct anon__lazy_58 nav__776_83; +typedef struct anon__lazy_110 nav__776_86; +typedef struct anon__lazy_1091 nav__776_89; +struct anon__lazy_1091 { + struct anon__lazy_58 f0; + int32_t f1; }; -typedef struct anon__lazy_99 nav__775_100; -typedef struct anon__lazy_294 nav__4368_44; -struct elf_Elf64_Phdr__8384; -struct os_linux_dl_phdr_info__8376 { - uintptr_t addr; - uint8_t const *name; - struct elf_Elf64_Phdr__8384 *phdr; - uint16_t phnum; +typedef struct anon__lazy_186 nav__776_91; +struct json_stringify_StringifyOptions__8511; +struct json_stringify_StringifyOptions__8511 { + uint8_t whitespace; + bool emit_null_optional_fields; + bool emit_strings_as_arrays; + bool escape_unicode; + bool emit_nonportable_numbers_as_strings; }; -typedef struct anon__lazy_58 nav__9468_50; -struct environment_linked_libraries_elf_view__8534; -typedef struct anon__lazy_1099 nav__9468_59; -struct anon__lazy_1099 { - struct elf_Elf64_Phdr__8384 const *ptr; - uintptr_t len; +struct fs_File_CreateFlags__8531; +struct fs_File_CreateFlags__8531 { + uintptr_t mode; + bool read; + bool truncate; + bool exclusive; + uint8_t lock; + bool lock_nonblocking; }; -struct environment_linked_libraries_elf_view__8534 { - uintptr_t base_addr; - struct anon__lazy_1099 phdrs; +typedef struct anon__lazy_99 nav__776_100; +typedef struct anon__lazy_300 nav__4369_44; +struct elf_Elf64_Phdr__8411; +struct os_linux_dl_phdr_info__8403 { + uintptr_t addr; + uint8_t const *name; + struct elf_Elf64_Phdr__8411 *phdr; + uint16_t phnum; }; -typedef struct anon__lazy_294 nav__9468_70; -typedef struct anon__lazy_1102 nav__9468_75; -struct anon__lazy_1102 { - struct environment_linked_libraries_root_LibraryInfo__940 payload; - bool is_null; +typedef struct anon__lazy_58 nav__9473_50; +struct environment_linked_libraries_elf_view__8561; +typedef struct anon__lazy_1107 nav__9473_59; +struct anon__lazy_1107 { + struct elf_Elf64_Phdr__8411 const *ptr; + uintptr_t len; }; -typedef struct anon__lazy_973 nav__4171_57; -typedef struct anon__lazy_978 nav__4171_62; -typedef struct anon__lazy_983 nav__4171_67; -typedef struct anon__lazy_1079 nav__4178_39; -typedef struct anon__lazy_58 nav__4178_44; -typedef struct anon__lazy_58 nav__9472_39; -typedef struct anon__lazy_58 nav__9529_40; -typedef struct anon__lazy_1083 nav__9529_41; -typedef struct anon__lazy_166 nav__9529_44; -typedef struct anon__lazy_489 nav__9529_53; -typedef struct anon__lazy_110 nav__9473_39; -typedef struct anon__lazy_180 nav__9473_40; -typedef struct anon__lazy_58 nav__9473_42; -typedef struct anon__lazy_1083 nav__9473_43; -typedef struct anon__lazy_166 nav__9473_59; -typedef struct anon__lazy_110 nav__9496_39; -typedef struct anon__lazy_180 nav__9496_40; -typedef struct anon__lazy_99 nav__1228_39; -typedef struct anon__lazy_58 nav__1228_41; -typedef struct anon__lazy_58 nav__9499_39; -typedef struct anon__lazy_1099 nav__9505_42; -struct elf_Elf64_Phdr__8384 { - uint32_t p_type; - uint32_t p_flags; - uint64_t p_offset; - uint64_t p_vaddr; - uint64_t p_paddr; - uint64_t p_filesz; - uint64_t p_memsz; - uint64_t p_align; +struct environment_linked_libraries_elf_view__8561 { + uintptr_t base_addr; + struct anon__lazy_1107 phdrs; }; -typedef struct anon__lazy_1102 nav__3632_39; -typedef struct anon__lazy_58 nav__3632_43; -typedef struct anon__lazy_1099 nav__3632_54; -struct elf_Elf64_Dyn__8679; -typedef struct anon__lazy_1130 nav__3632_62; -struct anon__lazy_1130 { - struct elf_Elf64_Dyn__8679 const *ptr; - uintptr_t len; +typedef struct anon__lazy_300 nav__9473_70; +typedef struct anon__lazy_1110 nav__9473_75; +struct anon__lazy_1110 { + struct environment_linked_libraries_root_LibraryInfo__940 payload; + bool is_null; }; -typedef struct anon__lazy_110 nav__3632_67; -typedef struct anon__lazy_180 nav__3632_69; -typedef struct anon__lazy_58 nav__4349_43; -typedef struct anon__lazy_1134 nav__4349_49; -struct anon__lazy_1134 { - struct environment_linked_libraries_root_LibraryInfo__940 *payload; - uint16_t error; -}; -typedef struct anon__lazy_110 nav__9526_41; -typedef struct anon__lazy_180 nav__9526_45; -typedef struct anon__lazy_1079 nav__4179_39; +typedef struct anon__lazy_980 nav__4172_57; +typedef struct anon__lazy_985 nav__4172_62; +typedef struct anon__lazy_990 nav__4172_67; +typedef struct anon__lazy_1087 nav__4179_39; typedef struct anon__lazy_58 nav__4179_44; -typedef struct anon__lazy_110 nav__9527_41; -typedef struct anon__lazy_180 nav__9527_45; -typedef struct anon__lazy_110 nav__9530_41; -typedef struct anon__lazy_180 nav__9530_45; -struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641; -struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 stream; - uintptr_t indent_level; - struct json_stringify_StringifyOptions__8484 options; - uint8_t next_punctuation; +typedef struct anon__lazy_58 nav__9477_39; +typedef struct anon__lazy_58 nav__9534_40; +typedef struct anon__lazy_1091 nav__9534_41; +typedef struct anon__lazy_166 nav__9534_44; +typedef struct anon__lazy_493 nav__9534_53; +typedef struct anon__lazy_110 nav__9478_39; +typedef struct anon__lazy_186 nav__9478_40; +typedef struct anon__lazy_58 nav__9478_42; +typedef struct anon__lazy_1091 nav__9478_43; +typedef struct anon__lazy_166 nav__9478_59; +typedef struct anon__lazy_110 nav__9501_39; +typedef struct anon__lazy_186 nav__9501_40; +typedef struct anon__lazy_99 nav__1229_39; +typedef struct anon__lazy_58 nav__1229_41; +typedef struct anon__lazy_58 nav__9504_39; +typedef struct anon__lazy_1107 nav__9510_42; +struct elf_Elf64_Phdr__8411 { + uint32_t p_type; + uint32_t p_flags; + uint64_t p_offset; + uint64_t p_vaddr; + uint64_t p_paddr; + uint64_t p_filesz; + uint64_t p_memsz; + uint64_t p_align; }; -typedef struct anon__lazy_110 nav__1410_39; -typedef struct anon__lazy_180 nav__1410_40; -typedef struct anon__lazy_110 nav__9561_41; -typedef struct anon__lazy_180 nav__9561_45; -typedef struct anon__lazy_99 nav__4667_39; -typedef struct anon__lazy_58 nav__4667_42; -typedef struct anon__lazy_403 nav__4667_53; -typedef struct anon__lazy_110 nav__9562_41; -typedef struct anon__lazy_180 nav__9562_45; -typedef struct anon__lazy_58 nav__9514_39; -typedef struct anon__lazy_1099 nav__9514_45; -typedef struct anon__lazy_58 nav__3624_39; -typedef struct anon__lazy_110 nav__3624_50; -typedef struct anon__lazy_180 nav__3624_52; -typedef struct anon__lazy_1130 nav__9509_40; -typedef struct anon__lazy_1099 nav__9509_46; -typedef struct anon__lazy_1151 nav__9509_52; -struct anon__lazy_1151 { - struct elf_Elf64_Phdr__8384 payload; - bool is_null; +typedef struct anon__lazy_1110 nav__3633_39; +typedef struct anon__lazy_58 nav__3633_43; +typedef struct anon__lazy_1107 nav__3633_54; +struct elf_Elf64_Dyn__8706; +typedef struct anon__lazy_1138 nav__3633_62; +struct anon__lazy_1138 { + struct elf_Elf64_Dyn__8706 const *ptr; + uintptr_t len; }; -struct elf_Elf64_Dyn__8679 { - int64_t d_tag; - uint64_t d_val; +typedef struct anon__lazy_110 nav__3633_67; +typedef struct anon__lazy_186 nav__3633_69; +typedef struct anon__lazy_58 nav__4350_43; +typedef struct anon__lazy_1142 nav__4350_49; +struct anon__lazy_1142 { + struct environment_linked_libraries_root_LibraryInfo__940 *payload; + uint16_t error; }; -typedef struct anon__lazy_1130 nav__9511_41; -typedef struct anon__lazy_489 nav__9511_45; -typedef struct anon__lazy_58 nav__9513_39; -typedef struct anon__lazy_1130 nav__9513_42; -typedef struct anon__lazy_489 nav__9513_47; -typedef struct anon__lazy_1134 nav__4374_40; -typedef struct anon__lazy_294 nav__4374_47; -typedef struct anon__lazy_166 nav__9571_41; -typedef struct anon__lazy_58 nav__9571_43; -typedef struct anon__lazy_110 nav__9563_39; -typedef struct anon__lazy_180 nav__9563_40; -typedef struct anon__lazy_166 nav__9563_54; -typedef struct anon__lazy_58 nav__9563_56; -typedef struct anon__lazy_1079 nav__9564_39; -typedef struct anon__lazy_58 nav__9564_44; -typedef struct anon__lazy_489 nav__9564_67; -typedef struct anon__lazy_721 nav__9564_73; -typedef struct anon__lazy_762 nav__9564_76; -typedef struct anon__lazy_166 nav__9574_41; -typedef struct anon__lazy_58 nav__9574_43; -typedef struct anon__lazy_110 nav__9565_39; -typedef struct anon__lazy_180 nav__9565_40; -typedef struct anon__lazy_166 nav__9565_54; -typedef struct anon__lazy_58 nav__9565_56; -typedef struct anon__lazy_166 nav__9575_41; -typedef struct anon__lazy_58 nav__9575_43; -typedef struct anon__lazy_110 nav__9566_39; -typedef struct anon__lazy_180 nav__9566_40; -typedef struct anon__lazy_166 nav__9566_54; -typedef struct anon__lazy_58 nav__9566_56; -typedef struct anon__lazy_58 nav__9568_62; -typedef struct anon__lazy_110 nav__1440_43; -typedef struct anon__lazy_166 nav__9578_41; -typedef struct anon__lazy_58 nav__9578_43; -typedef struct anon__lazy_110 nav__9569_39; -typedef struct anon__lazy_180 nav__9569_40; -typedef struct anon__lazy_166 nav__9569_54; -typedef struct anon__lazy_58 nav__9569_56; +typedef struct anon__lazy_110 nav__9531_41; +typedef struct anon__lazy_186 nav__9531_45; +typedef struct anon__lazy_1087 nav__4180_39; +typedef struct anon__lazy_58 nav__4180_44; +typedef struct anon__lazy_110 nav__9532_41; +typedef struct anon__lazy_186 nav__9532_45; +typedef struct anon__lazy_110 nav__9535_41; +typedef struct anon__lazy_186 nav__9535_45; +struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668; +struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + stream; + uintptr_t indent_level; + struct json_stringify_StringifyOptions__8511 options; + uint8_t next_punctuation; +}; +typedef struct anon__lazy_110 nav__1411_39; +typedef struct anon__lazy_186 nav__1411_40; +typedef struct anon__lazy_110 nav__9566_41; +typedef struct anon__lazy_186 nav__9566_45; typedef struct anon__lazy_99 nav__4668_39; -typedef struct anon__lazy_446 nav__4668_50; +typedef struct anon__lazy_58 nav__4668_42; +typedef struct anon__lazy_409 nav__4668_53; +typedef struct anon__lazy_110 nav__9567_41; +typedef struct anon__lazy_186 nav__9567_45; +typedef struct anon__lazy_58 nav__9519_39; +typedef struct anon__lazy_1107 nav__9519_45; +typedef struct anon__lazy_58 nav__3625_39; +typedef struct anon__lazy_110 nav__3625_50; +typedef struct anon__lazy_186 nav__3625_52; +typedef struct anon__lazy_1138 nav__9514_40; +typedef struct anon__lazy_1107 nav__9514_46; +typedef struct anon__lazy_1159 nav__9514_52; +struct anon__lazy_1159 { + struct elf_Elf64_Phdr__8411 payload; + bool is_null; +}; +struct elf_Elf64_Dyn__8706 { + int64_t d_tag; + uint64_t d_val; +}; +typedef struct anon__lazy_1138 nav__9516_41; +typedef struct anon__lazy_493 nav__9516_45; +typedef struct anon__lazy_58 nav__9518_39; +typedef struct anon__lazy_1138 nav__9518_42; +typedef struct anon__lazy_493 nav__9518_47; +typedef struct anon__lazy_1142 nav__4375_40; +typedef struct anon__lazy_300 nav__4375_47; +typedef struct anon__lazy_166 nav__9576_41; +typedef struct anon__lazy_58 nav__9576_43; +typedef struct anon__lazy_110 nav__9568_39; +typedef struct anon__lazy_186 nav__9568_40; +typedef struct anon__lazy_166 nav__9568_54; +typedef struct anon__lazy_58 nav__9568_56; +typedef struct anon__lazy_1087 nav__9569_39; +typedef struct anon__lazy_58 nav__9569_44; +typedef struct anon__lazy_493 nav__9569_67; +typedef struct anon__lazy_727 nav__9569_73; +typedef struct anon__lazy_768 nav__9569_76; typedef struct anon__lazy_166 nav__9579_41; typedef struct anon__lazy_58 nav__9579_43; typedef struct anon__lazy_110 nav__9570_39; -typedef struct anon__lazy_180 nav__9570_40; +typedef struct anon__lazy_186 nav__9570_40; typedef struct anon__lazy_166 nav__9570_54; typedef struct anon__lazy_58 nav__9570_56; -typedef struct anon__lazy_58 nav__9507_39; -typedef struct anon__lazy_1099 nav__9507_45; -typedef struct anon__lazy_1151 nav__9508_39; -typedef struct anon__lazy_1099 nav__9508_45; -typedef struct anon__lazy_489 nav__9510_38; -typedef struct anon__lazy_1130 nav__9510_41; +typedef struct anon__lazy_166 nav__9580_41; +typedef struct anon__lazy_58 nav__9580_43; +typedef struct anon__lazy_110 nav__9571_39; +typedef struct anon__lazy_186 nav__9571_40; +typedef struct anon__lazy_166 nav__9571_54; +typedef struct anon__lazy_58 nav__9571_56; +typedef struct anon__lazy_58 nav__9573_62; +typedef struct anon__lazy_110 nav__1441_43; +typedef struct anon__lazy_166 nav__9583_41; +typedef struct anon__lazy_58 nav__9583_43; +typedef struct anon__lazy_110 nav__9574_39; +typedef struct anon__lazy_186 nav__9574_40; +typedef struct anon__lazy_166 nav__9574_54; +typedef struct anon__lazy_58 nav__9574_56; +typedef struct anon__lazy_99 nav__4669_39; +typedef struct anon__lazy_180 nav__4669_50; +typedef struct anon__lazy_166 nav__9584_41; +typedef struct anon__lazy_58 nav__9584_43; +typedef struct anon__lazy_110 nav__9575_39; +typedef struct anon__lazy_186 nav__9575_40; +typedef struct anon__lazy_166 nav__9575_54; +typedef struct anon__lazy_58 nav__9575_56; typedef struct anon__lazy_58 nav__9512_39; -typedef struct anon__lazy_294 nav__4370_44; -typedef struct anon__lazy_294 nav__4375_44; -typedef struct anon__lazy_219 nav__4188_60; -typedef struct anon__lazy_934 nav__4188_62; -typedef struct anon__lazy_489 nav__9572_38; -typedef struct anon__lazy_58 nav__9572_41; -typedef struct anon__lazy_938 nav__9572_61; -typedef struct anon__lazy_721 nav__9572_64; -typedef struct anon__lazy_58 nav__9573_42; -typedef struct anon__lazy_938 nav__9573_66; -typedef struct anon__lazy_721 nav__9573_69; -typedef struct anon__lazy_762 nav__9573_72; -typedef struct anon__lazy_166 nav__9544_56; -typedef struct anon__lazy_58 nav__9544_58; -typedef struct anon__lazy_166 nav__9547_56; -typedef struct anon__lazy_58 nav__9547_58; -typedef struct anon__lazy_1194 nav__9545_43; -struct anon__lazy_1194 { - bool is_null; - bool payload; +typedef struct anon__lazy_1107 nav__9512_45; +typedef struct anon__lazy_1159 nav__9513_39; +typedef struct anon__lazy_1107 nav__9513_45; +typedef struct anon__lazy_493 nav__9515_38; +typedef struct anon__lazy_1138 nav__9515_41; +typedef struct anon__lazy_58 nav__9517_39; +typedef struct anon__lazy_300 nav__4371_44; +typedef struct anon__lazy_300 nav__4376_44; +typedef struct anon__lazy_225 nav__4189_60; +typedef struct anon__lazy_941 nav__4189_62; +typedef struct anon__lazy_493 nav__9577_38; +typedef struct anon__lazy_58 nav__9577_41; +typedef struct anon__lazy_945 nav__9577_61; +typedef struct anon__lazy_727 nav__9577_64; +typedef struct anon__lazy_58 nav__9578_42; +typedef struct anon__lazy_945 nav__9578_66; +typedef struct anon__lazy_727 nav__9578_69; +typedef struct anon__lazy_768 nav__9578_72; +typedef struct anon__lazy_166 nav__9549_56; +typedef struct anon__lazy_58 nav__9549_58; +typedef struct anon__lazy_166 nav__9552_56; +typedef struct anon__lazy_58 nav__9552_58; +typedef struct anon__lazy_1202 nav__9550_43; +struct anon__lazy_1202 { + bool is_null; + bool payload; }; -typedef struct anon__lazy_166 nav__9539_54; -typedef struct anon__lazy_58 nav__9539_56; -typedef struct anon__lazy_1194 nav__9546_43; +typedef struct anon__lazy_166 nav__9544_54; +typedef struct anon__lazy_58 nav__9544_56; +typedef struct anon__lazy_1202 nav__9551_43; +typedef struct anon__lazy_58 nav__9659_39; +typedef struct anon__lazy_493 nav__9659_44; +typedef struct anon__lazy_166 nav__9659_52; +typedef struct anon__lazy_110 nav__9659_67; +typedef struct anon__lazy_225 nav__9659_70; +typedef struct anon__lazy_493 nav__9658_41; +typedef struct anon__lazy_602 nav__9658_52; +typedef struct anon__lazy_110 nav__9658_54; +typedef struct anon__lazy_58 nav__9658_57; +typedef struct anon__lazy_493 nav__9657_41; +typedef struct anon__lazy_493 nav__9661_41; +typedef struct anon__lazy_602 nav__9661_52; +typedef struct anon__lazy_110 nav__9661_54; +typedef struct anon__lazy_58 nav__9661_57; +typedef struct anon__lazy_493 nav__9660_41; +typedef struct anon__lazy_166 nav__9656_48; +typedef struct anon__lazy_58 nav__9656_50; +typedef struct anon__lazy_493 nav__9656_64; +typedef struct anon__lazy_166 nav__9655_48; +typedef struct anon__lazy_58 nav__9655_50; typedef struct anon__lazy_58 nav__9654_39; -typedef struct anon__lazy_489 nav__9654_44; -typedef struct anon__lazy_166 nav__9654_52; -typedef struct anon__lazy_110 nav__9654_67; -typedef struct anon__lazy_219 nav__9654_70; -typedef struct anon__lazy_489 nav__9653_41; -typedef struct anon__lazy_596 nav__9653_52; -typedef struct anon__lazy_110 nav__9653_54; -typedef struct anon__lazy_58 nav__9653_57; -typedef struct anon__lazy_489 nav__9652_41; -typedef struct anon__lazy_489 nav__9656_41; -typedef struct anon__lazy_596 nav__9656_52; -typedef struct anon__lazy_110 nav__9656_54; -typedef struct anon__lazy_58 nav__9656_57; -typedef struct anon__lazy_489 nav__9655_41; -typedef struct anon__lazy_166 nav__9651_48; -typedef struct anon__lazy_58 nav__9651_50; -typedef struct anon__lazy_489 nav__9651_64; -typedef struct anon__lazy_166 nav__9650_48; -typedef struct anon__lazy_58 nav__9650_50; -typedef struct anon__lazy_58 nav__9649_39; -typedef struct anon__lazy_166 nav__9649_54; -typedef struct anon__lazy_219 nav__9649_64; -typedef struct anon__lazy_154 nav__9649_66; -typedef struct anon__lazy_58 nav__9648_39; -typedef struct anon__lazy_166 nav__9648_53; -typedef struct anon__lazy_58 nav__9554_41; -typedef struct anon__lazy_58 nav__9657_56; -typedef struct anon__lazy_678 nav__9657_65; -typedef struct anon__lazy_58 nav__9659_56; -typedef struct anon__lazy_710 nav__9659_65; -typedef struct anon__lazy_166 nav__9541_55; -typedef struct anon__lazy_58 nav__9541_57; -typedef struct anon__lazy_294 nav__4371_44; -typedef struct anon__lazy_1226 nav__4371_56; -struct anon__lazy_1226 { - struct anon__lazy_294 payload; - uint16_t error; -}; -typedef struct anon__lazy_58 nav__4371_60; -typedef struct anon__lazy_110 nav__4318_52; -typedef struct anon__lazy_180 nav__4318_54; -typedef struct anon__lazy_938 nav__4318_62; -typedef struct anon__lazy_58 nav__4318_65; -typedef struct anon__lazy_721 nav__4318_67; -typedef struct anon__lazy_762 nav__4318_72; -typedef struct anon__lazy_58 nav__9639_40; -typedef struct anon__lazy_938 nav__9640_39; -typedef struct anon__lazy_58 nav__9641_40; -typedef struct anon__lazy_489 nav__9642_38; -typedef struct anon__lazy_58 nav__9642_41; -typedef struct anon__lazy_973 nav__9642_58; -typedef struct anon__lazy_489 nav__9643_38; -typedef struct anon__lazy_58 nav__9643_41; -typedef struct anon__lazy_978 nav__9643_58; -typedef struct anon__lazy_489 nav__9644_38; -typedef struct anon__lazy_58 nav__9644_41; -typedef struct anon__lazy_983 nav__9644_58; -typedef struct anon__lazy_58 nav__9645_42; -typedef struct anon__lazy_938 nav__9645_66; -typedef struct anon__lazy_721 nav__9645_69; -typedef struct anon__lazy_762 nav__9645_72; -typedef struct anon__lazy_973 nav__9645_77; -typedef struct anon__lazy_58 nav__9646_42; -typedef struct anon__lazy_938 nav__9646_66; -typedef struct anon__lazy_721 nav__9646_69; -typedef struct anon__lazy_762 nav__9646_72; -typedef struct anon__lazy_978 nav__9646_77; -typedef struct anon__lazy_58 nav__9647_42; -typedef struct anon__lazy_938 nav__9647_66; -typedef struct anon__lazy_721 nav__9647_69; -typedef struct anon__lazy_762 nav__9647_72; -typedef struct anon__lazy_983 nav__9647_77; -typedef struct anon__lazy_1194 nav__9549_38; -typedef struct anon__lazy_166 nav__8276_41; -typedef struct anon__lazy_58 nav__8276_43; -typedef struct anon__lazy_166 nav__8277_41; -typedef struct anon__lazy_58 nav__8277_43; -typedef struct anon__lazy_110 nav__8277_52; -typedef struct anon__lazy_58 nav__9669_56; -typedef struct anon__lazy_695 nav__9669_65; -typedef struct anon__lazy_697 nav__9669_69; -typedef struct anon__lazy_58 nav__9660_43; -typedef struct anon__lazy_294 nav__9661_40; -typedef struct anon__lazy_58 nav__9661_52; -typedef struct anon__lazy_110 nav__9661_56; -typedef struct anon__lazy_166 nav__9661_58; -typedef struct anon__lazy_294 nav__9662_40; -typedef struct anon__lazy_1226 nav__9662_41; -typedef struct anon__lazy_319 nav__9662_53; -typedef struct anon__lazy_58 nav__9662_57; -typedef struct anon__lazy_938 nav__9663_56; -typedef struct anon__lazy_973 nav__9663_60; -typedef struct anon__lazy_938 nav__9664_56; -typedef struct anon__lazy_978 nav__9664_60; -typedef struct anon__lazy_938 nav__9665_56; -typedef struct anon__lazy_983 nav__9665_60; -typedef struct anon__lazy_489 nav__9666_38; -typedef struct anon__lazy_58 nav__9666_41; -typedef struct anon__lazy_973 nav__9666_47; -typedef struct anon__lazy_938 nav__9666_66; -typedef struct anon__lazy_721 nav__9666_69; -typedef struct anon__lazy_489 nav__9667_38; -typedef struct anon__lazy_58 nav__9667_41; -typedef struct anon__lazy_978 nav__9667_47; -typedef struct anon__lazy_938 nav__9667_66; -typedef struct anon__lazy_721 nav__9667_69; -typedef struct anon__lazy_489 nav__9668_38; -typedef struct anon__lazy_58 nav__9668_41; -typedef struct anon__lazy_983 nav__9668_47; -typedef struct anon__lazy_938 nav__9668_66; -typedef struct anon__lazy_721 nav__9668_69; -typedef struct anon__lazy_58 nav__9675_43; -typedef struct anon__lazy_697 nav__9675_46; -typedef struct anon__lazy_58 nav__9670_43; -typedef struct anon__lazy_697 nav__9670_46; +typedef struct anon__lazy_166 nav__9654_54; +typedef struct anon__lazy_225 nav__9654_64; +typedef struct anon__lazy_154 nav__9654_66; +typedef struct anon__lazy_58 nav__9653_39; +typedef struct anon__lazy_166 nav__9653_53; typedef struct anon__lazy_58 nav__9559_41; +typedef struct anon__lazy_58 nav__9662_56; +typedef struct anon__lazy_684 nav__9662_65; +typedef struct anon__lazy_58 nav__9664_56; +typedef struct anon__lazy_716 nav__9664_65; +typedef struct anon__lazy_166 nav__9546_55; +typedef struct anon__lazy_58 nav__9546_57; +typedef struct anon__lazy_300 nav__4372_44; +typedef struct anon__lazy_1234 nav__4372_56; +struct anon__lazy_1234 { + struct anon__lazy_300 payload; + uint16_t error; +}; +typedef struct anon__lazy_58 nav__4372_60; +typedef struct anon__lazy_110 nav__4319_52; +typedef struct anon__lazy_186 nav__4319_54; +typedef struct anon__lazy_945 nav__4319_62; +typedef struct anon__lazy_58 nav__4319_65; +typedef struct anon__lazy_727 nav__4319_67; +typedef struct anon__lazy_768 nav__4319_72; +typedef struct anon__lazy_58 nav__9644_40; +typedef struct anon__lazy_945 nav__9645_39; +typedef struct anon__lazy_58 nav__9646_40; +typedef struct anon__lazy_493 nav__9647_38; +typedef struct anon__lazy_58 nav__9647_41; +typedef struct anon__lazy_980 nav__9647_58; +typedef struct anon__lazy_493 nav__9648_38; +typedef struct anon__lazy_58 nav__9648_41; +typedef struct anon__lazy_985 nav__9648_58; +typedef struct anon__lazy_493 nav__9649_38; +typedef struct anon__lazy_58 nav__9649_41; +typedef struct anon__lazy_990 nav__9649_58; +typedef struct anon__lazy_58 nav__9650_42; +typedef struct anon__lazy_945 nav__9650_66; +typedef struct anon__lazy_727 nav__9650_69; +typedef struct anon__lazy_768 nav__9650_72; +typedef struct anon__lazy_980 nav__9650_77; +typedef struct anon__lazy_58 nav__9651_42; +typedef struct anon__lazy_945 nav__9651_66; +typedef struct anon__lazy_727 nav__9651_69; +typedef struct anon__lazy_768 nav__9651_72; +typedef struct anon__lazy_985 nav__9651_77; +typedef struct anon__lazy_58 nav__9652_42; +typedef struct anon__lazy_945 nav__9652_66; +typedef struct anon__lazy_727 nav__9652_69; +typedef struct anon__lazy_768 nav__9652_72; +typedef struct anon__lazy_990 nav__9652_77; +typedef struct anon__lazy_1202 nav__9554_38; +typedef struct anon__lazy_166 nav__8279_41; +typedef struct anon__lazy_58 nav__8279_43; +typedef struct anon__lazy_166 nav__8280_41; +typedef struct anon__lazy_58 nav__8280_43; +typedef struct anon__lazy_110 nav__8280_52; +typedef struct anon__lazy_58 nav__9674_56; +typedef struct anon__lazy_701 nav__9674_65; +typedef struct anon__lazy_703 nav__9674_69; +typedef struct anon__lazy_58 nav__9665_43; +typedef struct anon__lazy_300 nav__9666_40; +typedef struct anon__lazy_58 nav__9666_52; +typedef struct anon__lazy_110 nav__9666_56; +typedef struct anon__lazy_166 nav__9666_58; +typedef struct anon__lazy_300 nav__9667_40; +typedef struct anon__lazy_1234 nav__9667_41; +typedef struct anon__lazy_325 nav__9667_53; +typedef struct anon__lazy_58 nav__9667_57; +typedef struct anon__lazy_945 nav__9668_56; +typedef struct anon__lazy_980 nav__9668_60; +typedef struct anon__lazy_945 nav__9669_56; +typedef struct anon__lazy_985 nav__9669_60; +typedef struct anon__lazy_945 nav__9670_56; +typedef struct anon__lazy_990 nav__9670_60; +typedef struct anon__lazy_493 nav__9671_38; typedef struct anon__lazy_58 nav__9671_41; +typedef struct anon__lazy_980 nav__9671_47; +typedef struct anon__lazy_945 nav__9671_66; +typedef struct anon__lazy_727 nav__9671_69; +typedef struct anon__lazy_493 nav__9672_38; typedef struct anon__lazy_58 nav__9672_41; -typedef struct anon__lazy_294 nav__9673_40; -typedef struct anon__lazy_110 nav__9673_42; -typedef struct anon__lazy_58 nav__9673_50; -typedef struct anon__lazy_319 nav__9674_39; -typedef struct anon__lazy_166 nav__9674_49; +typedef struct anon__lazy_985 nav__9672_47; +typedef struct anon__lazy_945 nav__9672_66; +typedef struct anon__lazy_727 nav__9672_69; +typedef struct anon__lazy_493 nav__9673_38; +typedef struct anon__lazy_58 nav__9673_41; +typedef struct anon__lazy_990 nav__9673_47; +typedef struct anon__lazy_945 nav__9673_66; +typedef struct anon__lazy_727 nav__9673_69; +typedef struct anon__lazy_58 nav__9680_43; +typedef struct anon__lazy_703 nav__9680_46; +typedef struct anon__lazy_58 nav__9675_43; +typedef struct anon__lazy_703 nav__9675_46; +typedef struct anon__lazy_58 nav__9564_41; typedef struct anon__lazy_58 nav__9676_41; -typedef struct anon__lazy_697 nav__9676_43; -typedef struct anon__lazy_58 nav__8312_39; -typedef struct anon__lazy_166 nav__9538_54; -typedef struct anon__lazy_58 nav__9538_56; -typedef struct anon__lazy_553 nav__9677_51; -typedef struct anon__lazy_166 nav__9677_57; -typedef struct anon__lazy_58 nav__9677_59; -typedef struct anon__lazy_166 nav__9540_55; -typedef struct anon__lazy_58 nav__9540_57; -typedef struct anon__lazy_166 nav__9678_54; -typedef struct anon__lazy_58 nav__9678_56; -typedef struct anon__lazy_58 nav__9679_39; -typedef struct anon__lazy_553 nav__9680_39; -typedef struct anon__lazy_166 nav__9680_42; -typedef struct anon__lazy_58 nav__9680_44; -typedef struct anon__lazy_553 nav__9681_39; -typedef struct anon__lazy_166 nav__9681_42; -typedef struct anon__lazy_58 nav__9681_44; -typedef struct anon__lazy_489 nav__9681_51; -typedef struct anon__lazy_489 nav__9682_41; -typedef struct anon__lazy_166 nav__9682_45; -typedef struct anon__lazy_58 nav__9682_47; -typedef struct anon__lazy_489 nav__9685_41; -typedef struct anon__lazy_166 nav__9685_45; -typedef struct anon__lazy_58 nav__9685_47; -typedef struct anon__lazy_596 nav__9685_56; -typedef struct anon__lazy_110 nav__9685_58; -typedef struct anon__lazy_489 nav__9684_41; -typedef struct anon__lazy_166 nav__9684_45; -typedef struct anon__lazy_58 nav__9684_47; -typedef struct anon__lazy_489 nav__9683_41; -typedef struct anon__lazy_166 nav__9683_45; -typedef struct anon__lazy_58 nav__9683_47; +typedef struct anon__lazy_58 nav__9677_41; +typedef struct anon__lazy_300 nav__9678_40; +typedef struct anon__lazy_110 nav__9678_42; +typedef struct anon__lazy_58 nav__9678_50; +typedef struct anon__lazy_325 nav__9679_39; +typedef struct anon__lazy_166 nav__9679_49; +typedef struct anon__lazy_58 nav__9681_41; +typedef struct anon__lazy_703 nav__9681_43; +typedef struct anon__lazy_58 nav__8315_39; +typedef struct anon__lazy_166 nav__9543_54; +typedef struct anon__lazy_58 nav__9543_56; +typedef struct anon__lazy_557 nav__9682_51; +typedef struct anon__lazy_166 nav__9682_57; +typedef struct anon__lazy_58 nav__9682_59; +typedef struct anon__lazy_166 nav__9545_55; +typedef struct anon__lazy_58 nav__9545_57; +typedef struct anon__lazy_166 nav__9683_54; +typedef struct anon__lazy_58 nav__9683_56; +typedef struct anon__lazy_58 nav__9684_39; +typedef struct anon__lazy_557 nav__9685_39; +typedef struct anon__lazy_166 nav__9685_42; +typedef struct anon__lazy_58 nav__9685_44; +typedef struct anon__lazy_557 nav__9686_39; +typedef struct anon__lazy_166 nav__9686_42; +typedef struct anon__lazy_58 nav__9686_44; +typedef struct anon__lazy_493 nav__9686_51; +typedef struct anon__lazy_493 nav__9687_41; +typedef struct anon__lazy_166 nav__9687_45; +typedef struct anon__lazy_58 nav__9687_47; +typedef struct anon__lazy_493 nav__9690_41; +typedef struct anon__lazy_166 nav__9690_45; +typedef struct anon__lazy_58 nav__9690_47; +typedef struct anon__lazy_602 nav__9690_56; +typedef struct anon__lazy_110 nav__9690_58; +typedef struct anon__lazy_493 nav__9689_41; +typedef struct anon__lazy_166 nav__9689_45; +typedef struct anon__lazy_58 nav__9689_47; +typedef struct anon__lazy_493 nav__9688_41; +typedef struct anon__lazy_166 nav__9688_45; +typedef struct anon__lazy_58 nav__9688_47; struct Target_Os__675; union Target_Os_VersionRange__731; struct SemanticVersion_Range__736; struct SemanticVersion__734; -typedef struct anon__lazy_58 nav__266_43; +typedef struct anon__lazy_58 nav__267_43; struct SemanticVersion__734 { - uintptr_t major; - uintptr_t minor; - uintptr_t patch; - struct anon__lazy_58 pre; - struct anon__lazy_58 build; + uintptr_t major; + uintptr_t minor; + uintptr_t patch; + struct anon__lazy_58 pre; + struct anon__lazy_58 build; }; struct SemanticVersion_Range__736 { - struct SemanticVersion__734 zig_e_min; - struct SemanticVersion__734 zig_e_max; + struct SemanticVersion__734 zig_e_min; + struct SemanticVersion__734 zig_e_max; }; struct Target_Os_HurdVersionRange__738; struct Target_Os_HurdVersionRange__738 { - struct SemanticVersion_Range__736 range; - struct SemanticVersion__734 glibc; + struct SemanticVersion_Range__736 range; + struct SemanticVersion__734 glibc; }; struct Target_Os_LinuxVersionRange__740; struct Target_Os_LinuxVersionRange__740 { - struct SemanticVersion_Range__736 range; - struct SemanticVersion__734 glibc; - uint32_t android; + struct SemanticVersion_Range__736 range; + struct SemanticVersion__734 glibc; + uint32_t android; }; struct Target_Os_WindowsVersion_Range__796; struct Target_Os_WindowsVersion_Range__796 { - uint32_t zig_e_min; - uint32_t zig_e_max; + uint32_t zig_e_min; + uint32_t zig_e_max; }; union Target_Os_VersionRange__731 { - struct SemanticVersion_Range__736 semver; - struct Target_Os_HurdVersionRange__738 hurd; - struct Target_Os_LinuxVersionRange__740 linux; - struct Target_Os_WindowsVersion_Range__796 windows; + struct SemanticVersion_Range__736 semver; + struct Target_Os_HurdVersionRange__738 hurd; + struct Target_Os_LinuxVersionRange__740 linux; + struct Target_Os_WindowsVersion_Range__796 windows; }; struct Target_Os__675 { - union Target_Os_VersionRange__731 version_range; - uint8_t tag; + union Target_Os_VersionRange__731 version_range; + uint8_t tag; }; struct Target_DynamicLinker__982; struct Target_DynamicLinker__982 { - uint8_t buffer[255]; - uint8_t len; + uint8_t buffer[255]; + uint8_t len; }; -typedef struct anon__lazy_110 nav__4524_40; typedef struct anon__lazy_110 nav__4525_40; typedef struct anon__lazy_110 nav__4526_40; -typedef struct anon__lazy_110 nav__4488_46; +typedef struct anon__lazy_110 nav__4527_40; +typedef struct anon__lazy_110 nav__4489_46; typedef struct anon__lazy_110 nav__235_46; struct Target_Cpu_Feature_Set__999; struct Target_Cpu_Feature_Set__999 { - uintptr_t ints[5]; + uintptr_t ints[5]; }; struct Target_Cpu__967; struct Target_Cpu_Model__994; struct Target_Cpu__967 { - struct Target_Cpu_Model__994 const *model; - struct Target_Cpu_Feature_Set__999 features; - uint8_t arch; + struct Target_Cpu_Model__994 const *model; + struct Target_Cpu_Feature_Set__999 features; + uint8_t arch; }; -typedef struct anon__lazy_58 nav__265_46; +typedef struct anon__lazy_58 nav__266_46; struct Target_Cpu_Model__994 { - struct anon__lazy_58 name; - struct anon__lazy_58 llvm_name; - struct Target_Cpu_Feature_Set__999 features; + struct anon__lazy_58 name; + struct anon__lazy_58 llvm_name; + struct Target_Cpu_Feature_Set__999 features; }; struct Target__673; -typedef struct anon__lazy_58 nav__267_51; +typedef struct anon__lazy_58 nav__268_51; struct Target__673 { - struct Target_Cpu__967 cpu; - struct Target_Os__675 os; - uint8_t abi; - uint8_t ofmt; - struct Target_DynamicLinker__982 dynamic_linker; + struct Target_Cpu__967 cpu; + struct Target_Os__675 os; + uint8_t abi; + uint8_t ofmt; + struct Target_DynamicLinker__982 dynamic_linker; }; struct builtin_CallingConvention__266; struct builtin_CallingConvention_CommonOptions__268; -typedef struct anon__lazy_234 nav__466_40; +typedef struct anon__lazy_240 nav__467_40; struct builtin_CallingConvention_CommonOptions__268 { - struct anon__lazy_234 incoming_stack_alignment; + struct anon__lazy_240 incoming_stack_alignment; }; struct builtin_CallingConvention_X86RegparmOptions__270; struct builtin_CallingConvention_X86RegparmOptions__270 { - struct anon__lazy_234 incoming_stack_alignment; - uint8_t register_params; + struct anon__lazy_240 incoming_stack_alignment; + uint8_t register_params; }; struct builtin_CallingConvention_ArmInterruptOptions__272; struct builtin_CallingConvention_ArmInterruptOptions__272 { - struct anon__lazy_234 incoming_stack_alignment; - uint8_t type; + struct anon__lazy_240 incoming_stack_alignment; + uint8_t type; }; struct builtin_CallingConvention_MipsInterruptOptions__274; struct builtin_CallingConvention_MipsInterruptOptions__274 { - struct anon__lazy_234 incoming_stack_alignment; - uint8_t mode; + struct anon__lazy_240 incoming_stack_alignment; + uint8_t mode; }; struct builtin_CallingConvention_RiscvInterruptOptions__276; struct builtin_CallingConvention_RiscvInterruptOptions__276 { - struct anon__lazy_234 incoming_stack_alignment; - uint8_t mode; + struct anon__lazy_240 incoming_stack_alignment; + uint8_t mode; }; struct builtin_CallingConvention__266 { - union { - struct builtin_CallingConvention_CommonOptions__268 x86_64_sysv; - struct builtin_CallingConvention_CommonOptions__268 x86_64_win; - struct builtin_CallingConvention_CommonOptions__268 x86_64_regcall_v3_sysv; - struct builtin_CallingConvention_CommonOptions__268 x86_64_regcall_v4_win; - struct builtin_CallingConvention_CommonOptions__268 x86_64_vectorcall; - struct builtin_CallingConvention_CommonOptions__268 x86_64_interrupt; - struct builtin_CallingConvention_X86RegparmOptions__270 x86_sysv; - struct builtin_CallingConvention_X86RegparmOptions__270 x86_win; - struct builtin_CallingConvention_X86RegparmOptions__270 x86_stdcall; - struct builtin_CallingConvention_CommonOptions__268 x86_fastcall; - struct builtin_CallingConvention_CommonOptions__268 x86_thiscall; - struct builtin_CallingConvention_CommonOptions__268 x86_thiscall_mingw; - struct builtin_CallingConvention_CommonOptions__268 x86_regcall_v3; - struct builtin_CallingConvention_CommonOptions__268 x86_regcall_v4_win; - struct builtin_CallingConvention_CommonOptions__268 x86_vectorcall; - struct builtin_CallingConvention_CommonOptions__268 x86_interrupt; - struct builtin_CallingConvention_CommonOptions__268 aarch64_aapcs; - struct builtin_CallingConvention_CommonOptions__268 aarch64_aapcs_darwin; - struct builtin_CallingConvention_CommonOptions__268 aarch64_aapcs_win; - struct builtin_CallingConvention_CommonOptions__268 aarch64_vfabi; - struct builtin_CallingConvention_CommonOptions__268 aarch64_vfabi_sve; - struct builtin_CallingConvention_CommonOptions__268 arm_aapcs; - struct builtin_CallingConvention_CommonOptions__268 arm_aapcs_vfp; - struct builtin_CallingConvention_ArmInterruptOptions__272 arm_interrupt; - struct builtin_CallingConvention_CommonOptions__268 mips64_n64; - struct builtin_CallingConvention_CommonOptions__268 mips64_n32; - struct builtin_CallingConvention_MipsInterruptOptions__274 mips64_interrupt; - struct builtin_CallingConvention_CommonOptions__268 mips_o32; - struct builtin_CallingConvention_MipsInterruptOptions__274 mips_interrupt; - struct builtin_CallingConvention_CommonOptions__268 riscv64_lp64; - struct builtin_CallingConvention_CommonOptions__268 riscv64_lp64_v; - struct builtin_CallingConvention_RiscvInterruptOptions__276 riscv64_interrupt; - struct builtin_CallingConvention_CommonOptions__268 riscv32_ilp32; - struct builtin_CallingConvention_CommonOptions__268 riscv32_ilp32_v; - struct builtin_CallingConvention_RiscvInterruptOptions__276 riscv32_interrupt; - struct builtin_CallingConvention_CommonOptions__268 sparc64_sysv; - struct builtin_CallingConvention_CommonOptions__268 sparc_sysv; - struct builtin_CallingConvention_CommonOptions__268 powerpc64_elf; - struct builtin_CallingConvention_CommonOptions__268 powerpc64_elf_altivec; - struct builtin_CallingConvention_CommonOptions__268 powerpc64_elf_v2; - struct builtin_CallingConvention_CommonOptions__268 powerpc_sysv; - struct builtin_CallingConvention_CommonOptions__268 powerpc_sysv_altivec; - struct builtin_CallingConvention_CommonOptions__268 powerpc_aix; - struct builtin_CallingConvention_CommonOptions__268 powerpc_aix_altivec; - struct builtin_CallingConvention_CommonOptions__268 wasm_mvp; - struct builtin_CallingConvention_CommonOptions__268 arc_sysv; - struct builtin_CallingConvention_CommonOptions__268 bpf_std; - struct builtin_CallingConvention_CommonOptions__268 csky_sysv; - struct builtin_CallingConvention_CommonOptions__268 csky_interrupt; - struct builtin_CallingConvention_CommonOptions__268 hexagon_sysv; - struct builtin_CallingConvention_CommonOptions__268 hexagon_sysv_hvx; - struct builtin_CallingConvention_CommonOptions__268 lanai_sysv; - struct builtin_CallingConvention_CommonOptions__268 loongarch64_lp64; - struct builtin_CallingConvention_CommonOptions__268 loongarch32_ilp32; - struct builtin_CallingConvention_CommonOptions__268 m68k_sysv; - struct builtin_CallingConvention_CommonOptions__268 m68k_gnu; - struct builtin_CallingConvention_CommonOptions__268 m68k_rtd; - struct builtin_CallingConvention_CommonOptions__268 m68k_interrupt; - struct builtin_CallingConvention_CommonOptions__268 msp430_eabi; - struct builtin_CallingConvention_CommonOptions__268 propeller_sysv; - struct builtin_CallingConvention_CommonOptions__268 s390x_sysv; - struct builtin_CallingConvention_CommonOptions__268 s390x_sysv_vx; - struct builtin_CallingConvention_CommonOptions__268 ve_sysv; - struct builtin_CallingConvention_CommonOptions__268 xcore_xs1; - struct builtin_CallingConvention_CommonOptions__268 xcore_xs2; - struct builtin_CallingConvention_CommonOptions__268 xtensa_call0; - struct builtin_CallingConvention_CommonOptions__268 xtensa_windowed; - struct builtin_CallingConvention_CommonOptions__268 amdgcn_device; - struct builtin_CallingConvention_CommonOptions__268 amdgcn_cs; - } payload; - uint8_t tag; + union { + struct builtin_CallingConvention_CommonOptions__268 x86_64_sysv; + struct builtin_CallingConvention_CommonOptions__268 x86_64_win; + struct builtin_CallingConvention_CommonOptions__268 x86_64_regcall_v3_sysv; + struct builtin_CallingConvention_CommonOptions__268 x86_64_regcall_v4_win; + struct builtin_CallingConvention_CommonOptions__268 x86_64_vectorcall; + struct builtin_CallingConvention_CommonOptions__268 x86_64_interrupt; + struct builtin_CallingConvention_X86RegparmOptions__270 x86_sysv; + struct builtin_CallingConvention_X86RegparmOptions__270 x86_win; + struct builtin_CallingConvention_X86RegparmOptions__270 x86_stdcall; + struct builtin_CallingConvention_CommonOptions__268 x86_fastcall; + struct builtin_CallingConvention_CommonOptions__268 x86_thiscall; + struct builtin_CallingConvention_CommonOptions__268 x86_thiscall_mingw; + struct builtin_CallingConvention_CommonOptions__268 x86_regcall_v3; + struct builtin_CallingConvention_CommonOptions__268 x86_regcall_v4_win; + struct builtin_CallingConvention_CommonOptions__268 x86_vectorcall; + struct builtin_CallingConvention_CommonOptions__268 x86_interrupt; + struct builtin_CallingConvention_CommonOptions__268 aarch64_aapcs; + struct builtin_CallingConvention_CommonOptions__268 aarch64_aapcs_darwin; + struct builtin_CallingConvention_CommonOptions__268 aarch64_aapcs_win; + struct builtin_CallingConvention_CommonOptions__268 aarch64_vfabi; + struct builtin_CallingConvention_CommonOptions__268 aarch64_vfabi_sve; + struct builtin_CallingConvention_CommonOptions__268 arm_aapcs; + struct builtin_CallingConvention_CommonOptions__268 arm_aapcs_vfp; + struct builtin_CallingConvention_ArmInterruptOptions__272 arm_interrupt; + struct builtin_CallingConvention_CommonOptions__268 mips64_n64; + struct builtin_CallingConvention_CommonOptions__268 mips64_n32; + struct builtin_CallingConvention_MipsInterruptOptions__274 mips64_interrupt; + struct builtin_CallingConvention_CommonOptions__268 mips_o32; + struct builtin_CallingConvention_MipsInterruptOptions__274 mips_interrupt; + struct builtin_CallingConvention_CommonOptions__268 riscv64_lp64; + struct builtin_CallingConvention_CommonOptions__268 riscv64_lp64_v; + struct builtin_CallingConvention_RiscvInterruptOptions__276 + riscv64_interrupt; + struct builtin_CallingConvention_CommonOptions__268 riscv32_ilp32; + struct builtin_CallingConvention_CommonOptions__268 riscv32_ilp32_v; + struct builtin_CallingConvention_RiscvInterruptOptions__276 + riscv32_interrupt; + struct builtin_CallingConvention_CommonOptions__268 sparc64_sysv; + struct builtin_CallingConvention_CommonOptions__268 sparc_sysv; + struct builtin_CallingConvention_CommonOptions__268 powerpc64_elf; + struct builtin_CallingConvention_CommonOptions__268 powerpc64_elf_altivec; + struct builtin_CallingConvention_CommonOptions__268 powerpc64_elf_v2; + struct builtin_CallingConvention_CommonOptions__268 powerpc_sysv; + struct builtin_CallingConvention_CommonOptions__268 powerpc_sysv_altivec; + struct builtin_CallingConvention_CommonOptions__268 powerpc_aix; + struct builtin_CallingConvention_CommonOptions__268 powerpc_aix_altivec; + struct builtin_CallingConvention_CommonOptions__268 wasm_mvp; + struct builtin_CallingConvention_CommonOptions__268 arc_sysv; + struct builtin_CallingConvention_CommonOptions__268 bpf_std; + struct builtin_CallingConvention_CommonOptions__268 csky_sysv; + struct builtin_CallingConvention_CommonOptions__268 csky_interrupt; + struct builtin_CallingConvention_CommonOptions__268 hexagon_sysv; + struct builtin_CallingConvention_CommonOptions__268 hexagon_sysv_hvx; + struct builtin_CallingConvention_CommonOptions__268 lanai_sysv; + struct builtin_CallingConvention_CommonOptions__268 loongarch64_lp64; + struct builtin_CallingConvention_CommonOptions__268 loongarch32_ilp32; + struct builtin_CallingConvention_CommonOptions__268 m68k_sysv; + struct builtin_CallingConvention_CommonOptions__268 m68k_gnu; + struct builtin_CallingConvention_CommonOptions__268 m68k_rtd; + struct builtin_CallingConvention_CommonOptions__268 m68k_interrupt; + struct builtin_CallingConvention_CommonOptions__268 msp430_eabi; + struct builtin_CallingConvention_CommonOptions__268 propeller_sysv; + struct builtin_CallingConvention_CommonOptions__268 s390x_sysv; + struct builtin_CallingConvention_CommonOptions__268 s390x_sysv_vx; + struct builtin_CallingConvention_CommonOptions__268 ve_sysv; + struct builtin_CallingConvention_CommonOptions__268 xcore_xs1; + struct builtin_CallingConvention_CommonOptions__268 xcore_xs2; + struct builtin_CallingConvention_CommonOptions__268 xtensa_call0; + struct builtin_CallingConvention_CommonOptions__268 xtensa_windowed; + struct builtin_CallingConvention_CommonOptions__268 amdgcn_device; + struct builtin_CallingConvention_CommonOptions__268 amdgcn_cs; + } payload; + uint8_t tag; }; -struct std_Options__4758; -typedef struct anon__lazy_489 nav__97_39; -struct std_Options__4758 { - struct anon__lazy_489 page_size_min; - struct anon__lazy_489 page_size_max; - uintptr_t fmt_max_depth; - bool enable_segfault_handler; - uint8_t log_level; - bool crypto_always_getrandom; - bool crypto_fork_safety; - bool keep_sigpipe; - bool http_disable_tls; - bool http_enable_ssl_key_log_file; - uint8_t side_channels_mitigations; +struct std_Options__4772; +typedef struct anon__lazy_493 nav__97_39; +struct std_Options__4772 { + struct anon__lazy_493 page_size_min; + struct anon__lazy_493 page_size_max; + uintptr_t fmt_max_depth; + bool enable_segfault_handler; + uint8_t log_level; + bool crypto_always_getrandom; + bool crypto_fork_safety; + bool keep_sigpipe; + bool http_disable_tls; + bool http_enable_ssl_key_log_file; + uint8_t side_channels_mitigations; }; -typedef struct anon__lazy_489 nav__4504_38; -struct json_stringify_WriteStream__union_8633__8633; -struct json_stringify_WriteStream__union_8633__8633 { - union { - uintptr_t checked_to_fixed_depth; - } payload; - uint8_t tag; +typedef struct anon__lazy_493 nav__4505_38; +struct json_stringify_WriteStream__union_8660__8660; +struct json_stringify_WriteStream__union_8660__8660 { + union { + uintptr_t checked_to_fixed_depth; + } payload; + uint8_t tag; }; -typedef struct anon__lazy_110 nav__4515_43; -typedef struct anon__lazy_58 nav__4630_40; +typedef struct anon__lazy_110 nav__4516_43; +typedef struct anon__lazy_58 nav__4631_40; static uint8_t const __anon_2098[21]; static uint8_t const __anon_2169[21]; -static char const __anon_3850[33]; -static uint8_t const __anon_2715[62]; -static uint8_t const __anon_3939[34]; -static uint8_t const __anon_4446[49]; -static uint8_t const __anon_4827[1]; -static uint8_t const __anon_4929[68]; -static uint8_t const __anon_5042[82]; -static uint8_t const __anon_5096[32]; -static uint8_t const __anon_5206[22]; +static char const __anon_3864[33]; +static uint8_t const __anon_2731[62]; +static uint8_t const __anon_3953[34]; +static uint8_t const __anon_4460[49]; +static uint8_t const __anon_4841[1]; +static uint8_t const __anon_4943[68]; +static uint8_t const __anon_5056[82]; +static uint8_t const __anon_5110[32]; +static uint8_t const __anon_5220[22]; static uint8_t const __anon_2438[15]; static uint8_t const __anon_2443[14]; static uint8_t const __anon_2448[4]; static uint8_t const __anon_2453[9]; static uint8_t const __anon_2461[4]; static uint8_t const __anon_2476[19]; -static uint8_t const __anon_5542[8]; -static uint8_t const __anon_5719[3]; -static uint8_t const __anon_5791[25]; -static uint8_t const __anon_5854[7]; -static uint8_t const __anon_5879[2]; -static uint8_t const __anon_5932[23]; -static uint8_t const __anon_5957[11]; -static uint8_t const __anon_6013[17]; -static uint8_t const __anon_6035[10]; -static uint8_t const __anon_6105[31]; -static uint8_t const __anon_6160[24]; -static uint8_t const __anon_6275[23]; -static uint8_t const __anon_6280[2]; -static uint8_t const __anon_6371[12]; -static uint8_t const __anon_6381[1]; -static uint8_t const __anon_6400[10]; -static uint8_t const __anon_6432[15]; -static uint8_t const __anon_6460[13]; -static uint8_t const __anon_7602[10]; -static uint8_t const __anon_7617[1]; -static uint8_t const __anon_7630[1]; -static uint8_t const __anon_8454[24]; -static uint8_t const __anon_8528[11]; -static uint8_t const __anon_8605[13]; -static uint8_t const __anon_8622[5]; -static uint8_t const __anon_8795[5]; -static uint8_t const __anon_8799[17]; -static uint8_t const __anon_8900[61]; -static uint8_t const __anon_8994[62]; -static uint8_t const __anon_9061[55]; -static uint8_t const __anon_9074[24]; -static uint8_t const __anon_9082[17]; -static uint8_t const __anon_9233[63]; -static uint8_t const __anon_9306[59]; -static uint8_t const __anon_9516[3]; -static uint8_t const __anon_9475[3]; -static uint8_t const __anon_9480[3]; -static uint8_t const __anon_9484[3]; -static uint8_t const __anon_9488[3]; -static uint8_t const __anon_9492[3]; -static uint8_t const __anon_9496[3]; -static uint8_t const __anon_9500[3]; -static uint8_t const __anon_9716[5]; -static uint8_t const __anon_9720[9]; -static uint8_t const __anon_9833[5]; -static uint8_t const __anon_5396[4]; -static uint8_t const __anon_9930[10]; -#define c_instrument_hooks_set_feature__236 instrument_hooks_set_feature +static uint8_t const __anon_5558[8]; +static uint8_t const __anon_5736[3]; +static uint8_t const __anon_5810[25]; +static uint8_t const __anon_5873[7]; +static uint8_t const __anon_5898[2]; +static uint8_t const __anon_5951[23]; +static uint8_t const __anon_5976[11]; +static uint8_t const __anon_6032[17]; +static uint8_t const __anon_6054[10]; +static uint8_t const __anon_6124[31]; +static uint8_t const __anon_6179[24]; +static uint8_t const __anon_6295[23]; +static uint8_t const __anon_6300[2]; +static uint8_t const __anon_6393[12]; +static uint8_t const __anon_6403[1]; +static uint8_t const __anon_6422[10]; +static uint8_t const __anon_6454[15]; +static uint8_t const __anon_6482[13]; +static uint8_t const __anon_7628[10]; +static uint8_t const __anon_7643[1]; +static uint8_t const __anon_7656[1]; +static uint8_t const __anon_8481[24]; +static uint8_t const __anon_8555[11]; +static uint8_t const __anon_8632[13]; +static uint8_t const __anon_8649[5]; +static uint8_t const __anon_8822[5]; +static uint8_t const __anon_8826[17]; +static uint8_t const __anon_8927[61]; +static uint8_t const __anon_9021[62]; +static uint8_t const __anon_9088[55]; +static uint8_t const __anon_9101[24]; +static uint8_t const __anon_9109[17]; +static uint8_t const __anon_9260[63]; +static uint8_t const __anon_9333[59]; +static uint8_t const __anon_9543[3]; +static uint8_t const __anon_9502[3]; +static uint8_t const __anon_9507[3]; +static uint8_t const __anon_9511[3]; +static uint8_t const __anon_9515[3]; +static uint8_t const __anon_9519[3]; +static uint8_t const __anon_9523[3]; +static uint8_t const __anon_9527[3]; +static uint8_t const __anon_9743[5]; +static uint8_t const __anon_9747[9]; +static uint8_t const __anon_9860[5]; +static uint8_t const __anon_5412[4]; +static uint8_t const __anon_9957[10]; +#define c_instrument_hooks_set_feature__237 instrument_hooks_set_feature zig_extern void instrument_hooks_set_feature(uint64_t, bool); -static void features_set_feature__326(uint64_t, bool); -static void bit_set_IntegerBitSet_2864_29_set__365(uint64_t *, uintptr_t); -static void bit_set_IntegerBitSet_2864_29_unset__367(uint64_t *, uintptr_t); +static void features_set_feature__327(uint64_t, bool); +static void bit_set_IntegerBitSet_2864_29_set__366(uint64_t *, uintptr_t); +static void bit_set_IntegerBitSet_2864_29_unset__368(uint64_t *, uintptr_t); static void debug_assert__180(bool); -static uint64_t bit_set_IntegerBitSet_2864_29_maskBit__386(uintptr_t); -static nav__781_39 instruments_valgrind_ValgrindInstrument_init__781(struct mem_Allocator__599); -static nav__1157_39 fifo_UnixPipe_openPipe__1157(nav__1157_41); -static nav__1159_39 fifo_UnixPipe_openWrite__1159(struct mem_Allocator__599, nav__1159_42); -static nav__1158_39 fifo_UnixPipe_openRead__1158(struct mem_Allocator__599, nav__1158_42); -static nav__1124_39 runner_fifo_RunnerFifo_init__1124(struct mem_Allocator__599); -static uint16_t fifo_UnixPipe_Writer_sendCmd__1163(struct fifo_UnixPipe_Writer__638 *, struct shared_Command__2195); -static nav__5021_38 bincode_deserializeInt__anon_2551__5021(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); -static nav__5020_38 bincode_deserializeAlloc__anon_2540__5020(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5063_40 bincode_deserializePointerAlloc__anon_2677__5063(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5062_40 bincode_deserializeAlloc__anon_2664__5062(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5061_39 bincode_deserializeStructAlloc__anon_2639__5061(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5060_39 bincode_deserializeAlloc__anon_2610__5060(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static uint16_t bincode_deserializeAlloc__anon_2736__5067(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5069_39 bincode_deserializeStructAlloc__anon_2800__5069(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5068_39 bincode_deserializeAlloc__anon_2781__5068(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5075_38 bincode_deserializeInt__anon_2923__5075(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); -static nav__5074_38 bincode_deserializeAlloc__anon_2918__5074(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5073_39 bincode_deserializeUnionAlloc__anon_2905__5073(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5072_39 bincode_deserializeAlloc__anon_2871__5072(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5071_39 bincode_deserializeStructAlloc__anon_2853__5071(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5070_39 bincode_deserializeAlloc__anon_2839__5070(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5077_38 bincode_deserializeEnum__anon_3009__5077(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); -static nav__5076_38 bincode_deserializeAlloc__anon_2980__5076(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5019_39 bincode_deserializeUnionAlloc__anon_2535__5019(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__5018_39 bincode_deserializeAlloc__anon_2428__5018(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, struct mem_Allocator__599); -static nav__1168_39 fifo_UnixPipe_Reader_recvCmd__1168(struct fifo_UnixPipe_Reader__640 *); -static nav__1169_39 fifo_UnixPipe_Reader_waitForResponse__1169(struct fifo_UnixPipe_Reader__640 *, nav__1169_42); -static uint16_t fifo_UnixPipe_Reader_waitForAck__1170(struct fifo_UnixPipe_Reader__640 *, nav__1170_40); -static uint16_t runner_fifo_RunnerFifo_send_version__1134(struct runner_fifo_RunnerFifo__631 *, uint64_t); -static uint16_t runner_fifo_RunnerFifo_validate_protocol_version__1125(struct runner_fifo_RunnerFifo__631 *); -static nav__1135_38 runner_fifo_RunnerFifo_get_integration_mode__1135(struct runner_fifo_RunnerFifo__631 *); -static nav__815_39 instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_init__815(struct mem_Allocator__599); -static nav__802_39 instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_init__802(struct mem_Allocator__599); -static nav__738_39 instruments_root_Instrument_init__738(struct mem_Allocator__599); -static nav__726_39 instrument_hooks_InstrumentHooks_init__726(struct mem_Allocator__599); -#define c_instrument_hooks_init__237 instrument_hooks_init -zig_extern struct instrument_hooks_InstrumentHooks__547 *instrument_hooks_init(void); -static nav__4527_40 mem_Allocator_create__anon_1045__4527(struct mem_Allocator__599); -static uint16_t fs_accessAbsolute__1225(nav__1225_39, struct fs_File_OpenFlags__2111); -static nav__1222_39 fs_openFileAbsolute__1222(nav__1222_41, struct fs_File_OpenFlags__2111); -static void utils_setNonBlocking__4780(int32_t); -static struct fifo_UnixPipe_Writer__638 fifo_UnixPipe_Writer_init__1160(struct fs_File__646, struct mem_Allocator__599); -static struct fifo_UnixPipe_Reader__640 fifo_UnixPipe_Reader_init__1165(struct fs_File__646, struct mem_Allocator__599); -static void array_list_ArrayListAligned_28u8_2cnull_29_clearRetainingCapacity__1439(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); -static struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 array_list_ArrayListAligned_28u8_2cnull_29_writer__1429(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); -static uint16_t bincode_serialize__anon_2247__4911(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__2195); -static uint8_t const (*mem_asBytes__anon_2285__4912(uint32_t const *))[4]; -static uint16_t fs_File_writeAll__1316(struct fs_File__646, nav__1316_40); -static zig_i128 time_nanoTimestamp__4925(void); -static nav__1306_38 fs_File_readAll__1306(struct fs_File__646, nav__1306_41); -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_resize__1436(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); -static struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(nav__4984_40); -static struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_reader__4973(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *); -static nav__5017_38 io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5017(void const *, nav__5017_41); -static nav__5059_39 io_Reader_readBytesNoEof__anon_2597__5059(struct io_Reader__2566); -static nav__5064_39 io_Reader_readBytesNoEof__anon_2690__5064(struct io_Reader__2566); -static nav__5065_40 mem_Allocator_alloc__anon_2699__5065(struct mem_Allocator__599, uintptr_t); -static nav__5024_38 io_Reader_readAll__5024(struct io_Reader__2566, nav__5024_41); -static zig_noreturn void bincode_invalidProtocol__anon_2721__5066(void); -static void utils_sleep__4779(uint64_t); -static void shared_Command_deinit__4784(struct shared_Command__2195, struct mem_Allocator__599); -static void logger_debug__anon_3051__5087(nav__5087_39); -static void logger_err__anon_3074__5088(void); -static void logger_err__anon_3082__5089(void); -static zig_noreturn void posix_exit__1624(uint8_t); -static void logger_err__anon_3095__5090(nav__5090_40); -static void runner_fifo_RunnerFifo_deinit__1126(struct runner_fifo_RunnerFifo__631 *); -static struct environment_root_Environment__559 environment_root_Environment_init__768(struct mem_Allocator__599); -static nav__5091_39 mem_Allocator_allocBytesWithAlignment__anon_3142__5091(struct mem_Allocator__599, uintptr_t, uintptr_t); -static bool fs_path_isAbsolute__5126(nav__5126_39); -static struct fs_Dir__2113 fs_cwd__1217(void); -static uint16_t fs_Dir_access__4728(struct fs_Dir__2113, nav__4728_40, struct fs_File_OpenFlags__2111); -static nav__4664_39 fs_Dir_openFile__4664(struct fs_Dir__2113, nav__4664_42, struct fs_File_OpenFlags__2111); -static struct array_list_ArrayListAligned_28u8_2cnull_29__658 array_list_ArrayListAligned_28u8_2cnull_29_init__1404(struct mem_Allocator__599); -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1441(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); -static uint16_t bincode_serializeUnion__anon_3205__6120(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__2195); -static nav__1315_38 fs_File_write__1315(struct fs_File__646, nav__1315_41); -static nav__1815_39 posix_clock_gettime__1815(uint32_t); -static nav__1305_38 fs_File_read__1305(struct fs_File__646, nav__1305_41); -static nav__4976_38 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_read__4976(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *, nav__4976_42); -static uint16_t io_Reader_readNoEof__5026(struct io_Reader__2566, nav__5026_40); -static nav__6121_39 mem_Allocator_allocWithSizeAndAlignment__anon_3299__6121(struct mem_Allocator__599, uintptr_t, uintptr_t); -static nav__5025_38 io_Reader_readAtLeast__5025(struct io_Reader__2566, nav__5025_41, uintptr_t); -static void utils_print__anon_3319__6122(void); -static nav__7055_38 math_cast__anon_3346__7055(uint64_t); -static void mem_Allocator_free__anon_3423__7835(struct mem_Allocator__599, nav__7835_40); -static void logger_logWithPrefix__anon_3431__7836(nav__7836_39); -static void logger_logWithPrefix__anon_3433__7837(void); -static void logger_logWithPrefix__anon_3434__7838(void); -static void logger_logWithPrefix__anon_3439__7840(nav__7840_40); -static void fifo_UnixPipe_Writer_deinit__1164(struct fifo_UnixPipe_Writer__638 *); -static void fifo_UnixPipe_Reader_deinit__1171(struct fifo_UnixPipe_Reader__640 *); -static struct environment_linked_libraries_root_LinkedLibraries__843 environment_linked_libraries_root_LinkedLibraries_init__3629(struct mem_Allocator__599); -static uint8_t mem_Alignment_fromByteUnits__1108(uintptr_t); -static bool fs_path_isAbsolutePosix__5132(nav__5132_39); -static nav__1899_39 posix_toPosixPath__1899(nav__1899_41); -static uint16_t fs_Dir_accessZ__4729(struct fs_Dir__2113, uint8_t const *, struct fs_File_OpenFlags__2111); -static nav__4665_39 fs_Dir_openFileZ__4665(struct fs_Dir__2113, uint8_t const *, struct fs_File_OpenFlags__2111); -static uintptr_t array_list_ArrayListAlignedUnmanaged_28u8_2cnull_29_growCapacity__7911(uintptr_t, uintptr_t); -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacityPrecise__1442(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); -static uint16_t bincode_serialize__anon_3550__7912(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, uint32_t); -static uint16_t bincode_serialize__anon_3552__7913(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__struct_2198__2198); -static uint16_t bincode_serialize__anon_3554__7914(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t bincode_serialize__anon_3556__7915(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__struct_2199__2199); -static uint16_t bincode_serialize__anon_3558__7916(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__struct_2200__2200); -static uint16_t bincode_serialize__anon_3560__7917(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, uint64_t); -static uint16_t bincode_serialize__anon_3562__7918(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, uint8_t); -static nav__1634_38 posix_write__1634(int32_t, nav__1634_40); -static uint16_t posix_errno__anon_3728__7985(int); -static uint16_t posix_unexpectedErrno__1898(uint16_t); -static nav__1626_38 posix_read__1626(int32_t, nav__1626_40); -static nav__7986_38 math_mul__anon_3752__7986(uintptr_t, uintptr_t); -static nav__7987_39 mem_Allocator_allocBytesWithAlignment__anon_3754__7987(struct mem_Allocator__599, uintptr_t, uintptr_t); -static nav__5023_38 io_Reader_read__5023(struct io_Reader__2566, nav__5023_41); -static nav__7989_39 mem_sliceAsBytes__anon_3884__7989(nav__7989_39); -static uint16_t fmt_format__anon_4352__8283(struct io_Writer__4338, nav__8283_40); -static nav__8149_40 fmt_bufPrint__anon_3935__8149(nav__8149_39, nav__8149_42); -static uint16_t fmt_format__anon_4842__8651(struct io_Writer__4338); -static nav__8151_40 fmt_bufPrint__anon_3956__8151(nav__8151_39); -static uint16_t fmt_format__anon_4945__8653(struct io_Writer__4338); -static nav__8152_40 fmt_bufPrint__anon_3968__8152(nav__8152_39); -static uint16_t fmt_format__anon_5048__8654(struct io_Writer__4338, nav__8654_41); -static nav__8153_40 fmt_bufPrint__anon_3980__8153(nav__8153_39, nav__8153_43); -static void array_list_ArrayListAligned_28u8_2cnull_29_deinit__1406(struct array_list_ArrayListAligned_28u8_2cnull_29__658); -static void fs_File_close__1262(struct fs_File__646); -static struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_init__4333(struct mem_Allocator__599); -static bool math_isPowerOfTwo__anon_4000__8154(uintptr_t); -static uint16_t posix_faccessatZ__1790(int32_t, uint8_t const *, uint32_t, uint32_t); -static nav__1646_38 posix_openatZ__1646(int32_t, uint8_t const *, uint32_t, uintptr_t); -static uint16_t posix_flock__1807(int32_t, int32_t); -static void posix_close__1604(int32_t); -static nav__1452_39 array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1452(struct array_list_ArrayListAligned_28u8_2cnull_29__658); -static nav__8241_39 mem_Allocator_remap__anon_4140__8241(struct mem_Allocator__599, nav__8241_39, uintptr_t); -static nav__8242_40 mem_Allocator_alignedAlloc__anon_4145__8242(struct mem_Allocator__599, uintptr_t); -static void mem_Allocator_free__anon_4147__8243(struct mem_Allocator__599, nav__8243_40); -static uint16_t bincode_serializeInt__anon_4152__8244(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, uint32_t); -static uint16_t bincode_serializeStruct__anon_4157__8245(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__struct_2198__2198); -static uint16_t bincode_serializeStruct__anon_4158__8246(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__struct_2199__2199); -static uint16_t bincode_serializeStruct__anon_4159__8247(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_Command__struct_2200__2200); -static uint16_t bincode_serializeInt__anon_4160__8248(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, uint64_t); -static uint16_t bincode_serializeEnum__anon_4163__8249(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, uint8_t); -static uint16_t posix_errno__anon_4174__8251(intptr_t); -static struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *); -static nav__8266_38 io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266(void const *, nav__8266_41); -static uint16_t io_Writer_writeAll__8274(struct io_Writer__4338, nav__8274_40); -static uint16_t shared_Command_format__anon_5443__8663(struct shared_Command__2195, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatType__anon_4821__8650(struct shared_Command__2195, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static nav__4982_39 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396); -static uint16_t fmt_formatType__anon_4937__8652(uint64_t, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static uint16_t fmt_formatType__anon_5179__8655(nav__8655_39, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static nav__8659_39 mem_sliceAsBytes__anon_5337__8659(nav__8659_39); -static nav__8660_39 mem_bytesAsSlice__anon_5350__8660(nav__8660_39); -static nav__4910_38 io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910(void const *, nav__4910_41); -static uint16_t bincode_serialize__anon_5381__8661(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, nav__8661_40); -static uint16_t bincode_serialize__anon_5383__8662(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_MarkerType__2202); -static nav__4977_38 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_write__4977(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *, nav__4977_42); -static nav__8273_38 io_Writer_write__8273(struct io_Writer__4338, nav__8273_41); -static uint16_t io_Writer_print__anon_5463__8664(struct io_Writer__4338, nav__8664_41); -static uint16_t io_Writer_print__anon_5484__8665(struct io_Writer__4338, nav__8665_41); -static uint16_t io_Writer_print__anon_5496__8666(struct io_Writer__4338, nav__8666_40); -static uint16_t io_Writer_print__anon_5505__8667(struct io_Writer__4338, nav__8667_39); -static uint16_t io_Writer_print__anon_5518__8668(struct io_Writer__4338, nav__8668_39); -static nav__8295_38 unicode_utf8ByteSequenceLength__8295(uint8_t); -static nav__8311_38 unicode_utf8CountCodepoints__8311(nav__8311_40); -static uint16_t fmt_formatBuf__anon_5552__8670(nav__8670_39, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatInt__anon_5612__8679(uint64_t, uint8_t, uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatIntValue__anon_5595__8678(uint64_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatValue__anon_5527__8669(uint64_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static nav__1430_38 array_list_ArrayListAligned_28u8_2cnull_29_appendWrite__1430(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, nav__1430_42); -static uint16_t bincode_serializePointer__anon_5564__8671(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, nav__8671_40); -static uint16_t bincode_serializeUnion__anon_5565__8672(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct shared_MarkerType__2202); -static uint16_t fmt_format__anon_5569__8673(struct io_Writer__4338, nav__8673_41); -static uint16_t fmt_format__anon_5573__8674(struct io_Writer__4338, nav__8674_41); -static uint16_t fmt_format__anon_5577__8675(struct io_Writer__4338, nav__8675_40); -static uint16_t fmt_format__anon_5581__8676(struct io_Writer__4338, nav__8676_39); -static uint16_t fmt_format__anon_5585__8677(struct io_Writer__4338, nav__8677_39); -static nav__8050_39 fmt_digits2__8050(uint8_t); -static uint8_t fmt_digitToChar__8066(uint8_t, uint8_t); -static nav__8301_38 unicode_utf8Decode__8301(nav__8301_40); -static nav__8294_38 unicode_utf8CodepointSequenceLength__8294(uint32_t); -static nav__8685_38 unicode_utf8EncodeImpl__anon_6191__8685(uint32_t, nav__8685_40); -static nav__8296_38 unicode_utf8Encode__8296(uint32_t, nav__8296_40); -static uint16_t io_Writer_writeBytesNTimes__8278(struct io_Writer__4338, nav__8278_40, uintptr_t); -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_appendSlice__1424(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, nav__1424_41); -static uint16_t fmt_formatType__anon_5840__8680(uint32_t, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static uint16_t fmt_formatType__anon_5870__8681(nav__8681_39, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static uint16_t shared_MarkerType_format__anon_6234__8687(struct shared_MarkerType__2202, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatType__anon_6045__8682(struct shared_MarkerType__2202, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static uint16_t fmt_formatType__anon_6114__8683(uint64_t, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static uint16_t fmt_formatType__anon_6168__8684(uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static nav__8303_38 unicode_utf8Decode2__8303(nav__8303_40); -static nav__8305_38 unicode_utf8Decode3__8305(nav__8305_40); -static nav__8309_38 unicode_utf8Decode4__8309(nav__8309_40); -static bool unicode_isSurrogateCodepoint__8374(uint32_t); -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_ensureUnusedCapacity__1443(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); -static void array_list_ArrayListAligned_28u8_2cnull_29_appendSliceAssumeCapacity__1425(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, nav__1425_41); -static uint16_t fmt_formatInt__anon_6322__8694(uint32_t, uint8_t, uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatIntValue__anon_6311__8693(uint32_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatValue__anon_6215__8686(uint32_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t io_Writer_print__anon_6248__8688(struct io_Writer__4338, nav__8688_39); -static uint16_t io_Writer_print__anon_6253__8689(struct io_Writer__4338, nav__8689_39); -static uint16_t io_Writer_print__anon_6260__8690(struct io_Writer__4338, nav__8690_39); -static uint16_t io_Writer_print__anon_6266__8691(struct io_Writer__4338, nav__8691_39); -static uint16_t fmt_formatIntValue__anon_6348__8699(uint64_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatValue__anon_6268__8692(uint64_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static nav__8307_38 unicode_utf8Decode3AllowSurrogateHalf__8307(nav__8307_40); -static nav__1368_38 array_list_addOrOom__1368(uintptr_t, uintptr_t); -static uint16_t fmt_format__anon_6332__8695(struct io_Writer__4338, nav__8695_39); -static uint16_t fmt_format__anon_6336__8696(struct io_Writer__4338, nav__8696_39); -static uint16_t fmt_format__anon_6340__8697(struct io_Writer__4338, nav__8697_39); -static uint16_t fmt_format__anon_6344__8698(struct io_Writer__4338, nav__8698_39); -#define c_instrument_hooks_deinit__238 instrument_hooks_deinit -zig_extern void instrument_hooks_deinit(struct instrument_hooks_InstrumentHooks__547 *); -static void instrument_hooks_InstrumentHooks_deinit__727(struct instrument_hooks_InstrumentHooks__547 *); -static void mem_Allocator_destroy__anon_6482__8700(struct mem_Allocator__599, struct instrument_hooks_InstrumentHooks__547 *); -static void instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_deinit__803(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *); -static void instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_deinit__816(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *); -static void environment_root_Environment_deinit__769(struct environment_root_Environment__559 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3786(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874); -static nav__8701_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8701(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3997(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895); -static nav__8703_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8703(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 *); -static void environment_root_Environment_freeEnvironmentValue__772(struct environment_root_Environment__559 *, struct environment_root_EnvironmentValue__850); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3989(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct mem_Allocator__599); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3778(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct mem_Allocator__599); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4176(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928); -static nav__8705_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8705(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4168(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct mem_Allocator__599); -static void environment_linked_libraries_root_LinkedLibraries_deinit__3630(struct environment_linked_libraries_root_LinkedLibraries__843 *); -static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883); -static nav__8720_41 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597); -static nav__8721_40 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597); -static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900); -static nav__8729_41 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744); -static nav__8730_40 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744); -static void mem_Allocator_free__anon_6790__8731(struct mem_Allocator__599, nav__8731_42); -static void debug_SafetyLock_assertUnlocked__3970(void); -static void multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4115(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *, struct mem_Allocator__599); -static void array_hash_map_IndexHeader_free__3965(struct array_hash_map_IndexHeader__886 *, struct mem_Allocator__599); -static void multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3921(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *, struct mem_Allocator__599); -static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933); -static nav__8739_41 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823); -static nav__8740_40 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823); -static void multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4294(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *, struct mem_Allocator__599); -static void environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3631(struct mem_Allocator__599, struct environment_linked_libraries_root_LibraryInfo__940); -static void array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_deinit__4335(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942); -static nav__8812_39 mem_sliceAsBytes__anon_7006__8812(nav__8812_41); -static nav__4147_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900); -static void mem_Allocator_free__anon_7017__8813(struct mem_Allocator__599, nav__8813_40); -static uintptr_t array_hash_map_capacityIndexSize__3728(uint8_t); -static uintptr_t array_hash_map_IndexHeader_length__3961(struct array_hash_map_IndexHeader__886); -static void mem_Allocator_free__anon_7034__8814(struct mem_Allocator__599, nav__8814_40); -static nav__3953_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883); -static nav__4326_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933); -static nav__4381_40 array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4381(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942); -static void mem_Allocator_free__anon_7063__8815(struct mem_Allocator__599, nav__8815_41); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4146(uintptr_t); -static nav__8816_39 mem_sliceAsBytes__anon_7082__8816(nav__8816_39); -static uint8_t array_hash_map_capacityIndexType__3727(uint8_t); -static nav__8832_39 mem_sliceAsBytes__anon_7116__8832(nav__8832_39); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3952(uintptr_t); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4325(uintptr_t); -static nav__8833_39 mem_sliceAsBytes__anon_7129__8833(nav__8833_42); -#define c_instrument_hooks_is_instrumented__239 instrument_hooks_is_instrumented -zig_extern bool instrument_hooks_is_instrumented(struct instrument_hooks_InstrumentHooks__547 *); -static zig_cold uint16_t runner_fifo_RunnerFifo_start_benchmark__1129(struct runner_fifo_RunnerFifo__631 *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_start_benchmark__805(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_start_benchmark__818(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *); -#define c_instrument_hooks_start_benchmark__240 instrument_hooks_start_benchmark -zig_extern uint8_t instrument_hooks_start_benchmark(struct instrument_hooks_InstrumentHooks__547 *); -static bool features_is_feature_enabled__327(uint64_t); -static bool bit_set_IntegerBitSet_2864_29_isSet__362(uint64_t, uintptr_t); -static zig_cold uint16_t runner_fifo_RunnerFifo_stop_benchmark__1130(struct runner_fifo_RunnerFifo__631 *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_stop_benchmark__806(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_stop_benchmark__819(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *); -#define c_instrument_hooks_stop_benchmark__241 instrument_hooks_stop_benchmark -zig_extern uint8_t instrument_hooks_stop_benchmark(struct instrument_hooks_InstrumentHooks__547 *); -static uint16_t runner_fifo_RunnerFifo_set_executed_benchmark__1131(struct runner_fifo_RunnerFifo__631 *, uint32_t, uint8_t const *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_executed_benchmark__807(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *, uint32_t, uint8_t const *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_executed_benchmark__820(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *, uint32_t, uint8_t const *); -#define c_instrument_hooks_set_executed_benchmark__242 instrument_hooks_set_executed_benchmark -zig_extern uint8_t instrument_hooks_set_executed_benchmark(struct instrument_hooks_InstrumentHooks__547 *, uint32_t, uint8_t const *); -static nav__8838_39 mem_span__anon_7281__8838(uint8_t const *); -static uintptr_t mem_len__anon_7298__8839(uint8_t const *); -static uintptr_t mem_indexOfSentinel__anon_7305__8840(uint8_t const *); -static bool math_isPowerOfTwo__anon_7316__8841(void); -static nav__8842_38 simd_firstTrue__anon_7364__8842(nav__8842_40); -static uintptr_t mem_alignForward__anon_7367__8843(uintptr_t, uintptr_t); -static bool mem_isAligned__977(uintptr_t, uintptr_t); -static bool mem_isValidAlignGeneric__anon_7425__8844(uintptr_t); -static uintptr_t mem_alignBackward__anon_7426__8845(uintptr_t, uintptr_t); -static bool mem_isAlignedGeneric__anon_7430__8846(uint64_t, uint64_t); -static uint64_t mem_alignBackward__anon_7432__8847(uint64_t, uint64_t); -static bool mem_isValidAlignGeneric__anon_7434__8848(uint64_t); -static bool math_isPowerOfTwo__anon_7435__8849(uint64_t); -#define c_instrument_hooks_executed_benchmark__243 instrument_hooks_executed_benchmark -zig_extern uint8_t instrument_hooks_executed_benchmark(struct instrument_hooks_InstrumentHooks__547 *, uint32_t, uint8_t const *); -static uint16_t runner_fifo_RunnerFifo_set_integration__1132(struct runner_fifo_RunnerFifo__631 *, uint8_t const *, uint8_t const *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_integration__808(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *, uint8_t const *, uint8_t const *); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_integration__821(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *, uint8_t const *, uint8_t const *); -#define c_instrument_hooks_set_integration__244 instrument_hooks_set_integration -zig_extern uint8_t instrument_hooks_set_integration(struct instrument_hooks_InstrumentHooks__547 *, uint8_t const *, uint8_t const *); -static nav__8850_40 fmt_allocPrintZ__anon_7470__8850(struct mem_Allocator__599, nav__8850_43); -static void mem_Allocator_free__anon_7472__8851(struct mem_Allocator__599, nav__8851_40); -static nav__8852_40 fmt_allocPrint__anon_7507__8852(struct mem_Allocator__599, nav__8852_43); -static nav__8853_39 mem_sliceAsBytes__anon_7514__8853(nav__8853_39); -static uint16_t fmt_format__anon_7577__8895(struct io_Writer__4338, nav__8895_40); -static uint64_t fmt_count__anon_7521__8854(nav__8854_39); -static nav__8855_38 math_cast__anon_7523__8855(uint64_t); -static nav__8856_40 fmt_bufPrint__anon_7526__8856(nav__8856_39, nav__8856_42); -static struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 io_counting_writer_countingWriter__anon_7547__8881(void); -static struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_writer__8880(struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *); -static nav__8894_38 io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWr__8894(void const *, nav__8894_41); -static uint16_t fmt_formatType__anon_7611__8896(uint8_t const *, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static nav__8879_38 io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_write__8879(struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *, nav__8879_42); -static nav__4888_38 io_dummyWrite__4888(nav__4888_40); -static uint16_t runner_fifo_RunnerFifo_add_marker__1133(struct runner_fifo_RunnerFifo__631 *, uint32_t, struct shared_MarkerType__2202); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_add_marker__809(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *, uint32_t, struct shared_MarkerType__2202); -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_add_marker__822(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *, uint32_t, struct shared_MarkerType__2202); -#define c_instrument_hooks_add_marker__249 instrument_hooks_add_marker -zig_extern uint8_t instrument_hooks_add_marker(struct instrument_hooks_InstrumentHooks__547 *, uint32_t, uint8_t, uint64_t); -#define c_instrument_hooks_current_timestamp__250 instrument_hooks_current_timestamp +static uint64_t bit_set_IntegerBitSet_2864_29_maskBit__387(uintptr_t); +static nav__782_39 instruments_valgrind_ValgrindInstrument_init__782( + struct mem_Allocator__599); +static nav__1158_39 fifo_UnixPipe_openPipe__1158(nav__1158_41); +static nav__1160_39 fifo_UnixPipe_openWrite__1160(struct mem_Allocator__599, + nav__1160_42); +static nav__1159_39 fifo_UnixPipe_openRead__1159(struct mem_Allocator__599, + nav__1159_42); +static nav__1125_39 runner_fifo_RunnerFifo_init__1125( + struct mem_Allocator__599); +static uint16_t fifo_UnixPipe_Writer_sendCmd__1164( + struct fifo_UnixPipe_Writer__638 *, struct shared_Command__2195); +static nav__5022_38 bincode_deserializeInt__anon_2551__5022( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); +static nav__5021_38 bincode_deserializeAlloc__anon_2540__5021( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5064_38 bincode_deserializeInt__anon_2663__5064( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); +static nav__5063_38 bincode_deserializeAlloc__anon_2655__5063( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5066_40 bincode_deserializePointerAlloc__anon_2693__5066( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5065_40 bincode_deserializeAlloc__anon_2680__5065( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5062_39 bincode_deserializeStructAlloc__anon_2639__5062( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5061_39 bincode_deserializeAlloc__anon_2610__5061( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static uint16_t bincode_deserializeAlloc__anon_2752__5070( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5072_39 bincode_deserializeStructAlloc__anon_2816__5072( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5071_39 bincode_deserializeAlloc__anon_2797__5071( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5078_38 bincode_deserializeInt__anon_2939__5078( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); +static nav__5077_38 bincode_deserializeAlloc__anon_2934__5077( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5076_39 bincode_deserializeUnionAlloc__anon_2921__5076( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5075_39 bincode_deserializeAlloc__anon_2887__5075( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5074_39 bincode_deserializeStructAlloc__anon_2869__5074( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5073_39 bincode_deserializeAlloc__anon_2855__5073( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5080_38 bincode_deserializeEnum__anon_3025__5080( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420); +static nav__5079_38 bincode_deserializeAlloc__anon_2996__5079( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5020_39 bincode_deserializeUnionAlloc__anon_2535__5020( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__5019_39 bincode_deserializeAlloc__anon_2428__5019( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420, + struct mem_Allocator__599); +static nav__1169_39 fifo_UnixPipe_Reader_recvCmd__1169( + struct fifo_UnixPipe_Reader__640 *); +static nav__1170_39 fifo_UnixPipe_Reader_waitForResponse__1170( + struct fifo_UnixPipe_Reader__640 *, nav__1170_42); +static uint16_t fifo_UnixPipe_Reader_waitForAck__1171( + struct fifo_UnixPipe_Reader__640 *, nav__1171_40); +static uint16_t runner_fifo_RunnerFifo_send_version__1135( + struct runner_fifo_RunnerFifo__631 *, uint64_t); +static uint16_t runner_fifo_RunnerFifo_validate_protocol_version__1126( + struct runner_fifo_RunnerFifo__631 *); +static nav__1136_38 runner_fifo_RunnerFifo_get_integration_mode__1136( + struct runner_fifo_RunnerFifo__631 *); +static nav__816_39 + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_init__816( + struct mem_Allocator__599); +static nav__803_39 + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_init__803( + struct mem_Allocator__599); +static nav__739_39 instruments_root_Instrument_init__739( + struct mem_Allocator__599); +static nav__727_39 instrument_hooks_InstrumentHooks_init__727( + struct mem_Allocator__599); +#define c_instrument_hooks_init__238 instrument_hooks_init +zig_extern struct InstrumentHooks *instrument_hooks_init(void); +static nav__4528_40 mem_Allocator_create__anon_1045__4528( + struct mem_Allocator__599); +static uint16_t fs_accessAbsolute__1226(nav__1226_39, + struct fs_File_OpenFlags__2111); +static nav__1223_39 fs_openFileAbsolute__1223(nav__1223_41, + struct fs_File_OpenFlags__2111); +static void utils_setNonBlocking__4781(int32_t); +static struct fifo_UnixPipe_Writer__638 fifo_UnixPipe_Writer_init__1161( + struct fs_File__646, struct mem_Allocator__599); +static struct fifo_UnixPipe_Reader__640 fifo_UnixPipe_Reader_init__1166( + struct fs_File__646, struct mem_Allocator__599); +static void +array_list_ArrayListAligned_28u8_2cnull_29_clearRetainingCapacity__1440( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); +static struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + array_list_ArrayListAligned_28u8_2cnull_29_writer__1430( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); +static uint16_t bincode_serialize__anon_2247__4912( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__2195); +static uint8_t const (*mem_asBytes__anon_2285__4913(uint32_t const *))[4]; +static uint16_t fs_File_writeAll__1317(struct fs_File__646, nav__1317_40); +static zig_i128 time_nanoTimestamp__4926(void); +static nav__1307_38 fs_File_readAll__1307(struct fs_File__646, nav__1307_41); +static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_resize__1437( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); +static struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 + io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(nav__4985_40); +static struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_reader__4974( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *); +static nav__5018_38 +io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018( + void const *, nav__5018_41); +static nav__5060_39 io_Reader_readBytesNoEof__anon_2597__5060( + struct io_Reader__2566); +static nav__5067_39 io_Reader_readBytesNoEof__anon_2706__5067( + struct io_Reader__2566); +static nav__5068_40 mem_Allocator_alloc__anon_2715__5068( + struct mem_Allocator__599, uintptr_t); +static nav__5025_38 io_Reader_readAll__5025(struct io_Reader__2566, + nav__5025_41); +static zig_noreturn void bincode_invalidProtocol__anon_2737__5069(void); +static void utils_sleep__4780(uint64_t); +static void shared_Command_deinit__4785(struct shared_Command__2195, + struct mem_Allocator__599); +static void logger_debug__anon_3067__5090(nav__5090_39); +static void logger_err__anon_3090__5091(void); +static void logger_err__anon_3098__5092(void); +static zig_noreturn void posix_exit__1625(uint8_t); +static void logger_err__anon_3111__5093(nav__5093_40); +static void runner_fifo_RunnerFifo_deinit__1127( + struct runner_fifo_RunnerFifo__631 *); +static struct environment_root_Environment__559 + environment_root_Environment_init__769(struct mem_Allocator__599); +static nav__5094_39 mem_Allocator_allocBytesWithAlignment__anon_3158__5094( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static bool fs_path_isAbsolute__5129(nav__5129_39); +static struct fs_Dir__2113 fs_cwd__1218(void); +static uint16_t fs_Dir_access__4729(struct fs_Dir__2113, nav__4729_40, + struct fs_File_OpenFlags__2111); +static nav__4665_39 fs_Dir_openFile__4665(struct fs_Dir__2113, nav__4665_42, + struct fs_File_OpenFlags__2111); +static struct array_list_ArrayListAligned_28u8_2cnull_29__658 + array_list_ArrayListAligned_28u8_2cnull_29_init__1405( + struct mem_Allocator__599); +static uint16_t +array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1442( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); +static uint16_t bincode_serializeUnion__anon_3221__6123( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__2195); +static nav__1316_38 fs_File_write__1316(struct fs_File__646, nav__1316_41); +static nav__1816_39 posix_clock_gettime__1816(uint32_t); +static nav__1306_38 fs_File_read__1306(struct fs_File__646, nav__1306_41); +static nav__4977_38 +io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_read__4977( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *, + nav__4977_42); +static uint16_t io_Reader_readNoEof__5027(struct io_Reader__2566, nav__5027_40); +static nav__6124_39 mem_Allocator_allocWithSizeAndAlignment__anon_3315__6124( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static nav__5026_38 io_Reader_readAtLeast__5026(struct io_Reader__2566, + nav__5026_41, uintptr_t); +static void utils_print__anon_3335__6125(void); +static nav__7058_38 math_cast__anon_3362__7058(uint64_t); +static void mem_Allocator_free__anon_3438__7838(struct mem_Allocator__599, + nav__7838_40); +static void logger_logWithPrefix__anon_3446__7839(nav__7839_39); +static void logger_logWithPrefix__anon_3448__7840(void); +static void logger_logWithPrefix__anon_3449__7841(void); +static void logger_logWithPrefix__anon_3454__7843(nav__7843_40); +static void fifo_UnixPipe_Writer_deinit__1165( + struct fifo_UnixPipe_Writer__638 *); +static void fifo_UnixPipe_Reader_deinit__1172( + struct fifo_UnixPipe_Reader__640 *); +static struct environment_linked_libraries_root_LinkedLibraries__843 + environment_linked_libraries_root_LinkedLibraries_init__3630( + struct mem_Allocator__599); +static uint8_t mem_Alignment_fromByteUnits__1109(uintptr_t); +static bool fs_path_isAbsolutePosix__5135(nav__5135_39); +static nav__1900_39 posix_toPosixPath__1900(nav__1900_41); +static uint16_t fs_Dir_accessZ__4730(struct fs_Dir__2113, uint8_t const *, + struct fs_File_OpenFlags__2111); +static nav__4666_39 fs_Dir_openFileZ__4666(struct fs_Dir__2113, uint8_t const *, + struct fs_File_OpenFlags__2111); +static uintptr_t +array_list_ArrayListAlignedUnmanaged_28u8_2cnull_29_growCapacity__7914( + uintptr_t, uintptr_t); +static uint16_t +array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacityPrecise__1443( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); +static uint16_t bincode_serialize__anon_3564__7915( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + uint32_t); +static uint16_t bincode_serialize__anon_3566__7916( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__struct_2198__2198); +static uint16_t bincode_serialize__anon_3568__7917( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t bincode_serialize__anon_3570__7918( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__struct_2199__2199); +static uint16_t bincode_serialize__anon_3572__7919( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__struct_2200__2200); +static uint16_t bincode_serialize__anon_3574__7920( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + uint64_t); +static uint16_t bincode_serialize__anon_3576__7921( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + uint8_t); +static nav__1635_38 posix_write__1635(int32_t, nav__1635_40); +static uint16_t posix_errno__anon_3742__7988(int); +static uint16_t posix_unexpectedErrno__1899(uint16_t); +static nav__1627_38 posix_read__1627(int32_t, nav__1627_40); +static nav__7989_38 math_mul__anon_3766__7989(uintptr_t, uintptr_t); +static nav__7990_39 mem_Allocator_allocBytesWithAlignment__anon_3768__7990( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static nav__5024_38 io_Reader_read__5024(struct io_Reader__2566, nav__5024_41); +static nav__7992_39 mem_sliceAsBytes__anon_3898__7992(nav__7992_39); +static uint16_t fmt_format__anon_4366__8286(struct io_Writer__4352, + nav__8286_40); +static nav__8152_40 fmt_bufPrint__anon_3949__8152(nav__8152_39, nav__8152_42); +static uint16_t fmt_format__anon_4856__8654(struct io_Writer__4352); +static nav__8154_40 fmt_bufPrint__anon_3970__8154(nav__8154_39); +static uint16_t fmt_format__anon_4959__8656(struct io_Writer__4352); +static nav__8155_40 fmt_bufPrint__anon_3982__8155(nav__8155_39); +static uint16_t fmt_format__anon_5062__8657(struct io_Writer__4352, + nav__8657_41); +static nav__8156_40 fmt_bufPrint__anon_3994__8156(nav__8156_39, nav__8156_43); +static void array_list_ArrayListAligned_28u8_2cnull_29_deinit__1407( + struct array_list_ArrayListAligned_28u8_2cnull_29__658); +static void fs_File_close__1263(struct fs_File__646); +static struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_init__4334( + struct mem_Allocator__599); +static bool math_isPowerOfTwo__anon_4014__8157(uintptr_t); +static uint16_t posix_faccessatZ__1791(int32_t, uint8_t const *, uint32_t, + uint32_t); +static nav__1647_38 posix_openatZ__1647(int32_t, uint8_t const *, uint32_t, + uintptr_t); +static uint16_t posix_flock__1808(int32_t, int32_t); +static void posix_close__1605(int32_t); +static nav__1453_39 + array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1453( + struct array_list_ArrayListAligned_28u8_2cnull_29__658); +static nav__8244_39 mem_Allocator_remap__anon_4154__8244( + struct mem_Allocator__599, nav__8244_39, uintptr_t); +static nav__8245_40 mem_Allocator_alignedAlloc__anon_4159__8245( + struct mem_Allocator__599, uintptr_t); +static void mem_Allocator_free__anon_4161__8246(struct mem_Allocator__599, + nav__8246_40); +static uint16_t bincode_serializeInt__anon_4166__8247( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + uint32_t); +static uint16_t bincode_serializeStruct__anon_4171__8248( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__struct_2198__2198); +static uint16_t bincode_serializeStruct__anon_4172__8249( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__struct_2199__2199); +static uint16_t bincode_serializeStruct__anon_4173__8250( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_Command__struct_2200__2200); +static uint16_t bincode_serializeInt__anon_4174__8251( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + uint64_t); +static uint16_t bincode_serializeEnum__anon_4177__8252( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + uint8_t); +static uint16_t posix_errno__anon_4188__8254(intptr_t); +static struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *); +static nav__8269_38 +io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269( + void const *, nav__8269_41); +static uint16_t io_Writer_writeAll__8277(struct io_Writer__4352, nav__8277_40); +static uint16_t shared_Command_format__anon_5459__8667( + struct shared_Command__2195, struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t fmt_formatType__anon_4835__8653(struct shared_Command__2195, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static nav__4983_39 + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396); +static uint16_t fmt_formatType__anon_4951__8655(uint64_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static uint16_t fmt_formatType__anon_5193__8658(nav__8658_39, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static nav__8662_39 mem_sliceAsBytes__anon_5351__8662(nav__8662_39); +static nav__8663_39 mem_bytesAsSlice__anon_5364__8663(nav__8663_39); +static nav__4911_38 +io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911( + void const *, nav__4911_41); +static uint16_t bincode_serialize__anon_5395__8664( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + int32_t); +static uint16_t bincode_serialize__anon_5397__8665( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + nav__8665_40); +static uint16_t bincode_serialize__anon_5399__8666( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_MarkerType__2202); +static nav__4978_38 +io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_write__4978( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *, + nav__4978_42); +static nav__8276_38 io_Writer_write__8276(struct io_Writer__4352, nav__8276_41); +static uint16_t io_Writer_print__anon_5479__8668(struct io_Writer__4352, + nav__8668_41); +static uint16_t io_Writer_print__anon_5500__8669(struct io_Writer__4352, + nav__8669_41); +static uint16_t io_Writer_print__anon_5512__8670(struct io_Writer__4352, + nav__8670_40); +static uint16_t io_Writer_print__anon_5521__8671(struct io_Writer__4352, + nav__8671_39); +static uint16_t io_Writer_print__anon_5534__8672(struct io_Writer__4352, + nav__8672_39); +static nav__8298_38 unicode_utf8ByteSequenceLength__8298(uint8_t); +static nav__8314_38 unicode_utf8CountCodepoints__8314(nav__8314_40); +static uint16_t fmt_formatBuf__anon_5568__8674(nav__8674_39, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t fmt_formatInt__anon_5629__8684(uint64_t, uint8_t, uint8_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t fmt_formatIntValue__anon_5612__8683( + uint64_t, struct fmt_FormatOptions__4759, struct io_Writer__4352); +static uint16_t fmt_formatValue__anon_5543__8673(uint64_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static nav__1431_38 +array_list_ArrayListAligned_28u8_2cnull_29_appendWrite__1431( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, nav__1431_42); +static uint16_t bincode_serializeInt__anon_5576__8675( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + int32_t); +static uint16_t bincode_serializePointer__anon_5581__8676( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + nav__8676_40); +static uint16_t bincode_serializeUnion__anon_5582__8677( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct shared_MarkerType__2202); +static uint16_t fmt_format__anon_5586__8678(struct io_Writer__4352, + nav__8678_41); +static uint16_t fmt_format__anon_5590__8679(struct io_Writer__4352, + nav__8679_41); +static uint16_t fmt_format__anon_5594__8680(struct io_Writer__4352, + nav__8680_40); +static uint16_t fmt_format__anon_5598__8681(struct io_Writer__4352, + nav__8681_39); +static uint16_t fmt_format__anon_5602__8682(struct io_Writer__4352, + nav__8682_39); +static nav__8053_39 fmt_digits2__8053(uint8_t); +static uint8_t fmt_digitToChar__8069(uint8_t, uint8_t); +static nav__8304_38 unicode_utf8Decode__8304(nav__8304_40); +static nav__8297_38 unicode_utf8CodepointSequenceLength__8297(uint32_t); +static nav__8690_38 unicode_utf8EncodeImpl__anon_6210__8690(uint32_t, + nav__8690_40); +static nav__8299_38 unicode_utf8Encode__8299(uint32_t, nav__8299_40); +static uint16_t io_Writer_writeBytesNTimes__8281(struct io_Writer__4352, + nav__8281_40, uintptr_t); +static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_appendSlice__1425( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, nav__1425_41); +static uint16_t fmt_formatType__anon_5859__8685(int32_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static uint16_t fmt_formatType__anon_5889__8686(nav__8686_39, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static uint16_t shared_MarkerType_format__anon_6254__8692( + struct shared_MarkerType__2202, struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t fmt_formatType__anon_6064__8687(struct shared_MarkerType__2202, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static uint16_t fmt_formatType__anon_6133__8688(uint64_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static uint16_t fmt_formatType__anon_6187__8689(uint8_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static nav__8306_38 unicode_utf8Decode2__8306(nav__8306_40); +static nav__8308_38 unicode_utf8Decode3__8308(nav__8308_40); +static nav__8312_38 unicode_utf8Decode4__8312(nav__8312_40); +static bool unicode_isSurrogateCodepoint__8377(uint32_t); +static uint16_t +array_list_ArrayListAligned_28u8_2cnull_29_ensureUnusedCapacity__1444( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, uintptr_t); +static void +array_list_ArrayListAligned_28u8_2cnull_29_appendSliceAssumeCapacity__1426( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *, nav__1426_41); +static uint16_t fmt_formatInt__anon_6342__8699(int32_t, uint8_t, uint8_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t fmt_formatIntValue__anon_6331__8698( + int32_t, struct fmt_FormatOptions__4759, struct io_Writer__4352); +static uint16_t fmt_formatValue__anon_6235__8691(int32_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t io_Writer_print__anon_6268__8693(struct io_Writer__4352, + nav__8693_39); +static uint16_t io_Writer_print__anon_6273__8694(struct io_Writer__4352, + nav__8694_39); +static uint16_t io_Writer_print__anon_6280__8695(struct io_Writer__4352, + nav__8695_39); +static uint16_t io_Writer_print__anon_6286__8696(struct io_Writer__4352, + nav__8696_39); +static uint16_t fmt_formatIntValue__anon_6370__8704( + uint64_t, struct fmt_FormatOptions__4759, struct io_Writer__4352); +static uint16_t fmt_formatValue__anon_6288__8697(uint64_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static nav__8310_38 unicode_utf8Decode3AllowSurrogateHalf__8310(nav__8310_40); +static nav__1369_38 array_list_addOrOom__1369(uintptr_t, uintptr_t); +static uint16_t fmt_format__anon_6354__8700(struct io_Writer__4352, + nav__8700_39); +static uint16_t fmt_format__anon_6358__8701(struct io_Writer__4352, + nav__8701_39); +static uint16_t fmt_format__anon_6362__8702(struct io_Writer__4352, + nav__8702_39); +static uint16_t fmt_format__anon_6366__8703(struct io_Writer__4352, + nav__8703_39); +#define c_instrument_hooks_deinit__239 instrument_hooks_deinit +zig_extern void instrument_hooks_deinit(struct InstrumentHooks *); +static void instrument_hooks_InstrumentHooks_deinit__728( + struct InstrumentHooks *); +static void mem_Allocator_destroy__anon_6504__8705(struct mem_Allocator__599, + struct InstrumentHooks *); +static void +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_deinit__804( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *); +static void +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_deinit__817( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *); +static void environment_root_Environment_deinit__770( + struct environment_root_Environment__559 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3787( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874); +static nav__8706_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8706( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3998( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895); +static nav__8708_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8708( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + *); +static void environment_root_Environment_freeEnvironmentValue__773( + struct environment_root_Environment__559 *, + struct environment_root_EnvironmentValue__850); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3990( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct mem_Allocator__599); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3779( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct mem_Allocator__599); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4177( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928); +static nav__8710_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8710( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4169( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct mem_Allocator__599); +static void environment_linked_libraries_root_LinkedLibraries_deinit__3631( + struct environment_linked_libraries_root_LinkedLibraries__843 *); +static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883); +static nav__8725_41 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619); +static nav__8726_40 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619); +static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900); +static nav__8734_41 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766); +static nav__8735_40 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766); +static void mem_Allocator_free__anon_6812__8736(struct mem_Allocator__599, + nav__8736_42); +static void debug_SafetyLock_assertUnlocked__3971(void); +static void +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4116( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *, + struct mem_Allocator__599); +static void array_hash_map_IndexHeader_free__3966( + struct array_hash_map_IndexHeader__886 *, struct mem_Allocator__599); +static void +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3922( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *, + struct mem_Allocator__599); +static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933); +static nav__8744_41 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845); +static nav__8745_40 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845); +static void +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4295( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *, + struct mem_Allocator__599); +static void + environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3632( + struct mem_Allocator__599, + struct environment_linked_libraries_root_LibraryInfo__940); +static void + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_deinit__4336( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942); +static nav__8817_39 mem_sliceAsBytes__anon_7028__8817(nav__8817_41); +static nav__4148_39 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4148( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900); +static void mem_Allocator_free__anon_7039__8818(struct mem_Allocator__599, + nav__8818_40); +static uintptr_t array_hash_map_capacityIndexSize__3729(uint8_t); +static uintptr_t array_hash_map_IndexHeader_length__3962( + struct array_hash_map_IndexHeader__886); +static void mem_Allocator_free__anon_7056__8819(struct mem_Allocator__599, + nav__8819_40); +static nav__3954_39 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3954( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883); +static nav__4327_39 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4327( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933); +static nav__4382_40 + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4382( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942); +static void mem_Allocator_free__anon_7085__8820(struct mem_Allocator__599, + nav__8820_41); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147( + uintptr_t); +static nav__8821_39 mem_sliceAsBytes__anon_7104__8821(nav__8821_39); +static uint8_t array_hash_map_capacityIndexType__3728(uint8_t); +static nav__8837_39 mem_sliceAsBytes__anon_7138__8837(nav__8837_39); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953( + uintptr_t); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326( + uintptr_t); +static nav__8838_39 mem_sliceAsBytes__anon_7151__8838(nav__8838_42); +#define c_instrument_hooks_is_instrumented__240 instrument_hooks_is_instrumented +zig_extern bool instrument_hooks_is_instrumented(struct InstrumentHooks *); +static zig_cold uint16_t runner_fifo_RunnerFifo_start_benchmark__1130( + struct runner_fifo_RunnerFifo__631 *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_start_benchmark__806( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_start_benchmark__819( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *); +#define c_instrument_hooks_start_benchmark__241 instrument_hooks_start_benchmark +zig_extern uint8_t instrument_hooks_start_benchmark(struct InstrumentHooks *); +static bool features_is_feature_enabled__328(uint64_t); +static bool bit_set_IntegerBitSet_2864_29_isSet__363(uint64_t, uintptr_t); +static zig_cold uint16_t runner_fifo_RunnerFifo_stop_benchmark__1131( + struct runner_fifo_RunnerFifo__631 *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_stop_benchmark__807( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_stop_benchmark__820( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *); +#define c_instrument_hooks_stop_benchmark__242 instrument_hooks_stop_benchmark +zig_extern uint8_t instrument_hooks_stop_benchmark(struct InstrumentHooks *); +static uint16_t runner_fifo_RunnerFifo_set_executed_benchmark__1132( + struct runner_fifo_RunnerFifo__631 *, int32_t, uint8_t const *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_executed_benchmark__808( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *, + int32_t, uint8_t const *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_executed_benchmark__821( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *, + int32_t, uint8_t const *); +#define c_instrument_hooks_set_executed_benchmark__243 \ + instrument_hooks_set_executed_benchmark +zig_extern uint8_t instrument_hooks_set_executed_benchmark( + struct InstrumentHooks *, int32_t, char const *); +static uint8_t const *c_toU8__236(char const *); +static nav__8843_39 mem_span__anon_7307__8843(uint8_t const *); +static uintptr_t mem_len__anon_7324__8844(uint8_t const *); +static uintptr_t mem_indexOfSentinel__anon_7331__8845(uint8_t const *); +static bool math_isPowerOfTwo__anon_7342__8846(void); +static nav__8847_38 simd_firstTrue__anon_7390__8847(nav__8847_40); +static uintptr_t mem_alignForward__anon_7393__8848(uintptr_t, uintptr_t); +static bool mem_isAligned__978(uintptr_t, uintptr_t); +static bool mem_isValidAlignGeneric__anon_7451__8849(uintptr_t); +static uintptr_t mem_alignBackward__anon_7452__8850(uintptr_t, uintptr_t); +static bool mem_isAlignedGeneric__anon_7456__8851(uint64_t, uint64_t); +static uint64_t mem_alignBackward__anon_7458__8852(uint64_t, uint64_t); +static bool mem_isValidAlignGeneric__anon_7460__8853(uint64_t); +static bool math_isPowerOfTwo__anon_7461__8854(uint64_t); +#define c_instrument_hooks_executed_benchmark__244 \ + instrument_hooks_executed_benchmark +zig_extern uint8_t instrument_hooks_executed_benchmark(struct InstrumentHooks *, + int32_t, char const *); +static uint16_t runner_fifo_RunnerFifo_set_integration__1133( + struct runner_fifo_RunnerFifo__631 *, uint8_t const *, uint8_t const *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_integration__809( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *, + uint8_t const *, uint8_t const *); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_integration__822( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *, + uint8_t const *, uint8_t const *); +#define c_instrument_hooks_set_integration__245 instrument_hooks_set_integration +zig_extern uint8_t instrument_hooks_set_integration(struct InstrumentHooks *, + char const *, char const *); +static nav__8855_40 fmt_allocPrintZ__anon_7496__8855(struct mem_Allocator__599, + nav__8855_43); +static void mem_Allocator_free__anon_7498__8856(struct mem_Allocator__599, + nav__8856_40); +static nav__8857_40 fmt_allocPrint__anon_7533__8857(struct mem_Allocator__599, + nav__8857_43); +static nav__8858_39 mem_sliceAsBytes__anon_7540__8858(nav__8858_39); +static uint16_t fmt_format__anon_7603__8900(struct io_Writer__4352, + nav__8900_40); +static uint64_t fmt_count__anon_7547__8859(nav__8859_39); +static nav__8860_38 math_cast__anon_7549__8860(uint64_t); +static nav__8861_40 fmt_bufPrint__anon_7552__8861(nav__8861_39, nav__8861_42); +static struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + io_counting_writer_countingWriter__anon_7573__8886(void); +static struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 +io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_writer__8885( + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + *); +static nav__8899_38 +io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWr__8899( + void const *, nav__8899_41); +static uint16_t fmt_formatType__anon_7637__8901(uint8_t const *, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static nav__8884_38 +io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_write__8884( + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + *, + nav__8884_42); +static nav__4889_38 io_dummyWrite__4889(nav__4889_40); +static uint16_t runner_fifo_RunnerFifo_add_marker__1134( + struct runner_fifo_RunnerFifo__631 *, int32_t, + struct shared_MarkerType__2202); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_add_marker__810( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *, + int32_t, struct shared_MarkerType__2202); +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_add_marker__823( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *, + int32_t, struct shared_MarkerType__2202); +#define c_instrument_hooks_add_marker__250 instrument_hooks_add_marker +zig_extern uint8_t instrument_hooks_add_marker(struct InstrumentHooks *, + int32_t, uint8_t, uint64_t); +#define c_instrument_hooks_current_timestamp__251 \ + instrument_hooks_current_timestamp zig_extern uint64_t instrument_hooks_current_timestamp(void); -static uint64_t utils_clock_gettime_monotonic__4781(void); -static uint16_t environment_root_Environment_setIntegrationEnvironmentValue__773(struct environment_root_Environment__559 *, nav__773_41, nav__773_41, struct environment_root_EnvironmentValue__850); -static uint16_t environment_root_Environment_setIntegrationEnvironment__770(struct environment_root_Environment__559 *, nav__770_41, nav__770_41, nav__770_41); -#define c_instrument_hooks_set_environment__251 instrument_hooks_set_environment -zig_extern uint8_t instrument_hooks_set_environment(struct instrument_hooks_InstrumentHooks__547 *, uint8_t const *, uint8_t const *, uint8_t const *); -static nav__8897_40 mem_Allocator_dupe__anon_7707__8897(struct mem_Allocator__599, nav__8897_43); -static nav__3788_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3788(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct mem_Allocator__599, nav__3788_44); -static nav__3999_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3999(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct mem_Allocator__599, nav__3999_44); -static nav__3789_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3789(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct mem_Allocator__599, nav__3789_44); -static nav__4000_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4000(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct mem_Allocator__599, nav__4000_44); -static nav__8898_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8898(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct mem_Allocator__599, nav__8898_44); -static nav__8899_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8899(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct mem_Allocator__599, nav__8899_44); -static uint16_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3798(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct mem_Allocator__599, uintptr_t); -static nav__8900_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8900(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8900_41); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8901(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, nav__8901_42); -static uint16_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4009(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct mem_Allocator__599, uintptr_t); -static nav__8902_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8902(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8902_41); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8903(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, nav__8903_42); -static void debug_SafetyLock_lock__3968(void *); -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3945(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *, struct mem_Allocator__599, uintptr_t); -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3941(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *, struct mem_Allocator__599, uintptr_t); -static void debug_SafetyLock_unlock__3969(void *); -static uint32_t array_hash_map_IndexHeader_capacity__3960(struct array_hash_map_IndexHeader__886); -static nav__3963_38 array_hash_map_IndexHeader_findBitIndex__3963(uintptr_t); -static nav__3964_40 array_hash_map_IndexHeader_alloc__3964(struct mem_Allocator__599, uint8_t); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3890(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct array_hash_map_IndexHeader__886 *); -static uint32_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(nav__8904_40); -static nav__8905_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597); -static bool array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(nav__8906_40, nav__8906_40, uintptr_t); -static uint8_t array_hash_map_IndexHeader_capacityIndexType__3959(struct array_hash_map_IndexHeader__886); -static nav__8907_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8907(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8907_41, struct array_hash_map_IndexHeader__886 *); -static nav__8908_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8908(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8908_41, struct array_hash_map_IndexHeader__886 *); -static nav__8909_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8909_41, struct array_hash_map_IndexHeader__886 *); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8910(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, nav__8910_42, struct array_hash_map_IndexHeader__886 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, nav__8911_42, struct array_hash_map_IndexHeader__886 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8912(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, nav__8912_42, struct array_hash_map_IndexHeader__886 *); -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4139(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *, struct mem_Allocator__599, uintptr_t); -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4135(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *, struct mem_Allocator__599, uintptr_t); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4101(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct array_hash_map_IndexHeader__886 *); -static uint32_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(nav__8913_40); -static nav__8914_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744); -static bool array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(nav__8915_40, nav__8915_40, uintptr_t); -static nav__8916_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8916(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8916_41, struct array_hash_map_IndexHeader__886 *); -static nav__8917_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8917(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8917_41, struct array_hash_map_IndexHeader__886 *); -static nav__8918_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8918_41, struct array_hash_map_IndexHeader__886 *); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8919(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, nav__8919_42, struct array_hash_map_IndexHeader__886 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, nav__8920_42, struct array_hash_map_IndexHeader__886 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8921(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, nav__8921_42, struct array_hash_map_IndexHeader__886 *); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3943(uintptr_t, uintptr_t); -static nav__8922_40 mem_Allocator_alignedAlloc__anon_7918__8922(struct mem_Allocator__599, uintptr_t); -static uint8_t math_log2_int_ceil__anon_8071__8923(uintptr_t); -static nav__8924_40 mem_Allocator_alignedAlloc__anon_8076__8924(struct mem_Allocator__599, uintptr_t); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8925(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct array_hash_map_IndexHeader__886 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8926(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct array_hash_map_IndexHeader__886 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8927(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *, struct array_hash_map_IndexHeader__886 *); -static uint32_t array_hash_map_StringContext_hash__3759(nav__3759_40); -static bool array_hash_map_StringContext_eql__3760(nav__3760_40, nav__3760_40, uintptr_t); -static nav__8928_40 array_hash_map_IndexHeader_indexes__anon_8108__8928(struct array_hash_map_IndexHeader__886 *); -static nav__8929_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8929(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8929_41, struct array_hash_map_IndexHeader__886 *, nav__8929_47); -static nav__8930_40 array_hash_map_IndexHeader_indexes__anon_8118__8930(struct array_hash_map_IndexHeader__886 *); -static nav__8931_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8931(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8931_41, struct array_hash_map_IndexHeader__886 *, nav__8931_47); -static nav__8932_40 array_hash_map_IndexHeader_indexes__anon_8124__8932(struct array_hash_map_IndexHeader__886 *); -static nav__8933_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8933(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, nav__8933_41, struct array_hash_map_IndexHeader__886 *, nav__8933_47); -static uintptr_t array_hash_map_safeTruncate__anon_8132__8934(uint32_t); -static uintptr_t array_hash_map_IndexHeader_constrainIndex__3957(struct array_hash_map_IndexHeader__886, uintptr_t); -static bool array_hash_map_Index_28u8_29_isEmpty__8820(struct array_hash_map_Index_28u8_29__7097); -static bool array_hash_map_Index_28u16_29_isEmpty__8825(struct array_hash_map_Index_28u16_29__7101); -static bool array_hash_map_Index_28u32_29_isEmpty__8830(struct array_hash_map_Index_28u32_29__7105); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4137(uintptr_t, uintptr_t); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8935(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct array_hash_map_IndexHeader__886 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8936(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct array_hash_map_IndexHeader__886 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8937(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *, struct array_hash_map_IndexHeader__886 *); -static nav__8938_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8938(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8938_41, struct array_hash_map_IndexHeader__886 *, nav__8938_47); -static nav__8939_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8939(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8939_41, struct array_hash_map_IndexHeader__886 *, nav__8939_47); -static nav__8940_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8940(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, nav__8940_41, struct array_hash_map_IndexHeader__886 *, nav__8940_47); -static nav__8941_39 mem_Allocator_allocWithSizeAndAlignment__anon_8191__8941(struct mem_Allocator__599, uintptr_t, uintptr_t); -static uint8_t math_log2_int__anon_8194__8942(uintptr_t); -static nav__8943_39 mem_Allocator_allocWithSizeAndAlignment__anon_8198__8943(struct mem_Allocator__599, uintptr_t, uintptr_t); -static uint32_t array_hash_map_hashString__3722(nav__3722_39); -static bool array_hash_map_eqlString__3721(nav__3721_39, nav__3721_39); -static uint32_t array_hash_map_IndexHeader_mask__3962(struct array_hash_map_IndexHeader__886); -static nav__8944_39 mem_Allocator_allocBytesWithAlignment__anon_8224__8944(struct mem_Allocator__599, uintptr_t, uintptr_t); -static uint64_t hash_wyhash_Wyhash_hash__9004(uint64_t, nav__9004_39); -static bool mem_eql__anon_8236__9005(nav__9005_39, nav__9005_39); -static struct hash_wyhash_Wyhash__8229 hash_wyhash_Wyhash_init__8992(uint64_t); -static bool mem_eqlBytes__851(nav__851_39, nav__851_39); -static uint16_t environment_root_Environment_setIntegrationEnvironmentList__771(struct environment_root_Environment__559 *, nav__771_41, nav__771_41, nav__771_43); -#define c_instrument_hooks_set_environment_list__252 instrument_hooks_set_environment_list -zig_extern uint8_t instrument_hooks_set_environment_list(struct instrument_hooks_InstrumentHooks__547 *, uint8_t const *, uint8_t const *, uint8_t const *const *, uint32_t); -static nav__9009_42 mem_Allocator_alloc__anon_8339__9009(struct mem_Allocator__599, uintptr_t); -static void mem_Allocator_free__anon_8341__9010(struct mem_Allocator__599, nav__9010_42); -static nav__9011_39 mem_Allocator_allocWithSizeAndAlignment__anon_8349__9011(struct mem_Allocator__599, uintptr_t, uintptr_t); -static nav__9012_39 mem_sliceAsBytes__anon_8356__9012(nav__9012_43); -#define c_instrument_hooks_write_environment__253 instrument_hooks_write_environment -zig_extern uint8_t instrument_hooks_write_environment(struct instrument_hooks_InstrumentHooks__547 *, uint32_t); -static uint16_t environment_linked_libraries_root_LinkedLibraries_collect__3633(struct environment_linked_libraries_root_LinkedLibraries__843 *); -static uint16_t environment_root_Environment_populateLinkedLibraries__774(struct environment_root_Environment__559 *); -static uint8_t environment_root_Environment_writeEnvironment__775(struct environment_root_Environment__559 *, uint32_t); -static void array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_clearRetainingCapaci__4368(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *); -static int environment_linked_libraries_root_LinkedLibraries_collect__struct_8399_callback__9468(struct os_linux_dl_phdr_info__8376 *, uintptr_t, void *); -static void logger_err__anon_8414__9469(void); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4171(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *); -static nav__4178_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4178(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct mem_Allocator__599, nav__4178_44); -static void logger_err__anon_8441__9470(void); -static uintptr_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3783(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874); -static uintptr_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4173(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928); -static nav__9472_39 mem_span__anon_8464__9472(uint8_t const *); -static uint16_t fmt_format__anon_8570__9529(struct io_Writer__4338, nav__9529_41); -static nav__9473_40 fmt_bufPrint__anon_8473__9473(nav__9473_39, nav__9473_43); -static void logger_err__anon_8480__9474(void); -static nav__9496_40 json_stringify_stringifyAlloc__anon_8495__9496(struct mem_Allocator__599, struct environment_root_EnvironmentJson__839, struct json_stringify_StringifyOptions__8484); -static void logger_err__anon_8502__9497(void); -static nav__1228_39 fs_createFileAbsolute__1228(nav__1228_41, struct fs_File_CreateFlags__8504); -static void logger_err__anon_8521__9498(void); -static bool mem_startsWith__anon_8533__9499(nav__9499_39, nav__9499_39); -static struct environment_linked_libraries_elf_view__8534 environment_linked_libraries_elf_view_init__9505(uintptr_t, struct elf_Elf64_Phdr__8384 const *, uint16_t); -static nav__3632_39 environment_linked_libraries_root_LinkedLibraries_extractLibraryInfo__3632(struct mem_Allocator__599, struct environment_linked_libraries_elf_view__8534, nav__3632_43); -static uint16_t array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_append__4349(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *, struct environment_linked_libraries_root_LibraryInfo__940); -static void logger_logWithPrefix__anon_8556__9526(void); -static nav__4179_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4179(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct mem_Allocator__599, nav__4179_44); -static void logger_logWithPrefix__anon_8568__9527(void); -static uintptr_t mem_len__anon_8569__9528(uint8_t const *); -static void logger_logWithPrefix__anon_8628__9530(void); -static uint16_t json_stringify_stringifyArbitraryDepth__anon_8655__9560(struct mem_Allocator__599, struct environment_root_EnvironmentJson__839, struct json_stringify_StringifyOptions__8484, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static nav__1410_40 array_list_ArrayListAligned_28u8_2cnull_29_toOwnedSlice__1410(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); -static void logger_logWithPrefix__anon_8660__9561(void); -static nav__4667_39 fs_Dir_createFile__4667(struct fs_Dir__2113, nav__4667_42, struct fs_File_CreateFlags__8504); -static void logger_logWithPrefix__anon_8665__9562(void); -static nav__9514_39 environment_linked_libraries_elf_view_buildId__9514(struct environment_linked_libraries_elf_view__8534); -static nav__3624_39 environment_linked_libraries_root_hexEncode__3624(struct mem_Allocator__599, nav__3624_39); -static nav__9509_40 environment_linked_libraries_elf_view_dynamicEntries__9509(struct environment_linked_libraries_elf_view__8534); -static uint8_t const *environment_linked_libraries_elf_view_strtab__9511(nav__9511_41); -static nav__9513_39 environment_linked_libraries_elf_view_soname__9513(nav__9513_42, uint8_t const *); -static nav__4374_40 array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOne__4374(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *); -static uint16_t fmt_format__anon_8831__9571(struct io_Writer__4338); -static nav__9563_40 fmt_bufPrint__anon_8714__9563(nav__9563_39); -static nav__9564_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9564(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct mem_Allocator__599, nav__9564_44); -static uint16_t fmt_format__anon_8924__9574(struct io_Writer__4338); -static nav__9565_40 fmt_bufPrint__anon_8731__9565(nav__9565_39); -static uint16_t fmt_format__anon_9000__9575(struct io_Writer__4338); -static nav__9566_40 fmt_bufPrint__anon_8740__9566(nav__9566_39); -static struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 json_stringify_writeStreamArbitraryDepth__anon_8748__9567(struct mem_Allocator__599, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct json_stringify_StringifyOptions__8484); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9568(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, struct environment_root_EnvironmentJson__839); -static void json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9537(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static void array_list_ArrayListAligned_28u8_2cnull_29_clearAndFree__1440(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); -static uint16_t fmt_format__anon_9164__9578(struct io_Writer__4338); -static nav__9569_40 fmt_bufPrint__anon_8771__9569(nav__9569_39); -static nav__4668_39 fs_Dir_createFileZ__4668(struct fs_Dir__2113, uint8_t const *, struct fs_File_CreateFlags__8504); -static uint16_t fmt_format__anon_9239__9579(struct io_Writer__4338); -static nav__9570_40 fmt_bufPrint__anon_8786__9570(nav__9570_39); -static nav__9507_39 environment_linked_libraries_elf_view_slice__9507(struct environment_linked_libraries_elf_view__8534, uintptr_t, uintptr_t); -static nav__9508_39 environment_linked_libraries_elf_view_findPhdr__9508(struct environment_linked_libraries_elf_view__8534, uint32_t); -static nav__9510_38 environment_linked_libraries_elf_view_dynVal__9510(nav__9510_41, int64_t); -static nav__9512_39 environment_linked_libraries_elf_view_strFromTable__9512(uint8_t const *, uintptr_t); -static uint16_t array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacity__4370(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *, uintptr_t); -static struct environment_linked_libraries_root_LibraryInfo__940 *array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOneAssumeCapacity__4375(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *); -static uint16_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4188(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct mem_Allocator__599, uintptr_t); -static nav__9572_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9572(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9572_41); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9573(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, nav__9573_42); -static struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9536(struct mem_Allocator__599, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, struct json_stringify_StringifyOptions__8484); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, uint8_t); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t fmt_formatBuf__anon_9561__9654(nav__9654_39, struct fmt_FormatOptions__4745, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t fmt_formatInt__anon_9551__9653(uint32_t, uint8_t, uint8_t, struct fmt_FormatOptions__4745, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t fmt_formatIntValue__anon_9526__9652(uint32_t, struct fmt_FormatOptions__4745, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t fmt_formatInt__anon_9578__9656(uint16_t, uint8_t, uint8_t, struct fmt_FormatOptions__4745, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t fmt_formatIntValue__anon_9574__9655(uint16_t, struct fmt_FormatOptions__4745, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t json_stringify_outputUnicodeEscape__anon_9510__9651(uint32_t, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t json_stringify_outputSpecialEscape__anon_9470__9650(uint8_t, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t json_stringify_encodeJsonStringChars__anon_9460__9649(nav__9649_39, struct json_stringify_StringifyOptions__8484, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t json_stringify_encodeJsonString__anon_9450__9648(nav__9648_39, struct json_stringify_StringifyOptions__8484, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, nav__9554_41); -static uint16_t json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29_jsonStringif__9657(struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9576(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855); -static uint16_t json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29_jsonStringify__anon_9625__9659(struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9577(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uintptr_t array_list_ArrayListAlignedUnmanaged_28environment_linked_libraries_root_LibraryInfo_2cnull_29_growCapacit__9638(uintptr_t, uintptr_t); -static uint16_t array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacityP__4371(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *, uintptr_t); -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4318(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *, struct mem_Allocator__599, uintptr_t); -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4314(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *, struct mem_Allocator__599, uintptr_t); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4280(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct array_hash_map_IndexHeader__886 *); -static uint32_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(nav__9639_40); -static nav__9640_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823); -static bool array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(nav__9641_40, nav__9641_40, uintptr_t); -static nav__9642_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9642(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9642_41, struct array_hash_map_IndexHeader__886 *); -static nav__9643_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9643(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9643_41, struct array_hash_map_IndexHeader__886 *); -static nav__9644_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9644_41, struct array_hash_map_IndexHeader__886 *); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9645(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, nav__9645_42, struct array_hash_map_IndexHeader__886 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, nav__9646_42, struct array_hash_map_IndexHeader__886 *); -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9647(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, nav__9647_42, struct array_hash_map_IndexHeader__886 *); -static nav__9549_38 json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *); -static bool json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *); -static uint16_t io_Writer_writeByte__8276(struct io_Writer__4338, uint8_t); -static uint16_t io_Writer_writeByteNTimes__8277(struct io_Writer__4338, uint8_t, uintptr_t); -static uint16_t json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_jsonStringify__anon_9708__9669(struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9658(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9660(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, struct environment_linked_libraries_root_LibraryEntry__858); -static void json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, uint8_t); -static void json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static nav__9661_40 mem_Allocator_remap__anon_9642__9661(struct mem_Allocator__599, nav__9661_40, uintptr_t); -static nav__9662_41 mem_Allocator_alignedAlloc__anon_9646__9662(struct mem_Allocator__599, uintptr_t); -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4316(uintptr_t, uintptr_t); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9663(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct array_hash_map_IndexHeader__886 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9664(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct array_hash_map_IndexHeader__886 *); -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9665(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *, struct array_hash_map_IndexHeader__886 *); -static nav__9666_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9666(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9666_41, struct array_hash_map_IndexHeader__886 *, nav__9666_47); -static nav__9667_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9667(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9667_41, struct array_hash_map_IndexHeader__886 *, nav__9667_47); -static nav__9668_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9668(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, nav__9668_41, struct array_hash_map_IndexHeader__886 *, nav__9668_47); -static uint16_t environment_root_EnvironmentValue_jsonStringify__anon_9788__9675(struct environment_root_EnvironmentValue__850, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9670(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, struct environment_root_EnvironmentValue__850); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, nav__9559_41); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9671(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, nav__9671_41); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9672(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, nav__9672_41); -static nav__9673_40 mem_bytesAsSlice__anon_9751__9673(nav__9673_42); -static nav__9674_39 mem_Allocator_allocWithSizeAndAlignment__anon_9752__9674(struct mem_Allocator__599, uintptr_t, uintptr_t); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, nav__9676_43); -static bool unicode_utf8ValidateSlice__8312(nav__8312_39); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9538(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9677(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *, uint8_t); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9540(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9678(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *); -static bool unicode_utf8ValidateSliceImpl__anon_9815__9679(nav__9679_39); -static uint16_t io_Writer_print__anon_9829__9680(struct io_Writer__4338, nav__9680_39); -static uint16_t fmt_format__anon_9838__9681(struct io_Writer__4338, nav__9681_39); -static uint16_t fmt_formatType__anon_9856__9682(uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338, uintptr_t); -static uint16_t fmt_formatInt__anon_9869__9685(uint8_t, uint8_t, uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatIntValue__anon_9865__9684(uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint16_t fmt_formatValue__anon_9861__9683(uint8_t, struct fmt_FormatOptions__4745, struct io_Writer__4338); -static uint64_t const builtin_zig_backend__258; +static uint64_t utils_clock_gettime_monotonic__4782(void); +static uint16_t +environment_root_Environment_setIntegrationEnvironmentValue__774( + struct environment_root_Environment__559 *, nav__774_41, nav__774_41, + struct environment_root_EnvironmentValue__850); +static uint16_t environment_root_Environment_setIntegrationEnvironment__771( + struct environment_root_Environment__559 *, nav__771_41, nav__771_41, + nav__771_41); +#define c_instrument_hooks_set_environment__252 instrument_hooks_set_environment +zig_extern uint8_t instrument_hooks_set_environment(struct InstrumentHooks *, + char const *, char const *, + char const *); +static nav__8902_40 mem_Allocator_dupe__anon_7733__8902( + struct mem_Allocator__599, nav__8902_43); +static nav__3789_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3789( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct mem_Allocator__599, nav__3789_44); +static nav__4000_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4000( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct mem_Allocator__599, nav__4000_44); +static nav__3790_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3790( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct mem_Allocator__599, nav__3790_44); +static nav__4001_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4001( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct mem_Allocator__599, nav__4001_44); +static nav__8903_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8903( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct mem_Allocator__599, nav__8903_44); +static nav__8904_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8904( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct mem_Allocator__599, nav__8904_44); +static uint16_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3799( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct mem_Allocator__599, uintptr_t); +static nav__8905_38 + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8905( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8905_41); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + nav__8906_42); +static uint16_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4010( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct mem_Allocator__599, uintptr_t); +static nav__8907_38 + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8907( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8907_41); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8908( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + nav__8908_42); +static void debug_SafetyLock_lock__3969(void *); +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3946( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *, + struct mem_Allocator__599, uintptr_t); +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3942( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *, + struct mem_Allocator__599, uintptr_t); +static void debug_SafetyLock_unlock__3970(void *); +static uint32_t array_hash_map_IndexHeader_capacity__3961( + struct array_hash_map_IndexHeader__886); +static nav__3964_38 array_hash_map_IndexHeader_findBitIndex__3964(uintptr_t); +static nav__3965_40 array_hash_map_IndexHeader_alloc__3965( + struct mem_Allocator__599, uint8_t); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3891( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct array_hash_map_IndexHeader__886 *); +static uint32_t + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + nav__8909_40); +static nav__8910_39 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619); +static bool +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + nav__8911_40, nav__8911_40, uintptr_t); +static uint8_t array_hash_map_IndexHeader_capacityIndexType__3960( + struct array_hash_map_IndexHeader__886); +static nav__8912_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8912( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8912_41, struct array_hash_map_IndexHeader__886 *); +static nav__8913_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8913( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8913_41, struct array_hash_map_IndexHeader__886 *); +static nav__8914_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8914( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8914_41, struct array_hash_map_IndexHeader__886 *); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8915( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + nav__8915_42, struct array_hash_map_IndexHeader__886 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8916( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + nav__8916_42, struct array_hash_map_IndexHeader__886 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8917( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + nav__8917_42, struct array_hash_map_IndexHeader__886 *); +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4140( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *, + struct mem_Allocator__599, uintptr_t); +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4136( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *, + struct mem_Allocator__599, uintptr_t); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4102( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct array_hash_map_IndexHeader__886 *); +static uint32_t + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + nav__8918_40); +static nav__8919_39 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766); +static bool +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + nav__8920_40, nav__8920_40, uintptr_t); +static nav__8921_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8921( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8921_41, struct array_hash_map_IndexHeader__886 *); +static nav__8922_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8922( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8922_41, struct array_hash_map_IndexHeader__886 *); +static nav__8923_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8923( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8923_41, struct array_hash_map_IndexHeader__886 *); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8924( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + nav__8924_42, struct array_hash_map_IndexHeader__886 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8925( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + nav__8925_42, struct array_hash_map_IndexHeader__886 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8926( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + nav__8926_42, struct array_hash_map_IndexHeader__886 *); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3944( + uintptr_t, uintptr_t); +static nav__8927_40 mem_Allocator_alignedAlloc__anon_7944__8927( + struct mem_Allocator__599, uintptr_t); +static uint8_t math_log2_int_ceil__anon_8097__8928(uintptr_t); +static nav__8929_40 mem_Allocator_alignedAlloc__anon_8102__8929( + struct mem_Allocator__599, uintptr_t); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8930( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct array_hash_map_IndexHeader__886 *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8931( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct array_hash_map_IndexHeader__886 *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8932( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *, + struct array_hash_map_IndexHeader__886 *); +static uint32_t array_hash_map_StringContext_hash__3760(nav__3760_40); +static bool array_hash_map_StringContext_eql__3761(nav__3761_40, nav__3761_40, + uintptr_t); +static nav__8933_40 array_hash_map_IndexHeader_indexes__anon_8134__8933( + struct array_hash_map_IndexHeader__886 *); +static nav__8934_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8934( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8934_41, struct array_hash_map_IndexHeader__886 *, nav__8934_47); +static nav__8935_40 array_hash_map_IndexHeader_indexes__anon_8144__8935( + struct array_hash_map_IndexHeader__886 *); +static nav__8936_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8936( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8936_41, struct array_hash_map_IndexHeader__886 *, nav__8936_47); +static nav__8937_40 array_hash_map_IndexHeader_indexes__anon_8150__8937( + struct array_hash_map_IndexHeader__886 *); +static nav__8938_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8938( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874, + nav__8938_41, struct array_hash_map_IndexHeader__886 *, nav__8938_47); +static uintptr_t array_hash_map_safeTruncate__anon_8158__8939(uint32_t); +static uintptr_t array_hash_map_IndexHeader_constrainIndex__3958( + struct array_hash_map_IndexHeader__886, uintptr_t); +static bool array_hash_map_Index_28u8_29_isEmpty__8825( + struct array_hash_map_Index_28u8_29__7119); +static bool array_hash_map_Index_28u16_29_isEmpty__8830( + struct array_hash_map_Index_28u16_29__7123); +static bool array_hash_map_Index_28u32_29_isEmpty__8835( + struct array_hash_map_Index_28u32_29__7127); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4138( + uintptr_t, uintptr_t); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8940( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct array_hash_map_IndexHeader__886 *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8941( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct array_hash_map_IndexHeader__886 *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8942( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *, + struct array_hash_map_IndexHeader__886 *); +static nav__8943_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8943( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8943_41, struct array_hash_map_IndexHeader__886 *, nav__8943_47); +static nav__8944_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8944( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8944_41, struct array_hash_map_IndexHeader__886 *, nav__8944_47); +static nav__8945_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8945( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895, + nav__8945_41, struct array_hash_map_IndexHeader__886 *, nav__8945_47); +static nav__8946_39 mem_Allocator_allocWithSizeAndAlignment__anon_8217__8946( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static uint8_t math_log2_int__anon_8220__8947(uintptr_t); +static nav__8948_39 mem_Allocator_allocWithSizeAndAlignment__anon_8224__8948( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static uint32_t array_hash_map_hashString__3723(nav__3723_39); +static bool array_hash_map_eqlString__3722(nav__3722_39, nav__3722_39); +static uint32_t array_hash_map_IndexHeader_mask__3963( + struct array_hash_map_IndexHeader__886); +static nav__8949_39 mem_Allocator_allocBytesWithAlignment__anon_8250__8949( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static uint64_t hash_wyhash_Wyhash_hash__9009(uint64_t, nav__9009_39); +static bool mem_eql__anon_8262__9010(nav__9010_39, nav__9010_39); +static struct hash_wyhash_Wyhash__8255 hash_wyhash_Wyhash_init__8997(uint64_t); +static bool mem_eqlBytes__852(nav__852_39, nav__852_39); +static uint16_t environment_root_Environment_setIntegrationEnvironmentList__772( + struct environment_root_Environment__559 *, nav__772_41, nav__772_41, + nav__772_43); +#define c_instrument_hooks_set_environment_list__253 \ + instrument_hooks_set_environment_list +zig_extern uint8_t instrument_hooks_set_environment_list( + struct InstrumentHooks *, char const *, char const *, char const *const *, + uint32_t); +static nav__9014_42 mem_Allocator_alloc__anon_8365__9014( + struct mem_Allocator__599, uintptr_t); +static void mem_Allocator_free__anon_8368__9015(struct mem_Allocator__599, + nav__9015_42); +static nav__9016_39 mem_Allocator_allocWithSizeAndAlignment__anon_8376__9016( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static nav__9017_39 mem_sliceAsBytes__anon_8383__9017(nav__9017_43); +#define c_instrument_hooks_write_environment__254 \ + instrument_hooks_write_environment +zig_extern uint8_t instrument_hooks_write_environment(struct InstrumentHooks *, + int32_t); +static uint16_t environment_linked_libraries_root_LinkedLibraries_collect__3634( + struct environment_linked_libraries_root_LinkedLibraries__843 *); +static uint16_t environment_root_Environment_populateLinkedLibraries__775( + struct environment_root_Environment__559 *); +static uint8_t environment_root_Environment_writeEnvironment__776( + struct environment_root_Environment__559 *, int32_t); +static void +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_clearRetainingCapaci__4369( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *); +static int +environment_linked_libraries_root_LinkedLibraries_collect__struct_8426_callback__9473( + struct os_linux_dl_phdr_info__8403 *, uintptr_t, void *); +static void logger_err__anon_8441__9474(void); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4172( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *); +static nav__4179_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4179( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct mem_Allocator__599, nav__4179_44); +static void logger_err__anon_8468__9475(void); +static uintptr_t + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3784( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874); +static uintptr_t + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4174( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928); +static nav__9477_39 mem_span__anon_8491__9477(uint8_t const *); +static uint16_t fmt_format__anon_8597__9534(struct io_Writer__4352, + nav__9534_41); +static nav__9478_40 fmt_bufPrint__anon_8500__9478(nav__9478_39, nav__9478_43); +static void logger_err__anon_8507__9479(void); +static nav__9501_40 json_stringify_stringifyAlloc__anon_8522__9501( + struct mem_Allocator__599, struct environment_root_EnvironmentJson__839, + struct json_stringify_StringifyOptions__8511); +static void logger_err__anon_8529__9502(void); +static nav__1229_39 fs_createFileAbsolute__1229( + nav__1229_41, struct fs_File_CreateFlags__8531); +static void logger_err__anon_8548__9503(void); +static bool mem_startsWith__anon_8560__9504(nav__9504_39, nav__9504_39); +static struct environment_linked_libraries_elf_view__8561 +environment_linked_libraries_elf_view_init__9510( + uintptr_t, struct elf_Elf64_Phdr__8411 const *, uint16_t); +static nav__3633_39 + environment_linked_libraries_root_LinkedLibraries_extractLibraryInfo__3633( + struct mem_Allocator__599, + struct environment_linked_libraries_elf_view__8561, nav__3633_43); +static uint16_t +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_append__4350( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *, + struct environment_linked_libraries_root_LibraryInfo__940); +static void logger_logWithPrefix__anon_8583__9531(void); +static nav__4180_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4180( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct mem_Allocator__599, nav__4180_44); +static void logger_logWithPrefix__anon_8595__9532(void); +static uintptr_t mem_len__anon_8596__9533(uint8_t const *); +static void logger_logWithPrefix__anon_8655__9535(void); +static uint16_t json_stringify_stringifyArbitraryDepth__anon_8682__9565( + struct mem_Allocator__599, struct environment_root_EnvironmentJson__839, + struct json_stringify_StringifyOptions__8511, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static nav__1411_40 +array_list_ArrayListAligned_28u8_2cnull_29_toOwnedSlice__1411( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); +static void logger_logWithPrefix__anon_8687__9566(void); +static nav__4668_39 fs_Dir_createFile__4668(struct fs_Dir__2113, nav__4668_42, + struct fs_File_CreateFlags__8531); +static void logger_logWithPrefix__anon_8692__9567(void); +static nav__9519_39 environment_linked_libraries_elf_view_buildId__9519( + struct environment_linked_libraries_elf_view__8561); +static nav__3625_39 environment_linked_libraries_root_hexEncode__3625( + struct mem_Allocator__599, nav__3625_39); +static nav__9514_40 environment_linked_libraries_elf_view_dynamicEntries__9514( + struct environment_linked_libraries_elf_view__8561); +static uint8_t const *environment_linked_libraries_elf_view_strtab__9516( + nav__9516_41); +static nav__9518_39 environment_linked_libraries_elf_view_soname__9518( + nav__9518_42, uint8_t const *); +static nav__4375_40 +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOne__4375( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *); +static uint16_t fmt_format__anon_8858__9576(struct io_Writer__4352); +static nav__9568_40 fmt_bufPrint__anon_8741__9568(nav__9568_39); +static nav__9569_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9569( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct mem_Allocator__599, nav__9569_44); +static uint16_t fmt_format__anon_8951__9579(struct io_Writer__4352); +static nav__9570_40 fmt_bufPrint__anon_8758__9570(nav__9570_39); +static uint16_t fmt_format__anon_9027__9580(struct io_Writer__4352); +static nav__9571_40 fmt_bufPrint__anon_8767__9571(nav__9571_39); +static struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + json_stringify_writeStreamArbitraryDepth__anon_8775__9572( + struct mem_Allocator__599, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct json_stringify_StringifyOptions__8511); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9573( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + struct environment_root_EnvironmentJson__839); +static void +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static void array_list_ArrayListAligned_28u8_2cnull_29_clearAndFree__1441( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *); +static uint16_t fmt_format__anon_9191__9583(struct io_Writer__4352); +static nav__9574_40 fmt_bufPrint__anon_8798__9574(nav__9574_39); +static nav__4669_39 fs_Dir_createFileZ__4669(struct fs_Dir__2113, + uint8_t const *, + struct fs_File_CreateFlags__8531); +static uint16_t fmt_format__anon_9266__9584(struct io_Writer__4352); +static nav__9575_40 fmt_bufPrint__anon_8813__9575(nav__9575_39); +static nav__9512_39 environment_linked_libraries_elf_view_slice__9512( + struct environment_linked_libraries_elf_view__8561, uintptr_t, uintptr_t); +static nav__9513_39 environment_linked_libraries_elf_view_findPhdr__9513( + struct environment_linked_libraries_elf_view__8561, uint32_t); +static nav__9515_38 environment_linked_libraries_elf_view_dynVal__9515( + nav__9515_41, int64_t); +static nav__9517_39 environment_linked_libraries_elf_view_strFromTable__9517( + uint8_t const *, uintptr_t); +static uint16_t +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacity__4371( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *, + uintptr_t); +static struct environment_linked_libraries_root_LibraryInfo__940 * +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOneAssumeCapacity__4376( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *); +static uint16_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4189( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct mem_Allocator__599, uintptr_t); +static nav__9577_38 + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9577( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9577_41); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9578( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + nav__9578_42); +static struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541( + struct mem_Allocator__599, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237, + struct json_stringify_StringifyOptions__8511); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9552( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + uint8_t); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9551( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t fmt_formatBuf__anon_9588__9659( + nav__9659_39, struct fmt_FormatOptions__4759, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t fmt_formatInt__anon_9578__9658( + uint32_t, uint8_t, uint8_t, struct fmt_FormatOptions__4759, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t fmt_formatIntValue__anon_9553__9657( + uint32_t, struct fmt_FormatOptions__4759, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t fmt_formatInt__anon_9605__9661( + uint16_t, uint8_t, uint8_t, struct fmt_FormatOptions__4759, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t fmt_formatIntValue__anon_9601__9660( + uint16_t, struct fmt_FormatOptions__4759, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t json_stringify_outputUnicodeEscape__anon_9537__9656( + uint32_t, struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t json_stringify_outputSpecialEscape__anon_9497__9655( + uint8_t, struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t json_stringify_encodeJsonStringChars__anon_9487__9654( + nav__9654_39, struct json_stringify_StringifyOptions__8511, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t json_stringify_encodeJsonString__anon_9477__9653( + nav__9653_39, struct json_stringify_StringifyOptions__8511, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + nav__9559_41); +static uint16_t +json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29_jsonStringif__9662( + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855, + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9581( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855); +static uint16_t +json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29_jsonStringify__anon_9652__9664( + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860, + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9582( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uintptr_t +array_list_ArrayListAlignedUnmanaged_28environment_linked_libraries_root_LibraryInfo_2cnull_29_growCapacit__9643( + uintptr_t, uintptr_t); +static uint16_t +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacityP__4372( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *, + uintptr_t); +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4319( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *, + struct mem_Allocator__599, uintptr_t); +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4315( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *, + struct mem_Allocator__599, uintptr_t); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4281( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct array_hash_map_IndexHeader__886 *); +static uint32_t + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + nav__9644_40); +static nav__9645_39 + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845); +static bool +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + nav__9646_40, nav__9646_40, uintptr_t); +static nav__9647_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9647( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9647_41, struct array_hash_map_IndexHeader__886 *); +static nav__9648_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9648( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9648_41, struct array_hash_map_IndexHeader__886 *); +static nav__9649_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9649( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9649_41, struct array_hash_map_IndexHeader__886 *); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9650( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + nav__9650_42, struct array_hash_map_IndexHeader__886 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9651( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + nav__9651_42, struct array_hash_map_IndexHeader__886 *); +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9652( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + nav__9652_42, struct array_hash_map_IndexHeader__886 *); +static nav__9554_38 +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *); +static bool +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9555( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *); +static uint16_t io_Writer_writeByte__8279(struct io_Writer__4352, uint8_t); +static uint16_t io_Writer_writeByteNTimes__8280(struct io_Writer__4352, uint8_t, + uintptr_t); +static uint16_t +json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_jsonStringify__anon_9735__9674( + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852, + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9663( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9665( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + struct environment_linked_libraries_root_LibraryEntry__858); +static void +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + uint8_t); +static void +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static nav__9666_40 mem_Allocator_remap__anon_9669__9666( + struct mem_Allocator__599, nav__9666_40, uintptr_t); +static nav__9667_41 mem_Allocator_alignedAlloc__anon_9673__9667( + struct mem_Allocator__599, uintptr_t); +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4317( + uintptr_t, uintptr_t); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9668( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct array_hash_map_IndexHeader__886 *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9669( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct array_hash_map_IndexHeader__886 *); +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9670( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *, + struct array_hash_map_IndexHeader__886 *); +static nav__9671_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9671( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9671_41, struct array_hash_map_IndexHeader__886 *, nav__9671_47); +static nav__9672_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9672( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9672_41, struct array_hash_map_IndexHeader__886 *, nav__9672_47); +static nav__9673_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9673( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928, + nav__9673_41, struct array_hash_map_IndexHeader__886 *, nav__9673_47); +static uint16_t +environment_root_EnvironmentValue_jsonStringify__anon_9815__9680( + struct environment_root_EnvironmentValue__850, struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9675( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + struct environment_root_EnvironmentValue__850); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9564( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + nav__9564_41); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + nav__9676_41); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9677( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + nav__9677_41); +static nav__9678_40 mem_bytesAsSlice__anon_9778__9678(nav__9678_42); +static nav__9679_39 mem_Allocator_allocWithSizeAndAlignment__anon_9779__9679( + struct mem_Allocator__599, uintptr_t, uintptr_t); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9681( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + nav__9681_43); +static bool unicode_utf8ValidateSlice__8315(nav__8315_39); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9682( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *, + uint8_t); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9683( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *); +static bool unicode_utf8ValidateSliceImpl__anon_9842__9684(nav__9684_39); +static uint16_t io_Writer_print__anon_9856__9685(struct io_Writer__4352, + nav__9685_39); +static uint16_t fmt_format__anon_9865__9686(struct io_Writer__4352, + nav__9686_39); +static uint16_t fmt_formatType__anon_9883__9687(uint8_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352, + uintptr_t); +static uint16_t fmt_formatInt__anon_9896__9690(uint8_t, uint8_t, uint8_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint16_t fmt_formatIntValue__anon_9892__9689( + uint8_t, struct fmt_FormatOptions__4759, struct io_Writer__4352); +static uint16_t fmt_formatValue__anon_9888__9688(uint8_t, + struct fmt_FormatOptions__4759, + struct io_Writer__4352); +static uint64_t const builtin_zig_backend__259; static bool const start_simplified_logic__109; -static uint8_t const builtin_output_mode__259; -static uint8_t const builtin_link_mode__260; -static uint64_t features_features__325; -static uintptr_t const bit_set_IntegerBitSet_2864_29_bit_length__356; -static bool const builtin_link_libc__270; -static bool const posix_use_libc__1467; -static struct Target_Os__675 const builtin_os__266; -static uint8_t const c_native_os__1909; -static uint8_t const builtin_mode__269; +static uint8_t const builtin_output_mode__260; +static uint8_t const builtin_link_mode__261; +static uint64_t features_features__326; +static uintptr_t const bit_set_IntegerBitSet_2864_29_bit_length__357; +static bool const builtin_link_libc__271; +static bool const posix_use_libc__1468; +static struct Target_Os__675 const builtin_os__267; +static uint8_t const c_native_os__1910; +static uint8_t const builtin_mode__270; static bool const debug_runtime_safety__159; -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3761; -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4151; -static struct Target_DynamicLinker__982 const Target_DynamicLinker_none__4399; -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3972; -static bool const builtin_is_test__262; -static uint8_t *heap_CAllocator_alloc__4523(void *, uintptr_t, uint8_t, uintptr_t); -static bool heap_CAllocator_resize__4524(void *, nav__4524_40, uint8_t, uintptr_t, uintptr_t); -static uint8_t *heap_CAllocator_remap__4525(void *, nav__4525_40, uint8_t, uintptr_t, uintptr_t); -static void heap_CAllocator_free__4526(void *, nav__4526_40, uint8_t, uintptr_t); -static uint8_t *heap_CAllocator_alignedAlloc__4520(uintptr_t, uint8_t); -static uintptr_t heap_CAllocator_alignedAllocSize__4522(uint8_t *); -static void heap_CAllocator_alignedFree__4521(uint8_t *); -static uintptr_t mem_Alignment_toByteUnits__1107(uint8_t); -static struct mem_Allocator__599 const heap_c_allocator__4488; +static struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3762; +static struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4152; +static struct Target_DynamicLinker__982 const Target_DynamicLinker_none__4400; +static struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3973; +static bool const builtin_is_test__263; +static uint8_t *heap_CAllocator_alloc__4524(void *, uintptr_t, uint8_t, + uintptr_t); +static bool heap_CAllocator_resize__4525(void *, nav__4525_40, uint8_t, + uintptr_t, uintptr_t); +static uint8_t *heap_CAllocator_remap__4526(void *, nav__4526_40, uint8_t, + uintptr_t, uintptr_t); +static void heap_CAllocator_free__4527(void *, nav__4527_40, uint8_t, + uintptr_t); +static uint8_t *heap_CAllocator_alignedAlloc__4521(uintptr_t, uint8_t); +static uintptr_t heap_CAllocator_alignedAllocSize__4523(uint8_t *); +static void heap_CAllocator_alignedFree__4522(uint8_t *); +static uintptr_t mem_Alignment_toByteUnits__1108(uint8_t); +static struct mem_Allocator__599 const heap_c_allocator__4489; static struct mem_Allocator__599 const c_allocator__235; -static struct Target_Cpu_Feature_Set__999 const Target_Cpu_Feature_Set_empty__4444; -static struct Target_Cpu__967 const builtin_cpu__265; -static uint8_t const builtin_abi__264; -static uint8_t const builtin_object_format__268; -static struct Target__673 const builtin_target__267; -static struct builtin_CallingConvention__266 const builtin_CallingConvention_c__466; +static struct Target_Cpu_Feature_Set__999 const + Target_Cpu_Feature_Set_empty__4445; +static struct Target_Cpu__967 const builtin_cpu__266; +static uint8_t const builtin_abi__265; +static uint8_t const builtin_object_format__269; +static struct Target__673 const builtin_target__268; +static struct builtin_CallingConvention__266 const + builtin_CallingConvention_c__467; zig_extern uint8_t running_on_valgrind(void); -static uint8_t const (*const shared_RUNNER_CTL_FIFO__796)[21]; -static uint8_t const (*const shared_RUNNER_ACK_FIFO__797)[21]; -static uint64_t const runner_fifo_PROTOCOL_VERSION__1120; -static uint8_t const mem_native_endian__831; +static uint8_t const (*const shared_RUNNER_CTL_FIFO__797)[21]; +static uint8_t const (*const shared_RUNNER_ACK_FIFO__798)[21]; +static uint64_t const runner_fifo_PROTOCOL_VERSION__1121; +static uint8_t const mem_native_endian__832; zig_extern int fcntl(int, int, ...); -static int const cimport_F_GETFL__6002; -static int const cimport_O_NONBLOCK__5978; -static int const cimport_F_SETFL__6003; -static uint8_t const os_linux_native_arch__2815; -zig_extern int nanosleep(struct cimport_struct_timespec__3333 const *, struct cimport_struct_timespec__3333 *); -static int const cimport_EINTR__7703; +static int const cimport_F_GETFL__6005; +static int const cimport_O_NONBLOCK__5981; +static int const cimport_F_SETFL__6006; +static uint8_t const os_linux_native_arch__2816; +zig_extern int nanosleep(struct cimport_struct_timespec__3349 const *, + struct cimport_struct_timespec__3349 *); +static int const cimport_EINTR__7706; zig_extern zig_noreturn void exit(int); -static uint8_t const fs_path_native_os__5105; -static uint8_t const fs_native_os__1180; -static uint8_t const fs_Dir_native_os__4770; -static bool const fs_File_is_windows__1356; -static uint8_t const posix_native_os__1465; -zig_extern int clock_gettime(uint32_t, struct os_linux_timespec__struct_3262__3262 *); +static uint8_t const fs_path_native_os__5108; +static uint8_t const fs_native_os__1181; +static uint8_t const fs_Dir_native_os__4771; +static bool const fs_File_is_windows__1357; +static uint8_t const posix_native_os__1466; +zig_extern int clock_gettime(uint32_t, + struct os_linux_timespec__struct_3278__3278 *); zig_extern int printf(char const *, ...); -static uint8_t logger_max_level__5081; +static uint8_t logger_max_level__5084; zig_extern int printf(char const *, ...); zig_extern int flock(int32_t, int); -static bool const fs_Dir_have_flock__4771; +static bool const fs_Dir_have_flock__4772; zig_extern intptr_t write(int32_t, uint8_t const *, uintptr_t); -static uint8_t const c_native_abi__1907; -zig_extern int *zig_e___errno_location(void) zig_mangled(zig_e___errno_location, "__errno_location"); -static bool const posix_unexpected_error_tracing__1896; +static uint8_t const c_native_abi__1908; +zig_extern int *zig_e___errno_location(void) + zig_mangled(zig_e___errno_location, "__errno_location"); +static bool const posix_unexpected_error_tracing__1897; zig_extern intptr_t read(int32_t, uint8_t *, uintptr_t); -static uint16_t const fmt_max_format_args__8012; +static uint16_t const fmt_max_format_args__8015; static bool const debug_default_enable_segfault_handler__205; -static uint8_t const log_default_level__8584; -static struct std_Options__4758 const std_options__97; +static uint8_t const log_default_level__8587; +static struct std_Options__4772 const std_options__97; zig_extern int faccessat(int32_t, uint8_t const *, unsigned int, unsigned int); -static bool const posix_lfs64_abi__1895; +static bool const posix_lfs64_abi__1896; zig_extern int openat64(int, uint8_t const *, uint32_t, ...); zig_extern int close(int32_t); -static uint8_t const (*const fmt_ANY__8015)[4]; -static uint8_t const unicode_native_endian__8292; -static uint32_t const unicode_replacement_character__8293; +static uint8_t const (*const fmt_ANY__8018)[4]; +static uint8_t const unicode_native_endian__8295; +static uint32_t const unicode_replacement_character__8296; zig_extern void callgrind_zero_stats(void); zig_extern void callgrind_start_instrumentation(void); zig_extern void callgrind_stop_instrumentation(void); zig_extern void callgrind_dump_stats_at(uint8_t const *); -static bool const mem_backend_supports_vectors__859; -static bool const builtin_valgrind_support__273; -static nav__4504_38 const heap_page_size_min_default__4504; -static uintptr_t const heap_page_size_min__4483; -static uint8_t const c_MARKER_TYPE_SAMPLE_START__245; -static uint8_t const c_MARKER_TYPE_SAMPLE_END__246; -static uint8_t const c_MARKER_TYPE_BENCHMARK_START__247; -static uint8_t const c_MARKER_TYPE_BENCHMARK_END__248; -static uint32_t const array_hash_map_index_capacities__3735[33]; -static uint8_t const array_hash_map_Index_28u8_29_empty_sentinel__8818; -static uint16_t const array_hash_map_Index_28u16_29_empty_sentinel__8823; -static uint32_t const array_hash_map_Index_28u32_29_empty_sentinel__8828; -static uint64_t const hash_wyhash_Wyhash_secret__8991[4]; -static bool const builtin_fuzz__275; -static bool const mem_eqlBytes_allowed__849; -zig_extern int dl_iterate_phdr(int (*)(struct os_linux_dl_phdr_info__8376 *, uintptr_t, void *), void *); +static bool const mem_backend_supports_vectors__860; +static bool const builtin_valgrind_support__274; +static nav__4505_38 const heap_page_size_min_default__4505; +static uintptr_t const heap_page_size_min__4484; +static uint8_t const c_MARKER_TYPE_SAMPLE_START__246; +static uint8_t const c_MARKER_TYPE_SAMPLE_END__247; +static uint8_t const c_MARKER_TYPE_BENCHMARK_START__248; +static uint8_t const c_MARKER_TYPE_BENCHMARK_END__249; +static uint32_t const array_hash_map_index_capacities__3736[33]; +static uint8_t const array_hash_map_Index_28u8_29_empty_sentinel__8823; +static uint16_t const array_hash_map_Index_28u16_29_empty_sentinel__8828; +static uint32_t const array_hash_map_Index_28u32_29_empty_sentinel__8833; +static uint64_t const hash_wyhash_Wyhash_secret__8996[4]; +static bool const builtin_fuzz__276; +static bool const mem_eqlBytes_allowed__850; +zig_extern int dl_iterate_phdr(int (*)(struct os_linux_dl_phdr_info__8403 *, + uintptr_t, void *), + void *); zig_extern uint8_t const *getenv(uint8_t const *); -static struct array_hash_map_Index_28u8_29__7097 const array_hash_map_Index_28u8_29_empty__8819; -static struct array_hash_map_Index_28u16_29__7101 const array_hash_map_Index_28u16_29_empty__8824; -static struct array_hash_map_Index_28u32_29__7105 const array_hash_map_Index_28u32_29_empty__8829; -static bool const json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9532; -static struct json_stringify_WriteStream__union_8633__8633 const json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9533; -static uint8_t const environment_linked_libraries_elf_view_native_endian__9503; -static struct mem_Allocator_VTable__602 const heap_CAllocator_vtable__4515; +static struct array_hash_map_Index_28u8_29__7119 const + array_hash_map_Index_28u8_29_empty__8824; +static struct array_hash_map_Index_28u16_29__7123 const + array_hash_map_Index_28u16_29_empty__8829; +static struct array_hash_map_Index_28u32_29__7127 const + array_hash_map_Index_28u32_29_empty__8834; +static bool const + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9537; +static struct json_stringify_WriteStream__union_8660__8660 const + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9538; +static uint8_t const environment_linked_libraries_elf_view_native_endian__9508; +static struct mem_Allocator_VTable__602 const heap_CAllocator_vtable__4516; zig_extern uintptr_t malloc_usable_size(void const *); -static bool const heap_CAllocator_supports_malloc_size__4516; -static bool const heap_CAllocator_supports_posix_memalign__4518; +static bool const heap_CAllocator_supports_malloc_size__4517; +static bool const heap_CAllocator_supports_posix_memalign__4519; zig_extern int posix_memalign(void **, uintptr_t, uintptr_t); zig_extern void free(void *); -static struct Target_Cpu_Model__994 const Target_x86_cpu_tigerlake__4630; +static struct Target_Cpu_Model__994 const Target_x86_cpu_tigerlake__4631; enum { - zig_error_ModeError = 1u, - zig_error_OutOfMemory = 2u, - zig_error_NotInstrumented = 3u, - zig_error_PermissionDenied = 4u, - zig_error_FileNotFound = 5u, - zig_error_NameTooLong = 6u, - zig_error_InputOutput = 7u, - zig_error_SystemResources = 8u, - zig_error_BadPathName = 9u, - zig_error_FileBusy = 10u, - zig_error_SymLinkLoop = 11u, - zig_error_ReadOnlyFileSystem = 12u, - zig_error_InvalidUtf8 = 13u, - zig_error_InvalidWtf8 = 14u, - zig_error_Unexpected = 15u, - zig_error_SharingViolation = 16u, - zig_error_PathAlreadyExists = 17u, - zig_error_AccessDenied = 18u, - zig_error_PipeBusy = 19u, - zig_error_NoDevice = 20u, - zig_error_NetworkNotFound = 21u, - zig_error_AntivirusInterference = 22u, - zig_error_ProcessFdQuotaExceeded = 23u, - zig_error_SystemFdQuotaExceeded = 24u, - zig_error_FileTooBig = 25u, - zig_error_IsDir = 26u, - zig_error_NoSpaceLeft = 27u, - zig_error_NotDir = 28u, - zig_error_DeviceBusy = 29u, - zig_error_FileLocksNotSupported = 30u, - zig_error_WouldBlock = 31u, - zig_error_DiskQuota = 32u, - zig_error_InvalidArgument = 33u, - zig_error_BrokenPipe = 34u, - zig_error_OperationAborted = 35u, - zig_error_NotOpenForWriting = 36u, - zig_error_LockViolation = 37u, - zig_error_ConnectionResetByPeer = 38u, - zig_error_ProcessNotFound = 39u, - zig_error_AckTimeout = 40u, - zig_error_ConnectionTimedOut = 41u, - zig_error_NotOpenForReading = 42u, - zig_error_SocketNotConnected = 43u, - zig_error_Canceled = 44u, - zig_error_NotReady = 45u, - zig_error_UnexpectedEof = 46u, - zig_error_EndOfStream = 47u, - zig_error_UnexpectedError = 48u, - zig_error_UnexpectedResponse = 49u, - zig_error_UnsupportedClock = 50u, - zig_error_Overflow = 51u, - zig_error_Utf8ExpectedContinuation = 52u, - zig_error_Utf8OverlongEncoding = 53u, - zig_error_Utf8EncodesSurrogateHalf = 54u, - zig_error_Utf8CodepointTooLarge = 55u, - zig_error_Utf8InvalidStartByte = 56u, - zig_error_TruncatedInput = 57u, - zig_error_Utf8CannotEncodeSurrogateHalf = 58u, - zig_error_CodepointTooLarge = 59u, - zig_error_DlIteratePhdrFailed = 60u, + zig_error_ModeError = 1u, + zig_error_OutOfMemory = 2u, + zig_error_NotInstrumented = 3u, + zig_error_PermissionDenied = 4u, + zig_error_FileNotFound = 5u, + zig_error_NameTooLong = 6u, + zig_error_InputOutput = 7u, + zig_error_SystemResources = 8u, + zig_error_BadPathName = 9u, + zig_error_FileBusy = 10u, + zig_error_SymLinkLoop = 11u, + zig_error_ReadOnlyFileSystem = 12u, + zig_error_InvalidUtf8 = 13u, + zig_error_InvalidWtf8 = 14u, + zig_error_Unexpected = 15u, + zig_error_SharingViolation = 16u, + zig_error_PathAlreadyExists = 17u, + zig_error_AccessDenied = 18u, + zig_error_PipeBusy = 19u, + zig_error_NoDevice = 20u, + zig_error_NetworkNotFound = 21u, + zig_error_AntivirusInterference = 22u, + zig_error_ProcessFdQuotaExceeded = 23u, + zig_error_SystemFdQuotaExceeded = 24u, + zig_error_FileTooBig = 25u, + zig_error_IsDir = 26u, + zig_error_NoSpaceLeft = 27u, + zig_error_NotDir = 28u, + zig_error_DeviceBusy = 29u, + zig_error_FileLocksNotSupported = 30u, + zig_error_WouldBlock = 31u, + zig_error_DiskQuota = 32u, + zig_error_InvalidArgument = 33u, + zig_error_BrokenPipe = 34u, + zig_error_OperationAborted = 35u, + zig_error_NotOpenForWriting = 36u, + zig_error_LockViolation = 37u, + zig_error_ConnectionResetByPeer = 38u, + zig_error_ProcessNotFound = 39u, + zig_error_AckTimeout = 40u, + zig_error_ConnectionTimedOut = 41u, + zig_error_NotOpenForReading = 42u, + zig_error_SocketNotConnected = 43u, + zig_error_Canceled = 44u, + zig_error_NotReady = 45u, + zig_error_UnexpectedEof = 46u, + zig_error_EndOfStream = 47u, + zig_error_UnexpectedError = 48u, + zig_error_UnexpectedResponse = 49u, + zig_error_UnsupportedClock = 50u, + zig_error_Overflow = 51u, + zig_error_Utf8ExpectedContinuation = 52u, + zig_error_Utf8OverlongEncoding = 53u, + zig_error_Utf8EncodesSurrogateHalf = 54u, + zig_error_Utf8CodepointTooLarge = 55u, + zig_error_Utf8InvalidStartByte = 56u, + zig_error_TruncatedInput = 57u, + zig_error_Utf8CannotEncodeSurrogateHalf = 58u, + zig_error_CodepointTooLarge = 59u, + zig_error_DlIteratePhdrFailed = 60u, }; static uint8_t const zig_errorName_ModeError[10] = "ModeError"; static uint8_t const zig_errorName_OutOfMemory[12] = "OutOfMemory"; @@ -2883,7 +4180,8 @@ static uint8_t const zig_errorName_SystemResources[16] = "SystemResources"; static uint8_t const zig_errorName_BadPathName[12] = "BadPathName"; static uint8_t const zig_errorName_FileBusy[9] = "FileBusy"; static uint8_t const zig_errorName_SymLinkLoop[12] = "SymLinkLoop"; -static uint8_t const zig_errorName_ReadOnlyFileSystem[19] = "ReadOnlyFileSystem"; +static uint8_t const zig_errorName_ReadOnlyFileSystem[19] = + "ReadOnlyFileSystem"; static uint8_t const zig_errorName_InvalidUtf8[12] = "InvalidUtf8"; static uint8_t const zig_errorName_InvalidWtf8[12] = "InvalidWtf8"; static uint8_t const zig_errorName_Unexpected[11] = "Unexpected"; @@ -2893,15 +4191,19 @@ static uint8_t const zig_errorName_AccessDenied[13] = "AccessDenied"; static uint8_t const zig_errorName_PipeBusy[9] = "PipeBusy"; static uint8_t const zig_errorName_NoDevice[9] = "NoDevice"; static uint8_t const zig_errorName_NetworkNotFound[16] = "NetworkNotFound"; -static uint8_t const zig_errorName_AntivirusInterference[22] = "AntivirusInterference"; -static uint8_t const zig_errorName_ProcessFdQuotaExceeded[23] = "ProcessFdQuotaExceeded"; -static uint8_t const zig_errorName_SystemFdQuotaExceeded[22] = "SystemFdQuotaExceeded"; +static uint8_t const zig_errorName_AntivirusInterference[22] = + "AntivirusInterference"; +static uint8_t const zig_errorName_ProcessFdQuotaExceeded[23] = + "ProcessFdQuotaExceeded"; +static uint8_t const zig_errorName_SystemFdQuotaExceeded[22] = + "SystemFdQuotaExceeded"; static uint8_t const zig_errorName_FileTooBig[11] = "FileTooBig"; static uint8_t const zig_errorName_IsDir[6] = "IsDir"; static uint8_t const zig_errorName_NoSpaceLeft[12] = "NoSpaceLeft"; static uint8_t const zig_errorName_NotDir[7] = "NotDir"; static uint8_t const zig_errorName_DeviceBusy[11] = "DeviceBusy"; -static uint8_t const zig_errorName_FileLocksNotSupported[22] = "FileLocksNotSupported"; +static uint8_t const zig_errorName_FileLocksNotSupported[22] = + "FileLocksNotSupported"; static uint8_t const zig_errorName_WouldBlock[11] = "WouldBlock"; static uint8_t const zig_errorName_DiskQuota[10] = "DiskQuota"; static uint8_t const zig_errorName_InvalidArgument[16] = "InvalidArgument"; @@ -2909,69 +4211,149 @@ static uint8_t const zig_errorName_BrokenPipe[11] = "BrokenPipe"; static uint8_t const zig_errorName_OperationAborted[17] = "OperationAborted"; static uint8_t const zig_errorName_NotOpenForWriting[18] = "NotOpenForWriting"; static uint8_t const zig_errorName_LockViolation[14] = "LockViolation"; -static uint8_t const zig_errorName_ConnectionResetByPeer[22] = "ConnectionResetByPeer"; +static uint8_t const zig_errorName_ConnectionResetByPeer[22] = + "ConnectionResetByPeer"; static uint8_t const zig_errorName_ProcessNotFound[16] = "ProcessNotFound"; static uint8_t const zig_errorName_AckTimeout[11] = "AckTimeout"; -static uint8_t const zig_errorName_ConnectionTimedOut[19] = "ConnectionTimedOut"; +static uint8_t const zig_errorName_ConnectionTimedOut[19] = + "ConnectionTimedOut"; static uint8_t const zig_errorName_NotOpenForReading[18] = "NotOpenForReading"; -static uint8_t const zig_errorName_SocketNotConnected[19] = "SocketNotConnected"; +static uint8_t const zig_errorName_SocketNotConnected[19] = + "SocketNotConnected"; static uint8_t const zig_errorName_Canceled[9] = "Canceled"; static uint8_t const zig_errorName_NotReady[9] = "NotReady"; static uint8_t const zig_errorName_UnexpectedEof[14] = "UnexpectedEof"; static uint8_t const zig_errorName_EndOfStream[12] = "EndOfStream"; static uint8_t const zig_errorName_UnexpectedError[16] = "UnexpectedError"; -static uint8_t const zig_errorName_UnexpectedResponse[19] = "UnexpectedResponse"; +static uint8_t const zig_errorName_UnexpectedResponse[19] = + "UnexpectedResponse"; static uint8_t const zig_errorName_UnsupportedClock[17] = "UnsupportedClock"; static uint8_t const zig_errorName_Overflow[9] = "Overflow"; -static uint8_t const zig_errorName_Utf8ExpectedContinuation[25] = "Utf8ExpectedContinuation"; -static uint8_t const zig_errorName_Utf8OverlongEncoding[21] = "Utf8OverlongEncoding"; -static uint8_t const zig_errorName_Utf8EncodesSurrogateHalf[25] = "Utf8EncodesSurrogateHalf"; -static uint8_t const zig_errorName_Utf8CodepointTooLarge[22] = "Utf8CodepointTooLarge"; -static uint8_t const zig_errorName_Utf8InvalidStartByte[21] = "Utf8InvalidStartByte"; +static uint8_t const zig_errorName_Utf8ExpectedContinuation[25] = + "Utf8ExpectedContinuation"; +static uint8_t const zig_errorName_Utf8OverlongEncoding[21] = + "Utf8OverlongEncoding"; +static uint8_t const zig_errorName_Utf8EncodesSurrogateHalf[25] = + "Utf8EncodesSurrogateHalf"; +static uint8_t const zig_errorName_Utf8CodepointTooLarge[22] = + "Utf8CodepointTooLarge"; +static uint8_t const zig_errorName_Utf8InvalidStartByte[21] = + "Utf8InvalidStartByte"; static uint8_t const zig_errorName_TruncatedInput[15] = "TruncatedInput"; -static uint8_t const zig_errorName_Utf8CannotEncodeSurrogateHalf[30] = "Utf8CannotEncodeSurrogateHalf"; +static uint8_t const zig_errorName_Utf8CannotEncodeSurrogateHalf[30] = + "Utf8CannotEncodeSurrogateHalf"; static uint8_t const zig_errorName_CodepointTooLarge[18] = "CodepointTooLarge"; -static uint8_t const zig_errorName_DlIteratePhdrFailed[20] = "DlIteratePhdrFailed"; -static struct anon__lazy_58 const zig_errorName[61] = {{zig_errorName_ModeError, 9ul}, {zig_errorName_OutOfMemory, 11ul}, {zig_errorName_NotInstrumented, 15ul}, {zig_errorName_PermissionDenied, 16ul}, {zig_errorName_FileNotFound, 12ul}, {zig_errorName_NameTooLong, 11ul}, {zig_errorName_InputOutput, 11ul}, {zig_errorName_SystemResources, 15ul}, {zig_errorName_BadPathName, 11ul}, {zig_errorName_FileBusy, 8ul}, {zig_errorName_SymLinkLoop, 11ul}, {zig_errorName_ReadOnlyFileSystem, 18ul}, {zig_errorName_InvalidUtf8, 11ul}, {zig_errorName_InvalidWtf8, 11ul}, {zig_errorName_Unexpected, 10ul}, {zig_errorName_SharingViolation, 16ul}, {zig_errorName_PathAlreadyExists, 17ul}, {zig_errorName_AccessDenied, 12ul}, {zig_errorName_PipeBusy, 8ul}, {zig_errorName_NoDevice, 8ul}, {zig_errorName_NetworkNotFound, 15ul}, {zig_errorName_AntivirusInterference, 21ul}, {zig_errorName_ProcessFdQuotaExceeded, 22ul}, {zig_errorName_SystemFdQuotaExceeded, 21ul}, {zig_errorName_FileTooBig, 10ul}, {zig_errorName_IsDir, 5ul}, {zig_errorName_NoSpaceLeft, 11ul}, {zig_errorName_NotDir, 6ul}, {zig_errorName_DeviceBusy, 10ul}, {zig_errorName_FileLocksNotSupported, 21ul}, {zig_errorName_WouldBlock, 10ul}, {zig_errorName_DiskQuota, 9ul}, {zig_errorName_InvalidArgument, 15ul}, {zig_errorName_BrokenPipe, 10ul}, {zig_errorName_OperationAborted, 16ul}, {zig_errorName_NotOpenForWriting, 17ul}, {zig_errorName_LockViolation, 13ul}, {zig_errorName_ConnectionResetByPeer, 21ul}, {zig_errorName_ProcessNotFound, 15ul}, {zig_errorName_AckTimeout, 10ul}, {zig_errorName_ConnectionTimedOut, 18ul}, {zig_errorName_NotOpenForReading, 17ul}, {zig_errorName_SocketNotConnected, 18ul}, {zig_errorName_Canceled, 8ul}, {zig_errorName_NotReady, 8ul}, {zig_errorName_UnexpectedEof, 13ul}, {zig_errorName_EndOfStream, 11ul}, {zig_errorName_UnexpectedError, 15ul}, {zig_errorName_UnexpectedResponse, 18ul}, {zig_errorName_UnsupportedClock, 16ul}, {zig_errorName_Overflow, 8ul}, {zig_errorName_Utf8ExpectedContinuation, 24ul}, {zig_errorName_Utf8OverlongEncoding, 20ul}, {zig_errorName_Utf8EncodesSurrogateHalf, 24ul}, {zig_errorName_Utf8CodepointTooLarge, 21ul}, {zig_errorName_Utf8InvalidStartByte, 20ul}, {zig_errorName_TruncatedInput, 14ul}, {zig_errorName_Utf8CannotEncodeSurrogateHalf, 29ul}, {zig_errorName_CodepointTooLarge, 17ul}, {zig_errorName_DlIteratePhdrFailed, 19ul}}; -static struct anon__lazy_58 zig_tag_name_shared_IntegrationMode__573(uint8_t const tag) { - switch (tag) { - case UINT8_C(0): { - static uint8_t const name[5] = "Perf"; - return (struct anon__lazy_58){name, (uintptr_t)4ul}; - } - case UINT8_C(1): { - static uint8_t const name[11] = "Simulation"; - return (struct anon__lazy_58){name, (uintptr_t)10ul}; - } - case UINT8_C(2): { - static uint8_t const name[9] = "Analysis"; - return (struct anon__lazy_58){name, (uintptr_t)8ul}; +static uint8_t const zig_errorName_DlIteratePhdrFailed[20] = + "DlIteratePhdrFailed"; +static struct anon__lazy_58 const zig_errorName[61] = { + {zig_errorName_ModeError, 9ul}, + {zig_errorName_OutOfMemory, 11ul}, + {zig_errorName_NotInstrumented, 15ul}, + {zig_errorName_PermissionDenied, 16ul}, + {zig_errorName_FileNotFound, 12ul}, + {zig_errorName_NameTooLong, 11ul}, + {zig_errorName_InputOutput, 11ul}, + {zig_errorName_SystemResources, 15ul}, + {zig_errorName_BadPathName, 11ul}, + {zig_errorName_FileBusy, 8ul}, + {zig_errorName_SymLinkLoop, 11ul}, + {zig_errorName_ReadOnlyFileSystem, 18ul}, + {zig_errorName_InvalidUtf8, 11ul}, + {zig_errorName_InvalidWtf8, 11ul}, + {zig_errorName_Unexpected, 10ul}, + {zig_errorName_SharingViolation, 16ul}, + {zig_errorName_PathAlreadyExists, 17ul}, + {zig_errorName_AccessDenied, 12ul}, + {zig_errorName_PipeBusy, 8ul}, + {zig_errorName_NoDevice, 8ul}, + {zig_errorName_NetworkNotFound, 15ul}, + {zig_errorName_AntivirusInterference, 21ul}, + {zig_errorName_ProcessFdQuotaExceeded, 22ul}, + {zig_errorName_SystemFdQuotaExceeded, 21ul}, + {zig_errorName_FileTooBig, 10ul}, + {zig_errorName_IsDir, 5ul}, + {zig_errorName_NoSpaceLeft, 11ul}, + {zig_errorName_NotDir, 6ul}, + {zig_errorName_DeviceBusy, 10ul}, + {zig_errorName_FileLocksNotSupported, 21ul}, + {zig_errorName_WouldBlock, 10ul}, + {zig_errorName_DiskQuota, 9ul}, + {zig_errorName_InvalidArgument, 15ul}, + {zig_errorName_BrokenPipe, 10ul}, + {zig_errorName_OperationAborted, 16ul}, + {zig_errorName_NotOpenForWriting, 17ul}, + {zig_errorName_LockViolation, 13ul}, + {zig_errorName_ConnectionResetByPeer, 21ul}, + {zig_errorName_ProcessNotFound, 15ul}, + {zig_errorName_AckTimeout, 10ul}, + {zig_errorName_ConnectionTimedOut, 18ul}, + {zig_errorName_NotOpenForReading, 17ul}, + {zig_errorName_SocketNotConnected, 18ul}, + {zig_errorName_Canceled, 8ul}, + {zig_errorName_NotReady, 8ul}, + {zig_errorName_UnexpectedEof, 13ul}, + {zig_errorName_EndOfStream, 11ul}, + {zig_errorName_UnexpectedError, 15ul}, + {zig_errorName_UnexpectedResponse, 18ul}, + {zig_errorName_UnsupportedClock, 16ul}, + {zig_errorName_Overflow, 8ul}, + {zig_errorName_Utf8ExpectedContinuation, 24ul}, + {zig_errorName_Utf8OverlongEncoding, 20ul}, + {zig_errorName_Utf8EncodesSurrogateHalf, 24ul}, + {zig_errorName_Utf8CodepointTooLarge, 21ul}, + {zig_errorName_Utf8InvalidStartByte, 20ul}, + {zig_errorName_TruncatedInput, 14ul}, + {zig_errorName_Utf8CannotEncodeSurrogateHalf, 29ul}, + {zig_errorName_CodepointTooLarge, 17ul}, + {zig_errorName_DlIteratePhdrFailed, 19ul}}; +static struct anon__lazy_58 zig_tag_name_shared_IntegrationMode__573( + uint8_t const tag) { + switch (tag) { + case UINT8_C(0): { + static uint8_t const name[5] = "Perf"; + return (struct anon__lazy_58){name, (uintptr_t)4ul}; + } + case UINT8_C(1): { + static uint8_t const name[11] = "Simulation"; + return (struct anon__lazy_58){name, (uintptr_t)10ul}; + } + case UINT8_C(2): { + static uint8_t const name[9] = "Analysis"; + return (struct anon__lazy_58){name, (uintptr_t)8ul}; + } } - } - while (true) zig_breakpoint(); + while (true) zig_breakpoint(); } static uint8_t const __anon_2098[21] = "/tmp/runner.ctl.fifo"; static uint8_t const __anon_2169[21] = "/tmp/runner.ack.fifo"; -static char const __anon_3850[33] = {73,110,118,97,108,105,100,32,112,114,111,116,111,99,111,108,32,100,101,116,101,99,116,101,100,58,32,37,46,42,115,10,0}; +static char const __anon_3864[33] = {73, 110, 118, 97, 108, 105, 100, 32, 112, + 114, 111, 116, 111, 99, 111, 108, 32, 100, + 101, 116, 101, 99, 116, 101, 100, 58, 32, + 37, 46, 42, 115, 10, 0}; -static uint8_t const __anon_2715[62] = "The stream end was found before all required bytes were read."; +static uint8_t const __anon_2731[62] = + "The stream end was found before all required bytes were read."; -static uint8_t const __anon_3939[34] = "[ERROR] logger formatting failed\n"; +static uint8_t const __anon_3953[34] = "[ERROR] logger formatting failed\n"; -static uint8_t const __anon_4446[49] = "[DEBUG] waitForAck received unexpected response: "; +static uint8_t const __anon_4460[49] = + "[DEBUG] waitForAck received unexpected response: "; -static uint8_t const __anon_4827[1] = "\n"; +static uint8_t const __anon_4841[1] = "\n"; -static uint8_t const __anon_4929[68] = "[ERROR] instrument-hooks: CodSpeed runner rejected protocol version "; +static uint8_t const __anon_4943[68] = + "[ERROR] instrument-hooks: CodSpeed runner rejected protocol version "; -static uint8_t const __anon_5042[82] = "[ERROR] instrument-hooks: please update the CodSpeed action to the latest version\n"; +static uint8_t const __anon_5056[82] = + "[ERROR] instrument-hooks: please update the CodSpeed action to the latest " + "version\n"; -static uint8_t const __anon_5096[32] = "[ERROR] instrument-hooks: error "; +static uint8_t const __anon_5110[32] = "[ERROR] instrument-hooks: error "; -static uint8_t const __anon_5206[22] = " during version check\n"; +static uint8_t const __anon_5220[22] = " during version check\n"; static uint8_t const __anon_2438[15] = "StartBenchmark"; @@ -2985,27964 +4367,35763 @@ static uint8_t const __anon_2461[4] = "Err"; static uint8_t const __anon_2476[19] = "GetIntegrationMode"; -static uint8_t const __anon_5542[8] = "{ ... }"; +static uint8_t const __anon_5558[8] = "{ ... }"; -static uint8_t const __anon_5719[3] = "\357\277\275"; +static uint8_t const __anon_5736[3] = "\357\277\275"; -static uint8_t const __anon_5791[25] = "ExecutedBenchmark { pid: "; +static uint8_t const __anon_5810[25] = "ExecutedBenchmark { pid: "; -static uint8_t const __anon_5854[7] = ", uri: "; +static uint8_t const __anon_5873[7] = ", uri: "; -static uint8_t const __anon_5879[2] = " }"; +static uint8_t const __anon_5898[2] = " }"; -static uint8_t const __anon_5932[23] = "SetIntegration { name: "; +static uint8_t const __anon_5951[23] = "SetIntegration { name: "; -static uint8_t const __anon_5957[11] = ", version: "; +static uint8_t const __anon_5976[11] = ", version: "; -static uint8_t const __anon_6013[17] = "AddMarker { pid: "; +static uint8_t const __anon_6032[17] = "AddMarker { pid: "; -static uint8_t const __anon_6035[10] = ", marker: "; +static uint8_t const __anon_6054[10] = ", marker: "; -static uint8_t const __anon_6105[31] = "SetVersion { protocol_version: "; +static uint8_t const __anon_6124[31] = "SetVersion { protocol_version: "; -static uint8_t const __anon_6160[24] = "IntegrationModeResponse "; +static uint8_t const __anon_6179[24] = "IntegrationModeResponse "; -static uint8_t const __anon_6275[23] = "shared.IntegrationMode"; +static uint8_t const __anon_6295[23] = "shared.IntegrationMode"; -static uint8_t const __anon_6280[2] = "."; +static uint8_t const __anon_6300[2] = "."; -static uint8_t const __anon_6371[12] = "SampleStart("; +static uint8_t const __anon_6393[12] = "SampleStart("; -static uint8_t const __anon_6381[1] = ")"; +static uint8_t const __anon_6403[1] = ")"; -static uint8_t const __anon_6400[10] = "SampleEnd("; +static uint8_t const __anon_6422[10] = "SampleEnd("; -static uint8_t const __anon_6432[15] = "BenchmarkStart("; +static uint8_t const __anon_6454[15] = "BenchmarkStart("; -static uint8_t const __anon_6460[13] = "BenchmarkEnd("; +static uint8_t const __anon_6482[13] = "BenchmarkEnd("; -static uint8_t const __anon_7602[10] = "Metadata: "; +static uint8_t const __anon_7628[10] = "Metadata: "; -static uint8_t const __anon_7617[1] = " "; +static uint8_t const __anon_7643[1] = " "; -static uint8_t const __anon_7630[1] = "\000"; +static uint8_t const __anon_7656[1] = "\000"; -static uint8_t const __anon_8454[24] = "CODSPEED_PROFILE_FOLDER"; +static uint8_t const __anon_8481[24] = "CODSPEED_PROFILE_FOLDER"; -static uint8_t const __anon_8528[11] = "linux-vdso"; +static uint8_t const __anon_8555[11] = "linux-vdso"; -static uint8_t const __anon_8605[13] = "/environment-"; +static uint8_t const __anon_8632[13] = "/environment-"; -static uint8_t const __anon_8622[5] = ".json"; +static uint8_t const __anon_8649[5] = ".json"; -static uint8_t const __anon_8795[5] = "GNU\000"; +static uint8_t const __anon_8822[5] = "GNU\000"; -static uint8_t const __anon_8799[17] = "0123456789abcdef"; +static uint8_t const __anon_8826[17] = "0123456789abcdef"; -static uint8_t const __anon_8900[61] = "[ERROR] instrument-hooks: failed to collect linked libraries\n"; +static uint8_t const __anon_8927[61] = + "[ERROR] instrument-hooks: failed to collect linked libraries\n"; -static uint8_t const __anon_8994[62] = "[ERROR] instrument-hooks: failed to populate linked libraries\n"; +static uint8_t const __anon_9021[62] = + "[ERROR] instrument-hooks: failed to populate linked libraries\n"; -static uint8_t const __anon_9061[55] = "[ERROR] instrument-hooks: profile folder path too long\n"; +static uint8_t const __anon_9088[55] = + "[ERROR] instrument-hooks: profile folder path too long\n"; -static uint8_t const __anon_9074[24] = "integration_environment"; +static uint8_t const __anon_9101[24] = "integration_environment"; -static uint8_t const __anon_9082[17] = "linked_libraries"; +static uint8_t const __anon_9109[17] = "linked_libraries"; -static uint8_t const __anon_9233[63] = "[ERROR] instrument-hooks: failed to serialize environment JSON\n"; +static uint8_t const __anon_9260[63] = + "[ERROR] instrument-hooks: failed to serialize environment JSON\n"; -static uint8_t const __anon_9306[59] = "[ERROR] instrument-hooks: failed to write environment.json\n"; +static uint8_t const __anon_9333[59] = + "[ERROR] instrument-hooks: failed to write environment.json\n"; -static uint8_t const __anon_9516[3] = "\\u"; +static uint8_t const __anon_9543[3] = "\\u"; -static uint8_t const __anon_9475[3] = "\\\\"; +static uint8_t const __anon_9502[3] = "\\\\"; -static uint8_t const __anon_9480[3] = "\\\""; +static uint8_t const __anon_9507[3] = "\\\""; -static uint8_t const __anon_9484[3] = "\\b"; +static uint8_t const __anon_9511[3] = "\\b"; -static uint8_t const __anon_9488[3] = "\\f"; +static uint8_t const __anon_9515[3] = "\\f"; -static uint8_t const __anon_9492[3] = "\\n"; +static uint8_t const __anon_9519[3] = "\\n"; -static uint8_t const __anon_9496[3] = "\\r"; +static uint8_t const __anon_9523[3] = "\\r"; -static uint8_t const __anon_9500[3] = "\\t"; +static uint8_t const __anon_9527[3] = "\\t"; -static uint8_t const __anon_9716[5] = "path"; +static uint8_t const __anon_9743[5] = "path"; -static uint8_t const __anon_9720[9] = "build_id"; +static uint8_t const __anon_9747[9] = "build_id"; -static uint8_t const __anon_9833[5] = "null"; +static uint8_t const __anon_9860[5] = "null"; -static uint8_t const __anon_5396[4] = "any"; +static uint8_t const __anon_5412[4] = "any"; -static uint8_t const __anon_9930[10] = "tigerlake"; +static uint8_t const __anon_9957[10] = "tigerlake"; -void c_instrument_hooks_set_feature__236(uint64_t const a0, bool const a1) { - uint64_t t0; - t0 = a0; - features_set_feature__326(t0, a1); - return; +void c_instrument_hooks_set_feature__237(uint64_t const a0, bool const a1) { + uint64_t t0; + t0 = a0; + features_set_feature__327(t0, a1); + return; } -static void features_set_feature__326(uint64_t const a0, bool const a1) { - uint64_t t0; - uintptr_t t1; - if (a1) { +static void features_set_feature__327(uint64_t const a0, bool const a1) { + uint64_t t0; + uintptr_t t1; + if (a1) { + t0 = a0; + t1 = t0; + bit_set_IntegerBitSet_2864_29_set__366(&features_features__326, t1); + goto zig_block_0; + } t0 = a0; t1 = t0; - bit_set_IntegerBitSet_2864_29_set__365(&features_features__325, t1); + bit_set_IntegerBitSet_2864_29_unset__368(&features_features__326, t1); goto zig_block_0; - } - t0 = a0; - t1 = t0; - bit_set_IntegerBitSet_2864_29_unset__367(&features_features__325, t1); - goto zig_block_0; - - zig_block_0:; - return; -} - -static void bit_set_IntegerBitSet_2864_29_set__365(uint64_t *const a0, uintptr_t const a1) { - uint64_t *const *t1; - uint64_t t2; - uint64_t t5; - uint64_t *t4; - uint64_t *t0; - bool t3; - t0 = a0; - t1 = (uint64_t *const *)&t0; - t2 = a1; - t3 = t2 < UINT64_C(64); - debug_assert__180(t3); - t4 = (*t1); - t4 = (uint64_t *)((uint8_t *)t4 + (uintptr_t)0ul); - t2 = (*t4); - t5 = bit_set_IntegerBitSet_2864_29_maskBit__386(a1); - t5 = t2 | t5; - (*t4) = t5; - return; -} - -static void bit_set_IntegerBitSet_2864_29_unset__367(uint64_t *const a0, uintptr_t const a1) { - uint64_t *const *t1; - uint64_t t2; - uint64_t t5; - uint64_t *t4; - uint64_t *t0; - bool t3; - t0 = a0; - t1 = (uint64_t *const *)&t0; - t2 = a1; - t3 = t2 < UINT64_C(64); - debug_assert__180(t3); - t4 = (*t1); - t4 = (uint64_t *)((uint8_t *)t4 + (uintptr_t)0ul); - t2 = (*t4); - t5 = bit_set_IntegerBitSet_2864_29_maskBit__386(a1); - t5 = zig_not_u64(t5, UINT8_C(64)); - t5 = t2 & t5; - (*t4) = t5; - return; + +zig_block_0:; + return; +} + +static void bit_set_IntegerBitSet_2864_29_set__366(uint64_t *const a0, + uintptr_t const a1) { + uint64_t *const *t1; + uint64_t t2; + uint64_t t5; + uint64_t *t4; + uint64_t *t0; + bool t3; + t0 = a0; + t1 = (uint64_t *const *)&t0; + t2 = a1; + t3 = t2 < UINT64_C(64); + debug_assert__180(t3); + t4 = (*t1); + t4 = (uint64_t *)((uint8_t *)t4 + (uintptr_t)0ul); + t2 = (*t4); + t5 = bit_set_IntegerBitSet_2864_29_maskBit__387(a1); + t5 = t2 | t5; + (*t4) = t5; + return; +} + +static void bit_set_IntegerBitSet_2864_29_unset__368(uint64_t *const a0, + uintptr_t const a1) { + uint64_t *const *t1; + uint64_t t2; + uint64_t t5; + uint64_t *t4; + uint64_t *t0; + bool t3; + t0 = a0; + t1 = (uint64_t *const *)&t0; + t2 = a1; + t3 = t2 < UINT64_C(64); + debug_assert__180(t3); + t4 = (*t1); + t4 = (uint64_t *)((uint8_t *)t4 + (uintptr_t)0ul); + t2 = (*t4); + t5 = bit_set_IntegerBitSet_2864_29_maskBit__387(a1); + t5 = zig_not_u64(t5, UINT8_C(64)); + t5 = t2 & t5; + (*t4) = t5; + return; } static void debug_assert__180(bool const a0) { - bool t0; - t0 = !a0; - if (t0) { - zig_unreachable(); - } - goto zig_block_0; - - zig_block_0:; - return; -} - -static uint64_t bit_set_IntegerBitSet_2864_29_maskBit__386(uintptr_t const a0) { - uint64_t t1; - uint8_t t0; - t0 = (uint8_t)a0; - t1 = zig_shlw_u64(UINT64_C(1), t0, UINT8_C(64)); - return t1; -} - -static nav__781_39 instruments_valgrind_ValgrindInstrument_init__781(struct mem_Allocator__599 const a0) { - struct instruments_valgrind_ValgrindInstrument__564 t2; - nav__781_39 t3; - uint8_t t0; - bool t1; - t0 = running_on_valgrind(); - t1 = t0 > UINT8_C(0); - t1 = !t1; - if (t1) { - return (nav__781_39){{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},zig_error_NotInstrumented}; - } - goto zig_block_0; - - zig_block_0:; - t2.allocator = a0; - t3.payload = t2; - t3.error = UINT16_C(0); - return t3; -} - -static nav__1157_39 fifo_UnixPipe_openPipe__1157(nav__1157_41 const a0) { - nav__1157_39 t1; - struct fs_File__646 t2; - int32_t t3; - uint16_t t0; - t0 = fs_accessAbsolute__1225(a0, (struct fs_File_OpenFlags__2111){UINT8_C(2),UINT8_C(0),false,false}); - if (t0) { - t1.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t1.error = t0; + bool t0; + t0 = !a0; + if (t0) { + zig_unreachable(); + } + goto zig_block_0; + +zig_block_0:; + return; +} + +static uint64_t bit_set_IntegerBitSet_2864_29_maskBit__387(uintptr_t const a0) { + uint64_t t1; + uint8_t t0; + t0 = (uint8_t)a0; + t1 = zig_shlw_u64(UINT64_C(1), t0, UINT8_C(64)); return t1; - } - t1 = fs_openFileAbsolute__1222(a0, (struct fs_File_OpenFlags__2111){UINT8_C(2),UINT8_C(0),false,false}); - if (t1.error) { - t0 = t1.error; - t1.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t1.error = t0; +} + +static nav__782_39 instruments_valgrind_ValgrindInstrument_init__782( + struct mem_Allocator__599 const a0) { + struct instruments_valgrind_ValgrindInstrument__564 t2; + nav__782_39 t3; + uint8_t t0; + bool t1; + t0 = running_on_valgrind(); + t1 = t0 > UINT8_C(0); + t1 = !t1; + if (t1) { + return (nav__782_39){{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + zig_error_NotInstrumented}; + } + goto zig_block_0; + +zig_block_0:; + t2.allocator = a0; + t3.payload = t2; + t3.error = UINT16_C(0); + return t3; +} + +static nav__1158_39 fifo_UnixPipe_openPipe__1158(nav__1158_41 const a0) { + nav__1158_39 t1; + struct fs_File__646 t2; + int32_t t3; + uint16_t t0; + t0 = fs_accessAbsolute__1226(a0, (struct fs_File_OpenFlags__2111){ + UINT8_C(2), UINT8_C(0), false, false}); + if (t0) { + t1.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t1.error = t0; + return t1; + } + t1 = fs_openFileAbsolute__1223(a0, (struct fs_File_OpenFlags__2111){ + UINT8_C(2), UINT8_C(0), false, false}); + if (t1.error) { + t0 = t1.error; + t1.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t1.error = t0; + return t1; + } + t2 = t1.payload; + t3 = t2.handle; + utils_setNonBlocking__4781(t3); + t1.payload = t2; + t1.error = UINT16_C(0); return t1; - } - t2 = t1.payload; - t3 = t2.handle; - utils_setNonBlocking__4780(t3); - t1.payload = t2; - t1.error = UINT16_C(0); - return t1; -} - -static nav__1159_39 fifo_UnixPipe_openWrite__1159(struct mem_Allocator__599 const a0, nav__1159_42 const a1) { - nav__1159_39 t2; - struct fifo_UnixPipe_Writer__638 t4; - nav__1159_59 t0; - struct fs_File__646 t3; - uint16_t t1; - t0 = fifo_UnixPipe_openPipe__1157(a1); - if (t0.error) { - t1 = t0.error; - t2.payload = (struct fifo_UnixPipe_Writer__638){{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}; - t2.error = t1; +} + +static nav__1160_39 fifo_UnixPipe_openWrite__1160( + struct mem_Allocator__599 const a0, nav__1160_42 const a1) { + nav__1160_39 t2; + struct fifo_UnixPipe_Writer__638 t4; + nav__1160_59 t0; + struct fs_File__646 t3; + uint16_t t1; + t0 = fifo_UnixPipe_openPipe__1158(a1); + if (t0.error) { + t1 = t0.error; + t2.payload = (struct fifo_UnixPipe_Writer__638){ + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}; + t2.error = t1; + return t2; + } + t3 = t0.payload; + t4 = fifo_UnixPipe_Writer_init__1161(t3, a0); + t2.payload = t4; + t2.error = UINT16_C(0); return t2; - } - t3 = t0.payload; - t4 = fifo_UnixPipe_Writer_init__1160(t3, a0); - t2.payload = t4; - t2.error = UINT16_C(0); - return t2; -} - -static nav__1158_39 fifo_UnixPipe_openRead__1158(struct mem_Allocator__599 const a0, nav__1158_42 const a1) { - nav__1158_39 t2; - struct fifo_UnixPipe_Reader__640 t4; - nav__1158_59 t0; - struct fs_File__646 t3; - uint16_t t1; - t0 = fifo_UnixPipe_openPipe__1157(a1); - if (t0.error) { - t1 = t0.error; - t2.payload = (struct fifo_UnixPipe_Reader__640){{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}; - t2.error = t1; +} + +static nav__1159_39 fifo_UnixPipe_openRead__1159( + struct mem_Allocator__599 const a0, nav__1159_42 const a1) { + nav__1159_39 t2; + struct fifo_UnixPipe_Reader__640 t4; + nav__1159_59 t0; + struct fs_File__646 t3; + uint16_t t1; + t0 = fifo_UnixPipe_openPipe__1158(a1); + if (t0.error) { + t1 = t0.error; + t2.payload = (struct fifo_UnixPipe_Reader__640){ + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}; + t2.error = t1; + return t2; + } + t3 = t0.payload; + t4 = fifo_UnixPipe_Reader_init__1166(t3, a0); + t2.payload = t4; + t2.error = UINT16_C(0); return t2; - } - t3 = t0.payload; - t4 = fifo_UnixPipe_Reader_init__1165(t3, a0); - t2.payload = t4; - t2.error = UINT16_C(0); - return t2; -} - -static nav__1124_39 runner_fifo_RunnerFifo_init__1124(struct mem_Allocator__599 const a0) { - struct runner_fifo_RunnerFifo__631 *t1; - struct mem_Allocator__599 *t2; - struct fifo_UnixPipe_Writer__638 *t3; - nav__1124_66 t4; - nav__1124_39 t6; - nav__1124_39 t0; - struct fifo_UnixPipe_Writer__638 t7; - struct fifo_UnixPipe_Reader__640 *t8; - nav__1124_71 t9; - struct fifo_UnixPipe_Reader__640 t10; - uint16_t t5; - t0.error = UINT16_C(0); - t1 = &t0.payload; - t2 = (struct mem_Allocator__599 *)&t1->allocator; - (*t2) = a0; - t3 = (struct fifo_UnixPipe_Writer__638 *)&t1->writer; - t4 = fifo_UnixPipe_openWrite__1159(a0, (nav__1124_64){(uint8_t const *)&__anon_2098,(uintptr_t)20ul}); - if (t4.error) { - t5 = t4.error; - t6.payload = (struct runner_fifo_RunnerFifo__631){{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}; - t6.error = t5; - return t6; - } - t7 = t4.payload; - (*t3) = t7; - t8 = (struct fifo_UnixPipe_Reader__640 *)&t1->reader; - t9 = fifo_UnixPipe_openRead__1158(a0, (nav__1124_64){(uint8_t const *)&__anon_2169,(uintptr_t)20ul}); - if (t9.error) { - t5 = t9.error; - t6.payload = (struct runner_fifo_RunnerFifo__631){{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}; - t6.error = t5; - return t6; - } - t10 = t9.payload; - (*t8) = t10; - return t0; -} - -static uint16_t fifo_UnixPipe_Writer_sendCmd__1163(struct fifo_UnixPipe_Writer__638 *const a0, struct shared_Command__2195 const a1) { - struct fifo_UnixPipe_Writer__638 *const *t1; - struct fifo_UnixPipe_Writer__638 *t2; - struct fifo_UnixPipe_Writer__638 *t0; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t4; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t6; - nav__1163_65 t7; - struct fs_File__646 *t8; - uintptr_t t10; - uint32_t const *t13; - uint8_t const (*t14)[4]; - nav__1163_44 t15; - struct fs_File__646 t9; - uint32_t t11; - uint32_t t12; - uint16_t t5; - t0 = a0; - t1 = (struct fifo_UnixPipe_Writer__638 *const *)&t0; - t2 = (*t1); - t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t2->buffer; - array_list_ArrayListAligned_28u8_2cnull_29_clearRetainingCapacity__1439(t3); - t2 = (*t1); - t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t2->buffer; - t4 = array_list_ArrayListAligned_28u8_2cnull_29_writer__1429(t3); - t5 = bincode_serialize__anon_2247__4911(t4, a1); - if (t5) { - return t5; - } - t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&a0->buffer; - t6 = (*t3); - t7 = t6.items; - t2 = (*t1); - t8 = (struct fs_File__646 *)&t2->file; - t9 = (*t8); - t10 = t7.len; - t11 = (uint32_t)t10; - t12 = t11; - t13 = (uint32_t const *)&t12; - t14 = mem_asBytes__anon_2285__4912(t13); - t15.ptr = &(*t14)[(uintptr_t)0ul]; - t15.len = (uintptr_t)4ul; - t5 = fs_File_writeAll__1316(t9, t15); - if (t5) { - return t5; - } - t2 = (*t1); - t8 = (struct fs_File__646 *)&t2->file; - t9 = (*t8); - memcpy(&t15, &t7, sizeof(nav__1163_44)); - t5 = fs_File_writeAll__1316(t9, t15); - if (t5) { - return t5; - } - return 0; -} - -static nav__5021_38 bincode_deserializeInt__anon_2551__5021(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0) { - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t1; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t4; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t2; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t0; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t3; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *t5; - void const **t7; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t8; - void const *t9; - nav__5021_50 (**t10)(void const *, nav__5021_52); - struct io_Reader__2566 t11; - struct io_Reader__2566 t6; - struct io_Reader__2566 t12; - struct io_Reader__2566 t15; - struct io_Reader__2566 const *t13; - uint8_t const (*t21)[4]; - nav__5021_38 t14; - nav__5021_38 t18; - uint32_t t22; - nav__5021_64 t16; - uint16_t t17; - uint8_t t19[4]; - uint8_t t20[4]; - t0 = a0; - t1 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t0; - t2 = (*t1); - t3 = t2; - t1 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t3; - t4 = t1; - t5 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *)&t4; - t7 = (void const **)&t6.context; - t1 = (*t5); - t8 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__5021_50 (**)(void const *, nav__5021_52))&t6.readFn; - (*t10) = &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5017; - t11 = t6; - t12 = t11; - t13 = (struct io_Reader__2566 const *)&t12; - t11 = (*t13); - t15 = t11; - t13 = (struct io_Reader__2566 const *)&t15; - t11 = (*t13); - t16 = io_Reader_readBytesNoEof__anon_2597__5059(t11); - if (t16.error) { - t17 = t16.error; - t18.payload = UINT32_C(0xaaaaaaaa); - t18.error = t17; +} + +static nav__1125_39 runner_fifo_RunnerFifo_init__1125( + struct mem_Allocator__599 const a0) { + struct runner_fifo_RunnerFifo__631 *t1; + struct mem_Allocator__599 *t2; + struct fifo_UnixPipe_Writer__638 *t3; + nav__1125_66 t4; + nav__1125_39 t6; + nav__1125_39 t0; + struct fifo_UnixPipe_Writer__638 t7; + struct fifo_UnixPipe_Reader__640 *t8; + nav__1125_71 t9; + struct fifo_UnixPipe_Reader__640 t10; + uint16_t t5; + t0.error = UINT16_C(0); + t1 = &t0.payload; + t2 = (struct mem_Allocator__599 *)&t1->allocator; + (*t2) = a0; + t3 = (struct fifo_UnixPipe_Writer__638 *)&t1->writer; + t4 = fifo_UnixPipe_openWrite__1160( + a0, (nav__1125_64){(uint8_t const *)&__anon_2098, (uintptr_t)20ul}); + if (t4.error) { + t5 = t4.error; + t6.payload = (struct runner_fifo_RunnerFifo__631){ + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}; + t6.error = t5; + return t6; + } + t7 = t4.payload; + (*t3) = t7; + t8 = (struct fifo_UnixPipe_Reader__640 *)&t1->reader; + t9 = fifo_UnixPipe_openRead__1159( + a0, (nav__1125_64){(uint8_t const *)&__anon_2169, (uintptr_t)20ul}); + if (t9.error) { + t5 = t9.error; + t6.payload = (struct runner_fifo_RunnerFifo__631){ + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}; + t6.error = t5; + return t6; + } + t10 = t9.payload; + (*t8) = t10; + return t0; +} + +static uint16_t fifo_UnixPipe_Writer_sendCmd__1164( + struct fifo_UnixPipe_Writer__638 *const a0, + struct shared_Command__2195 const a1) { + struct fifo_UnixPipe_Writer__638 *const *t1; + struct fifo_UnixPipe_Writer__638 *t2; + struct fifo_UnixPipe_Writer__638 *t0; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t4; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t6; + nav__1164_65 t7; + struct fs_File__646 *t8; + uintptr_t t10; + uint32_t const *t13; + uint8_t const(*t14)[4]; + nav__1164_44 t15; + struct fs_File__646 t9; + uint32_t t11; + uint32_t t12; + uint16_t t5; + t0 = a0; + t1 = (struct fifo_UnixPipe_Writer__638 *const *)&t0; + t2 = (*t1); + t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t2->buffer; + array_list_ArrayListAligned_28u8_2cnull_29_clearRetainingCapacity__1440(t3); + t2 = (*t1); + t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t2->buffer; + t4 = array_list_ArrayListAligned_28u8_2cnull_29_writer__1430(t3); + t5 = bincode_serialize__anon_2247__4912(t4, a1); + if (t5) { + return t5; + } + t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&a0->buffer; + t6 = (*t3); + t7 = t6.items; + t2 = (*t1); + t8 = (struct fs_File__646 *)&t2->file; + t9 = (*t8); + t10 = t7.len; + t11 = (uint32_t)t10; + t12 = t11; + t13 = (uint32_t const *)&t12; + t14 = mem_asBytes__anon_2285__4913(t13); + t15.ptr = &(*t14)[(uintptr_t)0ul]; + t15.len = (uintptr_t)4ul; + t5 = fs_File_writeAll__1317(t9, t15); + if (t5) { + return t5; + } + t2 = (*t1); + t8 = (struct fs_File__646 *)&t2->file; + t9 = (*t8); + memcpy(&t15, &t7, sizeof(nav__1164_44)); + t5 = fs_File_writeAll__1317(t9, t15); + if (t5) { + return t5; + } + return 0; +} + +static nav__5022_38 bincode_deserializeInt__anon_2551__5022( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0) { + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t1; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t4; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t2; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t0; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t3; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *t5; + void const **t7; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t8; + void const *t9; + nav__5022_50 (**t10)(void const *, nav__5022_52); + struct io_Reader__2566 t11; + struct io_Reader__2566 t6; + struct io_Reader__2566 t12; + struct io_Reader__2566 t15; + struct io_Reader__2566 const *t13; + uint8_t const(*t21)[4]; + nav__5022_38 t14; + nav__5022_38 t18; + uint32_t t22; + nav__5022_64 t16; + uint16_t t17; + uint8_t t19[4]; + uint8_t t20[4]; + t0 = a0; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t0; + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__5022_50(**)(void const *, nav__5022_52)) & t6.readFn; + (*t10) = + &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018; + t11 = t6; + t12 = t11; + t13 = (struct io_Reader__2566 const *)&t12; + t11 = (*t13); + t15 = t11; + t13 = (struct io_Reader__2566 const *)&t15; + t11 = (*t13); + t16 = io_Reader_readBytesNoEof__anon_2597__5060(t11); + if (t16.error) { + t17 = t16.error; + t18.payload = UINT32_C(0xaaaaaaaa); + t18.error = t17; + t14 = t18; + goto zig_block_0; + } + memcpy(t19, t16.payload, sizeof(uint8_t[4])); + memcpy((char *)&t20, t19, sizeof(uint8_t[4])); + t21 = (uint8_t const(*)[4]) & t20; + memcpy(t19, (const char *)t21, sizeof(uint8_t[4])); + memcpy(&t22, &t19, sizeof(uint32_t)); + t22 = zig_wrap_u32(t22, UINT8_C(32)); + t18.payload = t22; + t18.error = UINT16_C(0); t14 = t18; goto zig_block_0; - } - memcpy(t19, t16.payload, sizeof(uint8_t[4])); - memcpy((char *)&t20, t19, sizeof(uint8_t[4])); - t21 = (uint8_t const (*)[4])&t20; - memcpy(t19, (const char *)t21, sizeof(uint8_t[4])); - memcpy(&t22, &t19, sizeof(uint32_t)); - t22 = zig_wrap_u32(t22, UINT8_C(32)); - t18.payload = t22; - t18.error = UINT16_C(0); - t14 = t18; - goto zig_block_0; - - zig_block_0:; - memcpy(&t18, &t14, sizeof(nav__5021_38)); - if (t18.error) { - t17 = t18.error; - t18.payload = UINT32_C(0xaaaaaaaa); - t18.error = t17; + +zig_block_0:; + memcpy(&t18, &t14, sizeof(nav__5022_38)); + if (t18.error) { + t17 = t18.error; + t18.payload = UINT32_C(0xaaaaaaaa); + t18.error = t17; + return t18; + } + t22 = t18.payload; + t18.payload = t22; + t18.error = UINT16_C(0); return t18; - } - t22 = t18.payload; - t18.payload = t22; - t18.error = UINT16_C(0); - return t18; -} - -static nav__5020_38 bincode_deserializeAlloc__anon_2540__5020(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5020_38 t0; - uint32_t t2; - uint16_t t1; - (void)a1; - t0 = bincode_deserializeInt__anon_2551__5021(a0); - if (t0.error) { - t1 = t0.error; - t0.payload = UINT32_C(0xaaaaaaaa); - t0.error = t1; - return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__5063_40 bincode_deserializePointerAlloc__anon_2677__5063(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t1; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t6; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t7; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t32; - struct mem_Allocator__599 const *t3; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t4; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t0; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t5; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t31; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *t8; - void const **t10; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t11; - void const *t12; - nav__5063_59 (**t13)(void const *, nav__5063_39); - struct io_Reader__2566 t14; - struct io_Reader__2566 t9; - struct io_Reader__2566 t15; - struct io_Reader__2566 t18; - struct io_Reader__2566 t33; - struct io_Reader__2566 t34; - struct io_Reader__2566 const *t16; - nav__5063_69 t17; - nav__5063_69 t21; - uint8_t const (*t24)[8]; - uint64_t t25; - uint64_t t38; - nav__5063_40 t26; - uintptr_t t27; - uintptr_t t37; - struct mem_Allocator__599 t29; - struct mem_Allocator__599 t2; - nav__5063_39 t30; - nav__5063_39 t28; - nav__5063_59 t35; - nav__5063_59 t36; - nav__5063_72 t19; - uint16_t t20; - uint8_t t22[8]; - uint8_t t23[8]; - bool t39; - t0 = a0; - t1 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (*t1); - t5 = t4; - t6 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t5; - t7 = t6; - t8 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *)&t7; - t10 = (void const **)&t9.context; - t6 = (*t8); - t11 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t6->context; - t12 = (void const *)t11; - (*t10) = t12; - t13 = (nav__5063_59 (**)(void const *, nav__5063_39))&t9.readFn; - (*t13) = &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5017; - t14 = t9; - t15 = t14; - t16 = (struct io_Reader__2566 const *)&t15; - t14 = (*t16); - t18 = t14; - t16 = (struct io_Reader__2566 const *)&t18; - t14 = (*t16); - t19 = io_Reader_readBytesNoEof__anon_2690__5064(t14); - if (t19.error) { - t20 = t19.error; - t21.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); - t21.error = t20; - t17 = t21; - goto zig_block_0; - } - memcpy(t22, t19.payload, sizeof(uint8_t[8])); - memcpy((char *)&t23, t22, sizeof(uint8_t[8])); - t24 = (uint8_t const (*)[8])&t23; - memcpy(t22, (const char *)t24, sizeof(uint8_t[8])); - memcpy(&t25, &t22, sizeof(uint64_t)); - t25 = zig_wrap_u64(t25, UINT8_C(64)); - t21.payload = t25; - t21.error = UINT16_C(0); - t17 = t21; - goto zig_block_0; - - zig_block_0:; - memcpy(&t21, &t17, sizeof(nav__5063_69)); - if (t21.error) { - t20 = t21.error; - t26.payload = (nav__5063_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t26.error = t20; - return t26; - } - t25 = t21.payload; - t27 = t25; - t29 = (*t3); - t26 = mem_Allocator_alloc__anon_2699__5065(t29, t27); - if (t26.error) { - t20 = t26.error; - t26.payload = (nav__5063_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t26.error = t20; - return t26; - } - t30 = t26.payload; - t28 = t30; - t4 = (*t1); - t30 = t28; - t31 = t4; - t1 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t31; - t32 = t1; - t8 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *)&t32; - t10 = (void const **)&t33.context; - t1 = (*t8); - t11 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1->context; - t12 = (void const *)t11; - (*t10) = t12; - t13 = (nav__5063_59 (**)(void const *, nav__5063_39))&t33.readFn; - (*t13) = &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5017; - t14 = t33; - t34 = t14; - t16 = (struct io_Reader__2566 const *)&t34; - t14 = (*t16); - t35 = io_Reader_readAll__5024(t14, t30); - memcpy(&t36, &t35, sizeof(nav__5063_59)); - t37 = t36.payload; - t25 = t37; - t38 = t27; - t39 = t25 != t38; - if (t39) { - bincode_invalidProtocol__anon_2721__5066(); - zig_unreachable(); - } - goto zig_block_1; - - zig_block_1:; - t30 = t28; - t26.payload = t30; - t26.error = UINT16_C(0); - return t26; -} - -static nav__5062_40 bincode_deserializeAlloc__anon_2664__5062(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5062_57 t0; - nav__5062_40 t2; - nav__5062_55 t3; - nav__5062_39 t4; - uint16_t t1; - t0 = bincode_deserializePointerAlloc__anon_2677__5063(a0, a1); - if (t0.error) { - t1 = t0.error; - t2.payload = (nav__5062_39){(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t2.error = t1; - return t2; - } - t3 = t0.payload; - memcpy(&t4, &t3, sizeof(nav__5062_39)); - t2.payload = t4; - t2.error = UINT16_C(0); - return t2; -} - -static nav__5061_39 bincode_deserializeStructAlloc__anon_2639__5061(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - uint32_t *t1; - nav__5061_39 t4; - nav__5061_44 *t6; - nav__5061_60 t7; - nav__5061_44 t8; - struct shared_Command__struct_2198__2198 t9; - struct shared_Command__struct_2198__2198 t0; - nav__5061_57 t2; - uint32_t t5; - uint16_t t3; - t1 = (uint32_t *)&t0.pid; - t2 = bincode_deserializeAlloc__anon_2540__5020(a0, a1); - if (t2.error) { - t3 = t2.error; - t4.payload = (struct shared_Command__struct_2198__2198){{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}; - t4.error = t3; - return t4; - } - t5 = t2.payload; - (*t1) = t5; - t6 = (nav__5061_44 *)&t0.uri; - t7 = bincode_deserializeAlloc__anon_2664__5062(a0, a1); - if (t7.error) { - t3 = t7.error; - t4.payload = (struct shared_Command__struct_2198__2198){{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}; - t4.error = t3; - return t4; - } - t8 = t7.payload; - (*t6) = t8; - t9 = t0; - t4.payload = t9; - t4.error = UINT16_C(0); - return t4; -} - -static nav__5060_39 bincode_deserializeAlloc__anon_2610__5060(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5060_39 t0; - struct shared_Command__struct_2198__2198 t2; - uint16_t t1; - t0 = bincode_deserializeStructAlloc__anon_2639__5061(a0, a1); - if (t0.error) { - t1 = t0.error; - t0.payload = (struct shared_Command__struct_2198__2198){{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}; - t0.error = t1; - return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static uint16_t bincode_deserializeAlloc__anon_2736__5067(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - (void)a0; - (void)a1; - return 0; -} - -static nav__5069_39 bincode_deserializeStructAlloc__anon_2800__5069(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5069_44 *t1; - nav__5069_57 t2; - nav__5069_39 t4; - nav__5069_44 t5; - struct shared_Command__struct_2199__2199 t6; - struct shared_Command__struct_2199__2199 t0; - uint16_t t3; - t1 = (nav__5069_44 *)&t0.name; - t2 = bincode_deserializeAlloc__anon_2664__5062(a0, a1); - if (t2.error) { - t3 = t2.error; - t4.payload = (struct shared_Command__struct_2199__2199){{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}}; - t4.error = t3; - return t4; - } - t5 = t2.payload; - (*t1) = t5; - t1 = (nav__5069_44 *)&t0.version; - t2 = bincode_deserializeAlloc__anon_2664__5062(a0, a1); - if (t2.error) { - t3 = t2.error; - t4.payload = (struct shared_Command__struct_2199__2199){{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}}; - t4.error = t3; - return t4; - } - t5 = t2.payload; - (*t1) = t5; - t6 = t0; - t4.payload = t6; - t4.error = UINT16_C(0); - return t4; -} - -static nav__5068_39 bincode_deserializeAlloc__anon_2781__5068(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5068_39 t0; - struct shared_Command__struct_2199__2199 t2; - uint16_t t1; - t0 = bincode_deserializeStructAlloc__anon_2800__5069(a0, a1); - if (t0.error) { - t1 = t0.error; - t0.payload = (struct shared_Command__struct_2199__2199){{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}}; - t0.error = t1; +} + +static nav__5021_38 bincode_deserializeAlloc__anon_2540__5021( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5021_38 t0; + uint32_t t2; + uint16_t t1; + (void)a1; + t0 = bincode_deserializeInt__anon_2551__5022(a0); + if (t0.error) { + t1 = t0.error; + t0.payload = UINT32_C(0xaaaaaaaa); + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__5075_38 bincode_deserializeInt__anon_2923__5075(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0) { - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t1; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *t4; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t2; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t0; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t3; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *t5; - void const **t7; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t8; - void const *t9; - nav__5075_50 (**t10)(void const *, nav__5075_52); - struct io_Reader__2566 t11; - struct io_Reader__2566 t6; - struct io_Reader__2566 t12; - struct io_Reader__2566 t15; - struct io_Reader__2566 const *t13; - nav__5075_38 t14; - nav__5075_38 t18; - uint8_t const (*t21)[8]; - uint64_t t22; - nav__5075_64 t16; - uint16_t t17; - uint8_t t19[8]; - uint8_t t20[8]; - t0 = a0; - t1 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t0; - t2 = (*t1); - t3 = t2; - t1 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *)&t3; - t4 = t1; - t5 = (struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const *)&t4; - t7 = (void const **)&t6.context; - t1 = (*t5); - t8 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__5075_50 (**)(void const *, nav__5075_52))&t6.readFn; - (*t10) = &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5017; - t11 = t6; - t12 = t11; - t13 = (struct io_Reader__2566 const *)&t12; - t11 = (*t13); - t15 = t11; - t13 = (struct io_Reader__2566 const *)&t15; - t11 = (*t13); - t16 = io_Reader_readBytesNoEof__anon_2690__5064(t11); - if (t16.error) { - t17 = t16.error; - t18.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); - t18.error = t17; +} + +static nav__5064_38 bincode_deserializeInt__anon_2663__5064( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0) { + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t1; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t4; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t2; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t0; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t3; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *t5; + void const **t7; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t8; + void const *t9; + nav__5064_50 (**t10)(void const *, nav__5064_52); + struct io_Reader__2566 t11; + struct io_Reader__2566 t6; + struct io_Reader__2566 t12; + struct io_Reader__2566 t15; + struct io_Reader__2566 const *t13; + uint8_t const(*t21)[4]; + nav__5064_38 t14; + nav__5064_38 t18; + int32_t t22; + nav__5064_64 t16; + uint16_t t17; + uint8_t t19[4]; + uint8_t t20[4]; + t0 = a0; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t0; + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__5064_50(**)(void const *, nav__5064_52)) & t6.readFn; + (*t10) = + &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018; + t11 = t6; + t12 = t11; + t13 = (struct io_Reader__2566 const *)&t12; + t11 = (*t13); + t15 = t11; + t13 = (struct io_Reader__2566 const *)&t15; + t11 = (*t13); + t16 = io_Reader_readBytesNoEof__anon_2597__5060(t11); + if (t16.error) { + t17 = t16.error; + t18.payload = -INT32_C(0x55555556); + t18.error = t17; + t14 = t18; + goto zig_block_0; + } + memcpy(t19, t16.payload, sizeof(uint8_t[4])); + memcpy((char *)&t20, t19, sizeof(uint8_t[4])); + t21 = (uint8_t const(*)[4]) & t20; + memcpy(t19, (const char *)t21, sizeof(uint8_t[4])); + memcpy(&t22, &t19, sizeof(int32_t)); + t22 = zig_wrap_i32(t22, UINT8_C(32)); + t18.payload = t22; + t18.error = UINT16_C(0); t14 = t18; goto zig_block_0; - } - memcpy(t19, t16.payload, sizeof(uint8_t[8])); - memcpy((char *)&t20, t19, sizeof(uint8_t[8])); - t21 = (uint8_t const (*)[8])&t20; - memcpy(t19, (const char *)t21, sizeof(uint8_t[8])); - memcpy(&t22, &t19, sizeof(uint64_t)); - t22 = zig_wrap_u64(t22, UINT8_C(64)); - t18.payload = t22; - t18.error = UINT16_C(0); - t14 = t18; - goto zig_block_0; - - zig_block_0:; - memcpy(&t18, &t14, sizeof(nav__5075_38)); - if (t18.error) { - t17 = t18.error; - t18.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); - t18.error = t17; + +zig_block_0:; + memcpy(&t18, &t14, sizeof(nav__5064_38)); + if (t18.error) { + t17 = t18.error; + t18.payload = -INT32_C(0x55555556); + t18.error = t17; + return t18; + } + t22 = t18.payload; + t18.payload = t22; + t18.error = UINT16_C(0); return t18; - } - t22 = t18.payload; - t18.payload = t22; - t18.error = UINT16_C(0); - return t18; -} - -static nav__5074_38 bincode_deserializeAlloc__anon_2918__5074(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5074_38 t0; - uint64_t t2; - uint16_t t1; - (void)a1; - t0 = bincode_deserializeInt__anon_2923__5075(a0); - if (t0.error) { - t1 = t0.error; - t0.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); - t0.error = t1; +} + +static nav__5063_38 bincode_deserializeAlloc__anon_2655__5063( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5063_38 t0; + int32_t t2; + uint16_t t1; + (void)a1; + t0 = bincode_deserializeInt__anon_2663__5064(a0); + if (t0.error) { + t1 = t0.error; + t0.payload = -INT32_C(0x55555556); + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__5073_39 bincode_deserializeUnionAlloc__anon_2905__5073(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5073_39 t2; - nav__5073_56 t6; - uint64_t t7; - struct shared_MarkerType__2202 t8; - nav__5073_54 t0; - uint32_t t3; - uint16_t t1; - uint8_t t4; - bool t5; - t0 = bincode_deserializeAlloc__anon_2540__5020(a0, a1); - if (t0.error) { - t1 = t0.error; - t2.payload = (struct shared_MarkerType__2202){{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)}; - t2.error = t1; - return t2; - } - t3 = t0.payload; - t4 = (uint8_t)t3; - t5 = t4 == UINT8_C(0); - if (t5) { - t6 = bincode_deserializeAlloc__anon_2918__5074(a0, a1); - if (t6.error) { - t1 = t6.error; - t2.payload = (struct shared_MarkerType__2202){{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)}; - t2.error = t1; - return t2; - } - t7 = t6.payload; - t8.tag = UINT8_C(0); - t8.payload.SampleStart = t7; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_0; +} - zig_block_0:; - t5 = t4 == UINT8_C(1); - if (t5) { - t6 = bincode_deserializeAlloc__anon_2918__5074(a0, a1); - if (t6.error) { - t1 = t6.error; - t2.payload = (struct shared_MarkerType__2202){{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)}; - t2.error = t1; - return t2; - } - t7 = t6.payload; - t8.tag = UINT8_C(1); - t8.payload.SampleEnd = t7; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_1; +static nav__5066_40 bincode_deserializePointerAlloc__anon_2693__5066( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t1; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t6; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t7; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t32; + struct mem_Allocator__599 const *t3; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t4; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t0; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t5; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t31; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *t8; + void const **t10; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t11; + void const *t12; + nav__5066_59 (**t13)(void const *, nav__5066_39); + struct io_Reader__2566 t14; + struct io_Reader__2566 t9; + struct io_Reader__2566 t15; + struct io_Reader__2566 t18; + struct io_Reader__2566 t33; + struct io_Reader__2566 t34; + struct io_Reader__2566 const *t16; + nav__5066_69 t17; + nav__5066_69 t21; + uint8_t const(*t24)[8]; + uint64_t t25; + uint64_t t38; + nav__5066_40 t26; + uintptr_t t27; + uintptr_t t37; + struct mem_Allocator__599 t29; + struct mem_Allocator__599 t2; + nav__5066_39 t30; + nav__5066_39 t28; + nav__5066_59 t35; + nav__5066_59 t36; + nav__5066_72 t19; + uint16_t t20; + uint8_t t22[8]; + uint8_t t23[8]; + bool t39; + t0 = a0; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (*t1); + t5 = t4; + t6 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t5; + t7 = t6; + t8 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *)&t7; + t10 = (void const **)&t9.context; + t6 = (*t8); + t11 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t6 + ->context; + t12 = (void const *)t11; + (*t10) = t12; + t13 = (nav__5066_59(**)(void const *, nav__5066_39)) & t9.readFn; + (*t13) = + &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018; + t14 = t9; + t15 = t14; + t16 = (struct io_Reader__2566 const *)&t15; + t14 = (*t16); + t18 = t14; + t16 = (struct io_Reader__2566 const *)&t18; + t14 = (*t16); + t19 = io_Reader_readBytesNoEof__anon_2706__5067(t14); + if (t19.error) { + t20 = t19.error; + t21.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); + t21.error = t20; + t17 = t21; + goto zig_block_0; + } + memcpy(t22, t19.payload, sizeof(uint8_t[8])); + memcpy((char *)&t23, t22, sizeof(uint8_t[8])); + t24 = (uint8_t const(*)[8]) & t23; + memcpy(t22, (const char *)t24, sizeof(uint8_t[8])); + memcpy(&t25, &t22, sizeof(uint64_t)); + t25 = zig_wrap_u64(t25, UINT8_C(64)); + t21.payload = t25; + t21.error = UINT16_C(0); + t17 = t21; + goto zig_block_0; - zig_block_1:; - t5 = t4 == UINT8_C(2); - if (t5) { - t6 = bincode_deserializeAlloc__anon_2918__5074(a0, a1); - if (t6.error) { - t1 = t6.error; - t2.payload = (struct shared_MarkerType__2202){{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)}; - t2.error = t1; - return t2; - } - t7 = t6.payload; - t8.tag = UINT8_C(2); - t8.payload.BenchmarkStart = t7; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_2; +zig_block_0:; + memcpy(&t21, &t17, sizeof(nav__5066_69)); + if (t21.error) { + t20 = t21.error; + t26.payload = (nav__5066_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t26.error = t20; + return t26; + } + t25 = t21.payload; + t27 = t25; + t29 = (*t3); + t26 = mem_Allocator_alloc__anon_2715__5068(t29, t27); + if (t26.error) { + t20 = t26.error; + t26.payload = (nav__5066_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t26.error = t20; + return t26; + } + t30 = t26.payload; + t28 = t30; + t4 = (*t1); + t30 = t28; + t31 = t4; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t31; + t32 = t1; + t8 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *)&t32; + t10 = (void const **)&t33.context; + t1 = (*t8); + t11 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1 + ->context; + t12 = (void const *)t11; + (*t10) = t12; + t13 = (nav__5066_59(**)(void const *, nav__5066_39)) & t33.readFn; + (*t13) = + &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018; + t14 = t33; + t34 = t14; + t16 = (struct io_Reader__2566 const *)&t34; + t14 = (*t16); + t35 = io_Reader_readAll__5025(t14, t30); + memcpy(&t36, &t35, sizeof(nav__5066_59)); + t37 = t36.payload; + t25 = t37; + t38 = t27; + t39 = t25 != t38; + if (t39) { + bincode_invalidProtocol__anon_2737__5069(); + zig_unreachable(); + } + goto zig_block_1; - zig_block_2:; - t5 = t4 == UINT8_C(3); - if (t5) { - t6 = bincode_deserializeAlloc__anon_2918__5074(a0, a1); - if (t6.error) { - t1 = t6.error; - t2.payload = (struct shared_MarkerType__2202){{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)}; - t2.error = t1; - return t2; - } - t7 = t6.payload; - t8.tag = UINT8_C(3); - t8.payload.BenchmarkEnd = t7; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_3; - - zig_block_3:; - zig_unreachable(); -} - -static nav__5072_39 bincode_deserializeAlloc__anon_2871__5072(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5072_39 t0; - struct shared_MarkerType__2202 t2; - uint16_t t1; - t0 = bincode_deserializeUnionAlloc__anon_2905__5073(a0, a1); - if (t0.error) { - t1 = t0.error; - t0.payload = (struct shared_MarkerType__2202){{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)}; - t0.error = t1; - return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__5071_39 bincode_deserializeStructAlloc__anon_2853__5071(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - uint32_t *t1; - nav__5071_39 t4; - struct shared_MarkerType__2202 *t6; - nav__5071_60 t7; - struct shared_MarkerType__2202 t8; - struct shared_Command__struct_2200__2200 t9; - struct shared_Command__struct_2200__2200 t0; - nav__5071_57 t2; - uint32_t t5; - uint16_t t3; - t1 = (uint32_t *)&t0.pid; - t2 = bincode_deserializeAlloc__anon_2540__5020(a0, a1); - if (t2.error) { - t3 = t2.error; - t4.payload = (struct shared_Command__struct_2200__2200){{{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)},UINT32_C(0xaaaaaaaa)}; - t4.error = t3; - return t4; - } - t5 = t2.payload; - (*t1) = t5; - t6 = (struct shared_MarkerType__2202 *)&t0.marker; - t7 = bincode_deserializeAlloc__anon_2871__5072(a0, a1); - if (t7.error) { - t3 = t7.error; - t4.payload = (struct shared_Command__struct_2200__2200){{{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)},UINT32_C(0xaaaaaaaa)}; - t4.error = t3; - return t4; - } - t8 = t7.payload; - (*t6) = t8; - t9 = t0; - t4.payload = t9; - t4.error = UINT16_C(0); - return t4; -} - -static nav__5070_39 bincode_deserializeAlloc__anon_2839__5070(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5070_39 t0; - struct shared_Command__struct_2200__2200 t2; - uint16_t t1; - t0 = bincode_deserializeStructAlloc__anon_2853__5071(a0, a1); - if (t0.error) { - t1 = t0.error; - t0.payload = (struct shared_Command__struct_2200__2200){{{UINT64_C(0xaaaaaaaaaaaaaaaa)},UINT8_C(0x2)},UINT32_C(0xaaaaaaaa)}; - t0.error = t1; - return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__5077_38 bincode_deserializeEnum__anon_3009__5077(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0) { - nav__5077_46 t0; - uint32_t t3; - uint16_t t1; - nav__5077_38 t2; - uint8_t t4; - t0 = bincode_deserializeInt__anon_2551__5021(a0); - if (t0.error) { - t1 = t0.error; - t2.payload = UINT8_C(0x2); - t2.error = t1; - return t2; - } - t3 = t0.payload; - t4 = (uint8_t)t3; - t2.payload = t4; - t2.error = UINT16_C(0); - return t2; -} - -static nav__5076_38 bincode_deserializeAlloc__anon_2980__5076(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5076_38 t0; - uint16_t t1; - uint8_t t2; - (void)a1; - t0 = bincode_deserializeEnum__anon_3009__5077(a0); - if (t0.error) { - t1 = t0.error; - t0.payload = UINT8_C(0x2); - t0.error = t1; - return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__5019_39 bincode_deserializeUnionAlloc__anon_2535__5019(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5019_39 t2; - nav__5019_68 t6; - struct shared_Command__struct_2198__2198 t7; - struct shared_Command__2195 t8; - nav__5019_70 t9; - struct shared_Command__struct_2199__2199 t10; - nav__5019_72 t11; - struct shared_Command__struct_2200__2200 t12; - nav__5019_74 t13; - uint64_t t14; - nav__5019_66 t0; - uint32_t t3; - uint16_t t1; - nav__5019_76 t15; - uint8_t t4; - bool t5; - t0 = bincode_deserializeAlloc__anon_2540__5020(a0, a1); - if (t0.error) { - t1 = t0.error; - t2.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t2.error = t1; - return t2; - } - t3 = t0.payload; - t4 = (uint8_t)t3; - t5 = t4 == UINT8_C(0); - if (t5) { - t6 = bincode_deserializeAlloc__anon_2610__5060(a0, a1); - if (t6.error) { - t1 = t6.error; - t2.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t2.error = t1; - return t2; - } - t7 = t6.payload; - t8.tag = UINT8_C(0); - t8.payload.ExecutedBenchmark = t7; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_0; - - zig_block_0:; - t5 = t4 == UINT8_C(1); - if (t5) { - (void)bincode_deserializeAlloc__anon_2736__5067(a0, a1); - return (nav__5019_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(1)},0}; - } - goto zig_block_1; - - zig_block_1:; - t5 = t4 == UINT8_C(2); - if (t5) { - (void)bincode_deserializeAlloc__anon_2736__5067(a0, a1); - return (nav__5019_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(2)},0}; - } - goto zig_block_2; - - zig_block_2:; - t5 = t4 == UINT8_C(3); - if (t5) { - (void)bincode_deserializeAlloc__anon_2736__5067(a0, a1); - return (nav__5019_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(3)},0}; - } - goto zig_block_3; - - zig_block_3:; - t5 = t4 == UINT8_C(4); - if (t5) { - (void)bincode_deserializeAlloc__anon_2736__5067(a0, a1); - return (nav__5019_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(4)},0}; - } - goto zig_block_4; - - zig_block_4:; - t5 = t4 == UINT8_C(5); - if (t5) { - t9 = bincode_deserializeAlloc__anon_2781__5068(a0, a1); - if (t9.error) { - t1 = t9.error; - t2.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t2.error = t1; - return t2; +zig_block_1:; + t30 = t28; + t26.payload = t30; + t26.error = UINT16_C(0); + return t26; +} + +static nav__5065_40 bincode_deserializeAlloc__anon_2680__5065( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5065_57 t0; + nav__5065_40 t2; + nav__5065_55 t3; + nav__5065_39 t4; + uint16_t t1; + t0 = bincode_deserializePointerAlloc__anon_2693__5066(a0, a1); + if (t0.error) { + t1 = t0.error; + t2.payload = + (nav__5065_39){(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t2.error = t1; + return t2; } - t10 = t9.payload; - t8.tag = UINT8_C(5); - t8.payload.SetIntegration = t10; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_5; - - zig_block_5:; - t5 = t4 == UINT8_C(6); - if (t5) { - (void)bincode_deserializeAlloc__anon_2736__5067(a0, a1); - return (nav__5019_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(6)},0}; - } - goto zig_block_6; - - zig_block_6:; - t5 = t4 == UINT8_C(7); - if (t5) { - t11 = bincode_deserializeAlloc__anon_2839__5070(a0, a1); - if (t11.error) { - t1 = t11.error; - t2.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t2.error = t1; - return t2; - } - t12 = t11.payload; - t8.tag = UINT8_C(7); - t8.payload.AddMarker = t12; - t2.payload = t8; + t3 = t0.payload; + memcpy(&t4, &t3, sizeof(nav__5065_39)); + t2.payload = t4; t2.error = UINT16_C(0); return t2; - } - goto zig_block_7; +} - zig_block_7:; - t5 = t4 == UINT8_C(8); - if (t5) { - t13 = bincode_deserializeAlloc__anon_2918__5074(a0, a1); - if (t13.error) { - t1 = t13.error; - t2.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t2.error = t1; - return t2; - } - t14 = t13.payload; - t8.tag = UINT8_C(8); - t8.payload.SetVersion = t14; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_8; - - zig_block_8:; - t5 = t4 == UINT8_C(9); - if (t5) { - (void)bincode_deserializeAlloc__anon_2736__5067(a0, a1); - return (nav__5019_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(9)},0}; - } - goto zig_block_9; - - zig_block_9:; - t5 = t4 == UINT8_C(10); - if (t5) { - t15 = bincode_deserializeAlloc__anon_2980__5076(a0, a1); - if (t15.error) { - t1 = t15.error; - t2.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t2.error = t1; - return t2; - } - t4 = t15.payload; - t8.tag = UINT8_C(10); - t8.payload.IntegrationModeResponse = t4; - t2.payload = t8; - t2.error = UINT16_C(0); - return t2; - } - goto zig_block_10; - - zig_block_10:; - zig_unreachable(); -} - -static nav__5018_39 bincode_deserializeAlloc__anon_2428__5018(struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const a0, struct mem_Allocator__599 const a1) { - nav__5018_39 t0; - struct shared_Command__2195 t2; - uint16_t t1; - t0 = bincode_deserializeUnionAlloc__anon_2535__5019(a0, a1); - if (t0.error) { - t1 = t0.error; - t0.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t0.error = t1; - return t0; - } - t2 = t0.payload; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static nav__1168_39 fifo_UnixPipe_Reader_recvCmd__1168(struct fifo_UnixPipe_Reader__640 *const a0) { - struct fifo_UnixPipe_Reader__640 *const *t1; - uintptr_t t3; - uintptr_t t10; - struct fifo_UnixPipe_Reader__640 *t4; - struct fifo_UnixPipe_Reader__640 *t0; - struct fs_File__646 *t5; - nav__1168_68 t7; - nav__1168_76 t8; - nav__1168_39 t12; - nav__1168_39 t13; - uint64_t t14; - uint64_t t20; - uint8_t const (*t15)[4]; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t18; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t19; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t22; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t21; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t23; - struct mem_Allocator__599 *t24; - struct mem_Allocator__599 t25; - struct shared_Command__2195 t26; - struct fs_File__646 t6; - uint32_t t17; - uint16_t t11; - bool t9; - uint8_t t16[4]; - uint8_t t2[4]; - t0 = a0; - t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; - t4 = (*t1); - t5 = (struct fs_File__646 *)&t4->file; - t6 = (*t5); - t7.ptr = &t2[(uintptr_t)0ul]; - t7.len = (uintptr_t)4ul; - t8 = fs_File_readAll__1306(t6, t7); - t9 = t8.error == UINT16_C(0); - if (t9) { - t10 = t8.payload; - t3 = t10; - goto zig_block_0; - } - t11 = t8.error; - switch (t11) { - case zig_error_WouldBlock: - case zig_error_BrokenPipe: { - t12 = (nav__1168_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)},zig_error_NotReady}; - goto zig_block_1; - } - default: { - t13.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t13.error = t11; - t12 = t13; - goto zig_block_1; - } - } - - zig_block_1:; - return t12; - - zig_block_0:; - t14 = t3; - t9 = t14 < UINT64_C(4); - if (t9) { - return (nav__1168_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)},zig_error_UnexpectedEof}; - } - goto zig_block_2; - - zig_block_2:; - t15 = (uint8_t const (*)[4])&t2; - memcpy(t16, (const char *)t15, sizeof(uint8_t[4])); - memcpy(&t17, &t16, sizeof(uint32_t)); - t17 = zig_wrap_u32(t17, UINT8_C(32)); - t4 = (*t1); - t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4->buffer; - t3 = (uintptr_t)t17; - t11 = array_list_ArrayListAligned_28u8_2cnull_29_resize__1436(t18, t3); - if (t11) { - t13.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t13.error = t11; - return t13; - } - t4 = (*t1); - t5 = (struct fs_File__646 *)&t4->file; - t6 = (*t5); - t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&a0->buffer; - t19 = (*t18); - t7 = t19.items; - t8 = fs_File_readAll__1306(t6, t7); - t9 = t8.error == UINT16_C(0); - if (t9) { - t10 = t8.payload; - t3 = t10; - goto zig_block_3; - } - t11 = t8.error; - switch (t11) { - case zig_error_WouldBlock: - case zig_error_BrokenPipe: { - t13 = (nav__1168_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)},zig_error_NotReady}; - goto zig_block_4; - } - default: { - t12.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t12.error = t11; - t13 = t12; - goto zig_block_4; - } - } - - zig_block_4:; - return t13; - - zig_block_3:; - t14 = t3; - t20 = (uint64_t)t17; - t9 = t14 < t20; - if (t9) { - return (nav__1168_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)},zig_error_UnexpectedEof}; - } - goto zig_block_5; - - zig_block_5:; - t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&a0->buffer; - t19 = (*t18); - t7 = t19.items; - t22 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(t7); - t21 = t22; - t23 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_reader__4973(&t21); - t24 = (struct mem_Allocator__599 *)&a0->allocator; - t25 = (*t24); - t13 = bincode_deserializeAlloc__anon_2428__5018(t23, t25); - if (t13.error) { - t11 = t13.error; - t13.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t13.error = t11; - return t13; - } - t26 = t13.payload; - t13.payload = t26; - t13.error = UINT16_C(0); - return t13; -} - -static nav__1169_39 fifo_UnixPipe_Reader_waitForResponse__1169(struct fifo_UnixPipe_Reader__640 *const a0, nav__1169_42 const a1) { - zig_i128 t2; - zig_i128 t6; - struct fifo_UnixPipe_Reader__640 *const *t1; - uint64_t t3; - uint64_t t5; - struct shared_Command__2195 t7; - struct shared_Command__2195 t10; - struct fifo_UnixPipe_Reader__640 *t8; - struct fifo_UnixPipe_Reader__640 *t0; - nav__1169_39 t9; - uint16_t t11; - bool t4; - t0 = a0; - t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; - t2 = time_nanoTimestamp__4925(); - t4 = a1.is_null != true; - if (t4) { - t5 = a1.payload; - t3 = t5; - goto zig_block_0; - } - t3 = UINT64_C(1000000000); - goto zig_block_0; - - zig_block_0:; - zig_loop_13: - t6 = time_nanoTimestamp__4925(); - t6 = zig_sub_i128(t6, t2); - t5 = zig_lo_i128(t6); - t4 = t5 > t3; - if (t4) { - return (nav__1169_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)},zig_error_AckTimeout}; - } - goto zig_block_2; - - zig_block_2:; - t8 = (*t1); - t9 = fifo_UnixPipe_Reader_recvCmd__1168(t8); - t4 = t9.error == UINT16_C(0); - if (t4) { - t10 = t9.payload; - t7 = t10; - goto zig_block_3; - } - t11 = t9.error; - switch (t11) { - case zig_error_NotReady: - case zig_error_UnexpectedEof: { - utils_sleep__4779(UINT64_C(10000000)); - goto zig_block_1; - } - default: { - t9.payload = (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(0xa)}; - t9.error = t11; - return t9; - } - } - - zig_block_3:; - t9.payload = t7; - t9.error = UINT16_C(0); - return t9; - - zig_block_1:; - goto zig_loop_13; -} - -static uint16_t fifo_UnixPipe_Reader_waitForAck__1170(struct fifo_UnixPipe_Reader__640 *const a0, nav__1170_40 const a1) { - struct fifo_UnixPipe_Reader__640 *const *t1; - struct fifo_UnixPipe_Reader__640 *t2; - struct fifo_UnixPipe_Reader__640 *t0; - nav__1170_60 t3; - struct shared_Command__2195 t5; - struct shared_Command__2195 t6; - struct shared_Command__2195 const *t7; - struct mem_Allocator__599 *t9; - struct mem_Allocator__599 t10; - nav__1170_77 t11; - uint16_t t4; - uint8_t t8; - t0 = a0; - t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; - t2 = (*t1); - t3 = fifo_UnixPipe_Reader_waitForResponse__1169(t2, a1); - if (t3.error) { - t4 = t3.error; - return t4; - } - t5 = t3.payload; - t6 = t5; - t7 = (struct shared_Command__2195 const *)&t6; - t8 = t5.tag; - switch (t8) { - case UINT8_C(3): { - t5 = (*t7); - t9 = (struct mem_Allocator__599 *)&a0->allocator; - t10 = (*t9); - shared_Command_deinit__4784(t5, t10); - return 0; - } - case UINT8_C(6): { - t5 = (*t7); - t9 = (struct mem_Allocator__599 *)&a0->allocator; - t10 = (*t9); - shared_Command_deinit__4784(t5, t10); - return zig_error_UnexpectedError; - } - default: { - t11.f0 = t5; - logger_debug__anon_3051__5087(t11); - t5 = (*t7); - t9 = (struct mem_Allocator__599 *)&a0->allocator; - t10 = (*t9); - shared_Command_deinit__4784(t5, t10); - return zig_error_UnexpectedResponse; - } - } -} - -static uint16_t runner_fifo_RunnerFifo_send_version__1134(struct runner_fifo_RunnerFifo__631 *const a0, uint64_t const a1) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - struct shared_Command__2195 t4; - struct fifo_UnixPipe_Reader__640 *t6; - uint16_t t5; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4.tag = UINT8_C(8); - t4.payload.SetVersion = a1; - t5 = fifo_UnixPipe_Writer_sendCmd__1163(t3, t4); - if (t5) { - return t5; - } - t2 = (*t1); - t6 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t5 = fifo_UnixPipe_Reader_waitForAck__1170(t6, (nav__1134_76){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t5) { - return t5; - } - return 0; -} - -static uint16_t runner_fifo_RunnerFifo_validate_protocol_version__1125(struct runner_fifo_RunnerFifo__631 *const a0) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - nav__1125_43 t5; - nav__1125_45 t6; - uint16_t t3; - bool t4; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = runner_fifo_RunnerFifo_send_version__1134(t2, UINT64_C(2)); - t4 = t3 == UINT16_C(0); - if (t4) { - goto zig_block_0; - } - switch (t3) { - case zig_error_AckTimeout: { - return 0; - } - case zig_error_UnexpectedError: { - logger_err__anon_3074__5088(); - logger_err__anon_3082__5089(); - posix_exit__1624(UINT8_C(1)); - zig_unreachable(); - } - default: { - t5 = zig_errorName[t3 - 1]; - t6.f0 = t5; - logger_err__anon_3095__5090(t6); - posix_exit__1624(UINT8_C(1)); - zig_unreachable(); - } - } - - zig_block_0:; - return 0; -} - -static nav__1135_38 runner_fifo_RunnerFifo_get_integration_mode__1135(struct runner_fifo_RunnerFifo__631 *const a0) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - struct fifo_UnixPipe_Reader__640 *t6; - nav__1135_81 t7; - struct shared_Command__2195 t8; - struct shared_Command__2195 t9; - struct shared_Command__2195 const *t10; - struct mem_Allocator__599 *t13; - struct mem_Allocator__599 t14; - uint16_t t4; - nav__1135_38 t5; - uint8_t t11; - bool t12; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4 = fifo_UnixPipe_Writer_sendCmd__1163(t3, (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(9)}); - if (t4) { - t5.payload = UINT8_C(0x2); - t5.error = t4; - return t5; - } - t2 = (*t1); - t6 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t7 = fifo_UnixPipe_Reader_waitForResponse__1169(t6, (nav__1135_79){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t7.error) { - t4 = t7.error; - t5.payload = UINT8_C(0x2); - t5.error = t4; - return t5; - } - t8 = t7.payload; - t9 = t8; - t10 = (struct shared_Command__2195 const *)&t9; - t11 = t8.tag; - t12 = t11 == UINT8_C(10); - if (t12) { - t11 = t8.payload.IntegrationModeResponse; - t8 = (*t10); - t13 = (struct mem_Allocator__599 *)&a0->allocator; - t14 = (*t13); - shared_Command_deinit__4784(t8, t14); - t5.payload = t11; - t5.error = UINT16_C(0); - return t5; - } - goto zig_block_0; - - zig_block_0:; - t8 = (*t10); - t13 = (struct mem_Allocator__599 *)&a0->allocator; - t14 = (*t13); - shared_Command_deinit__4784(t8, t14); - return (nav__1135_38){zig_error_UnexpectedResponse,UINT8_C(0x2)}; -} - -static nav__815_39 instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_init__815(struct mem_Allocator__599 const a0) { - nav__815_62 t1; - nav__815_39 t3; - struct runner_fifo_RunnerFifo__631 t4; - struct runner_fifo_RunnerFifo__631 t0; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 t9; - uint16_t t2; - nav__815_65 t6; - uint8_t t5; - uint8_t t8; - bool t7; - t1 = runner_fifo_RunnerFifo_init__1124(a0); - if (t1.error) { - t2 = t1.error; - t3.payload = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591){{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}}; - t3.error = t2; - return t3; - } - t4 = t1.payload; - t0 = t4; - (void)runner_fifo_RunnerFifo_validate_protocol_version__1125(&t0); - t6 = runner_fifo_RunnerFifo_get_integration_mode__1135(&t0); - t7 = t6.error == UINT16_C(0); - if (t7) { - t8 = t6.payload; - t5 = t8; - goto zig_block_0; - } - t2 = t6.error; - runner_fifo_RunnerFifo_deinit__1126(&t0); - t3.payload = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591){{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}}; - t3.error = t2; - return t3; - - zig_block_0:; - t7 = t5 != UINT8_C(2); - if (t7) { - runner_fifo_RunnerFifo_deinit__1126(&t0); - return (nav__815_39){{{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}},zig_error_ModeError}; - } - goto zig_block_1; - - zig_block_1:; - t4 = t0; - t9.fifo = t4; - t3.payload = t9; - t3.error = UINT16_C(0); - return t3; -} - -static nav__802_39 instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_init__802(struct mem_Allocator__599 const a0) { - nav__802_62 t1; - nav__802_39 t3; - struct runner_fifo_RunnerFifo__631 t4; - struct runner_fifo_RunnerFifo__631 t0; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 t9; - uint16_t t2; - nav__802_65 t6; - uint8_t t5; - uint8_t t8; - bool t7; - t1 = runner_fifo_RunnerFifo_init__1124(a0); - if (t1.error) { - t2 = t1.error; - t3.payload = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582){{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}}; - t3.error = t2; - return t3; - } - t4 = t1.payload; - t0 = t4; - (void)runner_fifo_RunnerFifo_validate_protocol_version__1125(&t0); - t6 = runner_fifo_RunnerFifo_get_integration_mode__1135(&t0); - t7 = t6.error == UINT16_C(0); - if (t7) { - t8 = t6.payload; - t5 = t8; - goto zig_block_0; - } - t2 = t6.error; - runner_fifo_RunnerFifo_deinit__1126(&t0); - t3.payload = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582){{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}}; - t3.error = t2; - return t3; - - zig_block_0:; - t7 = t5 != UINT8_C(0); - if (t7) { - runner_fifo_RunnerFifo_deinit__1126(&t0); - return (nav__802_39){{{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}},{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},{{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},(uintptr_t)0xaaaaaaaaaaaaaaaaul,{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}},{-INT32_C(0x55555556)}}}},zig_error_ModeError}; - } - goto zig_block_1; - - zig_block_1:; - t4 = t0; - t9.fifo = t4; - t3.payload = t9; - t3.error = UINT16_C(0); - return t3; -} - -static nav__738_39 instruments_root_Instrument_init__738(struct mem_Allocator__599 const a0) { - nav__738_69 t0; - struct instruments_valgrind_ValgrindInstrument__564 t2; - struct instruments_root_Instrument__554 t3; - nav__738_39 t4; - nav__738_71 t5; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 t6; - nav__738_73 t7; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 t8; - bool t1; - t0 = instruments_valgrind_ValgrindInstrument_init__781(a0); - t1 = t0.error == UINT16_C(0); - if (t1) { - t2 = t0.payload; - t3.tag = UINT8_C(0); - t3.payload.valgrind = t2; - t4.payload = t3; - t4.error = UINT16_C(0); - return t4; - } - goto zig_block_0; - - zig_block_0:; - t5 = instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_init__815(a0); - t1 = t5.error == UINT16_C(0); - if (t1) { - t6 = t5.payload; - t3.tag = UINT8_C(2); - t3.payload.analysis = t6; - t4.payload = t3; +static nav__5062_39 bincode_deserializeStructAlloc__anon_2639__5062( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + int32_t *t1; + nav__5062_39 t4; + nav__5062_44 *t6; + nav__5062_60 t7; + nav__5062_44 t8; + struct shared_Command__struct_2198__2198 t9; + struct shared_Command__struct_2198__2198 t0; + nav__5062_57 t2; + int32_t t5; + uint16_t t3; + t1 = (int32_t *)&t0.pid; + t2 = bincode_deserializeAlloc__anon_2655__5063(a0, a1); + if (t2.error) { + t3 = t2.error; + t4.payload = (struct shared_Command__struct_2198__2198){ + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}; + t4.error = t3; + return t4; + } + t5 = t2.payload; + (*t1) = t5; + t6 = (nav__5062_44 *)&t0.uri; + t7 = bincode_deserializeAlloc__anon_2680__5065(a0, a1); + if (t7.error) { + t3 = t7.error; + t4.payload = (struct shared_Command__struct_2198__2198){ + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}; + t4.error = t3; + return t4; + } + t8 = t7.payload; + (*t6) = t8; + t9 = t0; + t4.payload = t9; t4.error = UINT16_C(0); return t4; - } - goto zig_block_1; +} - zig_block_1:; - t7 = instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_init__802(a0); - t1 = t7.error == UINT16_C(0); - if (t1) { - t8 = t7.payload; - t3.tag = UINT8_C(1); - t3.payload.perf = t8; - t4.payload = t3; +static nav__5061_39 bincode_deserializeAlloc__anon_2610__5061( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5061_39 t0; + struct shared_Command__struct_2198__2198 t2; + uint16_t t1; + t0 = bincode_deserializeStructAlloc__anon_2639__5062(a0, a1); + if (t0.error) { + t1 = t0.error; + t0.payload = (struct shared_Command__struct_2198__2198){ + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}; + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static uint16_t bincode_deserializeAlloc__anon_2752__5070( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + (void)a0; + (void)a1; + return 0; +} + +static nav__5072_39 bincode_deserializeStructAlloc__anon_2816__5072( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5072_44 *t1; + nav__5072_57 t2; + nav__5072_39 t4; + nav__5072_44 t5; + struct shared_Command__struct_2199__2199 t6; + struct shared_Command__struct_2199__2199 t0; + uint16_t t3; + t1 = (nav__5072_44 *)&t0.name; + t2 = bincode_deserializeAlloc__anon_2680__5065(a0, a1); + if (t2.error) { + t3 = t2.error; + t4.payload = (struct shared_Command__struct_2199__2199){ + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}; + t4.error = t3; + return t4; + } + t5 = t2.payload; + (*t1) = t5; + t1 = (nav__5072_44 *)&t0.version; + t2 = bincode_deserializeAlloc__anon_2680__5065(a0, a1); + if (t2.error) { + t3 = t2.error; + t4.payload = (struct shared_Command__struct_2199__2199){ + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}; + t4.error = t3; + return t4; + } + t5 = t2.payload; + (*t1) = t5; + t6 = t0; + t4.payload = t6; t4.error = UINT16_C(0); return t4; - } - goto zig_block_2; - - zig_block_2:; - return (nav__738_39){{{{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}},UINT8_C(3)},0}; -} - -static nav__726_39 instrument_hooks_InstrumentHooks_init__726(struct mem_Allocator__599 const a0) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instruments_root_Instrument__554 *t2; - nav__726_100 t3; - struct instruments_root_Instrument__554 t4; - struct environment_root_Environment__559 *t5; - struct environment_root_Environment__559 t6; - nav__726_39 t0; - t0.error = UINT16_C(0); - t1 = &t0.payload; - t2 = (struct instruments_root_Instrument__554 *)&t1->instrument; - t3 = instruments_root_Instrument_init__738(a0); - t4 = t3.payload; - (*t2) = t4; - t5 = (struct environment_root_Environment__559 *)&t1->environment; - t6 = environment_root_Environment_init__768(a0); - (*t5) = t6; - return t0; -} - -struct instrument_hooks_InstrumentHooks__547 *c_instrument_hooks_init__237(void) { - struct instrument_hooks_InstrumentHooks__547 *t0; - struct instrument_hooks_InstrumentHooks__547 *t3; - nav__237_46 t1; - nav__237_107 t4; - struct instrument_hooks_InstrumentHooks__547 t5; - bool t2; - t1 = mem_Allocator_create__anon_1045__4527((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}); - t2 = t1.error == UINT16_C(0); - if (t2) { - t3 = t1.payload; - t0 = t3; - goto zig_block_0; - } - return NULL; - - zig_block_0:; - t4 = instrument_hooks_InstrumentHooks_init__726((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}); - t5 = t4.payload; - (*t0) = t5; - t3 = (struct instrument_hooks_InstrumentHooks__547 *)t0; - return t3; -} - -static nav__4527_40 mem_Allocator_create__anon_1045__4527(struct mem_Allocator__599 const a0) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - uintptr_t t3; - nav__4527_51 t4; - nav__4527_40 t6; - uint8_t *t7; - struct instrument_hooks_InstrumentHooks__547 *t8; - uint16_t t5; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t4 = mem_Allocator_allocBytesWithAlignment__anon_3142__5091(t2, (uintptr_t)288ul, t3); - if (t4.error) { - t5 = t4.error; - t6.payload = ((struct instrument_hooks_InstrumentHooks__547 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul); - t6.error = t5; - return t6; - } - t7 = t4.payload; - t8 = (struct instrument_hooks_InstrumentHooks__547 *)t7; - t6.payload = t8; - t6.error = UINT16_C(0); - return t6; -} - -static uint16_t fs_accessAbsolute__1225(nav__1225_39 const a0, struct fs_File_OpenFlags__2111 const a1) { - struct fs_Dir__2113 const *t3; - struct fs_Dir__2113 t1; - struct fs_Dir__2113 t2; - uint16_t t4; - bool t0; - t0 = fs_path_isAbsolute__5126(a0); - debug_assert__180(t0); - t1 = fs_cwd__1217(); - t2 = t1; - t3 = (struct fs_Dir__2113 const *)&t2; - t1 = (*t3); - t4 = fs_Dir_access__4728(t1, a0, a1); - if (t4) { - return t4; - } - return 0; -} - -static nav__1222_39 fs_openFileAbsolute__1222(nav__1222_41 const a0, struct fs_File_OpenFlags__2111 const a1) { - struct fs_Dir__2113 const *t3; - struct fs_Dir__2113 t1; - struct fs_Dir__2113 t2; - nav__1222_39 t4; - bool t0; - t0 = fs_path_isAbsolute__5126(a0); - debug_assert__180(t0); - t1 = fs_cwd__1217(); - t2 = t1; - t3 = (struct fs_Dir__2113 const *)&t2; - t1 = (*t3); - t4 = fs_Dir_openFile__4664(t1, a0, a1); - return t4; -} - -static void utils_setNonBlocking__4780(int32_t const a0) { - int t0; - int t1; - t0 = a0; - t0 = fcntl(t0, 3, 0); - t0 = t0 | 2048; - t1 = a0; - (void)fcntl(t1, 4, t0); - return; -} - -static struct fifo_UnixPipe_Writer__638 fifo_UnixPipe_Writer_init__1160(struct fs_File__646 const a0, struct mem_Allocator__599 const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; - struct fs_File__646 *t5; - struct mem_Allocator__599 *t6; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; - struct fifo_UnixPipe_Writer__638 t4; - uint16_t t2; - bool t3; - t1 = array_list_ArrayListAligned_28u8_2cnull_29_init__1404(a1); - t0 = t1; - t2 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1441(&t0, (uintptr_t)1024ul); - t3 = t2 == UINT16_C(0); - if (t3) { - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t5 = (struct fs_File__646 *)&t4.file; - (*t5) = a0; - t6 = (struct mem_Allocator__599 *)&t4.allocator; - (*t6) = a1; - t7 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4.buffer; - t1 = t0; - (*t7) = t1; - return t4; -} - -static struct fifo_UnixPipe_Reader__640 fifo_UnixPipe_Reader_init__1165(struct fs_File__646 const a0, struct mem_Allocator__599 const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; - struct fs_File__646 *t5; - struct mem_Allocator__599 *t6; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; - struct fifo_UnixPipe_Reader__640 t4; - uint16_t t2; - bool t3; - t1 = array_list_ArrayListAligned_28u8_2cnull_29_init__1404(a1); - t0 = t1; - t2 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1441(&t0, (uintptr_t)1024ul); - t3 = t2 == UINT16_C(0); - if (t3) { +} + +static nav__5071_39 bincode_deserializeAlloc__anon_2797__5071( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5071_39 t0; + struct shared_Command__struct_2199__2199 t2; + uint16_t t1; + t0 = bincode_deserializeStructAlloc__anon_2816__5072(a0, a1); + if (t0.error) { + t1 = t0.error; + t0.payload = (struct shared_Command__struct_2199__2199){ + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}; + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static nav__5078_38 bincode_deserializeInt__anon_2939__5078( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0) { + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t1; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *t4; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t2; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t0; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t3; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *t5; + void const **t7; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t8; + void const *t9; + nav__5078_50 (**t10)(void const *, nav__5078_52); + struct io_Reader__2566 t11; + struct io_Reader__2566 t6; + struct io_Reader__2566 t12; + struct io_Reader__2566 t15; + struct io_Reader__2566 const *t13; + nav__5078_38 t14; + nav__5078_38 t18; + uint8_t const(*t21)[8]; + uint64_t t22; + nav__5078_64 t16; + uint16_t t17; + uint8_t t19[8]; + uint8_t t20[8]; + t0 = a0; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t0; + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__5078_50(**)(void const *, nav__5078_52)) & t6.readFn; + (*t10) = + &io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018; + t11 = t6; + t12 = t11; + t13 = (struct io_Reader__2566 const *)&t12; + t11 = (*t13); + t15 = t11; + t13 = (struct io_Reader__2566 const *)&t15; + t11 = (*t13); + t16 = io_Reader_readBytesNoEof__anon_2706__5067(t11); + if (t16.error) { + t17 = t16.error; + t18.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); + t18.error = t17; + t14 = t18; + goto zig_block_0; + } + memcpy(t19, t16.payload, sizeof(uint8_t[8])); + memcpy((char *)&t20, t19, sizeof(uint8_t[8])); + t21 = (uint8_t const(*)[8]) & t20; + memcpy(t19, (const char *)t21, sizeof(uint8_t[8])); + memcpy(&t22, &t19, sizeof(uint64_t)); + t22 = zig_wrap_u64(t22, UINT8_C(64)); + t18.payload = t22; + t18.error = UINT16_C(0); + t14 = t18; goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t5 = (struct fs_File__646 *)&t4.file; - (*t5) = a0; - t6 = (struct mem_Allocator__599 *)&t4.allocator; - (*t6) = a1; - t7 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4.buffer; - t1 = t0; - (*t7) = t1; - return t4; -} - -static void array_list_ArrayListAligned_28u8_2cnull_29_clearRetainingCapacity__1439(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - nav__1439_43 *t3; - uintptr_t *t4; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (*t1); - t3 = (nav__1439_43 *)&t2->items; - t4 = &t3->len; - (*t4) = (uintptr_t)0ul; - return; -} - -static struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 array_list_ArrayListAligned_28u8_2cnull_29_writer__1429(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 **t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 **)&t0.context; - (*t1) = a0; - return t0; -} - -static uint16_t bincode_serialize__anon_2247__4911(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__2195 const a1) { - uint16_t t0; - t0 = bincode_serializeUnion__anon_3205__6120(a0, a1); - if (t0) { + +zig_block_0:; + memcpy(&t18, &t14, sizeof(nav__5078_38)); + if (t18.error) { + t17 = t18.error; + t18.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); + t18.error = t17; + return t18; + } + t22 = t18.payload; + t18.payload = t22; + t18.error = UINT16_C(0); + return t18; +} + +static nav__5077_38 bincode_deserializeAlloc__anon_2934__5077( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5077_38 t0; + uint64_t t2; + uint16_t t1; + (void)a1; + t0 = bincode_deserializeInt__anon_2939__5078(a0); + if (t0.error) { + t1 = t0.error; + t0.payload = UINT64_C(0xaaaaaaaaaaaaaaaa); + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); return t0; - } - return 0; -} - -static uint8_t const (*mem_asBytes__anon_2285__4912(uint32_t const *const a0))[4] { - uint8_t const (*t0)[4]; - t0 = (uint8_t const (*)[4])a0; - return t0; -} - -static uint16_t fs_File_writeAll__1316(struct fs_File__646 const a0, nav__1316_40 const a1) { - struct fs_File__646 const *t1; - nav__1316_40 const *t3; - uintptr_t t5; - uintptr_t t6; - uintptr_t t13; - uintptr_t t4; - uint64_t t7; - uint64_t t8; - nav__1316_40 t11; - nav__1316_40 t2; - uint8_t const *t12; - nav__1316_47 t14; - struct fs_File__646 t10; - struct fs_File__646 t0; - uint16_t t15; - bool t9; - t0 = a0; - t1 = (struct fs_File__646 const *)&t0; - t2 = a1; - t3 = (nav__1316_40 const *)&t2; - t4 = (uintptr_t)0ul; - zig_loop_11: - t5 = t4; - t6 = a1.len; - t7 = t5; - t8 = t6; - t9 = t7 < t8; - if (t9) { - t6 = t4; - t10 = (*t1); - t5 = t4; - t11 = (*t3); - t12 = t11.ptr; - t12 = (uint8_t const *)(((uintptr_t)t12) + (t5*sizeof(uint8_t))); - t13 = t11.len; - t5 = t13 - t5; - t11.ptr = t12; - t11.len = t5; - t14 = fs_File_write__1315(t10, t11); - if (t14.error) { - t15 = t14.error; - return t15; +} + +static nav__5076_39 bincode_deserializeUnionAlloc__anon_2921__5076( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5076_39 t2; + nav__5076_56 t6; + uint64_t t7; + struct shared_MarkerType__2202 t8; + nav__5076_54 t0; + uint32_t t3; + uint16_t t1; + uint8_t t4; + bool t5; + t0 = bincode_deserializeAlloc__anon_2540__5021(a0, a1); + if (t0.error) { + t1 = t0.error; + t2.payload = (struct shared_MarkerType__2202){ + {UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}; + t2.error = t1; + return t2; } - t5 = t14.payload; - t5 = t6 + t5; - t4 = t5; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_11; - - zig_block_0:; - return 0; -} - -static zig_i128 time_nanoTimestamp__4925(void) { - zig_i128 t6; - zig_i128 t7; - nav__4925_41 t0; - struct os_linux_timespec__struct_3262__3262 t2; - struct os_linux_timespec__struct_3262__3262 t3; - intptr_t t5; - uint16_t t4; - bool t1; - t0 = posix_clock_gettime__1815(UINT32_C(0)); - t1 = t0.error == UINT16_C(0); - if (t1) { t3 = t0.payload; - t2 = t3; + t4 = (uint8_t)t3; + t5 = t4 == UINT8_C(0); + if (t5) { + t6 = bincode_deserializeAlloc__anon_2934__5077(a0, a1); + if (t6.error) { + t1 = t6.error; + t2.payload = (struct shared_MarkerType__2202){ + {UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}; + t2.error = t1; + return t2; + } + t7 = t6.payload; + t8.tag = UINT8_C(0); + t8.payload.SampleStart = t7; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; + } goto zig_block_0; - } - t4 = t0.error; - switch (t4) { - case zig_error_UnsupportedClock: - case zig_error_Unexpected: { - return zig_make_i128(INT64_C(0), UINT64_C(0)); - } - default: zig_unreachable(); - } - - zig_block_0:; - t5 = t2.sec; - t6 = zig_make_i128(0, t5); - t6 = zig_mul_i128(t6, zig_make_i128(INT64_C(0), UINT64_C(1000000000))); - t5 = t2.nsec; - t7 = zig_make_i128(0, t5); - t7 = zig_add_i128(t6, t7); - return t7; -} - -static nav__1306_38 fs_File_readAll__1306(struct fs_File__646 const a0, nav__1306_41 const a1) { - struct fs_File__646 const *t1; - nav__1306_41 const *t3; - uintptr_t t5; - uintptr_t t6; - uintptr_t t4; - uint64_t t7; - uint64_t t8; - nav__1306_41 t11; - nav__1306_41 t2; - uint8_t *t12; - nav__1306_38 t13; - struct fs_File__646 t10; - struct fs_File__646 t0; - uint16_t t14; - bool t9; - t0 = a0; - t1 = (struct fs_File__646 const *)&t0; - t2 = a1; - t3 = (nav__1306_41 const *)&t2; - t4 = (uintptr_t)0ul; - zig_loop_11: - t5 = t4; - t6 = a1.len; - t7 = t5; - t8 = t6; - t9 = t7 != t8; - if (t9) { - t10 = (*t1); - t6 = t4; - t11 = (*t3); - t12 = t11.ptr; - t12 = (uint8_t *)(((uintptr_t)t12) + (t6*sizeof(uint8_t))); - t5 = t11.len; - t6 = t5 - t6; - t11.ptr = t12; - t11.len = t6; - t13 = fs_File_read__1305(t10, t11); - if (t13.error) { - t14 = t13.error; - t13.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t13.error = t14; - return t13; + +zig_block_0:; + t5 = t4 == UINT8_C(1); + if (t5) { + t6 = bincode_deserializeAlloc__anon_2934__5077(a0, a1); + if (t6.error) { + t1 = t6.error; + t2.payload = (struct shared_MarkerType__2202){ + {UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}; + t2.error = t1; + return t2; + } + t7 = t6.payload; + t8.tag = UINT8_C(1); + t8.payload.SampleEnd = t7; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } - t6 = t13.payload; - t8 = t6; - t9 = t8 == UINT64_C(0); - if (t9) { - goto zig_block_0; + goto zig_block_1; + +zig_block_1:; + t5 = t4 == UINT8_C(2); + if (t5) { + t6 = bincode_deserializeAlloc__anon_2934__5077(a0, a1); + if (t6.error) { + t1 = t6.error; + t2.payload = (struct shared_MarkerType__2202){ + {UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}; + t2.error = t1; + return t2; + } + t7 = t6.payload; + t8.tag = UINT8_C(2); + t8.payload.BenchmarkStart = t7; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } goto zig_block_2; - zig_block_2:; - t5 = t4; - t6 = t5 + t6; - t4 = t6; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_11; - - zig_block_0:; - t6 = t4; - t13.payload = t6; - t13.error = UINT16_C(0); - return t13; -} - -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_resize__1436(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, uintptr_t const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - nav__1436_43 *t4; - uintptr_t *t5; - uint16_t t3; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (*t1); - t3 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1441(t2, a1); - if (t3) { - return t3; - } - t2 = (*t1); - t4 = (nav__1436_43 *)&t2->items; - t5 = &t4->len; - (*t5) = a1; - return 0; -} - -static struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(nav__4984_40 const a0) { - nav__4984_40 *t1; - uintptr_t *t2; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - t1 = (nav__4984_40 *)&t0.buffer; - (*t1) = a0; - t2 = (uintptr_t *)&t0.pos; - (*t2) = (uintptr_t)0ul; - return t0; -} - -static struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_reader__4973(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 **t1; - struct io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 t0; - t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 **)&t0.context; - (*t1) = a0; - return t0; -} - -static nav__5017_38 io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5017(void const *const a0, nav__5017_41 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t0; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t1; - nav__5017_38 t2; - nav__5017_38 t3; - t0 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)a0; - t1 = (*t0); - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_read__4976(t1, a1); - memcpy(&t3, &t2, sizeof(nav__5017_38)); - return t3; -} - -static nav__5059_39 io_Reader_readBytesNoEof__anon_2597__5059(struct io_Reader__2566 const a0) { - struct io_Reader__2566 const *t1; - struct io_Reader__2566 t3; - struct io_Reader__2566 t0; - nav__5059_46 t4; - uint16_t t5; - nav__5059_39 t6; - uint8_t t7[4]; - uint8_t t2[4]; - t0 = a0; - t1 = (struct io_Reader__2566 const *)&t0; - t3 = (*t1); - t4.ptr = &t2[(uintptr_t)0ul]; - t4.len = (uintptr_t)4ul; - t5 = io_Reader_readNoEof__5026(t3, t4); - if (t5) { - memcpy(t6.payload, "\252\252\252\252", sizeof(uint8_t[4])); - t6.error = t5; - return t6; - } - memcpy(t7, (const char *)&t2, sizeof(uint8_t[4])); - memcpy(t6.payload, t7, sizeof(uint8_t[4])); - t6.error = UINT16_C(0); - return t6; -} - -static nav__5064_39 io_Reader_readBytesNoEof__anon_2690__5064(struct io_Reader__2566 const a0) { - struct io_Reader__2566 const *t1; - struct io_Reader__2566 t3; - struct io_Reader__2566 t0; - nav__5064_46 t4; - uint16_t t5; - nav__5064_39 t6; - uint8_t t7[8]; - uint8_t t2[8]; - t0 = a0; - t1 = (struct io_Reader__2566 const *)&t0; - t3 = (*t1); - t4.ptr = &t2[(uintptr_t)0ul]; - t4.len = (uintptr_t)8ul; - t5 = io_Reader_readNoEof__5026(t3, t4); - if (t5) { - memcpy(t6.payload, "\252\252\252\252\252\252\252\252", sizeof(uint8_t[8])); - t6.error = t5; - return t6; - } - memcpy(t7, (const char *)&t2, sizeof(uint8_t[8])); - memcpy(t6.payload, t7, sizeof(uint8_t[8])); - t6.error = UINT16_C(0); - return t6; -} - -static nav__5065_40 mem_Allocator_alloc__anon_2699__5065(struct mem_Allocator__599 const a0, uintptr_t const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t5; - uintptr_t t3; - nav__5065_40 t4; - nav__5065_40 t8; - nav__5065_51 t6; - uint8_t *t9; - uint8_t *t10; - uint8_t *const *t11; - nav__5065_39 t12; - uint16_t t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t5 = t2; - t1 = (struct mem_Allocator__599 const *)&t5; - t2 = (*t1); - t6 = mem_Allocator_allocWithSizeAndAlignment__anon_3299__6121(t2, a1, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = (nav__5065_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t7; - t4 = t8; - goto zig_block_0; - } - t9 = t6.payload; - t10 = t9; - t11 = (uint8_t *const *)&t10; - t9 = (*t11); - t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul*sizeof(uint8_t))); - t12.ptr = t9; - t12.len = a1; - t8.payload = t12; - t8.error = UINT16_C(0); - t4 = t8; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static nav__5024_38 io_Reader_readAll__5024(struct io_Reader__2566 const a0, nav__5024_41 const a1) { - uintptr_t t0; - nav__5024_38 t1; - t0 = a1.len; - t1 = io_Reader_readAtLeast__5025(a0, a1, t0); - return t1; -} - -static zig_noreturn void bincode_invalidProtocol__anon_2721__5066(void) { - utils_print__anon_3319__6122(); - posix_exit__1624(UINT8_C(1)); - zig_unreachable(); -} - -static void utils_sleep__4779(uint64_t const a0) { - uint64_t t0; - uint64_t t1; - long *t3; - long t4; - long t7; - nav__4779_42 t5; - struct cimport_struct_timespec__3333 const *t9; - struct cimport_struct_timespec__3333 *t10; - struct cimport_struct_timespec__3333 t13; - struct cimport_struct_timespec__3333 t2; - struct cimport_struct_timespec__3333 t8; - int t11; - int32_t t12; - bool t6; - t0 = a0 / UINT64_C(1000000000); - t1 = a0 % UINT64_C(1000000000); - t3 = (long *)&t2.tv_sec; - t5 = math_cast__anon_3346__7055(t0); - t6 = t5.is_null != true; - if (t6) { - t7 = t5.payload; - t4 = t7; - goto zig_block_0; - } - t4 = LONG_MAX; - goto zig_block_0; - - zig_block_0:; - (*t3) = t4; - t3 = (long *)&t2.tv_nsec; - t5 = math_cast__anon_3346__7055(t1); - t6 = t5.is_null != true; - if (t6) { - t7 = t5.payload; - t4 = t7; - goto zig_block_1; - } - t4 = LONG_MAX; - goto zig_block_1; - - zig_block_1:; - (*t3) = t4; - zig_loop_28: - t9 = (struct cimport_struct_timespec__3333 const *)&t2; - t10 = (struct cimport_struct_timespec__3333 *)&t8; - t11 = nanosleep(t9, t10); - t12 = t11; - t6 = t12 == INT32_C(4); - if (t6) { - t13 = t8; - t2 = t13; - goto zig_block_2; - } - return; - - zig_block_2:; - goto zig_loop_28; -} - -static void shared_Command_deinit__4784(struct shared_Command__2195 const a0, struct mem_Allocator__599 const a1) { - struct mem_Allocator__599 const *t1; - struct shared_Command__struct_2199__2199 t3; - struct mem_Allocator__599 t4; - struct mem_Allocator__599 t0; - nav__4784_43 t5; - struct shared_Command__struct_2198__2198 t6; - uint8_t t2; - t0 = a1; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a0.tag; - switch (t2) { - case UINT8_C(5): { - t3 = a0.payload.SetIntegration; - t4 = (*t1); - t5 = t3.name; - mem_Allocator_free__anon_3423__7835(t4, t5); - t4 = (*t1); - t5 = t3.version; - mem_Allocator_free__anon_3423__7835(t4, t5); - goto zig_block_0; - } - case UINT8_C(0): { - t6 = a0.payload.ExecutedBenchmark; - t4 = (*t1); - t5 = t6.uri; - mem_Allocator_free__anon_3423__7835(t4, t5); - goto zig_block_0; - } - case UINT8_C(8): { - goto zig_block_0; - } - case UINT8_C(9): { - goto zig_block_0; - } - case UINT8_C(10): { - goto zig_block_0; - } - default: { - goto zig_block_0; - } - } - - zig_block_0:; - return; -} - -static void logger_debug__anon_3051__5087(nav__5087_39 const a0) { - logger_logWithPrefix__anon_3431__7836(a0); - return; -} - -static void logger_err__anon_3074__5088(void) { - logger_logWithPrefix__anon_3433__7837(); - return; -} - -static void logger_err__anon_3082__5089(void) { - logger_logWithPrefix__anon_3434__7838(); - return; -} - -static zig_noreturn void posix_exit__1624(uint8_t const a0) { - int t0; - t0 = (int)a0; - exit(t0); - zig_unreachable(); -} - -static void logger_err__anon_3095__5090(nav__5090_40 const a0) { - logger_logWithPrefix__anon_3439__7840(a0); - return; -} - -static void runner_fifo_RunnerFifo_deinit__1126(struct runner_fifo_RunnerFifo__631 *const a0) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - struct fifo_UnixPipe_Reader__640 *t4; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - fifo_UnixPipe_Writer_deinit__1164(t3); - t2 = (*t1); - t4 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - fifo_UnixPipe_Reader_deinit__1171(t4); - return; -} - -static struct environment_root_Environment__559 environment_root_Environment_init__768(struct mem_Allocator__599 const a0) { - struct mem_Allocator__599 *t1; - struct environment_linked_libraries_root_LinkedLibraries__843 *t2; - struct environment_linked_libraries_root_LinkedLibraries__843 t3; - struct environment_root_EnvironmentJson__839 *t4; - struct environment_root_Environment__559 t0; - t1 = (struct mem_Allocator__599 *)&t0.allocator; - (*t1) = a0; - t2 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&t0.libs; - t3 = environment_linked_libraries_root_LinkedLibraries_init__3629(a0); - (*t2) = t3; - t4 = (struct environment_root_EnvironmentJson__839 *)&t0.data; - (*t4) = (struct environment_root_EnvironmentJson__839){{{{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul,(uintptr_t)0ul},NULL}},{{{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul,(uintptr_t)0ul},NULL}}}; - return t0; -} - -static nav__5091_39 mem_Allocator_allocBytesWithAlignment__anon_3142__5091(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uint64_t t2; - uint8_t *t4; - uint8_t *t13; - uint8_t *t14; - uint8_t *t15; - struct mem_Allocator__599 t5; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t7; - struct mem_Allocator_VTable__602 const *const *t8; - struct mem_Allocator_VTable__602 const *t9; - uint8_t *(*const *t10)(void *, uintptr_t, uint8_t, uintptr_t); - uint8_t *(*t11)(void *, uintptr_t, uint8_t, uintptr_t); - void *t12; - uint8_t *const *t16; - nav__5091_52 t17; - nav__5091_39 t18; - bool t3; - uint8_t t6; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = t2 == UINT64_C(0); - if (t3) { - return (nav__5091_39){(uint8_t *)(uintptr_t)0xfffffffffffffff8ul,0}; - } - goto zig_block_0; - - zig_block_0:; - t5 = (*t1); - t6 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t7 = t5; - t1 = (struct mem_Allocator__599 const *)&t7; - t8 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t9 = (*t8); - t10 = (uint8_t *(*const *)(void *, uintptr_t, uint8_t, uintptr_t))&t9->alloc; - t11 = (*t10); - t12 = t5.ptr; - t13 = t11(t12, a1, t6, a2); - t3 = t13 != NULL; - if (t3) { - t14 = t13; - t4 = t14; - goto zig_block_1; - } - return (nav__5091_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_1:; - t15 = t4; - t16 = (uint8_t *const *)&t15; - t14 = (*t16); - t14 = (uint8_t *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t17.ptr = t14; - t17.len = a1; - t14 = (uint8_t *)t4; - t18.payload = t14; - t18.error = UINT16_C(0); - return t18; -} - -static bool fs_path_isAbsolute__5126(nav__5126_39 const a0) { - bool t0; - t0 = fs_path_isAbsolutePosix__5132(a0); - return t0; -} - -static struct fs_Dir__2113 fs_cwd__1217(void) { - struct fs_Dir__2113 t0; - t0 = (struct fs_Dir__2113){-INT32_C(100)}; - return t0; -} - -static uint16_t fs_Dir_access__4728(struct fs_Dir__2113 const a0, nav__4728_40 const a1, struct fs_File_OpenFlags__2111 const a2) { - struct fs_Dir__2113 const *t1; - uint8_t const (*t6)[4096]; - uint8_t const *t8; - struct fs_Dir__2113 t7; - struct fs_Dir__2113 t0; - nav__4728_49 t2; - uint16_t t3; - uint8_t t4[4096]; - uint8_t t5[4096]; - t0 = a0; - t1 = (struct fs_Dir__2113 const *)&t0; - t2 = posix_toPosixPath__1899(a1); - if (t2.error) { - t3 = t2.error; - return t3; - } - memcpy(t4, t2.payload, sizeof(uint8_t[4096])); - memcpy((char *)&t5, t4, sizeof(uint8_t[4096])); - t6 = (uint8_t const (*)[4096])&t5; - t7 = (*t1); - t8 = (uint8_t const *)t6; - t3 = fs_Dir_accessZ__4729(t7, t8, a2); - return t3; -} - -static nav__4664_39 fs_Dir_openFile__4664(struct fs_Dir__2113 const a0, nav__4664_42 const a1, struct fs_File_OpenFlags__2111 const a2) { - struct fs_Dir__2113 const *t1; - uint8_t const (*t8)[4096]; - uint8_t const *t10; - nav__4664_39 t5; - struct fs_Dir__2113 t9; - struct fs_Dir__2113 t0; - nav__4664_53 t3; - uint16_t t4; - uint8_t t6[4096]; - uint8_t t7[4096]; - struct fs_File_OpenFlags__2111 t2; - t0 = a0; - t1 = (struct fs_Dir__2113 const *)&t0; - t2 = a2; - t3 = posix_toPosixPath__1899(a1); - if (t3.error) { - t4 = t3.error; - t5.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t5.error = t4; - return t5; - } - memcpy(t6, t3.payload, sizeof(uint8_t[4096])); - memcpy((char *)&t7, t6, sizeof(uint8_t[4096])); - t8 = (uint8_t const (*)[4096])&t7; - t9 = (*t1); - t10 = (uint8_t const *)t8; - t5 = fs_Dir_openFileZ__4665(t9, t10, a2); - return t5; -} - -static struct array_list_ArrayListAligned_28u8_2cnull_29__658 array_list_ArrayListAligned_28u8_2cnull_29_init__1404(struct mem_Allocator__599 const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; - t0.items = (nav__1404_42){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - t0.capacity = (uintptr_t)0ul; - t0.allocator = a0; - return t0; -} - -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1441(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, uintptr_t const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - uint16_t t8; - bool t6; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a1; - t6 = t4 >= t5; - if (t6) { - return 0; - } - goto zig_block_0; - - zig_block_0:; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t3 = array_list_ArrayListAlignedUnmanaged_28u8_2cnull_29_growCapacity__7911(t3, a1); - t7 = (*t1); - t8 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacityPrecise__1442(t7, t3); - return t8; -} - -static uint16_t bincode_serializeUnion__anon_3205__6120(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__2195 const a1) { - struct shared_Command__struct_2198__2198 t4; - struct shared_Command__struct_2199__2199 t5; - struct shared_Command__struct_2200__2200 t6; - uint64_t t7; - uint32_t t1; - uint16_t t2; - uint8_t t0; - bool t3; - t0 = a1.tag; - t1 = (uint32_t)t0; - t2 = bincode_serialize__anon_3550__7912(a0, t1); - if (t2) { +zig_block_2:; + t5 = t4 == UINT8_C(3); + if (t5) { + t6 = bincode_deserializeAlloc__anon_2934__5077(a0, a1); + if (t6.error) { + t1 = t6.error; + t2.payload = (struct shared_MarkerType__2202){ + {UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}; + t2.error = t1; + return t2; + } + t7 = t6.payload; + t8.tag = UINT8_C(3); + t8.payload.BenchmarkEnd = t7; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; + } + goto zig_block_3; + +zig_block_3:; + zig_unreachable(); +} + +static nav__5075_39 bincode_deserializeAlloc__anon_2887__5075( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5075_39 t0; + struct shared_MarkerType__2202 t2; + uint16_t t1; + t0 = bincode_deserializeUnionAlloc__anon_2921__5076(a0, a1); + if (t0.error) { + t1 = t0.error; + t0.payload = (struct shared_MarkerType__2202){ + {UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}; + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static nav__5074_39 bincode_deserializeStructAlloc__anon_2869__5074( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + int32_t *t1; + nav__5074_39 t4; + struct shared_MarkerType__2202 *t6; + nav__5074_60 t7; + struct shared_MarkerType__2202 t8; + struct shared_Command__struct_2200__2200 t9; + struct shared_Command__struct_2200__2200 t0; + nav__5074_57 t2; + int32_t t5; + uint16_t t3; + t1 = (int32_t *)&t0.pid; + t2 = bincode_deserializeAlloc__anon_2655__5063(a0, a1); + if (t2.error) { + t3 = t2.error; + t4.payload = (struct shared_Command__struct_2200__2200){ + {{UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}, -INT32_C(0x55555556)}; + t4.error = t3; + return t4; + } + t5 = t2.payload; + (*t1) = t5; + t6 = (struct shared_MarkerType__2202 *)&t0.marker; + t7 = bincode_deserializeAlloc__anon_2887__5075(a0, a1); + if (t7.error) { + t3 = t7.error; + t4.payload = (struct shared_Command__struct_2200__2200){ + {{UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}, -INT32_C(0x55555556)}; + t4.error = t3; + return t4; + } + t8 = t7.payload; + (*t6) = t8; + t9 = t0; + t4.payload = t9; + t4.error = UINT16_C(0); + return t4; +} + +static nav__5073_39 bincode_deserializeAlloc__anon_2855__5073( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5073_39 t0; + struct shared_Command__struct_2200__2200 t2; + uint16_t t1; + t0 = bincode_deserializeStructAlloc__anon_2869__5074(a0, a1); + if (t0.error) { + t1 = t0.error; + t0.payload = (struct shared_Command__struct_2200__2200){ + {{UINT64_C(0xaaaaaaaaaaaaaaaa)}, UINT8_C(0x2)}, -INT32_C(0x55555556)}; + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static nav__5080_38 bincode_deserializeEnum__anon_3025__5080( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0) { + nav__5080_46 t0; + uint32_t t3; + uint16_t t1; + nav__5080_38 t2; + uint8_t t4; + t0 = bincode_deserializeInt__anon_2551__5022(a0); + if (t0.error) { + t1 = t0.error; + t2.payload = UINT8_C(0x2); + t2.error = t1; + return t2; + } + t3 = t0.payload; + t4 = (uint8_t)t3; + t2.payload = t4; + t2.error = UINT16_C(0); return t2; - } - t0 = a1.tag; - t3 = t0 == UINT8_C(0); - if (t3) { - t4 = a1.payload.ExecutedBenchmark; - t2 = bincode_serialize__anon_3552__7913(a0, t4); - if (t2) { - return t2; +} + +static nav__5079_38 bincode_deserializeAlloc__anon_2996__5079( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5079_38 t0; + uint16_t t1; + uint8_t t2; + (void)a1; + t0 = bincode_deserializeEnum__anon_3025__5080(a0); + if (t0.error) { + t1 = t0.error; + t0.payload = UINT8_C(0x2); + t0.error = t1; + return t0; + } + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static nav__5020_39 bincode_deserializeUnionAlloc__anon_2535__5020( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5020_39 t2; + nav__5020_68 t6; + struct shared_Command__struct_2198__2198 t7; + struct shared_Command__2195 t8; + nav__5020_70 t9; + struct shared_Command__struct_2199__2199 t10; + nav__5020_72 t11; + struct shared_Command__struct_2200__2200 t12; + nav__5020_74 t13; + uint64_t t14; + nav__5020_66 t0; + uint32_t t3; + uint16_t t1; + nav__5020_76 t15; + uint8_t t4; + bool t5; + t0 = bincode_deserializeAlloc__anon_2540__5021(a0, a1); + if (t0.error) { + t1 = t0.error; + t2.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t2.error = t1; + return t2; + } + t3 = t0.payload; + t4 = (uint8_t)t3; + t5 = t4 == UINT8_C(0); + if (t5) { + t6 = bincode_deserializeAlloc__anon_2610__5061(a0, a1); + if (t6.error) { + t1 = t6.error; + t2.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t2.error = t1; + return t2; + } + t7 = t6.payload; + t8.tag = UINT8_C(0); + t8.payload.ExecutedBenchmark = t7; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t0 = a1.tag; - t3 = t0 == UINT8_C(1); - if (t3) { - t2 = bincode_serialize__anon_3554__7914(a0); - if (t2) { - return t2; + +zig_block_0:; + t5 = t4 == UINT8_C(1); + if (t5) { + (void)bincode_deserializeAlloc__anon_2752__5070(a0, a1); + return (nav__5020_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(1)}, + 0}; } goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t0 = a1.tag; - t3 = t0 == UINT8_C(2); - if (t3) { - t2 = bincode_serialize__anon_3554__7914(a0); - if (t2) { - return t2; + +zig_block_1:; + t5 = t4 == UINT8_C(2); + if (t5) { + (void)bincode_deserializeAlloc__anon_2752__5070(a0, a1); + return (nav__5020_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(2)}, + 0}; } goto zig_block_2; - } - goto zig_block_2; - - zig_block_2:; - t0 = a1.tag; - t3 = t0 == UINT8_C(3); - if (t3) { - t2 = bincode_serialize__anon_3554__7914(a0); - if (t2) { - return t2; + +zig_block_2:; + t5 = t4 == UINT8_C(3); + if (t5) { + (void)bincode_deserializeAlloc__anon_2752__5070(a0, a1); + return (nav__5020_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(3)}, + 0}; } goto zig_block_3; - } - goto zig_block_3; - - zig_block_3:; - t0 = a1.tag; - t3 = t0 == UINT8_C(4); - if (t3) { - t2 = bincode_serialize__anon_3554__7914(a0); - if (t2) { - return t2; + +zig_block_3:; + t5 = t4 == UINT8_C(4); + if (t5) { + (void)bincode_deserializeAlloc__anon_2752__5070(a0, a1); + return (nav__5020_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(4)}, + 0}; } goto zig_block_4; - } - goto zig_block_4; - - zig_block_4:; - t0 = a1.tag; - t3 = t0 == UINT8_C(5); - if (t3) { - t5 = a1.payload.SetIntegration; - t2 = bincode_serialize__anon_3556__7915(a0, t5); - if (t2) { - return t2; + +zig_block_4:; + t5 = t4 == UINT8_C(5); + if (t5) { + t9 = bincode_deserializeAlloc__anon_2797__5071(a0, a1); + if (t9.error) { + t1 = t9.error; + t2.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t2.error = t1; + return t2; + } + t10 = t9.payload; + t8.tag = UINT8_C(5); + t8.payload.SetIntegration = t10; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t0 = a1.tag; - t3 = t0 == UINT8_C(6); - if (t3) { - t2 = bincode_serialize__anon_3554__7914(a0); - if (t2) { - return t2; + +zig_block_5:; + t5 = t4 == UINT8_C(6); + if (t5) { + (void)bincode_deserializeAlloc__anon_2752__5070(a0, a1); + return (nav__5020_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(6)}, + 0}; } goto zig_block_6; - } - goto zig_block_6; - - zig_block_6:; - t0 = a1.tag; - t3 = t0 == UINT8_C(7); - if (t3) { - t6 = a1.payload.AddMarker; - t2 = bincode_serialize__anon_3558__7916(a0, t6); - if (t2) { - return t2; + +zig_block_6:; + t5 = t4 == UINT8_C(7); + if (t5) { + t11 = bincode_deserializeAlloc__anon_2855__5073(a0, a1); + if (t11.error) { + t1 = t11.error; + t2.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t2.error = t1; + return t2; + } + t12 = t11.payload; + t8.tag = UINT8_C(7); + t8.payload.AddMarker = t12; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } goto zig_block_7; - } - goto zig_block_7; - - zig_block_7:; - t0 = a1.tag; - t3 = t0 == UINT8_C(8); - if (t3) { - t7 = a1.payload.SetVersion; - t2 = bincode_serialize__anon_3560__7917(a0, t7); - if (t2) { - return t2; + +zig_block_7:; + t5 = t4 == UINT8_C(8); + if (t5) { + t13 = bincode_deserializeAlloc__anon_2934__5077(a0, a1); + if (t13.error) { + t1 = t13.error; + t2.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t2.error = t1; + return t2; + } + t14 = t13.payload; + t8.tag = UINT8_C(8); + t8.payload.SetVersion = t14; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } goto zig_block_8; - } - goto zig_block_8; - - zig_block_8:; - t0 = a1.tag; - t3 = t0 == UINT8_C(9); - if (t3) { - t2 = bincode_serialize__anon_3554__7914(a0); - if (t2) { - return t2; + +zig_block_8:; + t5 = t4 == UINT8_C(9); + if (t5) { + (void)bincode_deserializeAlloc__anon_2752__5070(a0, a1); + return (nav__5020_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(9)}, + 0}; } goto zig_block_9; - } - goto zig_block_9; - - zig_block_9:; - t0 = a1.tag; - t3 = t0 == UINT8_C(10); - if (t3) { - t0 = a1.payload.IntegrationModeResponse; - t2 = bincode_serialize__anon_3562__7918(a0, t0); - if (t2) { - return t2; + +zig_block_9:; + t5 = t4 == UINT8_C(10); + if (t5) { + t15 = bincode_deserializeAlloc__anon_2996__5079(a0, a1); + if (t15.error) { + t1 = t15.error; + t2.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t2.error = t1; + return t2; + } + t4 = t15.payload; + t8.tag = UINT8_C(10); + t8.payload.IntegrationModeResponse = t4; + t2.payload = t8; + t2.error = UINT16_C(0); + return t2; } goto zig_block_10; - } - goto zig_block_10; - - zig_block_10:; - return 0; -} - -static nav__1315_38 fs_File_write__1315(struct fs_File__646 const a0, nav__1315_41 const a1) { - nav__1315_38 t1; - int32_t t0; - t0 = a0.handle; - t1 = posix_write__1634(t0, a1); - return t1; -} - -static nav__1815_39 posix_clock_gettime__1815(uint32_t const a0) { - struct os_linux_timespec__struct_3262__3262 t3; - struct os_linux_timespec__struct_3262__3262 t0; - nav__1815_39 t4; - int t1; - uint16_t t2; - t1 = clock_gettime(a0, &t0); - t2 = posix_errno__anon_3728__7985(t1); - switch (t2) { - case UINT16_C(0): { - t3 = t0; - t4.payload = t3; - t4.error = UINT16_C(0); - return t4; - } - case UINT16_C(14): { - zig_unreachable(); - } - case UINT16_C(22): { - return (nav__1815_39){{-(intptr_t)0x5555555555555556,-(intptr_t)0x5555555555555556},zig_error_UnsupportedClock}; - } - default: { - t2 = posix_unexpectedErrno__1898(t2); - t4.payload = (struct os_linux_timespec__struct_3262__3262){-(intptr_t)0x5555555555555556,-(intptr_t)0x5555555555555556}; - t4.error = t2; - return t4; - } - } -} - -static nav__1305_38 fs_File_read__1305(struct fs_File__646 const a0, nav__1305_41 const a1) { - nav__1305_38 t1; - int32_t t0; - t0 = a0.handle; - t1 = posix_read__1626(t0, a1); - return t1; -} - -static nav__4976_38 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_read__4976(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const a0, nav__4976_42 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t1; - nav__4976_42 const *t3; - uintptr_t t4; - uintptr_t t7; - uintptr_t t9; - nav__4976_42 *t5; - nav__4976_42 t6; - nav__4976_42 t13; - nav__4976_42 t2; - uintptr_t *t8; - uint64_t t10; - uint8_t *t11; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t12; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t0; - nav__4976_38 t14; - t0 = a0; - t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t0; - t2 = a1; - t3 = (nav__4976_42 const *)&t2; - t4 = a1.len; - t5 = (nav__4976_42 *)&a0->buffer; - t6 = (*t5); - t7 = t6.len; - t8 = (uintptr_t *)&a0->pos; - t9 = (*t8); - t9 = t7 - t9; - t9 = (t4 < t9) ? t4 : t9; - t10 = t9; - t8 = (uintptr_t *)&a0->pos; - t9 = (*t8); - t4 = t10; - t4 = t9 + t4; - t6 = (*t3); - t11 = t6.ptr; - t11 = (uint8_t *)(((uintptr_t)t11) + ((uintptr_t)0ul*sizeof(uint8_t))); - t9 = t10; - t6.ptr = t11; - t6.len = t9; - t12 = (*t1); - t5 = (nav__4976_42 *)&t12->buffer; - t8 = (uintptr_t *)&a0->pos; - t9 = (*t8); - t13 = (*t5); - t11 = t13.ptr; - t11 = (uint8_t *)(((uintptr_t)t11) + (t9*sizeof(uint8_t))); - t9 = t4 - t9; - t13.ptr = t11; - t13.len = t9; - t11 = t13.ptr; - if (t6.len != 0) memcpy(t6.ptr, t11, t6.len * sizeof(uint8_t)); - t12 = (*t1); - t8 = (uintptr_t *)&t12->pos; - (*t8) = t4; - t4 = t10; - t14.payload = t4; - t14.error = UINT16_C(0); - return t14; -} - -static uint16_t io_Reader_readNoEof__5026(struct io_Reader__2566 const a0, nav__5026_40 const a1) { - struct io_Reader__2566 const *t1; - struct io_Reader__2566 t2; - struct io_Reader__2566 t0; - nav__5026_43 t3; - uintptr_t t5; - uintptr_t t6; - uint64_t t7; - uint64_t t8; - uint16_t t4; - bool t9; - t0 = a0; - t1 = (struct io_Reader__2566 const *)&t0; - t2 = (*t1); - t3 = io_Reader_readAll__5024(t2, a1); - if (t3.error) { - t4 = t3.error; - return t4; - } - t5 = t3.payload; - t6 = a1.len; - t7 = t5; - t8 = t6; - t9 = t7 < t8; - if (t9) { - return zig_error_EndOfStream; - } - goto zig_block_0; - - zig_block_0:; - return 0; -} - -static nav__6121_39 mem_Allocator_allocWithSizeAndAlignment__anon_3299__6121(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uintptr_t t2; - uintptr_t t5; - nav__6121_49 t3; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - nav__6121_39 t7; - bool t4; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = math_mul__anon_3752__7986((uintptr_t)1ul, a1); - t4 = t3.error == UINT16_C(0); - if (t4) { - t5 = t3.payload; - t2 = t5; - goto zig_block_0; - } - return (nav__6121_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_0:; - t6 = (*t1); - t7 = mem_Allocator_allocBytesWithAlignment__anon_3754__7987(t6, t2, a2); - return t7; -} - -static nav__5025_38 io_Reader_readAtLeast__5025(struct io_Reader__2566 const a0, nav__5025_41 const a1, uintptr_t const a2) { - struct io_Reader__2566 const *t1; - nav__5025_41 const *t3; - uintptr_t t4; - uintptr_t t12; - uintptr_t t8; - uint64_t t5; - uint64_t t6; - struct io_Reader__2566 t9; - struct io_Reader__2566 t0; - nav__5025_41 t10; - nav__5025_41 t2; - uint8_t *t11; - nav__5025_38 t13; - uint16_t t14; - bool t7; - t0 = a0; - t1 = (struct io_Reader__2566 const *)&t0; - t2 = a1; - t3 = (nav__5025_41 const *)&t2; - t4 = a1.len; - t5 = a2; - t6 = t4; - t7 = t5 <= t6; - debug_assert__180(t7); - t8 = (uintptr_t)0ul; - zig_loop_17: - t4 = t8; - t6 = t4; - t5 = a2; - t7 = t6 < t5; - if (t7) { - t9 = (*t1); - t4 = t8; - t10 = (*t3); - t11 = t10.ptr; - t11 = (uint8_t *)(((uintptr_t)t11) + (t4*sizeof(uint8_t))); - t12 = t10.len; - t4 = t12 - t4; - t10.ptr = t11; - t10.len = t4; - t13 = io_Reader_read__5023(t9, t10); - if (t13.error) { - t14 = t13.error; - t13.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t13.error = t14; - return t13; + +zig_block_10:; + zig_unreachable(); +} + +static nav__5019_39 bincode_deserializeAlloc__anon_2428__5019( + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 const + a0, + struct mem_Allocator__599 const a1) { + nav__5019_39 t0; + struct shared_Command__2195 t2; + uint16_t t1; + t0 = bincode_deserializeUnionAlloc__anon_2535__5020(a0, a1); + if (t0.error) { + t1 = t0.error; + t0.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t0.error = t1; + return t0; } - t4 = t13.payload; - t5 = t4; - t7 = t5 == UINT64_C(0); - if (t7) { - goto zig_block_0; + t2 = t0.payload; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static nav__1169_39 fifo_UnixPipe_Reader_recvCmd__1169( + struct fifo_UnixPipe_Reader__640 *const a0) { + struct fifo_UnixPipe_Reader__640 *const *t1; + uintptr_t t3; + uintptr_t t10; + struct fifo_UnixPipe_Reader__640 *t4; + struct fifo_UnixPipe_Reader__640 *t0; + struct fs_File__646 *t5; + nav__1169_68 t7; + nav__1169_76 t8; + nav__1169_39 t12; + nav__1169_39 t13; + uint64_t t14; + uint64_t t20; + uint8_t const(*t15)[4]; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t18; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t19; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t22; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t21; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t23; + struct mem_Allocator__599 *t24; + struct mem_Allocator__599 t25; + struct shared_Command__2195 t26; + struct fs_File__646 t6; + uint32_t t17; + uint16_t t11; + bool t9; + uint8_t t16[4]; + uint8_t t2[4]; + t0 = a0; + t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; + t4 = (*t1); + t5 = (struct fs_File__646 *)&t4->file; + t6 = (*t5); + t7.ptr = &t2[(uintptr_t)0ul]; + t7.len = (uintptr_t)4ul; + t8 = fs_File_readAll__1307(t6, t7); + t9 = t8.error == UINT16_C(0); + if (t9) { + t10 = t8.payload; + t3 = t10; + goto zig_block_0; + } + t11 = t8.error; + switch (t11) { + case zig_error_WouldBlock: + case zig_error_BrokenPipe: { + t12 = (nav__1169_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}, + zig_error_NotReady}; + goto zig_block_1; + } + default: { + t13.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t13.error = t11; + t12 = t13; + goto zig_block_1; + } } - goto zig_block_2; - zig_block_2:; - t12 = t8; - t4 = t12 + t4; - t8 = t4; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_17; - - zig_block_0:; - t12 = t8; - t13.payload = t12; - t13.error = UINT16_C(0); - return t13; -} - -static void utils_print__anon_3319__6122(void) { - (void)printf((char const *)&__anon_3850, 61, (uint8_t const *)&__anon_2715); - return; -} - -static nav__7055_38 math_cast__anon_3346__7055(uint64_t const a0) { - long t1; - nav__7055_38 t2; - bool t0; - t0 = a0 > UINT64_C(9223372036854775807); - if (t0) { - return (nav__7055_38){-0x5555555555555556l,true}; - } - t1 = (long)a0; - t2.is_null = false; - t2.payload = t1; - return t2; -} - -static void mem_Allocator_free__anon_3423__7835(struct mem_Allocator__599 const a0, nav__7835_40 const a1) { - struct mem_Allocator__599 const *t1; - nav__7835_40 t2; - uintptr_t t3; - uint64_t t4; - uint8_t const *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - nav__7835_51 t10; - struct mem_Allocator__599 t11; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t13; - struct mem_Allocator_VTable__602 const *const *t14; - struct mem_Allocator_VTable__602 const *t15; - void (*const *t16)(void *, nav__7835_51, uint8_t, uintptr_t); - void (*t17)(void *, nav__7835_51, uint8_t, uintptr_t); - void *t18; - bool t5; - uint8_t t12; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_3884__7989(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t10.ptr = t7; - t10.len = t3; - t11 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t10.ptr = t7; - t10.len = t3; - t12 = mem_Alignment_fromByteUnits__1108((uintptr_t)1ul); - t3 = (uintptr_t)zig_return_address(); - t13 = t11; - t1 = (struct mem_Allocator__599 const *)&t13; - t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t15 = (*t14); - t16 = (void (*const *)(void *, nav__7835_51, uint8_t, uintptr_t))&t15->free; - t17 = (*t16); - t18 = t11.ptr; - t17(t18, t10, t12, t3); - return; -} - -static void logger_logWithPrefix__anon_3431__7836(nav__7836_39 const a0) { - nav__7836_59 t3; - nav__7836_59 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__7836_63 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(0) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_3935__8149(t6, a0); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static void logger_logWithPrefix__anon_3433__7837(void) { - nav__7837_41 t3; - nav__7837_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__7837_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_3956__8151(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static void logger_logWithPrefix__anon_3434__7838(void) { - nav__7838_41 t3; - nav__7838_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__7838_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_3968__8152(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static void logger_logWithPrefix__anon_3439__7840(nav__7840_40 const a0) { - nav__7840_47 t3; - nav__7840_47 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__7840_51 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_3980__8153(t6, a0); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static void fifo_UnixPipe_Writer_deinit__1164(struct fifo_UnixPipe_Writer__638 *const a0) { - struct fifo_UnixPipe_Writer__638 *const *t1; - struct fifo_UnixPipe_Writer__638 *t2; - struct fifo_UnixPipe_Writer__638 *t0; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t3; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t4; - struct fs_File__646 *t5; - struct fs_File__646 t6; - t0 = a0; - t1 = (struct fifo_UnixPipe_Writer__638 *const *)&t0; - t2 = (*t1); - t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t2->buffer; - t4 = (*t3); - array_list_ArrayListAligned_28u8_2cnull_29_deinit__1406(t4); - t2 = (*t1); - t5 = (struct fs_File__646 *)&t2->file; - t6 = (*t5); - fs_File_close__1262(t6); - return; -} - -static void fifo_UnixPipe_Reader_deinit__1171(struct fifo_UnixPipe_Reader__640 *const a0) { - struct fifo_UnixPipe_Reader__640 *const *t1; - uintptr_t t3; - uintptr_t t10; - struct fifo_UnixPipe_Reader__640 *t4; - struct fifo_UnixPipe_Reader__640 *t0; - struct fs_File__646 *t5; - nav__1171_50 t7; - nav__1171_58 t8; - uint64_t t11; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t12; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t13; - struct fs_File__646 t6; - bool t9; - uint8_t t2[4096]; - t0 = a0; - t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; - zig_loop_7: - t4 = (*t1); - t5 = (struct fs_File__646 *)&t4->file; - t6 = (*t5); - t7.ptr = &t2[(uintptr_t)0ul]; - t7.len = (uintptr_t)4096ul; - t8 = fs_File_read__1305(t6, t7); - t9 = t8.error == UINT16_C(0); - if (t9) { - t10 = t8.payload; - t3 = t10; - goto zig_block_1; - } - goto zig_block_0; +zig_block_1:; + return t12; - zig_block_1:; - t11 = t3; - t9 = t11 == UINT64_C(0); - if (t9) { - goto zig_block_0; - } - goto zig_block_2; - - zig_block_2:; - goto zig_loop_7; - - zig_block_0:; - t4 = (*t1); - t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4->buffer; - t13 = (*t12); - array_list_ArrayListAligned_28u8_2cnull_29_deinit__1406(t13); - t4 = (*t1); - t5 = (struct fs_File__646 *)&t4->file; - t6 = (*t5); - fs_File_close__1262(t6); - return; -} - -static struct environment_linked_libraries_root_LinkedLibraries__843 environment_linked_libraries_root_LinkedLibraries_init__3629(struct mem_Allocator__599 const a0) { - struct mem_Allocator__599 *t1; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t2; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t3; - struct environment_linked_libraries_root_LinkedLibraries__843 t0; - t1 = (struct mem_Allocator__599 *)&t0.allocator; - (*t1) = a0; - t2 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *)&t0.libraries; - t3 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_init__4333(a0); - (*t2) = t3; - return t0; -} - -static uint8_t mem_Alignment_fromByteUnits__1108(uintptr_t const a0) { - bool t0; - uint8_t t1; - t0 = math_isPowerOfTwo__anon_4000__8154(a0); - debug_assert__180(t0); - t1 = zig_ctz_u64(a0, UINT8_C(64)); - return t1; -} - -static bool fs_path_isAbsolutePosix__5132(nav__5132_39 const a0) { - uintptr_t t0; - uint64_t t1; - bool t2; - bool t3; - uint8_t t4; - t0 = a0.len; - t1 = t0; - t2 = t1 > UINT64_C(0); - if (t2) { - t4 = a0.ptr[(uintptr_t)0ul]; - t2 = t4 == UINT8_C(47); - t3 = t2; - goto zig_block_0; - } - t3 = false; - goto zig_block_0; - - zig_block_0:; - return t3; -} - -static nav__1899_39 posix_toPosixPath__1899(nav__1899_41 const a0) { - uintptr_t t1; - uint64_t t2; - uint8_t *t4; - nav__1899_47 t5; - uint8_t const *t6; - nav__1899_39 t8; - bool t3; - uint8_t t7[4096]; - uint8_t t0[4096]; - t1 = a0.len; - t2 = t1; - t3 = t2 >= UINT64_C(4096); - if (t3) { - return (nav__1899_39){zig_error_NameTooLong,{'\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa','\xaa'}}; - } - goto zig_block_0; - - zig_block_0:; - t1 = a0.len; - t4 = (uint8_t *)&t0; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5.ptr = t4; - t5.len = t1; - t6 = a0.ptr; - if (t5.len != 0) memcpy(t5.ptr, t6, t5.len * sizeof(uint8_t)); - t1 = a0.len; - t4 = (uint8_t *)&t0[t1]; - (*t4) = UINT8_C(0); - memcpy(t7, (const char *)&t0, sizeof(uint8_t[4096])); - memcpy(t8.payload, t7, sizeof(uint8_t[4096])); - t8.error = UINT16_C(0); - return t8; -} - -static uint16_t fs_Dir_accessZ__4729(struct fs_Dir__2113 const a0, uint8_t const *const a1, struct fs_File_OpenFlags__2111 const a2) { - uint32_t t2; - int32_t t3; - struct fs_Dir__2113 t0; - uint16_t t4; - uint8_t t1; - t0 = a0; - t1 = a2.mode; - switch (t1) { - case UINT8_C(0): { - t2 = UINT32_C(0); - goto zig_block_0; - } - case UINT8_C(1): { - t2 = UINT32_C(2); - goto zig_block_0; - } - case UINT8_C(2): { - t2 = UINT32_C(6); - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - t3 = a0.fd; - t4 = posix_faccessatZ__1790(t3, a1, t2, UINT32_C(0)); - return t4; -} - -static nav__4665_39 fs_Dir_openFileZ__4665(struct fs_Dir__2113 const a0, uint8_t const *const a1, struct fs_File_OpenFlags__2111 const a2) { - uint32_t *t2; - struct fs_File__646 *t14; - int32_t *t15; - int32_t t6; - int32_t t11; - int32_t t12; - uint32_t t7; - uint32_t t1; - nav__4665_50 t8; - nav__4665_39 t10; - nav__4665_39 t13; - struct fs_Dir__2113 t0; - uint16_t t9; - uint8_t t3; - uint8_t t4; - bool t5; - t0 = a0; - t2 = (uint32_t *)&t1; - t3 = a2.mode; - switch (t3) { - case UINT8_C(0): { - t4 = UINT8_C(0); - goto zig_block_0; - } - case UINT8_C(1): { - t4 = UINT8_C(1); - goto zig_block_0; - } - case UINT8_C(2): { - t4 = UINT8_C(2); - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffffc)), zig_shl_u32((uint32_t)t4, UINT8_C(0))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffc3)), zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(2))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffbf)), zig_shl_u32((uint32_t)false, UINT8_C(6))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffff7f)), zig_shl_u32((uint32_t)false, UINT8_C(7))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffeff)), zig_shl_u32((uint32_t)false, UINT8_C(8))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffdff)), zig_shl_u32((uint32_t)false, UINT8_C(9))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffbff)), zig_shl_u32((uint32_t)false, UINT8_C(10))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffff7ff)), zig_shl_u32((uint32_t)false, UINT8_C(11))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffefff)), zig_shl_u32((uint32_t)false, UINT8_C(12))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffdfff)), zig_shl_u32((uint32_t)false, UINT8_C(13))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffbfff)), zig_shl_u32((uint32_t)false, UINT8_C(14))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffff7fff)), zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(15))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffeffff)), zig_shl_u32((uint32_t)false, UINT8_C(16))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffdffff)), zig_shl_u32((uint32_t)false, UINT8_C(17))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffbffff)), zig_shl_u32((uint32_t)false, UINT8_C(18))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), zig_shl_u32((uint32_t)false, UINT8_C(19))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffefffff)), zig_shl_u32((uint32_t)false, UINT8_C(20))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffdfffff)), zig_shl_u32((uint32_t)false, UINT8_C(21))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffbfffff)), zig_shl_u32((uint32_t)false, UINT8_C(22))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0x7fffff)), zig_shl_u32((uint32_t)UINT16_C(0), UINT8_C(23))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), zig_shl_u32((uint32_t)true, UINT8_C(19))); - t2 = (uint32_t *)&t1; - t5 = a2.allow_ctty; - t5 = !t5; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffeff)), zig_shl_u32((uint32_t)t5, UINT8_C(8))); - t6 = a0.fd; - t7 = t1; - t8 = posix_openatZ__1646(t6, a1, t7, (uintptr_t)0ul); - if (t8.error) { - t9 = t8.error; - t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t10.error = t9; - return t10; - } - t6 = t8.payload; - t4 = a2.lock; - t5 = t4 != UINT8_C(0); - if (t5) { - t5 = a2.lock_nonblocking; - if (t5) { - t11 = INT32_C(4); - goto zig_block_2; +zig_block_0:; + t14 = t3; + t9 = t14 < UINT64_C(4); + if (t9) { + return (nav__1169_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}, + zig_error_UnexpectedEof}; } - t11 = INT32_C(0); goto zig_block_2; - zig_block_2:; - t4 = a2.lock; - switch (t4) { - case UINT8_C(0): { - zig_unreachable(); - } - case UINT8_C(1): { - t11 = INT32_C(1) | t11; - t12 = t11; - goto zig_block_3; - } - case UINT8_C(2): { - t11 = INT32_C(2) | t11; - t12 = t11; +zig_block_2:; + t15 = (uint8_t const(*)[4]) & t2; + memcpy(t16, (const char *)t15, sizeof(uint8_t[4])); + memcpy(&t17, &t16, sizeof(uint32_t)); + t17 = zig_wrap_u32(t17, UINT8_C(32)); + t4 = (*t1); + t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4->buffer; + t3 = (uintptr_t)t17; + t11 = array_list_ArrayListAligned_28u8_2cnull_29_resize__1437(t18, t3); + if (t11) { + t13.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t13.error = t11; + return t13; + } + t4 = (*t1); + t5 = (struct fs_File__646 *)&t4->file; + t6 = (*t5); + t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&a0->buffer; + t19 = (*t18); + t7 = t19.items; + t8 = fs_File_readAll__1307(t6, t7); + t9 = t8.error == UINT16_C(0); + if (t9) { + t10 = t8.payload; + t3 = t10; goto zig_block_3; - } - default: zig_unreachable(); } - - zig_block_3:; - t9 = posix_flock__1807(t6, t12); - if (t9) { - posix_close__1604(t6); - t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t10.error = t9; - return t10; + t11 = t8.error; + switch (t11) { + case zig_error_WouldBlock: + case zig_error_BrokenPipe: { + t13 = (nav__1169_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}, + zig_error_NotReady}; + goto zig_block_4; + } + default: { + t12.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t12.error = t11; + t13 = t12; + goto zig_block_4; + } } - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t13.error = UINT16_C(0); - t14 = &t13.payload; - t15 = (int32_t *)&t14->handle; - (*t15) = t6; - return t13; -} - -static uintptr_t array_list_ArrayListAlignedUnmanaged_28u8_2cnull_29_growCapacity__7911(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - uintptr_t t2; - uintptr_t t0; - uint64_t t3; - uint64_t t4; - bool t5; - t0 = a0; - zig_loop_6: - t1 = t0; - t2 = t0; - t2 = t2 / (uintptr_t)2ul; - t2 = t2 + (uintptr_t)128ul; - t2 = zig_adds_u64(t1, t2, UINT8_C(64)); - t0 = t2; - t2 = t0; - t3 = t2; - t4 = a1; - t5 = t3 >= t4; - if (t5) { - t2 = t0; - return t2; - } - goto zig_block_0; - - zig_block_0:; - goto zig_loop_6; -} - -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacityPrecise__1442(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, uintptr_t const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t8; - nav__1442_43 t9; - nav__1442_43 t12; - nav__1442_43 t20; - nav__1442_43 t21; - nav__1442_43 t18; - struct mem_Allocator__599 *t10; - struct mem_Allocator__599 t11; - nav__1442_43 *t13; - uint8_t **t14; - uint8_t *t15; - nav__1442_55 t16; - nav__1442_43 const *t19; - uint16_t t17; - bool t6; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a1; - t6 = t4 >= t5; - if (t6) { - return 0; - } - goto zig_block_0; - - zig_block_0:; - t7 = (*t1); - t8 = (*t7); - t9 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1452(t8); - t7 = (*t1); - t10 = (struct mem_Allocator__599 *)&t7->allocator; - t11 = (*t10); - t12 = mem_Allocator_remap__anon_4140__8241(t11, t9, a1); - t6 = t12.ptr != NULL; - if (t6) { - t9 = t12; - t7 = (*t1); - t13 = (nav__1442_43 *)&t7->items; - t14 = &t13->ptr; - t15 = t9.ptr; - (*t14) = t15; - t7 = (*t1); - t2 = (uintptr_t *)&t7->capacity; - t3 = t9.len; - (*t2) = t3; - goto zig_block_1; - } - t7 = (*t1); - t10 = (struct mem_Allocator__599 *)&t7->allocator; - t11 = (*t10); - t16 = mem_Allocator_alignedAlloc__anon_4145__8242(t11, a1); - if (t16.error) { - t17 = t16.error; - return t17; - } - t12 = t16.payload; - t18 = t12; - t19 = (nav__1442_43 const *)&t18; - t13 = (nav__1442_43 *)&a0->items; - t20 = (*t13); - t3 = t20.len; - t20 = (*t19); - t15 = t20.ptr; - t15 = (uint8_t *)(((uintptr_t)t15) + ((uintptr_t)0ul*sizeof(uint8_t))); - t20.ptr = t15; - t20.len = t3; - t13 = (nav__1442_43 *)&a0->items; - t21 = (*t13); - t15 = t21.ptr; - if (t20.len != 0) memcpy(t20.ptr, t15, t20.len * sizeof(uint8_t)); - t7 = (*t1); - t10 = (struct mem_Allocator__599 *)&t7->allocator; - t11 = (*t10); - mem_Allocator_free__anon_4147__8243(t11, t9); - t7 = (*t1); - t13 = (nav__1442_43 *)&t7->items; - t14 = &t13->ptr; - t15 = t12.ptr; - (*t14) = t15; - t7 = (*t1); - t2 = (uintptr_t *)&t7->capacity; - t3 = t12.len; - (*t2) = t3; - goto zig_block_1; - - zig_block_1:; - return 0; -} - -static uint16_t bincode_serialize__anon_3550__7912(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, uint32_t const a1) { - uint16_t t0; - t0 = bincode_serializeInt__anon_4152__8244(a0, a1); - if (t0) { - return t0; - } - return 0; -} - -static uint16_t bincode_serialize__anon_3552__7913(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__struct_2198__2198 const a1) { - uint16_t t0; - t0 = bincode_serializeStruct__anon_4157__8245(a0, a1); - if (t0) { - return t0; - } - return 0; -} -static uint16_t bincode_serialize__anon_3554__7914(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0) { - (void)a0; - return 0; -} - -static uint16_t bincode_serialize__anon_3556__7915(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__struct_2199__2199 const a1) { - uint16_t t0; - t0 = bincode_serializeStruct__anon_4158__8246(a0, a1); - if (t0) { - return t0; - } - return 0; -} +zig_block_4:; + return t13; -static uint16_t bincode_serialize__anon_3558__7916(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__struct_2200__2200 const a1) { - uint16_t t0; - t0 = bincode_serializeStruct__anon_4159__8247(a0, a1); - if (t0) { - return t0; - } - return 0; -} +zig_block_3:; + t14 = t3; + t20 = (uint64_t)t17; + t9 = t14 < t20; + if (t9) { + return (nav__1169_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}, + zig_error_UnexpectedEof}; + } + goto zig_block_5; -static uint16_t bincode_serialize__anon_3560__7917(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, uint64_t const a1) { - uint16_t t0; - t0 = bincode_serializeInt__anon_4160__8248(a0, a1); - if (t0) { - return t0; - } - return 0; +zig_block_5:; + t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&a0->buffer; + t19 = (*t18); + t7 = t19.items; + t22 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(t7); + t21 = t22; + t23 = + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_reader__4974(&t21); + t24 = (struct mem_Allocator__599 *)&a0->allocator; + t25 = (*t24); + t13 = bincode_deserializeAlloc__anon_2428__5019(t23, t25); + if (t13.error) { + t11 = t13.error; + t13.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t13.error = t11; + return t13; + } + t26 = t13.payload; + t13.payload = t26; + t13.error = UINT16_C(0); + return t13; } -static uint16_t bincode_serialize__anon_3562__7918(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, uint8_t const a1) { - uint16_t t0; - t0 = bincode_serializeEnum__anon_4163__8249(a0, a1); - if (t0) { - return t0; - } - return 0; -} - -static nav__1634_38 posix_write__1634(int32_t const a0, nav__1634_40 const a1) { - uintptr_t t0; - uint64_t t1; - uint8_t const *t3; - intptr_t t5; - nav__1634_38 t7; - uint32_t t4; - uint16_t t6; - bool t2; - t0 = a1.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__1634_38){(uintptr_t)0ul,0}; - } - goto zig_block_0; - - zig_block_0:; - zig_loop_16: - t3 = a1.ptr; - t0 = a1.len; - t0 = ((uintptr_t)2147479552ul < t0) ? (uintptr_t)2147479552ul : t0; - t4 = (uint32_t)t0; - t0 = (uintptr_t)t4; - t5 = write(a0, t3, t0); - t6 = posix_errno__anon_4174__8251(t5); - switch (t6) { - case UINT16_C(0): { - t0 = (uintptr_t)t5; - t7.payload = t0; - t7.error = UINT16_C(0); - return t7; - } - case UINT16_C(4): { - goto zig_block_1; - } - case UINT16_C(22): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_InvalidArgument}; - } - case UINT16_C(14): { - zig_unreachable(); - } - case UINT16_C(2): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_ProcessNotFound}; - } - case UINT16_C(11): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_WouldBlock}; - } - case UINT16_C(9): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_NotOpenForWriting}; - } - case UINT16_C(89): { - zig_unreachable(); - } - case UINT16_C(122): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_DiskQuota}; - } - case UINT16_C(27): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_FileTooBig}; - } - case UINT16_C(5): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_InputOutput}; - } - case UINT16_C(28): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_NoSpaceLeft}; - } - case UINT16_C(13): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_AccessDenied}; - } - case UINT16_C(1): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_AccessDenied}; - } - case UINT16_C(32): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_BrokenPipe}; - } - case UINT16_C(104): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_ConnectionResetByPeer}; - } - case UINT16_C(16): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_DeviceBusy}; - } - case UINT16_C(6): { - return (nav__1634_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_NoDevice}; - } - default: { - t6 = posix_unexpectedErrno__1898(t6); - t7.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t7.error = t6; - return t7; - } - } - - zig_block_1:; - goto zig_loop_16; -} - -static uint16_t posix_errno__anon_3728__7985(int const a0) { - int *t3; - int32_t t1; - int t4; - uint16_t t0; - uint16_t t5; - bool t2; - t1 = a0; - t2 = t1 == -INT32_C(1); - if (t2) { - t3 = zig_e___errno_location(); - t4 = (*t3); - t5 = (uint16_t)t4; - t0 = t5; - goto zig_block_0; - } - t0 = UINT16_C(0); - goto zig_block_0; - - zig_block_0:; - return t0; -} - -static uint16_t posix_unexpectedErrno__1898(uint16_t const a0) { - (void)a0; - return zig_error_Unexpected; -} - -static nav__1626_38 posix_read__1626(int32_t const a0, nav__1626_40 const a1) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3; - intptr_t t5; - nav__1626_38 t7; - uint32_t t4; - uint16_t t6; - bool t2; - t0 = a1.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__1626_38){(uintptr_t)0ul,0}; - } - goto zig_block_0; - - zig_block_0:; - zig_loop_16: - t3 = a1.ptr; - t0 = a1.len; - t0 = ((uintptr_t)2147479552ul < t0) ? (uintptr_t)2147479552ul : t0; - t4 = (uint32_t)t0; - t0 = (uintptr_t)t4; - t5 = read(a0, t3, t0); - t6 = posix_errno__anon_4174__8251(t5); - switch (t6) { - case UINT16_C(0): { - t0 = (uintptr_t)t5; - t7.payload = t0; - t7.error = UINT16_C(0); - return t7; - } - case UINT16_C(4): { - goto zig_block_1; - } - case UINT16_C(22): { - zig_unreachable(); - } - case UINT16_C(14): { - zig_unreachable(); - } - case UINT16_C(2): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_ProcessNotFound}; - } - case UINT16_C(11): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_WouldBlock}; - } - case UINT16_C(125): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_Canceled}; - } - case UINT16_C(9): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_NotOpenForReading}; - } - case UINT16_C(5): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_InputOutput}; - } - case UINT16_C(21): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_IsDir}; - } - case UINT16_C(105): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_SystemResources}; - } - case UINT16_C(12): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_SystemResources}; - } - case UINT16_C(107): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_SocketNotConnected}; - } - case UINT16_C(104): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_ConnectionResetByPeer}; - } - case UINT16_C(110): { - return (nav__1626_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_ConnectionTimedOut}; - } - default: { - t6 = posix_unexpectedErrno__1898(t6); - t7.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t7.error = t6; - return t7; - } - } - - zig_block_1:; - goto zig_loop_16; -} - -static nav__7986_38 math_mul__anon_3752__7986(uintptr_t const a0, uintptr_t const a1) { - nav__7986_42 t0; - uintptr_t t3; - nav__7986_38 t4; - uint8_t t1; - bool t2; - t0.f1 = zig_mulo_u64(&t0.f0, a0, a1, UINT8_C(64)); - t1 = t0.f1; - t2 = t1 != UINT8_C(0); - if (t2) { - return (nav__7986_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_Overflow}; - } - goto zig_block_0; - - zig_block_0:; - t3 = t0.f0; - t4.payload = t3; - t4.error = UINT16_C(0); - return t4; -} - -static nav__7987_39 mem_Allocator_allocBytesWithAlignment__anon_3754__7987(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uint64_t t2; - uint8_t *t4; - uint8_t *t13; - uint8_t *t14; - uint8_t *t15; - struct mem_Allocator__599 t5; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t7; - struct mem_Allocator_VTable__602 const *const *t8; - struct mem_Allocator_VTable__602 const *t9; - uint8_t *(*const *t10)(void *, uintptr_t, uint8_t, uintptr_t); - uint8_t *(*t11)(void *, uintptr_t, uint8_t, uintptr_t); - void *t12; - uint8_t *const *t16; - nav__7987_52 t17; - nav__7987_39 t18; - bool t3; - uint8_t t6; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = t2 == UINT64_C(0); - if (t3) { - return (nav__7987_39){(uint8_t *)UINTPTR_MAX,0}; - } - goto zig_block_0; - - zig_block_0:; - t5 = (*t1); - t6 = mem_Alignment_fromByteUnits__1108((uintptr_t)1ul); - t7 = t5; - t1 = (struct mem_Allocator__599 const *)&t7; - t8 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t9 = (*t8); - t10 = (uint8_t *(*const *)(void *, uintptr_t, uint8_t, uintptr_t))&t9->alloc; - t11 = (*t10); - t12 = t5.ptr; - t13 = t11(t12, a1, t6, a2); - t3 = t13 != NULL; - if (t3) { - t14 = t13; - t4 = t14; - goto zig_block_1; - } - return (nav__7987_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_1:; - t15 = t4; - t16 = (uint8_t *const *)&t15; - t14 = (*t16); - t14 = (uint8_t *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t17.ptr = t14; - t17.len = a1; - t18.payload = t4; - t18.error = UINT16_C(0); - return t18; -} - -static nav__5023_38 io_Reader_read__5023(struct io_Reader__2566 const a0, nav__5023_41 const a1) { - struct io_Reader__2566 const *t1; - nav__5023_38 (*const *t2)(void const *, nav__5023_41); - nav__5023_38 (*t3)(void const *, nav__5023_41); - void const *t4; - nav__5023_38 t5; - struct io_Reader__2566 t0; - t0 = a0; - t1 = (struct io_Reader__2566 const *)&t0; - t2 = (nav__5023_38 (*const *)(void const *, nav__5023_41))&t1->readFn; - t3 = (*t2); - t4 = a0.context; - t5 = t3(t4, a1); - return t5; -} - -static nav__7989_39 mem_sliceAsBytes__anon_3884__7989(nav__7989_39 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t const *t4; - uint8_t const *t5; - uint8_t const *const *t6; - nav__7989_39 t7; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__7989_39){(uint8_t const *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = t4; - t6 = (uint8_t const *const *)&t5; - t0 = a0.len; - t4 = (*t6); - t4 = (uint8_t const *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t7.ptr = t4; - t7.len = t0; - return t7; -} - -static uint16_t fmt_format__anon_4352__8283(struct io_Writer__4338 const a0, nav__8283_40 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - struct shared_Command__2195 t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8283_45){(uint8_t const *)&__anon_4446,(uintptr_t)49ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_4821__8650(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8283_45){(uint8_t const *)&__anon_4827,(uintptr_t)1ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__8149_40 fmt_bufPrint__anon_3935__8149(nav__8149_39 const a0, nav__8149_42 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__8149_71 (**t11)(void const *, nav__8149_48); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__8149_39 t15; - nav__8149_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__8149_71 (**)(void const *, nav__8149_48))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_4352__8283(t12, a1); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__8149_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static uint16_t fmt_format__anon_4842__8651(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8651_43){(uint8_t const *)&__anon_4929,(uintptr_t)68ul}); - if (t3) { - return t3; - } - t3 = fmt_formatType__anon_4937__8652(UINT64_C(2), (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8651_43){(uint8_t const *)&__anon_4827,(uintptr_t)1ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__8151_40 fmt_bufPrint__anon_3956__8151(nav__8151_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__8151_54 (**t11)(void const *, nav__8151_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__8151_39 t15; - nav__8151_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__8151_54 (**)(void const *, nav__8151_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_4842__8651(t12); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__8151_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static uint16_t fmt_format__anon_4945__8653(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8653_43){(uint8_t const *)&__anon_5042,(uintptr_t)82ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__8152_40 fmt_bufPrint__anon_3968__8152(nav__8152_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__8152_54 (**t11)(void const *, nav__8152_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__8152_39 t15; - nav__8152_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__8152_54 (**)(void const *, nav__8152_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_4945__8653(t12); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__8152_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static uint16_t fmt_format__anon_5048__8654(struct io_Writer__4338 const a0, nav__8654_41 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - nav__8654_40 t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8654_40){(uint8_t const *)&__anon_5096,(uintptr_t)32ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_5179__8655(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8654_40){(uint8_t const *)&__anon_5206,(uintptr_t)22ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__8153_40 fmt_bufPrint__anon_3980__8153(nav__8153_39 const a0, nav__8153_43 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__8153_59 (**t11)(void const *, nav__8153_42); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__8153_39 t15; - nav__8153_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__8153_59 (**)(void const *, nav__8153_42))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_5048__8654(t12, a1); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__8153_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static void array_list_ArrayListAligned_28u8_2cnull_29_deinit__1406(struct array_list_ArrayListAligned_28u8_2cnull_29__658 const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *t1; - struct mem_Allocator__599 const *t2; - struct mem_Allocator__599 t3; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t4; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; - nav__1406_41 t5; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *)&t0; - t2 = (struct mem_Allocator__599 const *)&t1->allocator; - t3 = (*t2); - t4 = (*t1); - t5 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1452(t4); - mem_Allocator_free__anon_4147__8243(t3, t5); - return; -} - -static void fs_File_close__1262(struct fs_File__646 const a0) { - int32_t t0; - t0 = a0.handle; - posix_close__1604(t0); - return; -} - -static struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_init__4333(struct mem_Allocator__599 const a0) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t0; - t0.items = (nav__4333_43){(struct environment_linked_libraries_root_LibraryInfo__940 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - t0.capacity = (uintptr_t)0ul; - t0.allocator = a0; - return t0; -} - -static bool math_isPowerOfTwo__anon_4000__8154(uintptr_t const a0) { - uint64_t t0; - uintptr_t t2; - bool t1; - t0 = a0; - t1 = t0 > UINT64_C(0); - debug_assert__180(t1); - t2 = a0 - (uintptr_t)1ul; - t2 = a0 & t2; - t0 = t2; - t1 = t0 == UINT64_C(0); - return t1; -} - -static uint16_t posix_faccessatZ__1790(int32_t const a0, uint8_t const *const a1, uint32_t const a2, uint32_t const a3) { - unsigned int t0; - unsigned int t1; - int t2; - uint16_t t3; - t0 = a2; - t1 = a3; - t2 = faccessat(a0, a1, t0, t1); - t3 = posix_errno__anon_3728__7985(t2); - switch (t3) { - case UINT16_C(0): { - return 0; - } - case UINT16_C(13): { - return zig_error_PermissionDenied; - } - case UINT16_C(1): { - return zig_error_PermissionDenied; - } - case UINT16_C(30): { - return zig_error_ReadOnlyFileSystem; - } - case UINT16_C(40): { - return zig_error_SymLinkLoop; - } - case UINT16_C(26): { - return zig_error_FileBusy; - } - case UINT16_C(20): { - return zig_error_FileNotFound; - } - case UINT16_C(2): { - return zig_error_FileNotFound; - } - case UINT16_C(36): { - return zig_error_NameTooLong; - } - case UINT16_C(22): { - zig_unreachable(); +static nav__1170_39 fifo_UnixPipe_Reader_waitForResponse__1170( + struct fifo_UnixPipe_Reader__640 *const a0, nav__1170_42 const a1) { + zig_i128 t2; + zig_i128 t6; + struct fifo_UnixPipe_Reader__640 *const *t1; + uint64_t t3; + uint64_t t5; + struct shared_Command__2195 t7; + struct shared_Command__2195 t10; + struct fifo_UnixPipe_Reader__640 *t8; + struct fifo_UnixPipe_Reader__640 *t0; + nav__1170_39 t9; + uint16_t t11; + bool t4; + t0 = a0; + t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; + t2 = time_nanoTimestamp__4926(); + t4 = a1.is_null != true; + if (t4) { + t5 = a1.payload; + t3 = t5; + goto zig_block_0; } - case UINT16_C(14): { - zig_unreachable(); + t3 = UINT64_C(1000000000); + goto zig_block_0; + +zig_block_0:; +zig_loop_13: + t6 = time_nanoTimestamp__4926(); + t6 = zig_sub_i128(t6, t2); + t5 = zig_lo_i128(t6); + t4 = t5 > t3; + if (t4) { + return (nav__1170_39){{{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}, + zig_error_AckTimeout}; } - case UINT16_C(5): { - return zig_error_InputOutput; + goto zig_block_2; + +zig_block_2:; + t8 = (*t1); + t9 = fifo_UnixPipe_Reader_recvCmd__1169(t8); + t4 = t9.error == UINT16_C(0); + if (t4) { + t10 = t9.payload; + t7 = t10; + goto zig_block_3; } - case UINT16_C(12): { - return zig_error_SystemResources; + t11 = t9.error; + switch (t11) { + case zig_error_NotReady: + case zig_error_UnexpectedEof: { + utils_sleep__4780(UINT64_C(10000000)); + goto zig_block_1; + } + default: { + t9.payload = (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(0xa)}; + t9.error = t11; + return t9; + } } - case UINT16_C(84): { - t3 = posix_unexpectedErrno__1898(t3); - return t3; + +zig_block_3:; + t9.payload = t7; + t9.error = UINT16_C(0); + return t9; + +zig_block_1:; + goto zig_loop_13; +} + +static uint16_t fifo_UnixPipe_Reader_waitForAck__1171( + struct fifo_UnixPipe_Reader__640 *const a0, nav__1171_40 const a1) { + struct fifo_UnixPipe_Reader__640 *const *t1; + struct fifo_UnixPipe_Reader__640 *t2; + struct fifo_UnixPipe_Reader__640 *t0; + nav__1171_60 t3; + struct shared_Command__2195 t5; + struct shared_Command__2195 t6; + struct shared_Command__2195 const *t7; + struct mem_Allocator__599 *t9; + struct mem_Allocator__599 t10; + nav__1171_77 t11; + uint16_t t4; + uint8_t t8; + t0 = a0; + t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; + t2 = (*t1); + t3 = fifo_UnixPipe_Reader_waitForResponse__1170(t2, a1); + if (t3.error) { + t4 = t3.error; + return t4; } - default: { - t3 = posix_unexpectedErrno__1898(t3); - return t3; + t5 = t3.payload; + t6 = t5; + t7 = (struct shared_Command__2195 const *)&t6; + t8 = t5.tag; + switch (t8) { + case UINT8_C(3): { + t5 = (*t7); + t9 = (struct mem_Allocator__599 *)&a0->allocator; + t10 = (*t9); + shared_Command_deinit__4785(t5, t10); + return 0; + } + case UINT8_C(6): { + t5 = (*t7); + t9 = (struct mem_Allocator__599 *)&a0->allocator; + t10 = (*t9); + shared_Command_deinit__4785(t5, t10); + return zig_error_UnexpectedError; + } + default: { + t11.f0 = t5; + logger_debug__anon_3067__5090(t11); + t5 = (*t7); + t9 = (struct mem_Allocator__599 *)&a0->allocator; + t10 = (*t9); + shared_Command_deinit__4785(t5, t10); + return zig_error_UnexpectedResponse; + } } - } } -static nav__1646_38 posix_openatZ__1646(int32_t const a0, uint8_t const *const a1, uint32_t const a2, uintptr_t const a3) { - unsigned long t1; - int t0; - int32_t t3; - nav__1646_38 t4; - uint16_t t2; - zig_loop_11: - t0 = a0; - t1 = a3; - t0 = openat64(t0, a1, a2, t1); - t2 = posix_errno__anon_3728__7985(t0); - switch (t2) { - case UINT16_C(0): { - t3 = t0; - t4.payload = t3; - t4.error = UINT16_C(0); - return t4; - } - case UINT16_C(4): { - goto zig_block_0; - } - case UINT16_C(14): { - zig_unreachable(); - } - case UINT16_C(22): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_BadPathName}; - } - case UINT16_C(9): { - zig_unreachable(); - } - case UINT16_C(13): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_AccessDenied}; - } - case UINT16_C(27): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_FileTooBig}; - } - case UINT16_C(75): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_FileTooBig}; - } - case UINT16_C(21): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_IsDir}; - } - case UINT16_C(40): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_SymLinkLoop}; - } - case UINT16_C(24): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_ProcessFdQuotaExceeded}; - } - case UINT16_C(36): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_NameTooLong}; - } - case UINT16_C(23): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_SystemFdQuotaExceeded}; - } - case UINT16_C(19): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_NoDevice}; - } - case UINT16_C(2): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_FileNotFound}; - } - case UINT16_C(12): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_SystemResources}; - } - case UINT16_C(28): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_NoSpaceLeft}; - } - case UINT16_C(20): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_NotDir}; - } - case UINT16_C(1): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_AccessDenied}; - } - case UINT16_C(17): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_PathAlreadyExists}; - } - case UINT16_C(16): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_DeviceBusy}; - } - case UINT16_C(95): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_FileLocksNotSupported}; - } - case UINT16_C(11): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_WouldBlock}; +static uint16_t runner_fifo_RunnerFifo_send_version__1135( + struct runner_fifo_RunnerFifo__631 *const a0, uint64_t const a1) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + struct shared_Command__2195 t4; + struct fifo_UnixPipe_Reader__640 *t6; + uint16_t t5; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4.tag = UINT8_C(8); + t4.payload.SetVersion = a1; + t5 = fifo_UnixPipe_Writer_sendCmd__1164(t3, t4); + if (t5) { + return t5; } - case UINT16_C(26): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_FileBusy}; + t2 = (*t1); + t6 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t5 = fifo_UnixPipe_Reader_waitForAck__1171( + t6, (nav__1135_76){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t5) { + return t5; } - case UINT16_C(6): { - return (nav__1646_38){-INT32_C(0x55555556),zig_error_NoDevice}; + return 0; +} + +static uint16_t runner_fifo_RunnerFifo_validate_protocol_version__1126( + struct runner_fifo_RunnerFifo__631 *const a0) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + nav__1126_43 t5; + nav__1126_45 t6; + uint16_t t3; + bool t4; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = runner_fifo_RunnerFifo_send_version__1135(t2, UINT64_C(2)); + t4 = t3 == UINT16_C(0); + if (t4) { + goto zig_block_0; } - case UINT16_C(84): { - t2 = posix_unexpectedErrno__1898(t2); - t4.payload = -INT32_C(0x55555556); - t4.error = t2; - return t4; + switch (t3) { + case zig_error_AckTimeout: { + return 0; + } + case zig_error_UnexpectedError: { + logger_err__anon_3090__5091(); + logger_err__anon_3098__5092(); + posix_exit__1625(UINT8_C(1)); + zig_unreachable(); + } + default: { + t5 = zig_errorName[t3 - 1]; + t6.f0 = t5; + logger_err__anon_3111__5093(t6); + posix_exit__1625(UINT8_C(1)); + zig_unreachable(); + } } - default: { - t2 = posix_unexpectedErrno__1898(t2); - t4.payload = -INT32_C(0x55555556); - t4.error = t2; - return t4; - } - } - - zig_block_0:; - goto zig_loop_11; -} - -static uint16_t posix_flock__1807(int32_t const a0, int32_t const a1) { - int t0; - uint16_t t1; - zig_loop_3: - t0 = a1; - t0 = flock(a0, t0); - t1 = posix_errno__anon_3728__7985(t0); - switch (t1) { - case UINT16_C(0): { - return 0; - } - case UINT16_C(9): { - zig_unreachable(); - } - case UINT16_C(4): { - goto zig_block_0; - } - case UINT16_C(22): { - zig_unreachable(); - } - case UINT16_C(37): { - return zig_error_SystemResources; - } - case UINT16_C(11): { - return zig_error_WouldBlock; - } - case UINT16_C(95): { - return zig_error_FileLocksNotSupported; - } - default: { - t1 = posix_unexpectedErrno__1898(t1); - return t1; - } - } - - zig_block_0:; - goto zig_loop_3; -} - -static void posix_close__1604(int32_t const a0) { - int t0; - uint16_t t1; - t0 = close(a0); - t1 = posix_errno__anon_3728__7985(t0); - switch (t1) { - case UINT16_C(9): { - zig_unreachable(); - } - case UINT16_C(4): { - return; - } - default: { - return; - } - } -} - -static nav__1452_39 array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1452(struct array_list_ArrayListAligned_28u8_2cnull_29__658 const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *t1; - nav__1452_39 const *t2; - uint8_t *const *t3; - uintptr_t t4; - uint8_t *t5; - nav__1452_39 t6; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *)&t0; - t2 = (nav__1452_39 const *)&t1->items; - t3 = &t2->ptr; - t4 = a0.capacity; - t5 = (*t3); - t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint8_t))); - t6.ptr = t5; - t6.len = t4; - return t6; -} - -static nav__8241_39 mem_Allocator_remap__anon_4140__8241(struct mem_Allocator__599 const a0, nav__8241_39 const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - nav__8241_39 const *t3; - uint64_t t4; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t15; - nav__8241_39 t7; - nav__8241_39 t10; - nav__8241_39 t2; - uint8_t *t8; - uint8_t *t20; - uint8_t *t21; - uint8_t *t22; - void *t9; - uintptr_t t11; - uintptr_t t13; - nav__8241_50 t12; - struct mem_Allocator_VTable__602 const *const *t16; - struct mem_Allocator_VTable__602 const *t17; - uint8_t *(*const *t18)(void *, nav__8241_39, uint8_t, uintptr_t, uintptr_t); - uint8_t *(*t19)(void *, nav__8241_39, uint8_t, uintptr_t, uintptr_t); - uint8_t *const *t23; - bool t5; - uint8_t t14; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = (nav__8241_39 const *)&t2; - t4 = a2; - t5 = t4 == UINT64_C(0); - if (t5) { - t6 = (*t1); - mem_Allocator_free__anon_4147__8243(t6, a1); - t7 = (*t3); - t8 = t7.ptr; - t8 = (uint8_t *)(((uintptr_t)t8) + ((uintptr_t)0ul*sizeof(uint8_t))); - t9 = (void *)t8; - t7.ptr = t9; - t7.len = (uintptr_t)0ul; - t10 = t7; - return t10; - } - goto zig_block_0; - - zig_block_0:; - t11 = a1.len; - t4 = t11; - t5 = t4 == UINT64_C(0); - if (t5) { - return (nav__8241_39){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - } - goto zig_block_1; - - zig_block_1:; - t10 = mem_sliceAsBytes__anon_5337__8659(a1); - t12 = math_mul__anon_3752__7986((uintptr_t)1ul, a2); - t5 = t12.error == UINT16_C(0); - if (t5) { - t13 = t12.payload; - t11 = t13; - goto zig_block_2; - } - return (nav__8241_39){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_2:; - t6 = (*t1); - t14 = mem_Alignment_fromByteUnits__1108((uintptr_t)1ul); - t13 = (uintptr_t)zig_return_address(); - t15 = t6; - t1 = (struct mem_Allocator__599 const *)&t15; - t16 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t17 = (*t16); - t18 = (uint8_t *(*const *)(void *, nav__8241_39, uint8_t, uintptr_t, uintptr_t))&t17->remap; - t19 = (*t18); - t9 = t6.ptr; - t20 = t19(t9, t10, t14, t11, t13); - t5 = t20 != NULL; - if (t5) { - t21 = t20; - t8 = t21; - goto zig_block_3; - } - return (nav__8241_39){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_3:; - t22 = t8; - t23 = (uint8_t *const *)&t22; - t8 = (*t23); - t8 = (uint8_t *)(((uintptr_t)t8) + ((uintptr_t)0ul*sizeof(uint8_t))); - t10.ptr = t8; - t10.len = t11; - memcpy(&t7, &t10, sizeof(nav__8241_39)); - t7 = mem_bytesAsSlice__anon_5350__8660(t7); - t10 = t7; - return t10; -} - -static nav__8242_40 mem_Allocator_alignedAlloc__anon_4145__8242(struct mem_Allocator__599 const a0, uintptr_t const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t5; - uintptr_t t3; - nav__8242_40 t4; - nav__8242_40 t8; - nav__8242_51 t6; - uint8_t *t9; - uint8_t *t10; - uint8_t *const *t11; - nav__8242_39 t12; - uint16_t t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t5 = t2; - t1 = (struct mem_Allocator__599 const *)&t5; - t2 = (*t1); - t6 = mem_Allocator_allocWithSizeAndAlignment__anon_3299__6121(t2, a1, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = (nav__8242_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t7; - t4 = t8; - goto zig_block_0; - } - t9 = t6.payload; - t10 = t9; - t11 = (uint8_t *const *)&t10; - t9 = (*t11); - t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul*sizeof(uint8_t))); - t12.ptr = t9; - t12.len = a1; - t8.payload = t12; - t8.error = UINT16_C(0); - t4 = t8; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static void mem_Allocator_free__anon_4147__8243(struct mem_Allocator__599 const a0, nav__8243_40 const a1) { - struct mem_Allocator__599 const *t1; - nav__8243_40 t2; - uintptr_t t3; - uint64_t t4; - uint8_t *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - struct mem_Allocator__599 t10; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t12; - struct mem_Allocator_VTable__602 const *const *t13; - struct mem_Allocator_VTable__602 const *t14; - void (*const *t15)(void *, nav__8243_40, uint8_t, uintptr_t); - void (*t16)(void *, nav__8243_40, uint8_t, uintptr_t); - void *t17; - bool t5; - uint8_t t11; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_5337__8659(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t10 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t11 = mem_Alignment_fromByteUnits__1108((uintptr_t)1ul); - t3 = (uintptr_t)zig_return_address(); - t12 = t10; - t1 = (struct mem_Allocator__599 const *)&t12; - t13 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t14 = (*t13); - t15 = (void (*const *)(void *, nav__8243_40, uint8_t, uintptr_t))&t14->free; - t16 = (*t15); - t17 = t10.ptr; - t16(t17, t2, t11, t3); - return; -} - -static uint16_t bincode_serializeInt__anon_4152__8244(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, uint32_t const a1) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t5; - void const **t7; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; - void const *t9; - nav__8244_48 (**t10)(void const *, nav__8244_50); - struct io_Writer__4338 t11; - struct io_Writer__4338 t6; - struct io_Writer__4338 t12; - struct io_Writer__4338 t14; - struct io_Writer__4338 const *t13; - nav__8244_50 t17; - uint16_t t18; - uint16_t t19; - uint8_t t16[4]; - uint8_t t15[4]; - t0 = a0; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - t2 = (*t1); - t3 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t3; - t4 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t4; - t7 = (void const **)&t6.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__8244_48 (**)(void const *, nav__8244_50))&t6.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t6; - t12 = t11; - t13 = (struct io_Writer__4338 const *)&t12; - t11 = (*t13); - t14 = t11; - t13 = (struct io_Writer__4338 const *)&t14; - memcpy(&t16, &a1, sizeof(uint8_t[4])); - memcpy((char *)&t15, t16, sizeof(uint8_t[4])); - t11 = (*t13); - t17.ptr = &t15[(uintptr_t)0ul]; - t17.len = (uintptr_t)4ul; - t18 = io_Writer_writeAll__8274(t11, t17); - memcpy(&t19, &t18, sizeof(uint16_t)); - if (t19) { - return t19; - } - return 0; -} - -static uint16_t bincode_serializeStruct__anon_4157__8245(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__struct_2198__2198 const a1) { - nav__8245_45 t2; - uint32_t t0; - uint16_t t1; - t0 = a1.pid; - t1 = bincode_serialize__anon_3550__7912(a0, t0); - if (t1) { - return t1; - } - t2 = a1.uri; - t1 = bincode_serialize__anon_5381__8661(a0, t2); - if (t1) { - return t1; - } - return 0; -} -static uint16_t bincode_serializeStruct__anon_4158__8246(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__struct_2199__2199 const a1) { - nav__8246_45 t0; - uint16_t t1; - t0 = a1.name; - t1 = bincode_serialize__anon_5381__8661(a0, t0); - if (t1) { - return t1; - } - t0 = a1.version; - t1 = bincode_serialize__anon_5381__8661(a0, t0); - if (t1) { - return t1; - } - return 0; +zig_block_0:; + return 0; } -static uint16_t bincode_serializeStruct__anon_4159__8247(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_Command__struct_2200__2200 const a1) { - struct shared_MarkerType__2202 t2; - uint32_t t0; - uint16_t t1; - t0 = a1.pid; - t1 = bincode_serialize__anon_3550__7912(a0, t0); - if (t1) { - return t1; - } - t2 = a1.marker; - t1 = bincode_serialize__anon_5383__8662(a0, t2); - if (t1) { - return t1; - } - return 0; -} - -static uint16_t bincode_serializeInt__anon_4160__8248(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, uint64_t const a1) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t5; - void const **t7; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; - void const *t9; - nav__8248_48 (**t10)(void const *, nav__8248_50); - struct io_Writer__4338 t11; - struct io_Writer__4338 t6; - struct io_Writer__4338 t12; - struct io_Writer__4338 t14; - struct io_Writer__4338 const *t13; - nav__8248_50 t17; - uint16_t t18; - uint16_t t19; - uint8_t t16[8]; - uint8_t t15[8]; - t0 = a0; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - t2 = (*t1); - t3 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t3; - t4 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t4; - t7 = (void const **)&t6.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__8248_48 (**)(void const *, nav__8248_50))&t6.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t6; - t12 = t11; - t13 = (struct io_Writer__4338 const *)&t12; - t11 = (*t13); - t14 = t11; - t13 = (struct io_Writer__4338 const *)&t14; - memcpy(&t16, &a1, sizeof(uint8_t[8])); - memcpy((char *)&t15, t16, sizeof(uint8_t[8])); - t11 = (*t13); - t17.ptr = &t15[(uintptr_t)0ul]; - t17.len = (uintptr_t)8ul; - t18 = io_Writer_writeAll__8274(t11, t17); - memcpy(&t19, &t18, sizeof(uint16_t)); - if (t19) { - return t19; - } - return 0; -} - -static uint16_t bincode_serializeEnum__anon_4163__8249(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, uint8_t const a1) { - uint32_t t1; - uint16_t t2; - uint8_t t0; - t0 = a1; - t1 = (uint32_t)t0; - t2 = bincode_serialize__anon_3550__7912(a0, t1); - if (t2) { - return t2; - } - return 0; -} - -static uint16_t posix_errno__anon_4174__8251(intptr_t const a0) { - int64_t t1; - int *t3; - int t4; - uint16_t t0; - uint16_t t5; - bool t2; - t1 = a0; - t2 = t1 == -INT64_C(1); - if (t2) { - t3 = zig_e___errno_location(); - t4 = (*t3); - t5 = (uint16_t)t4; - t0 = t5; - goto zig_block_0; - } - t0 = UINT16_C(0); - goto zig_block_0; - - zig_block_0:; - return t0; -} - -static struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 **t1; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t0; - t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 **)&t0.context; - (*t1) = a0; - return t0; -} - -static nav__8266_38 io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266(void const *const a0, nav__8266_41 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t0; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t1; - nav__8266_38 t2; - nav__8266_38 t3; - t0 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)a0; - t1 = (*t0); - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_write__4977(t1, a1); - memcpy(&t3, &t2, sizeof(nav__8266_38)); - return t3; -} - -static uint16_t io_Writer_writeAll__8274(struct io_Writer__4338 const a0, nav__8274_40 const a1) { - struct io_Writer__4338 const *t1; - nav__8274_40 const *t3; - uintptr_t t5; - uintptr_t t6; - uintptr_t t13; - uintptr_t t4; - uint64_t t7; - uint64_t t8; - struct io_Writer__4338 t10; - struct io_Writer__4338 t0; - nav__8274_40 t11; - nav__8274_40 t2; - uint8_t const *t12; - nav__8274_43 t14; - uint16_t t15; - bool t9; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = a1; - t3 = (nav__8274_40 const *)&t2; - t4 = (uintptr_t)0ul; - zig_loop_11: - t5 = t4; - t6 = a1.len; - t7 = t5; - t8 = t6; - t9 = t7 != t8; - if (t9) { - t6 = t4; - t10 = (*t1); - t5 = t4; - t11 = (*t3); - t12 = t11.ptr; - t12 = (uint8_t const *)(((uintptr_t)t12) + (t5*sizeof(uint8_t))); - t13 = t11.len; - t5 = t13 - t5; - t11.ptr = t12; - t11.len = t5; - t14 = io_Writer_write__8273(t10, t11); - if (t14.error) { - t15 = t14.error; - return t15; - } - t5 = t14.payload; - t5 = t6 + t5; - t4 = t5; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_11; - - zig_block_0:; - return 0; -} - -static uint16_t shared_Command_format__anon_5443__8663(struct shared_Command__2195 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - struct io_Writer__4338 const *t1; - struct shared_Command__struct_2198__2198 t3; - struct io_Writer__4338 t4; - struct io_Writer__4338 t0; - nav__8663_44 t6; - nav__8663_44 t10; - nav__8663_66 t7; - struct shared_Command__struct_2199__2199 t9; - nav__8663_76 t11; - struct shared_Command__struct_2200__2200 t12; - struct shared_MarkerType__2202 t13; - nav__8663_78 t14; - uint64_t t15; - nav__8663_80 t16; - uint32_t t5; - uint16_t t8; - uint8_t t2; - nav__8663_84 t17; - (void)a1; - t0 = a2; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = a0.tag; - switch (t2) { - case UINT8_C(0): { - t3 = a0.payload.ExecutedBenchmark; - t4 = (*t1); - t5 = t3.pid; - t6 = t3.uri; - t7.f0 = t5; - t7.f1 = t6; - t8 = io_Writer_print__anon_5463__8664(t4, t7); - if (t8) { - return t8; - } - goto zig_block_0; - } - case UINT8_C(1): { - t4 = (*t1); - t8 = io_Writer_writeAll__8274(t4, (nav__8663_44){(uint8_t const *)&__anon_2438,(uintptr_t)14ul}); - if (t8) { - return t8; - } - goto zig_block_0; - } - case UINT8_C(2): { - t4 = (*t1); - t8 = io_Writer_writeAll__8274(t4, (nav__8663_44){(uint8_t const *)&__anon_2443,(uintptr_t)13ul}); - if (t8) { - return t8; - } - goto zig_block_0; +static nav__1136_38 runner_fifo_RunnerFifo_get_integration_mode__1136( + struct runner_fifo_RunnerFifo__631 *const a0) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + struct fifo_UnixPipe_Reader__640 *t6; + nav__1136_81 t7; + struct shared_Command__2195 t8; + struct shared_Command__2195 t9; + struct shared_Command__2195 const *t10; + struct mem_Allocator__599 *t13; + struct mem_Allocator__599 t14; + uint16_t t4; + nav__1136_38 t5; + uint8_t t11; + bool t12; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4 = fifo_UnixPipe_Writer_sendCmd__1164( + t3, (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(9)}); + if (t4) { + t5.payload = UINT8_C(0x2); + t5.error = t4; + return t5; } - case UINT8_C(3): { - t4 = (*t1); - t8 = io_Writer_writeAll__8274(t4, (nav__8663_44){(uint8_t const *)&__anon_2448,(uintptr_t)3ul}); - if (t8) { - return t8; - } - goto zig_block_0; + t2 = (*t1); + t6 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t7 = fifo_UnixPipe_Reader_waitForResponse__1170( + t6, (nav__1136_79){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t7.error) { + t4 = t7.error; + t5.payload = UINT8_C(0x2); + t5.error = t4; + return t5; } - case UINT8_C(4): { - t4 = (*t1); - t8 = io_Writer_writeAll__8274(t4, (nav__8663_44){(uint8_t const *)&__anon_2453,(uintptr_t)8ul}); - if (t8) { - return t8; - } - goto zig_block_0; - } - case UINT8_C(5): { - t9 = a0.payload.SetIntegration; - t4 = (*t1); - t6 = t9.name; - t10 = t9.version; - t11.f0 = t6; - t11.f1 = t10; - t8 = io_Writer_print__anon_5484__8665(t4, t11); - if (t8) { - return t8; - } - goto zig_block_0; + t8 = t7.payload; + t9 = t8; + t10 = (struct shared_Command__2195 const *)&t9; + t11 = t8.tag; + t12 = t11 == UINT8_C(10); + if (t12) { + t11 = t8.payload.IntegrationModeResponse; + t8 = (*t10); + t13 = (struct mem_Allocator__599 *)&a0->allocator; + t14 = (*t13); + shared_Command_deinit__4785(t8, t14); + t5.payload = t11; + t5.error = UINT16_C(0); + return t5; } - case UINT8_C(6): { - t4 = (*t1); - t8 = io_Writer_writeAll__8274(t4, (nav__8663_44){(uint8_t const *)&__anon_2461,(uintptr_t)3ul}); - if (t8) { - return t8; - } - goto zig_block_0; - } - case UINT8_C(7): { - t12 = a0.payload.AddMarker; - t4 = (*t1); - t5 = t12.pid; - t13 = t12.marker; - t14.f0 = t5; - t14.f1 = t13; - t8 = io_Writer_print__anon_5496__8666(t4, t14); - if (t8) { - return t8; - } - goto zig_block_0; - } - case UINT8_C(8): { - t15 = a0.payload.SetVersion; - t4 = (*t1); - t16.f0 = t15; - t8 = io_Writer_print__anon_5505__8667(t4, t16); - if (t8) { - return t8; - } - goto zig_block_0; + goto zig_block_0; + +zig_block_0:; + t8 = (*t10); + t13 = (struct mem_Allocator__599 *)&a0->allocator; + t14 = (*t13); + shared_Command_deinit__4785(t8, t14); + return (nav__1136_38){zig_error_UnexpectedResponse, UINT8_C(0x2)}; +} + +static nav__816_39 +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_init__816( + struct mem_Allocator__599 const a0) { + nav__816_62 t1; + nav__816_39 t3; + struct runner_fifo_RunnerFifo__631 t4; + struct runner_fifo_RunnerFifo__631 t0; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + t9; + uint16_t t2; + nav__816_65 t6; + uint8_t t5; + uint8_t t8; + bool t7; + t1 = runner_fifo_RunnerFifo_init__1125(a0); + if (t1.error) { + t2 = t1.error; + t3.payload = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591){ + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}}; + t3.error = t2; + return t3; + } + t4 = t1.payload; + t0 = t4; + (void)runner_fifo_RunnerFifo_validate_protocol_version__1126(&t0); + t6 = runner_fifo_RunnerFifo_get_integration_mode__1136(&t0); + t7 = t6.error == UINT16_C(0); + if (t7) { + t8 = t6.payload; + t5 = t8; + goto zig_block_0; + } + t2 = t6.error; + runner_fifo_RunnerFifo_deinit__1127(&t0); + t3.payload = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591){ + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}}; + t3.error = t2; + return t3; + +zig_block_0:; + t7 = t5 != UINT8_C(2); + if (t7) { + runner_fifo_RunnerFifo_deinit__1127(&t0); + return (nav__816_39){{{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}}, + zig_error_ModeError}; } - case UINT8_C(9): { - t4 = (*t1); - t8 = io_Writer_writeAll__8274(t4, (nav__8663_44){(uint8_t const *)&__anon_2476,(uintptr_t)18ul}); - if (t8) { - return t8; - } - goto zig_block_0; - } - case UINT8_C(10): { - t2 = a0.payload.IntegrationModeResponse; - t4 = (*t1); - t17.f0 = t2; - t8 = io_Writer_print__anon_5518__8668(t4, t17); - if (t8) { - return t8; - } - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - return 0; -} - -static uint16_t fmt_formatType__anon_4821__8650(struct shared_Command__2195 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct shared_Command__2195 const *t1; - struct shared_Command__2195 t3; - struct shared_Command__2195 t0; - struct io_Writer__4338 t2; - uint16_t t4; - (void)a3; - t0 = a0; - t1 = (struct shared_Command__2195 const *)&t0; - t2 = a2; - t3 = (*t1); - t4 = shared_Command_format__anon_5443__8663(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -static nav__4982_39 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 const *t1; - nav__4982_39 const *t2; - uintptr_t t3; - nav__4982_39 t4; - uint8_t *t5; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - t0 = a0; - t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 const *)&t0; - t2 = (nav__4982_39 const *)&t1->buffer; - t3 = a0.pos; - t4 = (*t2); - t5 = t4.ptr; - t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint8_t))); - t4.ptr = t5; - t4.len = t3; - return t4; -} - -static uint16_t fmt_formatType__anon_4937__8652(uint64_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - uint64_t t0; - struct io_Writer__4338 t1; - uint16_t t2; - uint16_t t3; - (void)a3; - t0 = a0; - t1 = a2; - t2 = fmt_formatValue__anon_5527__8669(a0, a1, a2); - memcpy(&t3, &t2, sizeof(uint16_t)); - return t3; -} - -static uint16_t fmt_formatType__anon_5179__8655(nav__8655_39 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct io_Writer__4338 const *t2; - uint64_t t3; - struct io_Writer__4338 t5; - struct io_Writer__4338 t1; - nav__8655_39 t7; - nav__8655_39 t0; - uint16_t t6; - uint16_t t8; - bool t4; - t0 = a0; - t1 = a2; - t2 = (struct io_Writer__4338 const *)&t1; - t3 = a3; - t4 = t3 == UINT64_C(0); - if (t4) { - t5 = (*t2); - t6 = io_Writer_writeAll__8274(t5, (nav__8655_39){(uint8_t const *)&__anon_5542,(uintptr_t)7ul}); - return t6; - } - goto zig_block_0; - - zig_block_0:; - memcpy(&t7, &a0, sizeof(nav__8655_39)); - t6 = fmt_formatBuf__anon_5552__8670(t7, a1, a2); - memcpy(&t8, &t6, sizeof(uint16_t)); - return t8; -} - -static nav__8659_39 mem_sliceAsBytes__anon_5337__8659(nav__8659_39 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t4; - uint8_t *t5; - uint8_t *const *t6; - nav__8659_39 t7; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__8659_39){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = t4; - t6 = (uint8_t *const *)&t5; - t0 = a0.len; - t4 = (*t6); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t7.ptr = t4; - t7.len = t0; - return t7; -} - -static nav__8660_39 mem_bytesAsSlice__anon_5350__8660(nav__8660_39 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t4; - uint8_t *t5; - uint8_t *const *t6; - nav__8660_39 t7; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__8660_39){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = t4; - t6 = (uint8_t *const *)&t5; - t0 = a0.len; - t0 = t0 / (uintptr_t)1ul; - t4 = (*t6); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t7.ptr = t4; - t7.len = t0; - return t7; -} - -static nav__4910_38 io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910(void const *const a0, nav__4910_41 const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t0; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t1; - nav__4910_38 t2; - nav__4910_38 t3; - t0 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)a0; - t1 = (*t0); - t2 = array_list_ArrayListAligned_28u8_2cnull_29_appendWrite__1430(t1, a1); - memcpy(&t3, &t2, sizeof(nav__4910_38)); - return t3; -} - -static uint16_t bincode_serialize__anon_5381__8661(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, nav__8661_40 const a1) { - uint16_t t0; - t0 = bincode_serializePointer__anon_5564__8671(a0, a1); - if (t0) { - return t0; - } - return 0; + +zig_block_1:; + t4 = t0; + t9.fifo = t4; + t3.payload = t9; + t3.error = UINT16_C(0); + return t3; } -static uint16_t bincode_serialize__anon_5383__8662(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_MarkerType__2202 const a1) { - uint16_t t0; - t0 = bincode_serializeUnion__anon_5565__8672(a0, a1); - if (t0) { - return t0; - } - return 0; -} - -static nav__4977_38 io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_write__4977(struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const a0, nav__4977_42 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t1; - nav__4977_42 const *t3; - uintptr_t t4; - uintptr_t t10; - uint64_t t5; - uint64_t t11; - uintptr_t *t7; - nav__4977_50 *t8; - nav__4977_50 t9; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t12; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t0; - uint8_t *t13; - nav__4977_42 t14; - nav__4977_42 t2; - uint8_t const *t15; - nav__4977_38 t16; - bool t6; - t0 = a0; - t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t0; - t2 = a1; - t3 = (nav__4977_42 const *)&t2; - t4 = a1.len; - t5 = t4; - t6 = t5 == UINT64_C(0); - if (t6) { - return (nav__4977_38){(uintptr_t)0ul,0}; - } - goto zig_block_0; - - zig_block_0:; - t7 = (uintptr_t *)&a0->pos; - t4 = (*t7); - t8 = (nav__4977_50 *)&a0->buffer; - t9 = (*t8); - t10 = t9.len; - t5 = t4; - t11 = t10; - t6 = t5 >= t11; - if (t6) { - return (nav__4977_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_NoSpaceLeft}; - } - goto zig_block_1; - - zig_block_1:; - t8 = (nav__4977_50 *)&a0->buffer; - t9 = (*t8); - t10 = t9.len; - t7 = (uintptr_t *)&a0->pos; - t4 = (*t7); - t4 = t10 - t4; - t10 = a1.len; - t10 = (t4 < t10) ? t4 : t10; - t11 = t10; - t12 = (*t1); - t8 = (nav__4977_50 *)&t12->buffer; - t7 = (uintptr_t *)&a0->pos; - t10 = (*t7); - t9 = (*t8); - t13 = t9.ptr; - t13 = (uint8_t *)(((uintptr_t)t13) + (t10*sizeof(uint8_t))); - t10 = t11; - t9.ptr = t13; - t9.len = t10; - t14 = (*t3); - t15 = t14.ptr; - t15 = (uint8_t const *)(((uintptr_t)t15) + ((uintptr_t)0ul*sizeof(uint8_t))); - t10 = t11; - t14.ptr = t15; - t14.len = t10; - t15 = t14.ptr; - if (t9.len != 0) memcpy(t9.ptr, t15, t9.len * sizeof(uint8_t)); - t12 = (*t1); - t7 = (uintptr_t *)&t12->pos; - t10 = (*t7); - t4 = t11; - t4 = t10 + t4; - (*t7) = t4; - t6 = t11 == UINT64_C(0); - if (t6) { - return (nav__4977_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_NoSpaceLeft}; - } - goto zig_block_2; - - zig_block_2:; - t4 = t11; - t16.payload = t4; - t16.error = UINT16_C(0); - return t16; -} - -static nav__8273_38 io_Writer_write__8273(struct io_Writer__4338 const a0, nav__8273_41 const a1) { - struct io_Writer__4338 const *t1; - nav__8273_38 (*const *t2)(void const *, nav__8273_41); - nav__8273_38 (*t3)(void const *, nav__8273_41); - void const *t4; - nav__8273_38 t5; - struct io_Writer__4338 t0; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (nav__8273_38 (*const *)(void const *, nav__8273_41))&t1->writeFn; - t3 = (*t2); - t4 = a0.context; - t5 = t3(t4, a1); - return t5; -} - -static uint16_t io_Writer_print__anon_5463__8664(struct io_Writer__4338 const a0, nav__8664_41 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_5569__8673(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_5484__8665(struct io_Writer__4338 const a0, nav__8665_41 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_5573__8674(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_5496__8666(struct io_Writer__4338 const a0, nav__8666_40 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_5577__8675(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_5505__8667(struct io_Writer__4338 const a0, nav__8667_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_5581__8676(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_5518__8668(struct io_Writer__4338 const a0, nav__8668_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_5585__8677(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static nav__8295_38 unicode_utf8ByteSequenceLength__8295(uint8_t const a0) { - nav__8295_38 t0; - switch (a0) { - default: if ((a0 >= UINT8_C(0) && a0 <= UINT8_C(127))) { - t0 = (nav__8295_38){0,UINT8_C(1)}; - goto zig_block_0; - }if ((a0 >= UINT8_C(192) && a0 <= UINT8_C(223))) { - t0 = (nav__8295_38){0,UINT8_C(2)}; - goto zig_block_0; - }if ((a0 >= UINT8_C(224) && a0 <= UINT8_C(239))) { - t0 = (nav__8295_38){0,UINT8_C(3)}; - goto zig_block_0; - }if ((a0 >= UINT8_C(240) && a0 <= UINT8_C(247))) { - t0 = (nav__8295_38){0,UINT8_C(4)}; - goto zig_block_0; - }{ - t0 = (nav__8295_38){zig_error_Utf8InvalidStartByte,UINT8_C(0x2)}; - goto zig_block_0; - } - } - - zig_block_0:; - return t0; -} - -static nav__8311_38 unicode_utf8CountCodepoints__8311(nav__8311_40 const a0) { - nav__8311_40 const *t1; - uintptr_t t4; - uintptr_t t5; - uintptr_t t2; - uintptr_t t3; - uint64_t t6; - uint64_t t7; - nav__8311_40 t9; - nav__8311_40 t0; - uint8_t const *t10; - uint8_t const (*t11)[8]; - nav__8311_38 t16; - nav__8311_50 t17; - nav__8311_48 t14; - uint16_t t15; - bool t8; - uint8_t t12[8]; - uint8_t t13; - t0 = a0; - t1 = (nav__8311_40 const *)&t0; - t2 = (uintptr_t)0ul; - t3 = (uintptr_t)0ul; - zig_loop_9: - t4 = t3; - t5 = a0.len; - t6 = t4; - t7 = t5; - t8 = t6 < t7; - if (t8) { - zig_loop_18: - t5 = t3; - t5 = t5 + (uintptr_t)8ul; - t4 = a0.len; - t7 = t5; - t6 = t4; - t8 = t7 <= t6; - if (t8) { - t4 = t3; - t9 = (*t1); - t10 = t9.ptr; - t10 = (uint8_t const *)(((uintptr_t)t10) + (t4*sizeof(uint8_t))); - t11 = (uint8_t const (*)[8])t10; - memcpy(t12, (const char *)t11, sizeof(uint8_t[8])); - memcpy(&t4, &t12, sizeof(uintptr_t)); - t4 = zig_wrap_u64(t4, UINT8_C(64)); - t4 = t4 & (uintptr_t)9259542123273814144ul; - t6 = t4; - t8 = t6 != UINT64_C(0); - if (t8) { - goto zig_block_2; - } - goto zig_block_4; - - zig_block_4:; - t4 = t2; - t4 = t4 + (uintptr_t)8ul; - t2 = t4; - t4 = t3; - t4 = t4 + (uintptr_t)8ul; - t3 = t4; - goto zig_block_3; - } - goto zig_block_2; +static nav__803_39 +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_init__803( + struct mem_Allocator__599 const a0) { + nav__803_62 t1; + nav__803_39 t3; + struct runner_fifo_RunnerFifo__631 t4; + struct runner_fifo_RunnerFifo__631 t0; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + t9; + uint16_t t2; + nav__803_65 t6; + uint8_t t5; + uint8_t t8; + bool t7; + t1 = runner_fifo_RunnerFifo_init__1125(a0); + if (t1.error) { + t2 = t1.error; + t3.payload = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582){ + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}}; + t3.error = t2; + return t3; + } + t4 = t1.payload; + t0 = t4; + (void)runner_fifo_RunnerFifo_validate_protocol_version__1126(&t0); + t6 = runner_fifo_RunnerFifo_get_integration_mode__1136(&t0); + t7 = t6.error == UINT16_C(0); + if (t7) { + t8 = t6.payload; + t5 = t8; + goto zig_block_0; + } + t2 = t6.error; + runner_fifo_RunnerFifo_deinit__1127(&t0); + t3.payload = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582){ + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}}; + t3.error = t2; + return t3; - zig_block_3:; - goto zig_loop_18; +zig_block_0:; + t7 = t5 != UINT8_C(0); + if (t7) { + runner_fifo_RunnerFifo_deinit__1127(&t0); + return (nav__803_39){{{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}, + {{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + {{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + (uintptr_t)0xaaaaaaaaaaaaaaaaul, + {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}, + {-INT32_C(0x55555556)}}}}, + zig_error_ModeError}; + } + goto zig_block_1; - zig_block_2:; - t5 = t3; - t4 = a0.len; - t7 = t5; - t6 = t4; - t8 = t7 < t6; - if (t8) { - t4 = t3; - t13 = a0.ptr[t4]; - t14 = unicode_utf8ByteSequenceLength__8295(t13); - if (t14.error) { - t15 = t14.error; - t16.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t16.error = t15; - return t16; - } - t13 = t14.payload; - t4 = t3; - t5 = (uintptr_t)t13; - t5 = t4 + t5; - t4 = a0.len; - t6 = t5; - t7 = t4; - t8 = t6 > t7; - if (t8) { - return (nav__8311_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_TruncatedInput}; - } - goto zig_block_6; - - zig_block_6:; - switch (t13) { - case UINT8_C(1): { - goto zig_block_7; - } - default: { - t4 = t3; - t9 = (*t1); - t10 = t9.ptr; - t10 = (uint8_t const *)(((uintptr_t)t10) + (t4*sizeof(uint8_t))); - t4 = (uintptr_t)t13; - t9.ptr = t10; - t9.len = t4; - t17 = unicode_utf8Decode__8301(t9); - if (t17.error) { - t15 = t17.error; - t16.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t16.error = t15; - return t16; - } - goto zig_block_7; - } - } +zig_block_1:; + t4 = t0; + t9.fifo = t4; + t3.payload = t9; + t3.error = UINT16_C(0); + return t3; +} - zig_block_7:; - t4 = t3; - t5 = (uintptr_t)t13; - t5 = t4 + t5; - t3 = t5; - t5 = t2; - t5 = t5 + (uintptr_t)1ul; - t2 = t5; - goto zig_block_5; +static nav__739_39 instruments_root_Instrument_init__739( + struct mem_Allocator__599 const a0) { + nav__739_69 t0; + struct instruments_valgrind_ValgrindInstrument__564 t2; + struct instruments_root_Instrument__554 t3; + nav__739_39 t4; + nav__739_71 t5; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + t6; + nav__739_73 t7; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + t8; + bool t1; + t0 = instruments_valgrind_ValgrindInstrument_init__782(a0); + t1 = t0.error == UINT16_C(0); + if (t1) { + t2 = t0.payload; + t3.tag = UINT8_C(0); + t3.payload.valgrind = t2; + t4.payload = t3; + t4.error = UINT16_C(0); + return t4; } - goto zig_block_5; + goto zig_block_0; - zig_block_5:; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_9; - - zig_block_0:; - t5 = t2; - t16.payload = t5; - t16.error = UINT16_C(0); - return t16; -} - -static uint16_t fmt_formatBuf__anon_5552__8670(nav__8670_39 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - struct io_Writer__4338 const *t1; - nav__8670_44 t2; - uintptr_t t4; - uintptr_t t5; - uintptr_t t7; - nav__8670_48 t6; - uint64_t t8; - uint64_t t9; - struct io_Writer__4338 t10; - struct io_Writer__4338 t0; - nav__8670_57 t15; - nav__8670_39 t17; - nav__8670_39 t20; - uint8_t *t19; - uint32_t t14; - uint16_t t11; - uint16_t t12; - nav__8670_60 t16; - bool t3; - uint8_t t18; - uint8_t t13[4]; - t0 = a2; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = a1.width; - t3 = t2.is_null != true; - if (t3) { - t4 = t2.payload; - t6 = unicode_utf8CountCodepoints__8311(a0); - t3 = t6.error == UINT16_C(0); - if (t3) { - t7 = t6.payload; - t5 = t7; - goto zig_block_1; +zig_block_0:; + t5 = + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_init__816( + a0); + t1 = t5.error == UINT16_C(0); + if (t1) { + t6 = t5.payload; + t3.tag = UINT8_C(2); + t3.payload.analysis = t6; + t4.payload = t3; + t4.error = UINT16_C(0); + return t4; } - t7 = a0.len; - t5 = t7; goto zig_block_1; - zig_block_1:; - t8 = t5; - t9 = t4; - t3 = t8 < t9; - if (t3) { - t5 = t4 - t5; - t7 = t5; - goto zig_block_2; +zig_block_1:; + t7 = + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_init__803( + a0); + t1 = t7.error == UINT16_C(0); + if (t1) { + t8 = t7.payload; + t3.tag = UINT8_C(1); + t3.payload.perf = t8; + t4.payload = t3; + t4.error = UINT16_C(0); + return t4; } - t7 = (uintptr_t)0ul; goto zig_block_2; - zig_block_2:; - t9 = t7; - t3 = t9 == UINT64_C(0); - if (t3) { - t10 = (*t1); - t11 = io_Writer_writeAll__8274(t10, a0); - memcpy(&t12, &t11, sizeof(uint16_t)); - return t12; - } - goto zig_block_3; +zig_block_2:; + return (nav__739_39){{{{{((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}}}, + UINT8_C(3)}, + 0}; +} + +static nav__727_39 instrument_hooks_InstrumentHooks_init__727( + struct mem_Allocator__599 const a0) { + struct InstrumentHooks *t1; + struct instruments_root_Instrument__554 *t2; + nav__727_100 t3; + struct instruments_root_Instrument__554 t4; + struct environment_root_Environment__559 *t5; + struct environment_root_Environment__559 t6; + nav__727_39 t0; + t0.error = UINT16_C(0); + t1 = &t0.payload; + t2 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t3 = instruments_root_Instrument_init__739(a0); + t4 = t3.payload; + (*t2) = t4; + t5 = (struct environment_root_Environment__559 *)&t1->environment; + t6 = environment_root_Environment_init__769(a0); + (*t5) = t6; + return t0; +} - zig_block_3:; - t14 = a1.fill; - t15.ptr = &t13[(uintptr_t)0ul]; - t15.len = (uintptr_t)4ul; - t16 = unicode_utf8Encode__8296(t14, t15); - t3 = t16.error == UINT16_C(0); - if (t3) { - t18 = t16.payload; - t19 = (uint8_t *)&t13; - t19 = (uint8_t *)(((uintptr_t)t19) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uintptr_t)t18; - t15.ptr = t19; - t15.len = t5; - memcpy(&t20, &t15, sizeof(nav__8670_39)); - t17 = t20; - goto zig_block_4; - - } - t12 = t16.error; - switch (t12) { - case zig_error_Utf8CannotEncodeSurrogateHalf: - case zig_error_CodepointTooLarge: { - t17 = (nav__8670_39){(uint8_t const *)&__anon_5719,(uintptr_t)3ul}; - goto zig_block_4; - } - default: zig_unreachable(); +struct InstrumentHooks *c_instrument_hooks_init__238(void) { + struct InstrumentHooks *t0; + struct InstrumentHooks *t3; + nav__238_46 t1; + nav__238_107 t4; + struct InstrumentHooks t5; + bool t2; + t1 = mem_Allocator_create__anon_1045__4528( + (struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}); + t2 = t1.error == UINT16_C(0); + if (t2) { + t3 = t1.payload; + t0 = t3; + goto zig_block_0; } + return NULL; - zig_block_4:; - t18 = a1.alignment; - switch (t18) { - case UINT8_C(0): { - t10 = (*t1); - t12 = io_Writer_writeAll__8274(t10, a0); - if (t12) { - return t12; - } - t10 = (*t1); - t12 = io_Writer_writeBytesNTimes__8278(t10, t17, t7); - if (t12) { - return t12; - } - goto zig_block_6; - } - case UINT8_C(1): { - t5 = t7 / (uintptr_t)2ul; - t7 = t7 + (uintptr_t)1ul; - t7 = t7 / (uintptr_t)2ul; - t10 = (*t1); - t12 = io_Writer_writeBytesNTimes__8278(t10, t17, t5); - if (t12) { - return t12; - } - t10 = (*t1); - t12 = io_Writer_writeAll__8274(t10, a0); - if (t12) { - return t12; - } - t10 = (*t1); - t12 = io_Writer_writeBytesNTimes__8278(t10, t17, t7); - if (t12) { - return t12; - } - goto zig_block_6; - } - case UINT8_C(2): { - t10 = (*t1); - t12 = io_Writer_writeBytesNTimes__8278(t10, t17, t7); - if (t12) { - return t12; - } - t10 = (*t1); - t12 = io_Writer_writeAll__8274(t10, a0); - if (t12) { - return t12; - } - goto zig_block_6; - } - default: zig_unreachable(); +zig_block_0:; + t4 = instrument_hooks_InstrumentHooks_init__727( + (struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}); + t5 = t4.payload; + (*t0) = t5; + t3 = (struct InstrumentHooks *)t0; + return t3; +} + +static nav__4528_40 mem_Allocator_create__anon_1045__4528( + struct mem_Allocator__599 const a0) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + uintptr_t t3; + nav__4528_51 t4; + nav__4528_40 t6; + uint8_t *t7; + struct InstrumentHooks *t8; + uint16_t t5; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t4 = mem_Allocator_allocBytesWithAlignment__anon_3158__5094( + t2, (uintptr_t)288ul, t3); + if (t4.error) { + t5 = t4.error; + t6.payload = ((struct InstrumentHooks *)(uintptr_t)0xaaaaaaaaaaaaaaaaul); + t6.error = t5; + return t6; } + t7 = t4.payload; + t8 = (struct InstrumentHooks *)t7; + t6.payload = t8; + t6.error = UINT16_C(0); + return t6; +} - zig_block_6:; - goto zig_block_0; - } - t10 = (*t1); - t12 = io_Writer_writeAll__8274(t10, a0); - if (t12) { - return t12; - } - goto zig_block_0; - - zig_block_0:; - return 0; -} - -static uint16_t fmt_formatInt__anon_5612__8679(uint64_t const a0, uint8_t const a1, uint8_t const a2, struct fmt_FormatOptions__4745 const a3, struct io_Writer__4338 const a4) { - uint64_t t4; - uint64_t t11; - uint64_t t2; - uintptr_t t5; - uintptr_t t3; - uint8_t *t6; - uint8_t (*t7)[2]; - nav__8679_58 t12; - nav__8679_47 t13; - uint16_t t14; - uint16_t t15; - bool t0; - uint8_t t8; - nav__8679_56 t9; - uint8_t t10[2]; - uint8_t t1[65]; - t0 = a1 >= UINT8_C(2); - debug_assert__180(t0); - t2 = a0; - t3 = (uintptr_t)65ul; - t0 = a1 == UINT8_C(10); - if (t0) { - zig_loop_19: - t4 = t2; - t0 = t4 >= UINT64_C(100); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t4 = t4 % UINT64_C(100); - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - t4 = t2; - t4 = t4 / UINT64_C(100); - t2 = t4; - goto zig_block_2; +static uint16_t fs_accessAbsolute__1226( + nav__1226_39 const a0, struct fs_File_OpenFlags__2111 const a1) { + struct fs_Dir__2113 const *t3; + struct fs_Dir__2113 t1; + struct fs_Dir__2113 t2; + uint16_t t4; + bool t0; + t0 = fs_path_isAbsolute__5129(a0); + debug_assert__180(t0); + t1 = fs_cwd__1218(); + t2 = t1; + t3 = (struct fs_Dir__2113 const *)&t2; + t1 = (*t3); + t4 = fs_Dir_access__4729(t1, a0, a1); + if (t4) { + return t4; } - goto zig_block_1; + return 0; +} - zig_block_2:; - goto zig_loop_19; +static nav__1223_39 fs_openFileAbsolute__1223( + nav__1223_41 const a0, struct fs_File_OpenFlags__2111 const a1) { + struct fs_Dir__2113 const *t3; + struct fs_Dir__2113 t1; + struct fs_Dir__2113 t2; + nav__1223_39 t4; + bool t0; + t0 = fs_path_isAbsolute__5129(a0); + debug_assert__180(t0); + t1 = fs_cwd__1218(); + t2 = t1; + t3 = (struct fs_Dir__2113 const *)&t2; + t1 = (*t3); + t4 = fs_Dir_openFile__4665(t1, a0, a1); + return t4; +} - zig_block_1:; - t4 = t2; - t0 = t4 < UINT64_C(10); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t4 = t2; - t8 = (uint8_t)t4; - t8 = UINT8_C(48) + t8; - (*t6) = t8; - goto zig_block_3; - } - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - goto zig_block_3; +static void utils_setNonBlocking__4781(int32_t const a0) { + int t0; + int t1; + t0 = a0; + t0 = fcntl(t0, 3, 0); + t0 = t0 | 2048; + t1 = a0; + (void)fcntl(t1, 4, t0); + return; +} - zig_block_3:; +static struct fifo_UnixPipe_Writer__638 fifo_UnixPipe_Writer_init__1161( + struct fs_File__646 const a0, struct mem_Allocator__599 const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; + struct fs_File__646 *t5; + struct mem_Allocator__599 *t6; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; + struct fifo_UnixPipe_Writer__638 t4; + uint16_t t2; + bool t3; + t1 = array_list_ArrayListAligned_28u8_2cnull_29_init__1405(a1); + t0 = t1; + t2 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1442( + &t0, (uintptr_t)1024ul); + t3 = t2 == UINT16_C(0); + if (t3) { + goto zig_block_0; + } goto zig_block_0; - } - zig_loop_74: - t4 = t2; - t11 = (uint64_t)a1; - t11 = t4 % t11; - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t8 = (uint8_t)t11; - t8 = fmt_digitToChar__8066(t8, a2); - (*t6) = t8; - t11 = t2; - t4 = (uint64_t)a1; - t4 = t11 / t4; - t2 = t4; - t4 = t2; - t0 = t4 == UINT64_C(0); - if (t0) { - goto zig_block_4; - } - goto zig_block_5; - - zig_block_5:; - goto zig_loop_74; - - zig_block_4:; - goto zig_block_0; - - zig_block_0:; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t5 = (uintptr_t)65ul - t5; - t12.ptr = t6; - t12.len = t5; - memcpy(&t13, &t12, sizeof(nav__8679_47)); - t14 = fmt_formatBuf__anon_5552__8670(t13, a3, a4); - memcpy(&t15, &t14, sizeof(uint16_t)); - return t15; -} - -static uint16_t fmt_formatIntValue__anon_5595__8678(uint64_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatInt__anon_5612__8679(a0, UINT8_C(10), UINT8_C(0), a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t fmt_formatValue__anon_5527__8669(uint64_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatIntValue__anon_5595__8678(a0, a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static nav__1430_38 array_list_ArrayListAligned_28u8_2cnull_29_appendWrite__1430(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, nav__1430_42 const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - nav__1430_38 t4; - uintptr_t t5; - uint16_t t3; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (*t1); - t3 = array_list_ArrayListAligned_28u8_2cnull_29_appendSlice__1424(t2, a1); - if (t3) { - t4.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; - t4.error = t3; + +zig_block_0:; + t5 = (struct fs_File__646 *)&t4.file; + (*t5) = a0; + t6 = (struct mem_Allocator__599 *)&t4.allocator; + (*t6) = a1; + t7 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4.buffer; + t1 = t0; + (*t7) = t1; return t4; - } - t5 = a1.len; - t4.payload = t5; - t4.error = UINT16_C(0); - return t4; -} - -static uint16_t bincode_serializePointer__anon_5564__8671(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, nav__8671_40 const a1) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t7; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t24; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t23; - uintptr_t t3; - uint64_t t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t8; - void const **t10; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t11; - void const *t12; - nav__8671_51 (**t13)(void const *, nav__8671_40); - struct io_Writer__4338 t14; - struct io_Writer__4338 t9; - struct io_Writer__4338 t15; - struct io_Writer__4338 t17; - struct io_Writer__4338 t25; - struct io_Writer__4338 t26; - struct io_Writer__4338 const *t16; - nav__8671_40 t20; - uint16_t t21; - uint16_t t22; - uint8_t t19[8]; - uint8_t t18[8]; - t0 = a0; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - t2 = (*t1); - t3 = a1.len; - t4 = t3; - t5 = t2; - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t5; - t7 = t6; - t8 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t7; - t10 = (void const **)&t9.context; - t6 = (*t8); - t11 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t6->context; - t12 = (void const *)t11; - (*t10) = t12; - t13 = (nav__8671_51 (**)(void const *, nav__8671_40))&t9.writeFn; - (*t13) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t14 = t9; - t15 = t14; - t16 = (struct io_Writer__4338 const *)&t15; - t14 = (*t16); - t17 = t14; - t16 = (struct io_Writer__4338 const *)&t17; - memcpy(&t19, &t4, sizeof(uint8_t[8])); - memcpy((char *)&t18, t19, sizeof(uint8_t[8])); - t14 = (*t16); - t20.ptr = &t18[(uintptr_t)0ul]; - t20.len = (uintptr_t)8ul; - t21 = io_Writer_writeAll__8274(t14, t20); - memcpy(&t22, &t21, sizeof(uint16_t)); - if (t22) { - return t22; - } - t2 = (*t1); - t23 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t23; - t24 = t1; - t8 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t24; - t10 = (void const **)&t25.context; - t1 = (*t8); - t11 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t12 = (void const *)t11; - (*t10) = t12; - t13 = (nav__8671_51 (**)(void const *, nav__8671_40))&t25.writeFn; - (*t13) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t14 = t25; - t26 = t14; - t16 = (struct io_Writer__4338 const *)&t26; - t14 = (*t16); - t22 = io_Writer_writeAll__8274(t14, a1); - memcpy(&t21, &t22, sizeof(uint16_t)); - if (t21) { - return t21; - } - return 0; -} - -static uint16_t bincode_serializeUnion__anon_5565__8672(struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a0, struct shared_MarkerType__2202 const a1) { - uint64_t t4; - uint32_t t1; - uint16_t t2; - uint8_t t0; - bool t3; - t0 = a1.tag; - t1 = (uint32_t)t0; - t2 = bincode_serialize__anon_3550__7912(a0, t1); - if (t2) { - return t2; - } - t0 = a1.tag; - t3 = t0 == UINT8_C(0); - if (t3) { - t4 = a1.payload.SampleStart; - t2 = bincode_serialize__anon_3560__7917(a0, t4); - if (t2) { - return t2; +} + +static struct fifo_UnixPipe_Reader__640 fifo_UnixPipe_Reader_init__1166( + struct fs_File__646 const a0, struct mem_Allocator__599 const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; + struct fs_File__646 *t5; + struct mem_Allocator__599 *t6; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; + struct fifo_UnixPipe_Reader__640 t4; + uint16_t t2; + bool t3; + t1 = array_list_ArrayListAligned_28u8_2cnull_29_init__1405(a1); + t0 = t1; + t2 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1442( + &t0, (uintptr_t)1024ul); + t3 = t2 == UINT16_C(0); + if (t3) { + goto zig_block_0; } goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t0 = a1.tag; - t3 = t0 == UINT8_C(1); - if (t3) { - t4 = a1.payload.SampleEnd; - t2 = bincode_serialize__anon_3560__7917(a0, t4); - if (t2) { - return t2; + +zig_block_0:; + t5 = (struct fs_File__646 *)&t4.file; + (*t5) = a0; + t6 = (struct mem_Allocator__599 *)&t4.allocator; + (*t6) = a1; + t7 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4.buffer; + t1 = t0; + (*t7) = t1; + return t4; +} + +static void +array_list_ArrayListAligned_28u8_2cnull_29_clearRetainingCapacity__1440( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + nav__1440_43 *t3; + uintptr_t *t4; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (*t1); + t3 = (nav__1440_43 *)&t2->items; + t4 = &t3->len; + (*t4) = (uintptr_t)0ul; + return; +} + +static struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + array_list_ArrayListAligned_28u8_2cnull_29_writer__1430( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 **t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 **)&t0.context; + (*t1) = a0; + return t0; +} + +static uint16_t bincode_serialize__anon_2247__4912( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__2195 const a1) { + uint16_t t0; + t0 = bincode_serializeUnion__anon_3221__6123(a0, a1); + if (t0) { + return t0; } - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t0 = a1.tag; - t3 = t0 == UINT8_C(2); - if (t3) { - t4 = a1.payload.BenchmarkStart; - t2 = bincode_serialize__anon_3560__7917(a0, t4); - if (t2) { - return t2; + return 0; +} + +static uint8_t const ( + *mem_asBytes__anon_2285__4913(uint32_t const *const a0))[4] { + uint8_t const(*t0)[4]; + t0 = (uint8_t const(*)[4])a0; + return t0; +} + +static uint16_t fs_File_writeAll__1317(struct fs_File__646 const a0, + nav__1317_40 const a1) { + struct fs_File__646 const *t1; + nav__1317_40 const *t3; + uintptr_t t5; + uintptr_t t6; + uintptr_t t13; + uintptr_t t4; + uint64_t t7; + uint64_t t8; + nav__1317_40 t11; + nav__1317_40 t2; + uint8_t const *t12; + nav__1317_47 t14; + struct fs_File__646 t10; + struct fs_File__646 t0; + uint16_t t15; + bool t9; + t0 = a0; + t1 = (struct fs_File__646 const *)&t0; + t2 = a1; + t3 = (nav__1317_40 const *)&t2; + t4 = (uintptr_t)0ul; +zig_loop_11: + t5 = t4; + t6 = a1.len; + t7 = t5; + t8 = t6; + t9 = t7 < t8; + if (t9) { + t6 = t4; + t10 = (*t1); + t5 = t4; + t11 = (*t3); + t12 = t11.ptr; + t12 = (uint8_t const *)(((uintptr_t)t12) + (t5 * sizeof(uint8_t))); + t13 = t11.len; + t5 = t13 - t5; + t11.ptr = t12; + t11.len = t5; + t14 = fs_File_write__1316(t10, t11); + if (t14.error) { + t15 = t14.error; + return t15; + } + t5 = t14.payload; + t5 = t6 + t5; + t4 = t5; + goto zig_block_1; } - goto zig_block_2; - } - goto zig_block_2; - - zig_block_2:; - t0 = a1.tag; - t3 = t0 == UINT8_C(3); - if (t3) { - t4 = a1.payload.BenchmarkEnd; - t2 = bincode_serialize__anon_3560__7917(a0, t4); - if (t2) { - return t2; + goto zig_block_0; + +zig_block_1:; + goto zig_loop_11; + +zig_block_0:; + return 0; +} + +static zig_i128 time_nanoTimestamp__4926(void) { + zig_i128 t6; + zig_i128 t7; + nav__4926_41 t0; + struct os_linux_timespec__struct_3278__3278 t2; + struct os_linux_timespec__struct_3278__3278 t3; + intptr_t t5; + uint16_t t4; + bool t1; + t0 = posix_clock_gettime__1816(UINT32_C(0)); + t1 = t0.error == UINT16_C(0); + if (t1) { + t3 = t0.payload; + t2 = t3; + goto zig_block_0; } - goto zig_block_3; - } - goto zig_block_3; - - zig_block_3:; - return 0; -} - -static uint16_t fmt_format__anon_5569__8673(struct io_Writer__4338 const a0, nav__8673_41 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - nav__8673_40 t5; - uint32_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8673_40){(uint8_t const *)&__anon_5791,(uintptr_t)25ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_5840__8680(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8673_40){(uint8_t const *)&__anon_5854,(uintptr_t)7ul}); - if (t3) { - return t3; - } - t5 = a1.f1; - t3 = fmt_formatType__anon_5870__8681(t5, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8673_40){(uint8_t const *)&__anon_5879,(uintptr_t)2ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_5573__8674(struct io_Writer__4338 const a0, nav__8674_41 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - nav__8674_40 t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8674_40){(uint8_t const *)&__anon_5932,(uintptr_t)23ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_5870__8681(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8674_40){(uint8_t const *)&__anon_5957,(uintptr_t)11ul}); - if (t3) { - return t3; - } - t4 = a1.f1; - t3 = fmt_formatType__anon_5870__8681(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8674_40){(uint8_t const *)&__anon_5879,(uintptr_t)2ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_5577__8675(struct io_Writer__4338 const a0, nav__8675_40 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - struct shared_MarkerType__2202 t5; - uint32_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8675_45){(uint8_t const *)&__anon_6013,(uintptr_t)17ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_5840__8680(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8675_45){(uint8_t const *)&__anon_6035,(uintptr_t)10ul}); - if (t3) { - return t3; - } - t5 = a1.f1; - t3 = fmt_formatType__anon_6045__8682(t5, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8675_45){(uint8_t const *)&__anon_5879,(uintptr_t)2ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_5581__8676(struct io_Writer__4338 const a0, nav__8676_39 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint64_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8676_44){(uint8_t const *)&__anon_6105,(uintptr_t)31ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_6114__8683(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8676_44){(uint8_t const *)&__anon_5879,(uintptr_t)2ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_5585__8677(struct io_Writer__4338 const a0, nav__8677_39 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - uint8_t t4; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8677_44){(uint8_t const *)&__anon_6160,(uintptr_t)24ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_6168__8684(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - return 0; -} - -static nav__8050_39 fmt_digits2__8050(uint8_t const a0) { - uint8_t *t1; - uint8_t t2; - nav__8050_39 t3; - uint8_t t0[2]; - t1 = (uint8_t *)&t0[(uintptr_t)0ul]; - t2 = a0 / UINT8_C(10); - t2 = UINT8_C(48) + t2; - (*t1) = t2; - t1 = (uint8_t *)&t0[(uintptr_t)1ul]; - t2 = a0 % UINT8_C(10); - t2 = UINT8_C(48) + t2; - (*t1) = t2; - memcpy(t3.array, t0, sizeof(uint8_t[2])); - return t3; -} - -static uint8_t fmt_digitToChar__8066(uint8_t const a0, uint8_t const a1) { - uint8_t t0; - uint8_t t1; - bool t2; - switch (a0) { - default: if ((a0 >= UINT8_C(0) && a0 <= UINT8_C(9))) { - t1 = a0 + UINT8_C(48); - t0 = t1; - goto zig_block_0; - }if ((a0 >= UINT8_C(10) && a0 <= UINT8_C(35))) { - t2 = a1 == UINT8_C(1); - if (t2) { - t1 = UINT8_C(65); - goto zig_block_1; - } - t1 = UINT8_C(97); - goto zig_block_1; - - zig_block_1:; - t1 = t1 - UINT8_C(10); - t1 = a0 + t1; - t0 = t1; - goto zig_block_0; - }{ - zig_unreachable(); - } - } - - zig_block_0:; - return t0; -} - -static nav__8301_38 unicode_utf8Decode__8301(nav__8301_40 const a0) { - nav__8301_40 const *t1; - uintptr_t t2; - nav__8301_40 t7; - nav__8301_40 t0; - uint8_t const *t8; - uint8_t const (*t9)[2]; - uint8_t const (*t13)[3]; - uint8_t const (*t16)[4]; - nav__8301_38 t3; - nav__8301_38 t6; - nav__8301_38 t12; - uint32_t t5; - uint8_t t4; - uint8_t t10[2]; - nav__8301_48 t11; - uint8_t t14[3]; - nav__8301_52 t15; - uint8_t t17[4]; - nav__8301_56 t18; - t0 = a0; - t1 = (nav__8301_40 const *)&t0; - t2 = a0.len; - switch (t2) { - case (uintptr_t)1ul: { - t4 = a0.ptr[(uintptr_t)0ul]; - t5 = (uint32_t)t4; - t6.payload = t5; - t6.error = UINT16_C(0); - t3 = t6; - goto zig_block_0; - } - case (uintptr_t)2ul: { - t7 = (*t1); - t8 = t7.ptr; - t8 = (uint8_t const *)(((uintptr_t)t8) + ((uintptr_t)0ul*sizeof(uint8_t))); - t9 = (uint8_t const (*)[2])t8; - memcpy(t10, (const char *)t9, sizeof(uint8_t[2])); - memcpy(t11.array, t10, sizeof(nav__8301_48)); - t6 = unicode_utf8Decode2__8303(t11); - memcpy(&t12, &t6, sizeof(nav__8301_38)); - t3 = t12; - goto zig_block_0; - } - case (uintptr_t)3ul: { - t7 = (*t1); - t8 = t7.ptr; - t8 = (uint8_t const *)(((uintptr_t)t8) + ((uintptr_t)0ul*sizeof(uint8_t))); - t13 = (uint8_t const (*)[3])t8; - memcpy(t14, (const char *)t13, sizeof(uint8_t[3])); - memcpy(t15.array, t14, sizeof(nav__8301_52)); - t12 = unicode_utf8Decode3__8305(t15); - memcpy(&t6, &t12, sizeof(nav__8301_38)); - t3 = t6; - goto zig_block_0; - } - case (uintptr_t)4ul: { - t7 = (*t1); - t8 = t7.ptr; - t8 = (uint8_t const *)(((uintptr_t)t8) + ((uintptr_t)0ul*sizeof(uint8_t))); - t16 = (uint8_t const (*)[4])t8; - memcpy(t17, (const char *)t16, sizeof(uint8_t[4])); - memcpy(t18.array, t17, sizeof(nav__8301_56)); - t12 = unicode_utf8Decode4__8309(t18); - memcpy(&t6, &t12, sizeof(nav__8301_38)); - t3 = t6; - goto zig_block_0; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - return t3; -} - -static nav__8294_38 unicode_utf8CodepointSequenceLength__8294(uint32_t const a0) { - bool t0; - t0 = a0 < UINT32_C(128); - if (t0) { - return (nav__8294_38){0,UINT8_C(1)}; - } - goto zig_block_0; - - zig_block_0:; - t0 = a0 < UINT32_C(2048); - if (t0) { - return (nav__8294_38){0,UINT8_C(2)}; - } - goto zig_block_1; - - zig_block_1:; - t0 = a0 < UINT32_C(65536); - if (t0) { - return (nav__8294_38){0,UINT8_C(3)}; - } - goto zig_block_2; - - zig_block_2:; - t0 = a0 < UINT32_C(1114112); - if (t0) { - return (nav__8294_38){0,UINT8_C(4)}; - } - goto zig_block_3; - - zig_block_3:; - return (nav__8294_38){zig_error_CodepointTooLarge,UINT8_C(0x2)}; -} - -static nav__8685_38 unicode_utf8EncodeImpl__anon_6191__8685(uint32_t const a0, nav__8685_40 const a1) { - nav__8685_40 const *t1; - uintptr_t t5; - uint64_t t6; - uint64_t t7; - nav__8685_40 t9; - nav__8685_40 t0; - uint8_t *t10; - uint32_t t12; - nav__8685_38 t2; - uint16_t t3; - uint8_t t4; - uint8_t t11; - bool t8; - t0 = a1; - t1 = (nav__8685_40 const *)&t0; - t2 = unicode_utf8CodepointSequenceLength__8294(a0); - if (t2.error) { - t3 = t2.error; - t2.payload = UINT8_C(0x2); - t2.error = t3; - return t2; - } - t4 = t2.payload; - t5 = a1.len; - t6 = t5; - t7 = (uint64_t)t4; - t8 = t6 >= t7; - debug_assert__180(t8); - switch (t4) { - case UINT8_C(1): { - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)0ul]; - t11 = (uint8_t)a0; - (*t10) = t11; - goto zig_block_0; - } - case UINT8_C(2): { - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)0ul]; - t12 = zig_shr_u32(a0, UINT8_C(6)); - t12 = UINT32_C(192) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)1ul]; - t12 = a0 & UINT32_C(63); - t12 = UINT32_C(128) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - goto zig_block_0; - } - case UINT8_C(3): { - t8 = unicode_isSurrogateCodepoint__8374(a0); - if (t8) { - return (nav__8685_38){zig_error_Utf8CannotEncodeSurrogateHalf,UINT8_C(0x2)}; - } - goto zig_block_1; - - zig_block_1:; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)0ul]; - t12 = zig_shr_u32(a0, UINT8_C(12)); - t12 = UINT32_C(224) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)1ul]; - t12 = zig_shr_u32(a0, UINT8_C(6)); - t12 = t12 & UINT32_C(63); - t12 = UINT32_C(128) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)2ul]; - t12 = a0 & UINT32_C(63); - t12 = UINT32_C(128) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - goto zig_block_0; - } - case UINT8_C(4): { - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)0ul]; - t12 = zig_shr_u32(a0, UINT8_C(18)); - t12 = UINT32_C(240) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)1ul]; - t12 = zig_shr_u32(a0, UINT8_C(12)); - t12 = t12 & UINT32_C(63); - t12 = UINT32_C(128) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)2ul]; - t12 = zig_shr_u32(a0, UINT8_C(6)); - t12 = t12 & UINT32_C(63); - t12 = UINT32_C(128) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - t9 = (*t1); - t10 = &t9.ptr[(uintptr_t)3ul]; - t12 = a0 & UINT32_C(63); - t12 = UINT32_C(128) | t12; - t11 = (uint8_t)t12; - (*t10) = t11; - goto zig_block_0; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t2.payload = t4; - t2.error = UINT16_C(0); - return t2; -} - -static nav__8296_38 unicode_utf8Encode__8296(uint32_t const a0, nav__8296_40 const a1) { - nav__8296_38 t0; - nav__8296_38 t1; - t0 = unicode_utf8EncodeImpl__anon_6191__8685(a0, a1); - memcpy(&t1, &t0, sizeof(nav__8296_38)); - return t1; -} - -static uint16_t io_Writer_writeBytesNTimes__8278(struct io_Writer__4338 const a0, nav__8278_40 const a1, uintptr_t const a2) { - struct io_Writer__4338 const *t1; - uintptr_t t3; - uintptr_t t2; - uint64_t t4; - uint64_t t5; - struct io_Writer__4338 t7; - struct io_Writer__4338 t0; - uint16_t t8; - bool t6; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (uintptr_t)0ul; - zig_loop_9: - t3 = t2; - t4 = t3; - t5 = a2; - t6 = t4 < t5; - if (t6) { - t7 = (*t1); - t8 = io_Writer_writeAll__8274(t7, a1); - if (t8) { - return t8; + t4 = t0.error; + switch (t4) { + case zig_error_UnsupportedClock: + case zig_error_Unexpected: { + return zig_make_i128(INT64_C(0), UINT64_C(0)); + } + default: + zig_unreachable(); } - t3 = t2; - t3 = t3 + (uintptr_t)1ul; - t2 = t3; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_9; - - zig_block_0:; - return 0; -} - -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_appendSlice__1424(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, nav__1424_41 const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - uintptr_t t3; - uint16_t t4; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (*t1); - t3 = a1.len; - t4 = array_list_ArrayListAligned_28u8_2cnull_29_ensureUnusedCapacity__1443(t2, t3); - if (t4) { - return t4; - } - t2 = (*t1); - array_list_ArrayListAligned_28u8_2cnull_29_appendSliceAssumeCapacity__1425(t2, a1); - return 0; -} - -static uint16_t fmt_formatType__anon_5840__8680(uint32_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct io_Writer__4338 t1; - uint32_t t0; - uint16_t t2; - uint16_t t3; - (void)a3; - t0 = a0; - t1 = a2; - t2 = fmt_formatValue__anon_6215__8686(a0, a1, a2); - memcpy(&t3, &t2, sizeof(uint16_t)); - return t3; -} - -static uint16_t fmt_formatType__anon_5870__8681(nav__8681_39 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct io_Writer__4338 const *t2; - uint64_t t3; - struct io_Writer__4338 t5; - struct io_Writer__4338 t1; - nav__8681_39 t0; - uint16_t t6; - uint16_t t7; - bool t4; - t0 = a0; - t1 = a2; - t2 = (struct io_Writer__4338 const *)&t1; - t3 = a3; - t4 = t3 == UINT64_C(0); - if (t4) { - t5 = (*t2); - t6 = io_Writer_writeAll__8274(t5, (nav__8681_39){(uint8_t const *)&__anon_5542,(uintptr_t)7ul}); - return t6; - } - goto zig_block_0; - - zig_block_0:; - t6 = fmt_formatBuf__anon_5552__8670(a0, a1, a2); - memcpy(&t7, &t6, sizeof(uint16_t)); - return t7; -} - -static uint16_t shared_MarkerType_format__anon_6234__8687(struct shared_MarkerType__2202 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - struct io_Writer__4338 const *t1; - uint64_t t3; - struct io_Writer__4338 t4; - struct io_Writer__4338 t0; - nav__8687_56 t5; - uint16_t t6; - uint8_t t2; - (void)a1; - t0 = a2; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = a0.tag; - switch (t2) { - case UINT8_C(0): { - t3 = a0.payload.SampleStart; - t4 = (*t1); - t5.f0 = t3; - t6 = io_Writer_print__anon_6248__8688(t4, t5); - if (t6) { - return t6; - } - goto zig_block_0; - } - case UINT8_C(1): { - t3 = a0.payload.SampleEnd; - t4 = (*t1); - t5.f0 = t3; - t6 = io_Writer_print__anon_6253__8689(t4, t5); - if (t6) { - return t6; - } - goto zig_block_0; - } - case UINT8_C(2): { - t3 = a0.payload.BenchmarkStart; - t4 = (*t1); - t5.f0 = t3; - t6 = io_Writer_print__anon_6260__8690(t4, t5); - if (t6) { - return t6; - } - goto zig_block_0; - } - case UINT8_C(3): { - t3 = a0.payload.BenchmarkEnd; - t4 = (*t1); - t5.f0 = t3; - t6 = io_Writer_print__anon_6266__8691(t4, t5); - if (t6) { - return t6; - } - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - return 0; -} - -static uint16_t fmt_formatType__anon_6045__8682(struct shared_MarkerType__2202 const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct shared_MarkerType__2202 const *t1; - struct shared_MarkerType__2202 t3; - struct shared_MarkerType__2202 t0; - struct io_Writer__4338 t2; - uint16_t t4; - (void)a3; - t0 = a0; - t1 = (struct shared_MarkerType__2202 const *)&t0; - t2 = a2; - t3 = (*t1); - t4 = shared_MarkerType_format__anon_6234__8687(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t fmt_formatType__anon_6114__8683(uint64_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - uint64_t t0; - struct io_Writer__4338 t1; - uint16_t t2; - uint16_t t3; - (void)a3; - t0 = a0; - t1 = a2; - t2 = fmt_formatValue__anon_6268__8692(a0, a1, a2); - memcpy(&t3, &t2, sizeof(uint16_t)); - return t3; -} - -static uint16_t fmt_formatType__anon_6168__8684(uint8_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct io_Writer__4338 const *t2; - struct io_Writer__4338 t3; - struct io_Writer__4338 t1; - nav__8684_47 t5; - nav__8684_47 t6; - uint16_t t4; - uint8_t t0; - (void)a1; - (void)a3; - t0 = a0; - t1 = a2; - t2 = (struct io_Writer__4338 const *)&t1; - t3 = (*t2); - t4 = io_Writer_writeAll__8274(t3, (nav__8684_47){(uint8_t const *)&__anon_6275,(uintptr_t)22ul}); - if (t4) { - return t4; - } - t3 = (*t2); - t4 = io_Writer_writeAll__8274(t3, (nav__8684_47){(uint8_t const *)&__anon_6280,(uintptr_t)1ul}); - if (t4) { - return t4; - } - t3 = (*t2); - t5 = zig_tag_name_shared_IntegrationMode__573(a0); - memcpy(&t6, &t5, sizeof(nav__8684_47)); - t4 = io_Writer_writeAll__8274(t3, t6); - if (t4) { - return t4; - } - return 0; -} - -static nav__8303_38 unicode_utf8Decode2__8303(nav__8303_40 const a0) { - uint32_t t3; - uint32_t t4; - uint32_t t2; - nav__8303_38 t5; - uint8_t t0; - bool t1; - t0 = a0.array[(uintptr_t)0ul]; - t0 = t0 & UINT8_C(224); - t1 = t0 == UINT8_C(192); - debug_assert__180(t1); - t0 = a0.array[(uintptr_t)0ul]; - t0 = t0 & UINT8_C(31); - t3 = (uint32_t)t0; - t2 = t3; - t0 = a0.array[(uintptr_t)1ul]; - t0 = t0 & UINT8_C(192); - t1 = t0 != UINT8_C(128); - if (t1) { - return (nav__8303_38){UINT32_C(0xaaaaa),zig_error_Utf8ExpectedContinuation}; - } - goto zig_block_0; - - zig_block_0:; - t3 = t2; - t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); - t2 = t3; - t3 = t2; - t0 = a0.array[(uintptr_t)1ul]; - t0 = t0 & UINT8_C(63); - t4 = (uint32_t)t0; - t4 = t3 | t4; - t2 = t4; - t4 = t2; - t1 = t4 < UINT32_C(128); - if (t1) { - return (nav__8303_38){UINT32_C(0xaaaaa),zig_error_Utf8OverlongEncoding}; - } - goto zig_block_1; - - zig_block_1:; - t4 = t2; - t5.payload = t4; - t5.error = UINT16_C(0); - return t5; -} - -static nav__8305_38 unicode_utf8Decode3__8305(nav__8305_40 const a0) { - nav__8305_38 t1; - uint32_t t3; - uint16_t t2; - nav__8305_40 t0; - bool t4; - bool t5; - memcpy(t0.array, a0.array, sizeof(nav__8305_40)); - t1 = unicode_utf8Decode3AllowSurrogateHalf__8307(t0); - if (t1.error) { - t2 = t1.error; - t1.payload = UINT32_C(0xaaaaa); - t1.error = t2; - return t1; - } - t3 = t1.payload; - t4 = UINT32_C(55296) <= t3; - if (t4) { - t4 = t3 <= UINT32_C(57343); - t5 = t4; - goto zig_block_1; - } - t5 = false; - goto zig_block_1; - - zig_block_1:; - if (t5) { - return (nav__8305_38){UINT32_C(0xaaaaa),zig_error_Utf8EncodesSurrogateHalf}; - } - goto zig_block_0; - - zig_block_0:; - t1.payload = t3; - t1.error = UINT16_C(0); - return t1; -} - -static nav__8309_38 unicode_utf8Decode4__8309(nav__8309_40 const a0) { - uint32_t t3; - uint32_t t4; - uint32_t t2; - nav__8309_38 t5; - uint8_t t0; - bool t1; - t0 = a0.array[(uintptr_t)0ul]; - t0 = t0 & UINT8_C(248); - t1 = t0 == UINT8_C(240); - debug_assert__180(t1); - t0 = a0.array[(uintptr_t)0ul]; - t0 = t0 & UINT8_C(7); - t3 = (uint32_t)t0; - t2 = t3; - t0 = a0.array[(uintptr_t)1ul]; - t0 = t0 & UINT8_C(192); - t1 = t0 != UINT8_C(128); - if (t1) { - return (nav__8309_38){UINT32_C(0xaaaaa),zig_error_Utf8ExpectedContinuation}; - } - goto zig_block_0; - - zig_block_0:; - t3 = t2; - t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); - t2 = t3; - t3 = t2; - t0 = a0.array[(uintptr_t)1ul]; - t0 = t0 & UINT8_C(63); - t4 = (uint32_t)t0; - t4 = t3 | t4; - t2 = t4; - t0 = a0.array[(uintptr_t)2ul]; - t0 = t0 & UINT8_C(192); - t1 = t0 != UINT8_C(128); - if (t1) { - return (nav__8309_38){UINT32_C(0xaaaaa),zig_error_Utf8ExpectedContinuation}; - } - goto zig_block_1; - - zig_block_1:; - t4 = t2; - t4 = zig_shlw_u32(t4, UINT8_C(6), UINT8_C(21)); - t2 = t4; - t4 = t2; - t0 = a0.array[(uintptr_t)2ul]; - t0 = t0 & UINT8_C(63); - t3 = (uint32_t)t0; - t3 = t4 | t3; - t2 = t3; - t0 = a0.array[(uintptr_t)3ul]; - t0 = t0 & UINT8_C(192); - t1 = t0 != UINT8_C(128); - if (t1) { - return (nav__8309_38){UINT32_C(0xaaaaa),zig_error_Utf8ExpectedContinuation}; - } - goto zig_block_2; - - zig_block_2:; - t3 = t2; - t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); - t2 = t3; - t3 = t2; - t0 = a0.array[(uintptr_t)3ul]; - t0 = t0 & UINT8_C(63); - t4 = (uint32_t)t0; - t4 = t3 | t4; - t2 = t4; - t4 = t2; - t1 = t4 < UINT32_C(65536); - if (t1) { - return (nav__8309_38){UINT32_C(0xaaaaa),zig_error_Utf8OverlongEncoding}; - } - goto zig_block_3; - - zig_block_3:; - t4 = t2; - t1 = t4 > UINT32_C(1114111); - if (t1) { - return (nav__8309_38){UINT32_C(0xaaaaa),zig_error_Utf8CodepointTooLarge}; - } - goto zig_block_4; - - zig_block_4:; - t4 = t2; - t5.payload = t4; - t5.error = UINT16_C(0); - return t5; -} - -static bool unicode_isSurrogateCodepoint__8374(uint32_t const a0) { - bool t0; - switch (a0) { - default: if ((a0 >= UINT32_C(55296) && a0 <= UINT32_C(57343))) { - t0 = true; - goto zig_block_0; - }{ - t0 = false; - goto zig_block_0; - } - } - - zig_block_0:; - return t0; -} - -static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_ensureUnusedCapacity__1443(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, uintptr_t const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - nav__1443_43 *t3; - nav__1443_43 t4; - uintptr_t t5; - nav__1443_52 t6; - uint16_t t7; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (*t1); - t3 = (nav__1443_43 *)&a0->items; - t4 = (*t3); - t5 = t4.len; - t6 = array_list_addOrOom__1368(t5, a1); - if (t6.error) { - t7 = t6.error; + +zig_block_0:; + t5 = t2.sec; + t6 = zig_make_i128(0, t5); + t6 = zig_mul_i128(t6, zig_make_i128(INT64_C(0), UINT64_C(1000000000))); + t5 = t2.nsec; + t7 = zig_make_i128(0, t5); + t7 = zig_add_i128(t6, t7); return t7; - } - t5 = t6.payload; - t7 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1441(t2, t5); - return t7; -} - -static void array_list_ArrayListAligned_28u8_2cnull_29_appendSliceAssumeCapacity__1425(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, nav__1425_41 const a1) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - nav__1425_47 *t2; - nav__1425_47 t3; - uintptr_t t4; - uintptr_t t5; - uintptr_t t7; - uintptr_t *t6; - uint64_t t8; - uint64_t t9; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t11; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - uint8_t *t12; - uint8_t const *t13; - bool t10; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (nav__1425_47 *)&a0->items; - t3 = (*t2); - t4 = t3.len; - t5 = a1.len; - t5 = t4 + t5; - t6 = (uintptr_t *)&a0->capacity; - t7 = (*t6); - t8 = t5; - t9 = t7; - t10 = t8 <= t9; - debug_assert__180(t10); - t11 = (*t1); - t2 = (nav__1425_47 *)&t11->items; - t6 = &t2->len; - (*t6) = t5; - t11 = (*t1); - t2 = (nav__1425_47 *)&t11->items; - t5 = a1.len; - t3 = (*t2); - t12 = t3.ptr; - t12 = (uint8_t *)(((uintptr_t)t12) + (t4*sizeof(uint8_t))); - t3.ptr = t12; - t3.len = t5; - t13 = a1.ptr; - if (t3.len != 0) memcpy(t3.ptr, t13, t3.len * sizeof(uint8_t)); - return; -} - -static uint16_t fmt_formatInt__anon_6322__8694(uint32_t const a0, uint8_t const a1, uint8_t const a2, struct fmt_FormatOptions__4745 const a3, struct io_Writer__4338 const a4) { - uintptr_t t5; - uintptr_t t3; - uint8_t *t6; - uint8_t (*t7)[2]; - nav__8694_58 t12; - nav__8694_47 t13; - uint32_t t4; - uint32_t t11; - uint32_t t2; - uint16_t t14; - uint16_t t15; - bool t0; - uint8_t t8; - nav__8694_56 t9; - uint8_t t10[2]; - uint8_t t1[33]; - t0 = a1 >= UINT8_C(2); - debug_assert__180(t0); - t2 = a0; - t3 = (uintptr_t)33ul; - t0 = a1 == UINT8_C(10); - if (t0) { - zig_loop_19: - t4 = t2; - t0 = t4 >= UINT32_C(100); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t4 = t4 % UINT32_C(100); - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - t4 = t2; - t4 = t4 / UINT32_C(100); - t2 = t4; - goto zig_block_2; - } - goto zig_block_1; +} + +static nav__1307_38 fs_File_readAll__1307(struct fs_File__646 const a0, + nav__1307_41 const a1) { + struct fs_File__646 const *t1; + nav__1307_41 const *t3; + uintptr_t t5; + uintptr_t t6; + uintptr_t t4; + uint64_t t7; + uint64_t t8; + nav__1307_41 t11; + nav__1307_41 t2; + uint8_t *t12; + nav__1307_38 t13; + struct fs_File__646 t10; + struct fs_File__646 t0; + uint16_t t14; + bool t9; + t0 = a0; + t1 = (struct fs_File__646 const *)&t0; + t2 = a1; + t3 = (nav__1307_41 const *)&t2; + t4 = (uintptr_t)0ul; +zig_loop_11: + t5 = t4; + t6 = a1.len; + t7 = t5; + t8 = t6; + t9 = t7 != t8; + if (t9) { + t10 = (*t1); + t6 = t4; + t11 = (*t3); + t12 = t11.ptr; + t12 = (uint8_t *)(((uintptr_t)t12) + (t6 * sizeof(uint8_t))); + t5 = t11.len; + t6 = t5 - t6; + t11.ptr = t12; + t11.len = t6; + t13 = fs_File_read__1306(t10, t11); + if (t13.error) { + t14 = t13.error; + t13.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t13.error = t14; + return t13; + } + t6 = t13.payload; + t8 = t6; + t9 = t8 == UINT64_C(0); + if (t9) { + goto zig_block_0; + } + goto zig_block_2; zig_block_2:; - goto zig_loop_19; + t5 = t4; + t6 = t5 + t6; + t4 = t6; + goto zig_block_1; + } + goto zig_block_0; - zig_block_1:; - t4 = t2; - t0 = t4 < UINT32_C(10); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t4 = t2; - t8 = (uint8_t)t4; - t8 = UINT8_C(48) + t8; - (*t6) = t8; - goto zig_block_3; +zig_block_1:; + goto zig_loop_11; + +zig_block_0:; + t6 = t4; + t13.payload = t6; + t13.error = UINT16_C(0); + return t13; +} + +static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_resize__1437( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + uintptr_t const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + nav__1437_43 *t4; + uintptr_t *t5; + uint16_t t3; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (*t1); + t3 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1442(t2, + a1); + if (t3) { + return t3; } - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - goto zig_block_3; + t2 = (*t1); + t4 = (nav__1437_43 *)&t2->items; + t5 = &t4->len; + (*t5) = a1; + return 0; +} - zig_block_3:; - goto zig_block_0; - } - zig_loop_74: - t4 = t2; - t11 = (uint32_t)a1; - t11 = t4 % t11; - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t8 = (uint8_t)t11; - t8 = fmt_digitToChar__8066(t8, a2); - (*t6) = t8; - t11 = t2; - t4 = (uint32_t)a1; - t4 = t11 / t4; - t2 = t4; - t4 = t2; - t0 = t4 == UINT32_C(0); - if (t0) { - goto zig_block_4; - } - goto zig_block_5; - - zig_block_5:; - goto zig_loop_74; - - zig_block_4:; - goto zig_block_0; - - zig_block_0:; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t5 = (uintptr_t)33ul - t5; - t12.ptr = t6; - t12.len = t5; - memcpy(&t13, &t12, sizeof(nav__8694_47)); - t14 = fmt_formatBuf__anon_5552__8670(t13, a3, a4); - memcpy(&t15, &t14, sizeof(uint16_t)); - return t15; -} - -static uint16_t fmt_formatIntValue__anon_6311__8693(uint32_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatInt__anon_6322__8694(a0, UINT8_C(10), UINT8_C(0), a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t fmt_formatValue__anon_6215__8686(uint32_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatIntValue__anon_6311__8693(a0, a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_6248__8688(struct io_Writer__4338 const a0, nav__8688_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_6332__8695(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_6253__8689(struct io_Writer__4338 const a0, nav__8689_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_6336__8696(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_6260__8690(struct io_Writer__4338 const a0, nav__8690_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_6340__8697(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t io_Writer_print__anon_6266__8691(struct io_Writer__4338 const a0, nav__8691_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_6344__8698(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t fmt_formatIntValue__anon_6348__8699(uint64_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatInt__anon_5612__8679(a0, UINT8_C(10), UINT8_C(0), a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t fmt_formatValue__anon_6268__8692(uint64_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatIntValue__anon_6348__8699(a0, a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static nav__8307_38 unicode_utf8Decode3AllowSurrogateHalf__8307(nav__8307_40 const a0) { - uint32_t t3; - uint32_t t4; - uint32_t t2; - nav__8307_38 t5; - uint8_t t0; - bool t1; - t0 = a0.array[(uintptr_t)0ul]; - t0 = t0 & UINT8_C(240); - t1 = t0 == UINT8_C(224); - debug_assert__180(t1); - t0 = a0.array[(uintptr_t)0ul]; - t0 = t0 & UINT8_C(15); - t3 = (uint32_t)t0; - t2 = t3; - t0 = a0.array[(uintptr_t)1ul]; - t0 = t0 & UINT8_C(192); - t1 = t0 != UINT8_C(128); - if (t1) { - return (nav__8307_38){UINT32_C(0xaaaaa),zig_error_Utf8ExpectedContinuation}; - } - goto zig_block_0; - - zig_block_0:; - t3 = t2; - t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); - t2 = t3; - t3 = t2; - t0 = a0.array[(uintptr_t)1ul]; - t0 = t0 & UINT8_C(63); - t4 = (uint32_t)t0; - t4 = t3 | t4; - t2 = t4; - t0 = a0.array[(uintptr_t)2ul]; - t0 = t0 & UINT8_C(192); - t1 = t0 != UINT8_C(128); - if (t1) { - return (nav__8307_38){UINT32_C(0xaaaaa),zig_error_Utf8ExpectedContinuation}; - } - goto zig_block_1; - - zig_block_1:; - t4 = t2; - t4 = zig_shlw_u32(t4, UINT8_C(6), UINT8_C(21)); - t2 = t4; - t4 = t2; - t0 = a0.array[(uintptr_t)2ul]; - t0 = t0 & UINT8_C(63); - t3 = (uint32_t)t0; - t3 = t4 | t3; - t2 = t3; - t3 = t2; - t1 = t3 < UINT32_C(2048); - if (t1) { - return (nav__8307_38){UINT32_C(0xaaaaa),zig_error_Utf8OverlongEncoding}; - } - goto zig_block_2; - - zig_block_2:; - t3 = t2; - t5.payload = t3; - t5.error = UINT16_C(0); - return t5; -} - -static nav__1368_38 array_list_addOrOom__1368(uintptr_t const a0, uintptr_t const a1) { - nav__1368_42 t2; - uintptr_t t3; - uintptr_t t0; - uintptr_t const *t5; - uint8_t const *t6; - nav__1368_38 t8; - uint8_t t4; - uint8_t t1; - bool t7; - t2.f1 = zig_addo_u64(&t2.f0, a0, a1, UINT8_C(64)); - t3 = t2.f0; - t0 = t3; - t4 = t2.f1; - t1 = t4; - t5 = (uintptr_t const *)&t0; - t6 = (uint8_t const *)&t1; - t4 = (*t6); - t7 = t4 != UINT8_C(0); - if (t7) { - return (nav__1368_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,zig_error_OutOfMemory}; - } - goto zig_block_0; - - zig_block_0:; - t3 = (*t5); - t8.payload = t3; - t8.error = UINT16_C(0); - return t8; -} - -static uint16_t fmt_format__anon_6332__8695(struct io_Writer__4338 const a0, nav__8695_39 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint64_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8695_44){(uint8_t const *)&__anon_6371,(uintptr_t)12ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_6114__8683(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8695_44){(uint8_t const *)&__anon_6381,(uintptr_t)1ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_6336__8696(struct io_Writer__4338 const a0, nav__8696_39 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint64_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8696_44){(uint8_t const *)&__anon_6400,(uintptr_t)10ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_6114__8683(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8696_44){(uint8_t const *)&__anon_6381,(uintptr_t)1ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_6340__8697(struct io_Writer__4338 const a0, nav__8697_39 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint64_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8697_44){(uint8_t const *)&__anon_6432,(uintptr_t)15ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_6114__8683(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8697_44){(uint8_t const *)&__anon_6381,(uintptr_t)1ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint16_t fmt_format__anon_6344__8698(struct io_Writer__4338 const a0, nav__8698_39 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint64_t t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8698_44){(uint8_t const *)&__anon_6460,(uintptr_t)13ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_6114__8683(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8698_44){(uint8_t const *)&__anon_6381,(uintptr_t)1ul}); - if (t3) { +static struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 +io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985( + nav__4985_40 const a0) { + nav__4985_40 *t1; + uintptr_t *t2; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + t1 = (nav__4985_40 *)&t0.buffer; + (*t1) = a0; + t2 = (uintptr_t *)&t0.pos; + (*t2) = (uintptr_t)0ul; + return t0; +} + +static struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_reader__4974( + struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 **t1; + struct + io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29__2420 + t0; + t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 * + *)&t0.context; + (*t1) = a0; + return t0; +} + +static nav__5018_38 +io_GenericReader_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7b_7d_2c_28function_20_27read_27_29_29_typeEras__5018( + void const *const a0, nav__5018_41 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t0; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t1; + nav__5018_38 t2; + nav__5018_38 t3; + t0 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)a0; + t1 = (*t0); + t2 = + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_read__4977(t1, a1); + memcpy(&t3, &t2, sizeof(nav__5018_38)); return t3; - } - return 0; -} - -void c_instrument_hooks_deinit__238(struct instrument_hooks_InstrumentHooks__547 *const a0) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t4; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - bool t0; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t4 = (*t3); - instrument_hooks_InstrumentHooks_deinit__727(t4); - mem_Allocator_destroy__anon_6482__8700((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}, t1); - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return; -} - -static void instrument_hooks_InstrumentHooks_deinit__727(struct instrument_hooks_InstrumentHooks__547 *const a0) { - struct instrument_hooks_InstrumentHooks__547 *const *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *t0; - struct instruments_root_Instrument__554 *t3; - struct instruments_root_Instrument__554 *t4; - struct instruments_root_Instrument__554 *const *t5; - struct instruments_root_Instrument__554 t6; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t8; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t9; - struct environment_root_Environment__559 *t10; - uint8_t t7; - t0 = a0; - t1 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t0; - t2 = (*t1); - t3 = (struct instruments_root_Instrument__554 *)&t2->instrument; - t4 = t3; - t5 = (struct instruments_root_Instrument__554 *const *)&t4; - t6 = (*t3); - t7 = t6.tag; - switch (t7) { - case UINT8_C(0): { - goto zig_block_0; - } - case UINT8_C(1): { - t3 = (*t5); - t8 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *)&t3->payload.perf; - instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_deinit__803(t8); - goto zig_block_0; - } - case UINT8_C(2): { - t3 = (*t5); - t9 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *)&t3->payload.analysis; - instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_deinit__816(t9); - goto zig_block_0; - } - case UINT8_C(3): { - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - t2 = (*t1); - t10 = (struct environment_root_Environment__559 *)&t2->environment; - environment_root_Environment_deinit__769(t10); - return; -} - -static void mem_Allocator_destroy__anon_6482__8700(struct mem_Allocator__599 const a0, struct instrument_hooks_InstrumentHooks__547 *const a1) { - struct mem_Allocator__599 const *t1; - uint8_t *t2; - uint8_t *t3; - uint8_t *const *t4; - struct mem_Allocator__599 t5; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t10; - uint8_t (*t6)[288]; - nav__8700_52 t7; - uintptr_t t9; - struct mem_Allocator_VTable__602 const *const *t11; - struct mem_Allocator_VTable__602 const *t12; - void (*const *t13)(void *, nav__8700_52, uint8_t, uintptr_t); - void (*t14)(void *, nav__8700_52, uint8_t, uintptr_t); - void *t15; - uint8_t t8; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (uint8_t *)a1; - t3 = t2; - t4 = (uint8_t *const *)&t3; - t5 = (*t1); - t2 = (*t4); - t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)0ul*sizeof(uint8_t))); - t6 = (uint8_t (*)[288])t2; - t7.ptr = &(*t6)[(uintptr_t)0ul]; - t7.len = (uintptr_t)288ul; - t8 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t9 = (uintptr_t)zig_return_address(); - t10 = t5; - t1 = (struct mem_Allocator__599 const *)&t10; - t11 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t12 = (*t11); - t13 = (void (*const *)(void *, nav__8700_52, uint8_t, uintptr_t))&t12->free; - t14 = (*t13); - t15 = t5.ptr; - t14(t15, t7, t8, t9); - return; -} - -static void instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_deinit__803(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const a0) { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - runner_fifo_RunnerFifo_deinit__1126(t3); - return; -} - -static void instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_deinit__816(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const a0) { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - runner_fifo_RunnerFifo_deinit__1126(t3); - return; -} - -static void environment_root_Environment_deinit__769(struct environment_root_Environment__559 *const a0) { - struct environment_root_Environment__559 *const *t1; - struct environment_root_Environment__559 *t3; - struct environment_root_Environment__559 *t0; - struct environment_root_EnvironmentJson__839 *t4; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *t5; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t6; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 t2; - nav__769_87 t9; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 t11; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 t12; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 const *t13; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t15; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t16; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t17; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t18; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 t19; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 t14; - nav__769_104 t20; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6547 t21; - struct mem_Allocator__599 *t22; - struct mem_Allocator__599 t23; - nav__769_44 *t24; - nav__769_44 t25; - struct environment_root_EnvironmentValue__850 *t26; - struct environment_root_EnvironmentValue__850 t27; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *t29; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t30; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t32; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t28; - nav__769_122 t33; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579 t34; - struct environment_linked_libraries_root_LinkedLibraries__843 *t35; - bool t10; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t5 = (struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *)&t4->integration_environment; - t6 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *)&t5->map; - t7 = (*t6); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3786(t7); - t2 = t8; - zig_loop_14: - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8701(&t2); - t10 = t9.is_null != true; - if (t10) { - t11 = t9.payload; - t12 = t11; - t13 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 const *)&t12; - t15 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *)&t13->value_ptr; - t16 = (*t15); - t17 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *)&t16->map; - t18 = (*t17); - t19 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3997(t18); - t14 = t19; - zig_loop_32: - t20 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8703(&t14); - t10 = t20.is_null != true; - if (t10) { - t21 = t20.payload; - t3 = (*t1); - t22 = (struct mem_Allocator__599 *)&t3->allocator; - t23 = (*t22); - t24 = t21.key_ptr; - t25 = (*t24); - mem_Allocator_free__anon_3423__7835(t23, t25); - t3 = (*t1); - t26 = t21.value_ptr; - t27 = (*t26); - environment_root_Environment_freeEnvironmentValue__772(t3, t27); - goto zig_block_3; - } - goto zig_block_2; +} - zig_block_3:; - goto zig_loop_32; +static nav__5060_39 io_Reader_readBytesNoEof__anon_2597__5060( + struct io_Reader__2566 const a0) { + struct io_Reader__2566 const *t1; + struct io_Reader__2566 t3; + struct io_Reader__2566 t0; + nav__5060_46 t4; + uint16_t t5; + nav__5060_39 t6; + uint8_t t7[4]; + uint8_t t2[4]; + t0 = a0; + t1 = (struct io_Reader__2566 const *)&t0; + t3 = (*t1); + t4.ptr = &t2[(uintptr_t)0ul]; + t4.len = (uintptr_t)4ul; + t5 = io_Reader_readNoEof__5027(t3, t4); + if (t5) { + memcpy(t6.payload, "\252\252\252\252", sizeof(uint8_t[4])); + t6.error = t5; + return t6; + } + memcpy(t7, (const char *)&t2, sizeof(uint8_t[4])); + memcpy(t6.payload, t7, sizeof(uint8_t[4])); + t6.error = UINT16_C(0); + return t6; +} - zig_block_2:; - t15 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *)&t13->value_ptr; - t16 = (*t15); - t17 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *)&t16->map; - t22 = (struct mem_Allocator__599 *)&a0->allocator; - t23 = (*t22); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3989(t17, t23); +static nav__5067_39 io_Reader_readBytesNoEof__anon_2706__5067( + struct io_Reader__2566 const a0) { + struct io_Reader__2566 const *t1; + struct io_Reader__2566 t3; + struct io_Reader__2566 t0; + nav__5067_46 t4; + uint16_t t5; + nav__5067_39 t6; + uint8_t t7[8]; + uint8_t t2[8]; + t0 = a0; + t1 = (struct io_Reader__2566 const *)&t0; t3 = (*t1); - t22 = (struct mem_Allocator__599 *)&t3->allocator; - t23 = (*t22); - t24 = t11.key_ptr; - t25 = (*t24); - mem_Allocator_free__anon_3423__7835(t23, t25); + t4.ptr = &t2[(uintptr_t)0ul]; + t4.len = (uintptr_t)8ul; + t5 = io_Reader_readNoEof__5027(t3, t4); + if (t5) { + memcpy(t6.payload, "\252\252\252\252\252\252\252\252", sizeof(uint8_t[8])); + t6.error = t5; + return t6; + } + memcpy(t7, (const char *)&t2, sizeof(uint8_t[8])); + memcpy(t6.payload, t7, sizeof(uint8_t[8])); + t6.error = UINT16_C(0); + return t6; +} + +static nav__5068_40 mem_Allocator_alloc__anon_2715__5068( + struct mem_Allocator__599 const a0, uintptr_t const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t5; + uintptr_t t3; + nav__5068_40 t4; + nav__5068_40 t8; + nav__5068_51 t6; + uint8_t *t9; + uint8_t *t10; + uint8_t *const *t11; + nav__5068_39 t12; + uint16_t t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t5 = t2; + t1 = (struct mem_Allocator__599 const *)&t5; + t2 = (*t1); + t6 = mem_Allocator_allocWithSizeAndAlignment__anon_3315__6124(t2, a1, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = (nav__5068_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t7; + t4 = t8; + goto zig_block_0; + } + t9 = t6.payload; + t10 = t9; + t11 = (uint8_t *const *)&t10; + t9 = (*t11); + t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul * sizeof(uint8_t))); + t12.ptr = t9; + t12.len = a1; + t8.payload = t12; + t8.error = UINT16_C(0); + t4 = t8; + goto zig_block_0; + +zig_block_0:; + return t4; +} + +static nav__5025_38 io_Reader_readAll__5025(struct io_Reader__2566 const a0, + nav__5025_41 const a1) { + uintptr_t t0; + nav__5025_38 t1; + t0 = a1.len; + t1 = io_Reader_readAtLeast__5026(a0, a1, t0); + return t1; +} + +static zig_noreturn void bincode_invalidProtocol__anon_2737__5069(void) { + utils_print__anon_3335__6125(); + posix_exit__1625(UINT8_C(1)); + zig_unreachable(); +} + +static void utils_sleep__4780(uint64_t const a0) { + uint64_t t0; + uint64_t t1; + long *t3; + long t4; + long t7; + nav__4780_42 t5; + struct cimport_struct_timespec__3349 const *t9; + struct cimport_struct_timespec__3349 *t10; + struct cimport_struct_timespec__3349 t13; + struct cimport_struct_timespec__3349 t2; + struct cimport_struct_timespec__3349 t8; + int t11; + int32_t t12; + bool t6; + t0 = a0 / UINT64_C(1000000000); + t1 = a0 % UINT64_C(1000000000); + t3 = (long *)&t2.tv_sec; + t5 = math_cast__anon_3362__7058(t0); + t6 = t5.is_null != true; + if (t6) { + t7 = t5.payload; + t4 = t7; + goto zig_block_0; + } + t4 = LONG_MAX; + goto zig_block_0; + +zig_block_0:; + (*t3) = t4; + t3 = (long *)&t2.tv_nsec; + t5 = math_cast__anon_3362__7058(t1); + t6 = t5.is_null != true; + if (t6) { + t7 = t5.payload; + t4 = t7; + goto zig_block_1; + } + t4 = LONG_MAX; goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_14; - - zig_block_0:; - t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t5 = (struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *)&t4->integration_environment; - t6 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *)&t5->map; - t22 = (struct mem_Allocator__599 *)&a0->allocator; - t23 = (*t22); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3778(t6, t23); - t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t29 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *)&t4->linked_libraries; - t30 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *)&t29->map; - t31 = (*t30); - t32 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4176(t31); - t28 = t32; - zig_loop_91: - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8705(&t28); - t10 = t33.is_null != true; - if (t10) { - t34 = t33.payload; - t3 = (*t1); - t22 = (struct mem_Allocator__599 *)&t3->allocator; - t23 = (*t22); - t24 = t34.key_ptr; - t25 = (*t24); - mem_Allocator_free__anon_3423__7835(t23, t25); + +zig_block_1:; + (*t3) = t4; +zig_loop_28: + t9 = (struct cimport_struct_timespec__3349 const *)&t2; + t10 = (struct cimport_struct_timespec__3349 *)&t8; + t11 = nanosleep(t9, t10); + t12 = t11; + t6 = t12 == INT32_C(4); + if (t6) { + t13 = t8; + t2 = t13; + goto zig_block_2; + } + return; + +zig_block_2:; + goto zig_loop_28; +} + +static void shared_Command_deinit__4785(struct shared_Command__2195 const a0, + struct mem_Allocator__599 const a1) { + struct mem_Allocator__599 const *t1; + struct shared_Command__struct_2199__2199 t3; + struct mem_Allocator__599 t4; + struct mem_Allocator__599 t0; + nav__4785_43 t5; + struct shared_Command__struct_2198__2198 t6; + uint8_t t2; + t0 = a1; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a0.tag; + switch (t2) { + case UINT8_C(5): { + t3 = a0.payload.SetIntegration; + t4 = (*t1); + t5 = t3.name; + mem_Allocator_free__anon_3438__7838(t4, t5); + t4 = (*t1); + t5 = t3.version; + mem_Allocator_free__anon_3438__7838(t4, t5); + goto zig_block_0; + } + case UINT8_C(0): { + t6 = a0.payload.ExecutedBenchmark; + t4 = (*t1); + t5 = t6.uri; + mem_Allocator_free__anon_3438__7838(t4, t5); + goto zig_block_0; + } + case UINT8_C(8): { + goto zig_block_0; + } + case UINT8_C(9): { + goto zig_block_0; + } + case UINT8_C(10): { + goto zig_block_0; + } + default: { + goto zig_block_0; + } + } + +zig_block_0:; + return; +} + +static void logger_debug__anon_3067__5090(nav__5090_39 const a0) { + logger_logWithPrefix__anon_3446__7839(a0); + return; +} + +static void logger_err__anon_3090__5091(void) { + logger_logWithPrefix__anon_3448__7840(); + return; +} + +static void logger_err__anon_3098__5092(void) { + logger_logWithPrefix__anon_3449__7841(); + return; +} + +static zig_noreturn void posix_exit__1625(uint8_t const a0) { + int t0; + t0 = (int)a0; + exit(t0); + zig_unreachable(); +} + +static void logger_err__anon_3111__5093(nav__5093_40 const a0) { + logger_logWithPrefix__anon_3454__7843(a0); + return; +} + +static void runner_fifo_RunnerFifo_deinit__1127( + struct runner_fifo_RunnerFifo__631 *const a0) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + struct fifo_UnixPipe_Reader__640 *t4; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + fifo_UnixPipe_Writer_deinit__1165(t3); + t2 = (*t1); + t4 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + fifo_UnixPipe_Reader_deinit__1172(t4); + return; +} + +static struct environment_root_Environment__559 +environment_root_Environment_init__769(struct mem_Allocator__599 const a0) { + struct mem_Allocator__599 *t1; + struct environment_linked_libraries_root_LinkedLibraries__843 *t2; + struct environment_linked_libraries_root_LinkedLibraries__843 t3; + struct environment_root_EnvironmentJson__839 *t4; + struct environment_root_Environment__559 t0; + t1 = (struct mem_Allocator__599 *)&t0.allocator; + (*t1) = a0; + t2 = + (struct environment_linked_libraries_root_LinkedLibraries__843 *)&t0.libs; + t3 = environment_linked_libraries_root_LinkedLibraries_init__3630(a0); + (*t2) = t3; + t4 = (struct environment_root_EnvironmentJson__839 *)&t0.data; + (*t4) = (struct environment_root_EnvironmentJson__839){ + {{{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), (uintptr_t)0ul, + (uintptr_t)0ul}, + NULL}}, + {{{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), (uintptr_t)0ul, + (uintptr_t)0ul}, + NULL}}}; + return t0; +} + +static nav__5094_39 mem_Allocator_allocBytesWithAlignment__anon_3158__5094( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uint64_t t2; + uint8_t *t4; + uint8_t *t13; + uint8_t *t14; + uint8_t *t15; + struct mem_Allocator__599 t5; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t7; + struct mem_Allocator_VTable__602 const *const *t8; + struct mem_Allocator_VTable__602 const *t9; + uint8_t *(*const *t10)(void *, uintptr_t, uint8_t, uintptr_t); + uint8_t *(*t11)(void *, uintptr_t, uint8_t, uintptr_t); + void *t12; + uint8_t *const *t16; + nav__5094_52 t17; + nav__5094_39 t18; + bool t3; + uint8_t t6; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = t2 == UINT64_C(0); + if (t3) { + return (nav__5094_39){(uint8_t *)(uintptr_t)0xfffffffffffffff8ul, 0}; + } + goto zig_block_0; + +zig_block_0:; + t5 = (*t1); + t6 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t7 = t5; + t1 = (struct mem_Allocator__599 const *)&t7; + t8 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t9 = (*t8); + t10 = + (uint8_t *(*const *)(void *, uintptr_t, uint8_t, uintptr_t)) & t9->alloc; + t11 = (*t10); + t12 = t5.ptr; + t13 = t11(t12, a1, t6, a2); + t3 = t13 != NULL; + if (t3) { + t14 = t13; + t4 = t14; + goto zig_block_1; + } + return (nav__5094_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; + +zig_block_1:; + t15 = t4; + t16 = (uint8_t *const *)&t15; + t14 = (*t16); + t14 = (uint8_t *)(((uintptr_t)t14) + ((uintptr_t)0ul * sizeof(uint8_t))); + t17.ptr = t14; + t17.len = a1; + t14 = (uint8_t *)t4; + t18.payload = t14; + t18.error = UINT16_C(0); + return t18; +} + +static bool fs_path_isAbsolute__5129(nav__5129_39 const a0) { + bool t0; + t0 = fs_path_isAbsolutePosix__5135(a0); + return t0; +} + +static struct fs_Dir__2113 fs_cwd__1218(void) { + struct fs_Dir__2113 t0; + t0 = (struct fs_Dir__2113){-INT32_C(100)}; + return t0; +} + +static uint16_t fs_Dir_access__4729(struct fs_Dir__2113 const a0, + nav__4729_40 const a1, + struct fs_File_OpenFlags__2111 const a2) { + struct fs_Dir__2113 const *t1; + uint8_t const(*t6)[4096]; + uint8_t const *t8; + struct fs_Dir__2113 t7; + struct fs_Dir__2113 t0; + nav__4729_49 t2; + uint16_t t3; + uint8_t t4[4096]; + uint8_t t5[4096]; + t0 = a0; + t1 = (struct fs_Dir__2113 const *)&t0; + t2 = posix_toPosixPath__1900(a1); + if (t2.error) { + t3 = t2.error; + return t3; + } + memcpy(t4, t2.payload, sizeof(uint8_t[4096])); + memcpy((char *)&t5, t4, sizeof(uint8_t[4096])); + t6 = (uint8_t const(*)[4096]) & t5; + t7 = (*t1); + t8 = (uint8_t const *)t6; + t3 = fs_Dir_accessZ__4730(t7, t8, a2); + return t3; +} + +static nav__4665_39 fs_Dir_openFile__4665( + struct fs_Dir__2113 const a0, nav__4665_42 const a1, + struct fs_File_OpenFlags__2111 const a2) { + struct fs_Dir__2113 const *t1; + uint8_t const(*t8)[4096]; + uint8_t const *t10; + nav__4665_39 t5; + struct fs_Dir__2113 t9; + struct fs_Dir__2113 t0; + nav__4665_53 t3; + uint16_t t4; + uint8_t t6[4096]; + uint8_t t7[4096]; + struct fs_File_OpenFlags__2111 t2; + t0 = a0; + t1 = (struct fs_Dir__2113 const *)&t0; + t2 = a2; + t3 = posix_toPosixPath__1900(a1); + if (t3.error) { + t4 = t3.error; + t5.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t5.error = t4; + return t5; + } + memcpy(t6, t3.payload, sizeof(uint8_t[4096])); + memcpy((char *)&t7, t6, sizeof(uint8_t[4096])); + t8 = (uint8_t const(*)[4096]) & t7; + t9 = (*t1); + t10 = (uint8_t const *)t8; + t5 = fs_Dir_openFileZ__4666(t9, t10, a2); + return t5; +} + +static struct array_list_ArrayListAligned_28u8_2cnull_29__658 +array_list_ArrayListAligned_28u8_2cnull_29_init__1405( + struct mem_Allocator__599 const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; + t0.items = + (nav__1405_42){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + t0.capacity = (uintptr_t)0ul; + t0.allocator = a0; + return t0; +} + +static uint16_t +array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1442( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + uintptr_t const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + uint16_t t8; + bool t6; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a1; + t6 = t4 >= t5; + if (t6) { + return 0; + } + goto zig_block_0; + +zig_block_0:; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t3 = array_list_ArrayListAlignedUnmanaged_28u8_2cnull_29_growCapacity__7914( + t3, a1); + t7 = (*t1); + t8 = + array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacityPrecise__1443( + t7, t3); + return t8; +} + +static uint16_t bincode_serializeUnion__anon_3221__6123( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__2195 const a1) { + struct shared_Command__struct_2198__2198 t4; + struct shared_Command__struct_2199__2199 t5; + struct shared_Command__struct_2200__2200 t6; + uint64_t t7; + uint32_t t1; + uint16_t t2; + uint8_t t0; + bool t3; + t0 = a1.tag; + t1 = (uint32_t)t0; + t2 = bincode_serialize__anon_3564__7915(a0, t1); + if (t2) { + return t2; + } + t0 = a1.tag; + t3 = t0 == UINT8_C(0); + if (t3) { + t4 = a1.payload.ExecutedBenchmark; + t2 = bincode_serialize__anon_3566__7916(a0, t4); + if (t2) { + return t2; + } + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t0 = a1.tag; + t3 = t0 == UINT8_C(1); + if (t3) { + t2 = bincode_serialize__anon_3568__7917(a0); + if (t2) { + return t2; + } + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + t0 = a1.tag; + t3 = t0 == UINT8_C(2); + if (t3) { + t2 = bincode_serialize__anon_3568__7917(a0); + if (t2) { + return t2; + } + goto zig_block_2; + } + goto zig_block_2; + +zig_block_2:; + t0 = a1.tag; + t3 = t0 == UINT8_C(3); + if (t3) { + t2 = bincode_serialize__anon_3568__7917(a0); + if (t2) { + return t2; + } + goto zig_block_3; + } + goto zig_block_3; + +zig_block_3:; + t0 = a1.tag; + t3 = t0 == UINT8_C(4); + if (t3) { + t2 = bincode_serialize__anon_3568__7917(a0); + if (t2) { + return t2; + } + goto zig_block_4; + } + goto zig_block_4; + +zig_block_4:; + t0 = a1.tag; + t3 = t0 == UINT8_C(5); + if (t3) { + t5 = a1.payload.SetIntegration; + t2 = bincode_serialize__anon_3570__7918(a0, t5); + if (t2) { + return t2; + } + goto zig_block_5; + } goto zig_block_5; - } - goto zig_block_4; - - zig_block_5:; - goto zig_loop_91; - - zig_block_4:; - t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t29 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *)&t4->linked_libraries; - t30 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *)&t29->map; - t22 = (struct mem_Allocator__599 *)&a0->allocator; - t23 = (*t22); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4168(t30, t23); - t3 = (*t1); - t35 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&t3->libs; - environment_linked_libraries_root_LinkedLibraries_deinit__3630(t35); - return; -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3786(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *t2; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t6; - nav__3786_42 **t8; - nav__3786_62 t10; - nav__3786_42 *t11; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **t12; - nav__3786_65 t13; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t14; - uint32_t *t15; - uintptr_t t16; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 t7; - uint32_t t17; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *)&t1->entries; - t3 = (*t2); - t4 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t3); - t5 = t4; - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t5; - t8 = (nav__3786_42 **)&t7.keys; - t9 = (*t6); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t9); - t11 = t10.ptr; - (*t8) = t11; - t12 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t7.values; - t9 = (*t6); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t9); - t14 = t13.ptr; - (*t12) = t14; - t15 = (uint32_t *)&t7.len; - t16 = t4.len; - t17 = (uint32_t)t16; - (*t15) = t17; - t15 = (uint32_t *)&t7.index; - (*t15) = UINT32_C(0); - return t7; -} - -static nav__8701_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8701(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 *const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 *const *t1; - uint32_t *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 *t6; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 *t0; - nav__8701_44 **t7; - uintptr_t t8; - nav__8701_44 *t9; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **t10; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t11; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 t12; - nav__8701_39 t13; - uint32_t t3; - uint32_t t4; - bool t5; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 *const *)&t0; - t2 = (uint32_t *)&a0->index; - t3 = (*t2); - t2 = (uint32_t *)&a0->len; - t4 = (*t2); - t5 = t3 >= t4; - if (t5) { - return (nav__8701_39){{((nav__8701_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},true}; - } - goto zig_block_0; - - zig_block_0:; - t6 = (*t1); - t7 = (nav__8701_44 **)&t6->keys; - t2 = (uint32_t *)&a0->index; - t4 = (*t2); - t8 = (uintptr_t)t4; - t9 = (*t7); - t9 = (nav__8701_44 *)&t9[t8]; - t6 = (*t1); - t10 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t6->values; - t2 = (uint32_t *)&a0->index; - t4 = (*t2); - t8 = (uintptr_t)t4; - t11 = (*t10); - t11 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t11[t8]; - t12.key_ptr = t9; - t12.value_ptr = t11; - t6 = (*t1); - t2 = (uint32_t *)&t6->index; - t4 = (*t2); - t4 = t4 + UINT32_C(1); - (*t2) = t4; - t13.is_null = false; - t13.payload = t12; - return t13; -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3997(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *t2; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t6; - nav__3997_42 **t8; - nav__3997_62 t10; - nav__3997_42 *t11; - struct environment_root_EnvironmentValue__850 **t12; - nav__3997_65 t13; - struct environment_root_EnvironmentValue__850 *t14; - uint32_t *t15; - uintptr_t t16; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 t7; - uint32_t t17; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *)&t1->entries; - t3 = (*t2); - t4 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t3); - t5 = t4; - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t5; - t8 = (nav__3997_42 **)&t7.keys; - t9 = (*t6); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t9); - t11 = t10.ptr; - (*t8) = t11; - t12 = (struct environment_root_EnvironmentValue__850 **)&t7.values; - t9 = (*t6); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t9); - t14 = t13.ptr; - (*t12) = t14; - t15 = (uint32_t *)&t7.len; - t16 = t4.len; - t17 = (uint32_t)t16; - (*t15) = t17; - t15 = (uint32_t *)&t7.index; - (*t15) = UINT32_C(0); - return t7; -} - -static nav__8703_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8703(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 *const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 *const *t1; - uint32_t *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 *t6; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 *t0; - nav__8703_44 **t7; - uintptr_t t8; - nav__8703_44 *t9; - struct environment_root_EnvironmentValue__850 **t10; - struct environment_root_EnvironmentValue__850 *t11; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6547 t12; - nav__8703_39 t13; - uint32_t t3; - uint32_t t4; - bool t5; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 *const *)&t0; - t2 = (uint32_t *)&a0->index; - t3 = (*t2); - t2 = (uint32_t *)&a0->len; - t4 = (*t2); - t5 = t3 >= t4; - if (t5) { - return (nav__8703_39){{((nav__8703_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct environment_root_EnvironmentValue__850 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},true}; - } - goto zig_block_0; - - zig_block_0:; - t6 = (*t1); - t7 = (nav__8703_44 **)&t6->keys; - t2 = (uint32_t *)&a0->index; - t4 = (*t2); - t8 = (uintptr_t)t4; - t9 = (*t7); - t9 = (nav__8703_44 *)&t9[t8]; - t6 = (*t1); - t10 = (struct environment_root_EnvironmentValue__850 **)&t6->values; - t2 = (uint32_t *)&a0->index; - t4 = (*t2); - t8 = (uintptr_t)t4; - t11 = (*t10); - t11 = (struct environment_root_EnvironmentValue__850 *)&t11[t8]; - t12.key_ptr = t9; - t12.value_ptr = t11; - t6 = (*t1); - t2 = (uint32_t *)&t6->index; - t4 = (*t2); - t4 = t4 + UINT32_C(1); - (*t2) = t4; - t13.is_null = false; - t13.payload = t12; - return t13; -} - -static void environment_root_Environment_freeEnvironmentValue__772(struct environment_root_Environment__559 *const a0, struct environment_root_EnvironmentValue__850 const a1) { - struct environment_root_Environment__559 *const *t1; - nav__772_43 t3; - struct environment_root_Environment__559 *t4; - struct environment_root_Environment__559 *t0; - struct mem_Allocator__599 *t5; - struct mem_Allocator__599 t6; - nav__772_46 t7; - uintptr_t t9; - uintptr_t t10; - uintptr_t t8; - uint64_t t11; - uint64_t t12; - uint8_t t2; - bool t13; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t2 = a1.tag; - switch (t2) { - case UINT8_C(0): { - t3 = a1.payload.string; - t4 = (*t1); - t5 = (struct mem_Allocator__599 *)&t4->allocator; - t6 = (*t5); - mem_Allocator_free__anon_3423__7835(t6, t3); - goto zig_block_0; - } - case UINT8_C(1): { - t7 = a1.payload.list; - t8 = (uintptr_t)0ul; - t9 = t7.len; - zig_loop_20: - t10 = t8; - t11 = t10; - t12 = t9; - t13 = t11 < t12; - if (t13) { - t3 = t7.ptr[t10]; - t4 = (*t1); - t5 = (struct mem_Allocator__599 *)&t4->allocator; - t6 = (*t5); - mem_Allocator_free__anon_3423__7835(t6, t3); + +zig_block_5:; + t0 = a1.tag; + t3 = t0 == UINT8_C(6); + if (t3) { + t2 = bincode_serialize__anon_3568__7917(a0); + if (t2) { + return t2; + } + goto zig_block_6; + } + goto zig_block_6; + +zig_block_6:; + t0 = a1.tag; + t3 = t0 == UINT8_C(7); + if (t3) { + t6 = a1.payload.AddMarker; + t2 = bincode_serialize__anon_3572__7919(a0, t6); + if (t2) { + return t2; + } + goto zig_block_7; + } + goto zig_block_7; + +zig_block_7:; + t0 = a1.tag; + t3 = t0 == UINT8_C(8); + if (t3) { + t7 = a1.payload.SetVersion; + t2 = bincode_serialize__anon_3574__7920(a0, t7); + if (t2) { + return t2; + } + goto zig_block_8; + } + goto zig_block_8; + +zig_block_8:; + t0 = a1.tag; + t3 = t0 == UINT8_C(9); + if (t3) { + t2 = bincode_serialize__anon_3568__7917(a0); + if (t2) { + return t2; + } + goto zig_block_9; + } + goto zig_block_9; + +zig_block_9:; + t0 = a1.tag; + t3 = t0 == UINT8_C(10); + if (t3) { + t0 = a1.payload.IntegrationModeResponse; + t2 = bincode_serialize__anon_3576__7921(a0, t0); + if (t2) { + return t2; + } + goto zig_block_10; + } + goto zig_block_10; + +zig_block_10:; + return 0; +} + +static nav__1316_38 fs_File_write__1316(struct fs_File__646 const a0, + nav__1316_41 const a1) { + nav__1316_38 t1; + int32_t t0; + t0 = a0.handle; + t1 = posix_write__1635(t0, a1); + return t1; +} + +static nav__1816_39 posix_clock_gettime__1816(uint32_t const a0) { + struct os_linux_timespec__struct_3278__3278 t3; + struct os_linux_timespec__struct_3278__3278 t0; + nav__1816_39 t4; + int t1; + uint16_t t2; + t1 = clock_gettime(a0, &t0); + t2 = posix_errno__anon_3742__7988(t1); + switch (t2) { + case UINT16_C(0): { + t3 = t0; + t4.payload = t3; + t4.error = UINT16_C(0); + return t4; + } + case UINT16_C(14): { + zig_unreachable(); + } + case UINT16_C(22): { + return (nav__1816_39){ + {-(intptr_t)0x5555555555555556, -(intptr_t)0x5555555555555556}, + zig_error_UnsupportedClock}; + } + default: { + t2 = posix_unexpectedErrno__1899(t2); + t4.payload = (struct os_linux_timespec__struct_3278__3278){ + -(intptr_t)0x5555555555555556, -(intptr_t)0x5555555555555556}; + t4.error = t2; + return t4; + } + } +} + +static nav__1306_38 fs_File_read__1306(struct fs_File__646 const a0, + nav__1306_41 const a1) { + nav__1306_38 t1; + int32_t t0; + t0 = a0.handle; + t1 = posix_read__1627(t0, a1); + return t1; +} + +static nav__4977_38 +io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_read__4977( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + a0, + nav__4977_42 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t1; + nav__4977_42 const *t3; + uintptr_t t4; + uintptr_t t7; + uintptr_t t9; + nav__4977_42 *t5; + nav__4977_42 t6; + nav__4977_42 t13; + nav__4977_42 t2; + uintptr_t *t8; + uint64_t t10; + uint8_t *t11; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t12; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t0; + nav__4977_38 t14; + t0 = a0; + t1 = (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *)&t0; + t2 = a1; + t3 = (nav__4977_42 const *)&t2; + t4 = a1.len; + t5 = (nav__4977_42 *)&a0->buffer; + t6 = (*t5); + t7 = t6.len; + t8 = (uintptr_t *)&a0->pos; + t9 = (*t8); + t9 = t7 - t9; + t9 = (t4 < t9) ? t4 : t9; + t10 = t9; + t8 = (uintptr_t *)&a0->pos; + t9 = (*t8); + t4 = t10; + t4 = t9 + t4; + t6 = (*t3); + t11 = t6.ptr; + t11 = (uint8_t *)(((uintptr_t)t11) + ((uintptr_t)0ul * sizeof(uint8_t))); + t9 = t10; + t6.ptr = t11; + t6.len = t9; + t12 = (*t1); + t5 = (nav__4977_42 *)&t12->buffer; + t8 = (uintptr_t *)&a0->pos; + t9 = (*t8); + t13 = (*t5); + t11 = t13.ptr; + t11 = (uint8_t *)(((uintptr_t)t11) + (t9 * sizeof(uint8_t))); + t9 = t4 - t9; + t13.ptr = t11; + t13.len = t9; + t11 = t13.ptr; + if (t6.len != 0) memcpy(t6.ptr, t11, t6.len * sizeof(uint8_t)); + t12 = (*t1); + t8 = (uintptr_t *)&t12->pos; + (*t8) = t4; + t4 = t10; + t14.payload = t4; + t14.error = UINT16_C(0); + return t14; +} + +static uint16_t io_Reader_readNoEof__5027(struct io_Reader__2566 const a0, + nav__5027_40 const a1) { + struct io_Reader__2566 const *t1; + struct io_Reader__2566 t2; + struct io_Reader__2566 t0; + nav__5027_43 t3; + uintptr_t t5; + uintptr_t t6; + uint64_t t7; + uint64_t t8; + uint16_t t4; + bool t9; + t0 = a0; + t1 = (struct io_Reader__2566 const *)&t0; + t2 = (*t1); + t3 = io_Reader_readAll__5025(t2, a1); + if (t3.error) { + t4 = t3.error; + return t4; + } + t5 = t3.payload; + t6 = a1.len; + t7 = t5; + t8 = t6; + t9 = t7 < t8; + if (t9) { + return zig_error_EndOfStream; + } + goto zig_block_0; + +zig_block_0:; + return 0; +} + +static nav__6124_39 mem_Allocator_allocWithSizeAndAlignment__anon_3315__6124( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uintptr_t t2; + uintptr_t t5; + nav__6124_49 t3; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + nav__6124_39 t7; + bool t4; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = math_mul__anon_3766__7989((uintptr_t)1ul, a1); + t4 = t3.error == UINT16_C(0); + if (t4) { + t5 = t3.payload; + t2 = t5; + goto zig_block_0; + } + return (nav__6124_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; + +zig_block_0:; + t6 = (*t1); + t7 = mem_Allocator_allocBytesWithAlignment__anon_3768__7990(t6, t2, a2); + return t7; +} + +static nav__5026_38 io_Reader_readAtLeast__5026(struct io_Reader__2566 const a0, + nav__5026_41 const a1, + uintptr_t const a2) { + struct io_Reader__2566 const *t1; + nav__5026_41 const *t3; + uintptr_t t4; + uintptr_t t12; + uintptr_t t8; + uint64_t t5; + uint64_t t6; + struct io_Reader__2566 t9; + struct io_Reader__2566 t0; + nav__5026_41 t10; + nav__5026_41 t2; + uint8_t *t11; + nav__5026_38 t13; + uint16_t t14; + bool t7; + t0 = a0; + t1 = (struct io_Reader__2566 const *)&t0; + t2 = a1; + t3 = (nav__5026_41 const *)&t2; + t4 = a1.len; + t5 = a2; + t6 = t4; + t7 = t5 <= t6; + debug_assert__180(t7); + t8 = (uintptr_t)0ul; +zig_loop_17: + t4 = t8; + t6 = t4; + t5 = a2; + t7 = t6 < t5; + if (t7) { + t9 = (*t1); + t4 = t8; + t10 = (*t3); + t11 = t10.ptr; + t11 = (uint8_t *)(((uintptr_t)t11) + (t4 * sizeof(uint8_t))); + t12 = t10.len; + t4 = t12 - t4; + t10.ptr = t11; + t10.len = t4; + t13 = io_Reader_read__5024(t9, t10); + if (t13.error) { + t14 = t13.error; + t13.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t13.error = t14; + return t13; + } + t4 = t13.payload; + t5 = t4; + t7 = t5 == UINT64_C(0); + if (t7) { + goto zig_block_0; + } + goto zig_block_2; + + zig_block_2:; + t12 = t8; + t4 = t12 + t4; + t8 = t4; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_17; + +zig_block_0:; + t12 = t8; + t13.payload = t12; + t13.error = UINT16_C(0); + return t13; +} + +static void utils_print__anon_3335__6125(void) { + (void)printf((char const *)&__anon_3864, 61, (uint8_t const *)&__anon_2731); + return; +} + +static nav__7058_38 math_cast__anon_3362__7058(uint64_t const a0) { + long t1; + nav__7058_38 t2; + bool t0; + t0 = a0 > UINT64_C(9223372036854775807); + if (t0) { + return (nav__7058_38){-0x5555555555555556l, true}; + } + t1 = (long)a0; + t2.is_null = false; + t2.payload = t1; + return t2; +} + +static void mem_Allocator_free__anon_3438__7838( + struct mem_Allocator__599 const a0, nav__7838_40 const a1) { + struct mem_Allocator__599 const *t1; + nav__7838_40 t2; + uintptr_t t3; + uint64_t t4; + uint8_t const *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + nav__7838_51 t10; + struct mem_Allocator__599 t11; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t13; + struct mem_Allocator_VTable__602 const *const *t14; + struct mem_Allocator_VTable__602 const *t15; + void (*const *t16)(void *, nav__7838_51, uint8_t, uintptr_t); + void (*t17)(void *, nav__7838_51, uint8_t, uintptr_t); + void *t18; + bool t5; + uint8_t t12; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_3898__7992(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t10.ptr = t7; + t10.len = t3; + t11 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t10.ptr = t7; + t10.len = t3; + t12 = mem_Alignment_fromByteUnits__1109((uintptr_t)1ul); + t3 = (uintptr_t)zig_return_address(); + t13 = t11; + t1 = (struct mem_Allocator__599 const *)&t13; + t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t15 = (*t14); + t16 = (void (*const *)(void *, nav__7838_51, uint8_t, uintptr_t))&t15->free; + t17 = (*t16); + t18 = t11.ptr; + t17(t18, t10, t12, t3); + return; +} + +static void logger_logWithPrefix__anon_3446__7839(nav__7839_39 const a0) { + nav__7839_59 t3; + nav__7839_59 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__7839_63 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(0) < t0; + if (t1) { + return; + } + goto zig_block_0; + +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_3949__8152(t6, a0); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; + } + (void)printf((char const *)&__anon_3953); + return; + +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} + +static void logger_logWithPrefix__anon_3448__7840(void) { + nav__7840_41 t3; + nav__7840_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__7840_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; + } + goto zig_block_0; + +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_3970__8154(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; + } + (void)printf((char const *)&__anon_3953); + return; + +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} + +static void logger_logWithPrefix__anon_3449__7841(void) { + nav__7841_41 t3; + nav__7841_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__7841_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; + } + goto zig_block_0; + +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_3982__8155(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; + } + (void)printf((char const *)&__anon_3953); + return; + +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} + +static void logger_logWithPrefix__anon_3454__7843(nav__7843_40 const a0) { + nav__7843_47 t3; + nav__7843_47 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__7843_51 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; + } + goto zig_block_0; + +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_3994__8156(t6, a0); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; + } + (void)printf((char const *)&__anon_3953); + return; + +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} + +static void fifo_UnixPipe_Writer_deinit__1165( + struct fifo_UnixPipe_Writer__638 *const a0) { + struct fifo_UnixPipe_Writer__638 *const *t1; + struct fifo_UnixPipe_Writer__638 *t2; + struct fifo_UnixPipe_Writer__638 *t0; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t3; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t4; + struct fs_File__646 *t5; + struct fs_File__646 t6; + t0 = a0; + t1 = (struct fifo_UnixPipe_Writer__638 *const *)&t0; + t2 = (*t1); + t3 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t2->buffer; + t4 = (*t3); + array_list_ArrayListAligned_28u8_2cnull_29_deinit__1407(t4); + t2 = (*t1); + t5 = (struct fs_File__646 *)&t2->file; + t6 = (*t5); + fs_File_close__1263(t6); + return; +} + +static void fifo_UnixPipe_Reader_deinit__1172( + struct fifo_UnixPipe_Reader__640 *const a0) { + struct fifo_UnixPipe_Reader__640 *const *t1; + uintptr_t t3; + uintptr_t t10; + struct fifo_UnixPipe_Reader__640 *t4; + struct fifo_UnixPipe_Reader__640 *t0; + struct fs_File__646 *t5; + nav__1172_50 t7; + nav__1172_58 t8; + uint64_t t11; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t12; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t13; + struct fs_File__646 t6; + bool t9; + uint8_t t2[4096]; + t0 = a0; + t1 = (struct fifo_UnixPipe_Reader__640 *const *)&t0; +zig_loop_7: + t4 = (*t1); + t5 = (struct fs_File__646 *)&t4->file; + t6 = (*t5); + t7.ptr = &t2[(uintptr_t)0ul]; + t7.len = (uintptr_t)4096ul; + t8 = fs_File_read__1306(t6, t7); + t9 = t8.error == UINT16_C(0); + if (t9) { + t10 = t8.payload; + t3 = t10; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + t11 = t3; + t9 = t11 == UINT64_C(0); + if (t9) { + goto zig_block_0; + } + goto zig_block_2; + +zig_block_2:; + goto zig_loop_7; + +zig_block_0:; + t4 = (*t1); + t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *)&t4->buffer; + t13 = (*t12); + array_list_ArrayListAligned_28u8_2cnull_29_deinit__1407(t13); + t4 = (*t1); + t5 = (struct fs_File__646 *)&t4->file; + t6 = (*t5); + fs_File_close__1263(t6); + return; +} + +static struct environment_linked_libraries_root_LinkedLibraries__843 +environment_linked_libraries_root_LinkedLibraries_init__3630( + struct mem_Allocator__599 const a0) { + struct mem_Allocator__599 *t1; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t2; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t3; + struct environment_linked_libraries_root_LinkedLibraries__843 t0; + t1 = (struct mem_Allocator__599 *)&t0.allocator; + (*t1) = a0; + t2 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *)&t0.libraries; + t3 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_init__4334( + a0); + (*t2) = t3; + return t0; +} + +static uint8_t mem_Alignment_fromByteUnits__1109(uintptr_t const a0) { + bool t0; + uint8_t t1; + t0 = math_isPowerOfTwo__anon_4014__8157(a0); + debug_assert__180(t0); + t1 = zig_ctz_u64(a0, UINT8_C(64)); + return t1; +} + +static bool fs_path_isAbsolutePosix__5135(nav__5135_39 const a0) { + uintptr_t t0; + uint64_t t1; + bool t2; + bool t3; + uint8_t t4; + t0 = a0.len; + t1 = t0; + t2 = t1 > UINT64_C(0); + if (t2) { + t4 = a0.ptr[(uintptr_t)0ul]; + t2 = t4 == UINT8_C(47); + t3 = t2; + goto zig_block_0; + } + t3 = false; + goto zig_block_0; + +zig_block_0:; + return t3; +} + +static nav__1900_39 posix_toPosixPath__1900(nav__1900_41 const a0) { + uintptr_t t1; + uint64_t t2; + uint8_t *t4; + nav__1900_47 t5; + uint8_t const *t6; + nav__1900_39 t8; + bool t3; + uint8_t t7[4096]; + uint8_t t0[4096]; + t1 = a0.len; + t2 = t1; + t3 = t2 >= UINT64_C(4096); + if (t3) { + return (nav__1900_39){ + zig_error_NameTooLong, + {'\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', '\xaa', + '\xaa'}}; + } + goto zig_block_0; + +zig_block_0:; + t1 = a0.len; + t4 = (uint8_t *)&t0; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5.ptr = t4; + t5.len = t1; + t6 = a0.ptr; + if (t5.len != 0) memcpy(t5.ptr, t6, t5.len * sizeof(uint8_t)); + t1 = a0.len; + t4 = (uint8_t *)&t0[t1]; + (*t4) = UINT8_C(0); + memcpy(t7, (const char *)&t0, sizeof(uint8_t[4096])); + memcpy(t8.payload, t7, sizeof(uint8_t[4096])); + t8.error = UINT16_C(0); + return t8; +} + +static uint16_t fs_Dir_accessZ__4730(struct fs_Dir__2113 const a0, + uint8_t const *const a1, + struct fs_File_OpenFlags__2111 const a2) { + uint32_t t2; + int32_t t3; + struct fs_Dir__2113 t0; + uint16_t t4; + uint8_t t1; + t0 = a0; + t1 = a2.mode; + switch (t1) { + case UINT8_C(0): { + t2 = UINT32_C(0); + goto zig_block_0; + } + case UINT8_C(1): { + t2 = UINT32_C(2); + goto zig_block_0; + } + case UINT8_C(2): { + t2 = UINT32_C(6); + goto zig_block_0; + } + default: + zig_unreachable(); + } + +zig_block_0:; + t3 = a0.fd; + t4 = posix_faccessatZ__1791(t3, a1, t2, UINT32_C(0)); + return t4; +} + +static nav__4666_39 fs_Dir_openFileZ__4666( + struct fs_Dir__2113 const a0, uint8_t const *const a1, + struct fs_File_OpenFlags__2111 const a2) { + uint32_t *t2; + struct fs_File__646 *t14; + int32_t *t15; + int32_t t6; + int32_t t11; + int32_t t12; + uint32_t t7; + uint32_t t1; + nav__4666_50 t8; + nav__4666_39 t10; + nav__4666_39 t13; + struct fs_Dir__2113 t0; + uint16_t t9; + uint8_t t3; + uint8_t t4; + bool t5; + t0 = a0; + t2 = (uint32_t *)&t1; + t3 = a2.mode; + switch (t3) { + case UINT8_C(0): { + t4 = UINT8_C(0); + goto zig_block_0; + } + case UINT8_C(1): { + t4 = UINT8_C(1); + goto zig_block_0; + } + case UINT8_C(2): { + t4 = UINT8_C(2); + goto zig_block_0; + } + default: + zig_unreachable(); + } + +zig_block_0:; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffffc)), + zig_shl_u32((uint32_t)t4, UINT8_C(0))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffc3)), + zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(2))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffbf)), + zig_shl_u32((uint32_t)false, UINT8_C(6))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffff7f)), + zig_shl_u32((uint32_t)false, UINT8_C(7))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffeff)), + zig_shl_u32((uint32_t)false, UINT8_C(8))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffdff)), + zig_shl_u32((uint32_t)false, UINT8_C(9))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffbff)), + zig_shl_u32((uint32_t)false, UINT8_C(10))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffff7ff)), + zig_shl_u32((uint32_t)false, UINT8_C(11))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffefff)), + zig_shl_u32((uint32_t)false, UINT8_C(12))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffdfff)), + zig_shl_u32((uint32_t)false, UINT8_C(13))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffbfff)), + zig_shl_u32((uint32_t)false, UINT8_C(14))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffff7fff)), + zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(15))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffeffff)), + zig_shl_u32((uint32_t)false, UINT8_C(16))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffdffff)), + zig_shl_u32((uint32_t)false, UINT8_C(17))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffbffff)), + zig_shl_u32((uint32_t)false, UINT8_C(18))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), + zig_shl_u32((uint32_t)false, UINT8_C(19))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffefffff)), + zig_shl_u32((uint32_t)false, UINT8_C(20))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffdfffff)), + zig_shl_u32((uint32_t)false, UINT8_C(21))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffbfffff)), + zig_shl_u32((uint32_t)false, UINT8_C(22))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0x7fffff)), + zig_shl_u32((uint32_t)UINT16_C(0), UINT8_C(23))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), + zig_shl_u32((uint32_t)true, UINT8_C(19))); + t2 = (uint32_t *)&t1; + t5 = a2.allow_ctty; + t5 = !t5; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffeff)), + zig_shl_u32((uint32_t)t5, UINT8_C(8))); + t6 = a0.fd; + t7 = t1; + t8 = posix_openatZ__1647(t6, a1, t7, (uintptr_t)0ul); + if (t8.error) { + t9 = t8.error; + t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t10.error = t9; + return t10; + } + t6 = t8.payload; + t4 = a2.lock; + t5 = t4 != UINT8_C(0); + if (t5) { + t5 = a2.lock_nonblocking; + if (t5) { + t11 = INT32_C(4); + goto zig_block_2; + } + t11 = INT32_C(0); + goto zig_block_2; + + zig_block_2:; + t4 = a2.lock; + switch (t4) { + case UINT8_C(0): { + zig_unreachable(); + } + case UINT8_C(1): { + t11 = INT32_C(1) | t11; + t12 = t11; + goto zig_block_3; + } + case UINT8_C(2): { + t11 = INT32_C(2) | t11; + t12 = t11; + goto zig_block_3; + } + default: + zig_unreachable(); + } + + zig_block_3:; + t9 = posix_flock__1808(t6, t12); + if (t9) { + posix_close__1605(t6); + t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t10.error = t9; + return t10; + } + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + t13.error = UINT16_C(0); + t14 = &t13.payload; + t15 = (int32_t *)&t14->handle; + (*t15) = t6; + return t13; +} + +static uintptr_t +array_list_ArrayListAlignedUnmanaged_28u8_2cnull_29_growCapacity__7914( + uintptr_t const a0, uintptr_t const a1) { + uintptr_t t1; + uintptr_t t2; + uintptr_t t0; + uint64_t t3; + uint64_t t4; + bool t5; + t0 = a0; +zig_loop_6: + t1 = t0; + t2 = t0; + t2 = t2 / (uintptr_t)2ul; + t2 = t2 + (uintptr_t)128ul; + t2 = zig_adds_u64(t1, t2, UINT8_C(64)); + t0 = t2; + t2 = t0; + t3 = t2; + t4 = a1; + t5 = t3 >= t4; + if (t5) { + t2 = t0; + return t2; + } + goto zig_block_0; + +zig_block_0:; + goto zig_loop_6; +} + +static uint16_t +array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacityPrecise__1443( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + uintptr_t const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t7; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t8; + nav__1443_43 t9; + nav__1443_43 t12; + nav__1443_43 t20; + nav__1443_43 t21; + nav__1443_43 t18; + struct mem_Allocator__599 *t10; + struct mem_Allocator__599 t11; + nav__1443_43 *t13; + uint8_t **t14; + uint8_t *t15; + nav__1443_55 t16; + nav__1443_43 const *t19; + uint16_t t17; + bool t6; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a1; + t6 = t4 >= t5; + if (t6) { + return 0; + } + goto zig_block_0; + +zig_block_0:; + t7 = (*t1); + t8 = (*t7); + t9 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1453(t8); + t7 = (*t1); + t10 = (struct mem_Allocator__599 *)&t7->allocator; + t11 = (*t10); + t12 = mem_Allocator_remap__anon_4154__8244(t11, t9, a1); + t6 = t12.ptr != NULL; + if (t6) { + t9 = t12; + t7 = (*t1); + t13 = (nav__1443_43 *)&t7->items; + t14 = &t13->ptr; + t15 = t9.ptr; + (*t14) = t15; + t7 = (*t1); + t2 = (uintptr_t *)&t7->capacity; + t3 = t9.len; + (*t2) = t3; + goto zig_block_1; + } + t7 = (*t1); + t10 = (struct mem_Allocator__599 *)&t7->allocator; + t11 = (*t10); + t16 = mem_Allocator_alignedAlloc__anon_4159__8245(t11, a1); + if (t16.error) { + t17 = t16.error; + return t17; + } + t12 = t16.payload; + t18 = t12; + t19 = (nav__1443_43 const *)&t18; + t13 = (nav__1443_43 *)&a0->items; + t20 = (*t13); + t3 = t20.len; + t20 = (*t19); + t15 = t20.ptr; + t15 = (uint8_t *)(((uintptr_t)t15) + ((uintptr_t)0ul * sizeof(uint8_t))); + t20.ptr = t15; + t20.len = t3; + t13 = (nav__1443_43 *)&a0->items; + t21 = (*t13); + t15 = t21.ptr; + if (t20.len != 0) memcpy(t20.ptr, t15, t20.len * sizeof(uint8_t)); + t7 = (*t1); + t10 = (struct mem_Allocator__599 *)&t7->allocator; + t11 = (*t10); + mem_Allocator_free__anon_4161__8246(t11, t9); + t7 = (*t1); + t13 = (nav__1443_43 *)&t7->items; + t14 = &t13->ptr; + t15 = t12.ptr; + (*t14) = t15; + t7 = (*t1); + t2 = (uintptr_t *)&t7->capacity; + t3 = t12.len; + (*t2) = t3; + goto zig_block_1; + +zig_block_1:; + return 0; +} + +static uint16_t bincode_serialize__anon_3564__7915( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + uint32_t const a1) { + uint16_t t0; + t0 = bincode_serializeInt__anon_4166__8247(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_3566__7916( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__struct_2198__2198 const a1) { + uint16_t t0; + t0 = bincode_serializeStruct__anon_4171__8248(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_3568__7917( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0) { + (void)a0; + return 0; +} + +static uint16_t bincode_serialize__anon_3570__7918( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__struct_2199__2199 const a1) { + uint16_t t0; + t0 = bincode_serializeStruct__anon_4172__8249(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_3572__7919( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__struct_2200__2200 const a1) { + uint16_t t0; + t0 = bincode_serializeStruct__anon_4173__8250(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_3574__7920( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + uint64_t const a1) { + uint16_t t0; + t0 = bincode_serializeInt__anon_4174__8251(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_3576__7921( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + uint8_t const a1) { + uint16_t t0; + t0 = bincode_serializeEnum__anon_4177__8252(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static nav__1635_38 posix_write__1635(int32_t const a0, nav__1635_40 const a1) { + uintptr_t t0; + uint64_t t1; + uint8_t const *t3; + intptr_t t5; + nav__1635_38 t7; + uint32_t t4; + uint16_t t6; + bool t2; + t0 = a1.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__1635_38){(uintptr_t)0ul, 0}; + } + goto zig_block_0; + +zig_block_0:; +zig_loop_16: + t3 = a1.ptr; + t0 = a1.len; + t0 = ((uintptr_t)2147479552ul < t0) ? (uintptr_t)2147479552ul : t0; + t4 = (uint32_t)t0; + t0 = (uintptr_t)t4; + t5 = write(a0, t3, t0); + t6 = posix_errno__anon_4188__8254(t5); + switch (t6) { + case UINT16_C(0): { + t0 = (uintptr_t)t5; + t7.payload = t0; + t7.error = UINT16_C(0); + return t7; + } + case UINT16_C(4): { + goto zig_block_1; + } + case UINT16_C(22): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_InvalidArgument}; + } + case UINT16_C(14): { + zig_unreachable(); + } + case UINT16_C(2): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_ProcessNotFound}; + } + case UINT16_C(11): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_WouldBlock}; + } + case UINT16_C(9): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_NotOpenForWriting}; + } + case UINT16_C(89): { + zig_unreachable(); + } + case UINT16_C(122): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_DiskQuota}; + } + case UINT16_C(27): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_FileTooBig}; + } + case UINT16_C(5): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_InputOutput}; + } + case UINT16_C(28): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_NoSpaceLeft}; + } + case UINT16_C(13): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_AccessDenied}; + } + case UINT16_C(1): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_AccessDenied}; + } + case UINT16_C(32): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_BrokenPipe}; + } + case UINT16_C(104): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_ConnectionResetByPeer}; + } + case UINT16_C(16): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_DeviceBusy}; + } + case UINT16_C(6): { + return (nav__1635_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_NoDevice}; + } + default: { + t6 = posix_unexpectedErrno__1899(t6); + t7.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t7.error = t6; + return t7; + } + } + +zig_block_1:; + goto zig_loop_16; +} + +static uint16_t posix_errno__anon_3742__7988(int const a0) { + int *t3; + int32_t t1; + int t4; + uint16_t t0; + uint16_t t5; + bool t2; + t1 = a0; + t2 = t1 == -INT32_C(1); + if (t2) { + t3 = zig_e___errno_location(); + t4 = (*t3); + t5 = (uint16_t)t4; + t0 = t5; + goto zig_block_0; + } + t0 = UINT16_C(0); + goto zig_block_0; + +zig_block_0:; + return t0; +} + +static uint16_t posix_unexpectedErrno__1899(uint16_t const a0) { + (void)a0; + return zig_error_Unexpected; +} + +static nav__1627_38 posix_read__1627(int32_t const a0, nav__1627_40 const a1) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3; + intptr_t t5; + nav__1627_38 t7; + uint32_t t4; + uint16_t t6; + bool t2; + t0 = a1.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__1627_38){(uintptr_t)0ul, 0}; + } + goto zig_block_0; + +zig_block_0:; +zig_loop_16: + t3 = a1.ptr; + t0 = a1.len; + t0 = ((uintptr_t)2147479552ul < t0) ? (uintptr_t)2147479552ul : t0; + t4 = (uint32_t)t0; + t0 = (uintptr_t)t4; + t5 = read(a0, t3, t0); + t6 = posix_errno__anon_4188__8254(t5); + switch (t6) { + case UINT16_C(0): { + t0 = (uintptr_t)t5; + t7.payload = t0; + t7.error = UINT16_C(0); + return t7; + } + case UINT16_C(4): { + goto zig_block_1; + } + case UINT16_C(22): { + zig_unreachable(); + } + case UINT16_C(14): { + zig_unreachable(); + } + case UINT16_C(2): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_ProcessNotFound}; + } + case UINT16_C(11): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_WouldBlock}; + } + case UINT16_C(125): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_Canceled}; + } + case UINT16_C(9): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_NotOpenForReading}; + } + case UINT16_C(5): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_InputOutput}; + } + case UINT16_C(21): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, zig_error_IsDir}; + } + case UINT16_C(105): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_SystemResources}; + } + case UINT16_C(12): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_SystemResources}; + } + case UINT16_C(107): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_SocketNotConnected}; + } + case UINT16_C(104): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_ConnectionResetByPeer}; + } + case UINT16_C(110): { + return (nav__1627_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_ConnectionTimedOut}; + } + default: { + t6 = posix_unexpectedErrno__1899(t6); + t7.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t7.error = t6; + return t7; + } + } + +zig_block_1:; + goto zig_loop_16; +} + +static nav__7989_38 math_mul__anon_3766__7989(uintptr_t const a0, + uintptr_t const a1) { + nav__7989_42 t0; + uintptr_t t3; + nav__7989_38 t4; + uint8_t t1; + bool t2; + t0.f1 = zig_mulo_u64(&t0.f0, a0, a1, UINT8_C(64)); + t1 = t0.f1; + t2 = t1 != UINT8_C(0); + if (t2) { + return (nav__7989_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, zig_error_Overflow}; + } + goto zig_block_0; + +zig_block_0:; + t3 = t0.f0; + t4.payload = t3; + t4.error = UINT16_C(0); + return t4; +} + +static nav__7990_39 mem_Allocator_allocBytesWithAlignment__anon_3768__7990( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uint64_t t2; + uint8_t *t4; + uint8_t *t13; + uint8_t *t14; + uint8_t *t15; + struct mem_Allocator__599 t5; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t7; + struct mem_Allocator_VTable__602 const *const *t8; + struct mem_Allocator_VTable__602 const *t9; + uint8_t *(*const *t10)(void *, uintptr_t, uint8_t, uintptr_t); + uint8_t *(*t11)(void *, uintptr_t, uint8_t, uintptr_t); + void *t12; + uint8_t *const *t16; + nav__7990_52 t17; + nav__7990_39 t18; + bool t3; + uint8_t t6; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = t2 == UINT64_C(0); + if (t3) { + return (nav__7990_39){(uint8_t *)UINTPTR_MAX, 0}; + } + goto zig_block_0; + +zig_block_0:; + t5 = (*t1); + t6 = mem_Alignment_fromByteUnits__1109((uintptr_t)1ul); + t7 = t5; + t1 = (struct mem_Allocator__599 const *)&t7; + t8 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t9 = (*t8); + t10 = + (uint8_t *(*const *)(void *, uintptr_t, uint8_t, uintptr_t)) & t9->alloc; + t11 = (*t10); + t12 = t5.ptr; + t13 = t11(t12, a1, t6, a2); + t3 = t13 != NULL; + if (t3) { + t14 = t13; + t4 = t14; + goto zig_block_1; + } + return (nav__7990_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; + +zig_block_1:; + t15 = t4; + t16 = (uint8_t *const *)&t15; + t14 = (*t16); + t14 = (uint8_t *)(((uintptr_t)t14) + ((uintptr_t)0ul * sizeof(uint8_t))); + t17.ptr = t14; + t17.len = a1; + t18.payload = t4; + t18.error = UINT16_C(0); + return t18; +} + +static nav__5024_38 io_Reader_read__5024(struct io_Reader__2566 const a0, + nav__5024_41 const a1) { + struct io_Reader__2566 const *t1; + nav__5024_38 (*const *t2)(void const *, nav__5024_41); + nav__5024_38 (*t3)(void const *, nav__5024_41); + void const *t4; + nav__5024_38 t5; + struct io_Reader__2566 t0; + t0 = a0; + t1 = (struct io_Reader__2566 const *)&t0; + t2 = (nav__5024_38(*const *)(void const *, nav__5024_41)) & t1->readFn; + t3 = (*t2); + t4 = a0.context; + t5 = t3(t4, a1); + return t5; +} + +static nav__7992_39 mem_sliceAsBytes__anon_3898__7992(nav__7992_39 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t const *t4; + uint8_t const *t5; + uint8_t const *const *t6; + nav__7992_39 t7; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__7992_39){ + (uint8_t const *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = t4; + t6 = (uint8_t const *const *)&t5; + t0 = a0.len; + t4 = (*t6); + t4 = (uint8_t const *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t7.ptr = t4; + t7.len = t0; + return t7; +} + +static uint16_t fmt_format__anon_4366__8286(struct io_Writer__4352 const a0, + nav__8286_40 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + struct shared_Command__2195 t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8286_45){(uint8_t const *)&__anon_4460, (uintptr_t)49ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_4835__8653( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8286_45){(uint8_t const *)&__anon_4841, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +static nav__8152_40 fmt_bufPrint__anon_3949__8152(nav__8152_39 const a0, + nav__8152_42 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__8152_71 (**t11)(void const *, nav__8152_48); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__8152_39 t15; + nav__8152_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__8152_71(**)(void const *, nav__8152_48)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_4366__8286(t12, a1); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__8152_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static uint16_t fmt_format__anon_4856__8654(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8654_43){(uint8_t const *)&__anon_4943, (uintptr_t)68ul}); + if (t3) { + return t3; + } + t3 = fmt_formatType__anon_4951__8655( + UINT64_C(2), + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8654_43){(uint8_t const *)&__anon_4841, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +static nav__8154_40 fmt_bufPrint__anon_3970__8154(nav__8154_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__8154_54 (**t11)(void const *, nav__8154_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__8154_39 t15; + nav__8154_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__8154_54(**)(void const *, nav__8154_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_4856__8654(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__8154_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static uint16_t fmt_format__anon_4959__8656(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8656_43){(uint8_t const *)&__anon_5056, (uintptr_t)82ul}); + if (t3) { + return t3; + } + return 0; +} + +static nav__8155_40 fmt_bufPrint__anon_3982__8155(nav__8155_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__8155_54 (**t11)(void const *, nav__8155_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__8155_39 t15; + nav__8155_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__8155_54(**)(void const *, nav__8155_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_4959__8656(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__8155_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static uint16_t fmt_format__anon_5062__8657(struct io_Writer__4352 const a0, + nav__8657_41 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + nav__8657_40 t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8657_40){(uint8_t const *)&__anon_5110, (uintptr_t)32ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_5193__8658( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8657_40){(uint8_t const *)&__anon_5220, (uintptr_t)22ul}); + if (t3) { + return t3; + } + return 0; +} + +static nav__8156_40 fmt_bufPrint__anon_3994__8156(nav__8156_39 const a0, + nav__8156_43 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__8156_59 (**t11)(void const *, nav__8156_42); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__8156_39 t15; + nav__8156_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__8156_59(**)(void const *, nav__8156_42)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_5062__8657(t12, a1); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__8156_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static void array_list_ArrayListAligned_28u8_2cnull_29_deinit__1407( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *t1; + struct mem_Allocator__599 const *t2; + struct mem_Allocator__599 t3; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t4; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; + nav__1407_41 t5; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *)&t0; + t2 = (struct mem_Allocator__599 const *)&t1->allocator; + t3 = (*t2); + t4 = (*t1); + t5 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1453(t4); + mem_Allocator_free__anon_4161__8246(t3, t5); + return; +} + +static void fs_File_close__1263(struct fs_File__646 const a0) { + int32_t t0; + t0 = a0.handle; + posix_close__1605(t0); + return; +} + +static struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_init__4334( + struct mem_Allocator__599 const a0) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t0; + t0.items = (nav__4334_43){ + (struct environment_linked_libraries_root_LibraryInfo__940 *)(( + void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + t0.capacity = (uintptr_t)0ul; + t0.allocator = a0; + return t0; +} + +static bool math_isPowerOfTwo__anon_4014__8157(uintptr_t const a0) { + uint64_t t0; + uintptr_t t2; + bool t1; + t0 = a0; + t1 = t0 > UINT64_C(0); + debug_assert__180(t1); + t2 = a0 - (uintptr_t)1ul; + t2 = a0 & t2; + t0 = t2; + t1 = t0 == UINT64_C(0); + return t1; +} + +static uint16_t posix_faccessatZ__1791(int32_t const a0, + uint8_t const *const a1, + uint32_t const a2, uint32_t const a3) { + unsigned int t0; + unsigned int t1; + int t2; + uint16_t t3; + t0 = a2; + t1 = a3; + t2 = faccessat(a0, a1, t0, t1); + t3 = posix_errno__anon_3742__7988(t2); + switch (t3) { + case UINT16_C(0): { + return 0; + } + case UINT16_C(13): { + return zig_error_PermissionDenied; + } + case UINT16_C(1): { + return zig_error_PermissionDenied; + } + case UINT16_C(30): { + return zig_error_ReadOnlyFileSystem; + } + case UINT16_C(40): { + return zig_error_SymLinkLoop; + } + case UINT16_C(26): { + return zig_error_FileBusy; + } + case UINT16_C(20): { + return zig_error_FileNotFound; + } + case UINT16_C(2): { + return zig_error_FileNotFound; + } + case UINT16_C(36): { + return zig_error_NameTooLong; + } + case UINT16_C(22): { + zig_unreachable(); + } + case UINT16_C(14): { + zig_unreachable(); + } + case UINT16_C(5): { + return zig_error_InputOutput; + } + case UINT16_C(12): { + return zig_error_SystemResources; + } + case UINT16_C(84): { + t3 = posix_unexpectedErrno__1899(t3); + return t3; + } + default: { + t3 = posix_unexpectedErrno__1899(t3); + return t3; + } + } +} + +static nav__1647_38 posix_openatZ__1647(int32_t const a0, + uint8_t const *const a1, + uint32_t const a2, uintptr_t const a3) { + unsigned long t1; + int t0; + int32_t t3; + nav__1647_38 t4; + uint16_t t2; +zig_loop_11: + t0 = a0; + t1 = a3; + t0 = openat64(t0, a1, a2, t1); + t2 = posix_errno__anon_3742__7988(t0); + switch (t2) { + case UINT16_C(0): { + t3 = t0; + t4.payload = t3; + t4.error = UINT16_C(0); + return t4; + } + case UINT16_C(4): { + goto zig_block_0; + } + case UINT16_C(14): { + zig_unreachable(); + } + case UINT16_C(22): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_BadPathName}; + } + case UINT16_C(9): { + zig_unreachable(); + } + case UINT16_C(13): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_AccessDenied}; + } + case UINT16_C(27): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_FileTooBig}; + } + case UINT16_C(75): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_FileTooBig}; + } + case UINT16_C(21): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_IsDir}; + } + case UINT16_C(40): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_SymLinkLoop}; + } + case UINT16_C(24): { + return (nav__1647_38){-INT32_C(0x55555556), + zig_error_ProcessFdQuotaExceeded}; + } + case UINT16_C(36): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_NameTooLong}; + } + case UINT16_C(23): { + return (nav__1647_38){-INT32_C(0x55555556), + zig_error_SystemFdQuotaExceeded}; + } + case UINT16_C(19): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_NoDevice}; + } + case UINT16_C(2): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_FileNotFound}; + } + case UINT16_C(12): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_SystemResources}; + } + case UINT16_C(28): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_NoSpaceLeft}; + } + case UINT16_C(20): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_NotDir}; + } + case UINT16_C(1): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_AccessDenied}; + } + case UINT16_C(17): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_PathAlreadyExists}; + } + case UINT16_C(16): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_DeviceBusy}; + } + case UINT16_C(95): { + return (nav__1647_38){-INT32_C(0x55555556), + zig_error_FileLocksNotSupported}; + } + case UINT16_C(11): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_WouldBlock}; + } + case UINT16_C(26): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_FileBusy}; + } + case UINT16_C(6): { + return (nav__1647_38){-INT32_C(0x55555556), zig_error_NoDevice}; + } + case UINT16_C(84): { + t2 = posix_unexpectedErrno__1899(t2); + t4.payload = -INT32_C(0x55555556); + t4.error = t2; + return t4; + } + default: { + t2 = posix_unexpectedErrno__1899(t2); + t4.payload = -INT32_C(0x55555556); + t4.error = t2; + return t4; + } + } + +zig_block_0:; + goto zig_loop_11; +} + +static uint16_t posix_flock__1808(int32_t const a0, int32_t const a1) { + int t0; + uint16_t t1; +zig_loop_3: + t0 = a1; + t0 = flock(a0, t0); + t1 = posix_errno__anon_3742__7988(t0); + switch (t1) { + case UINT16_C(0): { + return 0; + } + case UINT16_C(9): { + zig_unreachable(); + } + case UINT16_C(4): { + goto zig_block_0; + } + case UINT16_C(22): { + zig_unreachable(); + } + case UINT16_C(37): { + return zig_error_SystemResources; + } + case UINT16_C(11): { + return zig_error_WouldBlock; + } + case UINT16_C(95): { + return zig_error_FileLocksNotSupported; + } + default: { + t1 = posix_unexpectedErrno__1899(t1); + return t1; + } + } + +zig_block_0:; + goto zig_loop_3; +} + +static void posix_close__1605(int32_t const a0) { + int t0; + uint16_t t1; + t0 = close(a0); + t1 = posix_errno__anon_3742__7988(t0); + switch (t1) { + case UINT16_C(9): { + zig_unreachable(); + } + case UINT16_C(4): { + return; + } + default: { + return; + } + } +} + +static nav__1453_39 +array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1453( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *t1; + nav__1453_39 const *t2; + uint8_t *const *t3; + uintptr_t t4; + uint8_t *t5; + nav__1453_39 t6; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 const *)&t0; + t2 = (nav__1453_39 const *)&t1->items; + t3 = &t2->ptr; + t4 = a0.capacity; + t5 = (*t3); + t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint8_t))); + t6.ptr = t5; + t6.len = t4; + return t6; +} + +static nav__8244_39 mem_Allocator_remap__anon_4154__8244( + struct mem_Allocator__599 const a0, nav__8244_39 const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + nav__8244_39 const *t3; + uint64_t t4; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t15; + nav__8244_39 t7; + nav__8244_39 t10; + nav__8244_39 t2; + uint8_t *t8; + uint8_t *t20; + uint8_t *t21; + uint8_t *t22; + void *t9; + uintptr_t t11; + uintptr_t t13; + nav__8244_50 t12; + struct mem_Allocator_VTable__602 const *const *t16; + struct mem_Allocator_VTable__602 const *t17; + uint8_t *(*const *t18)(void *, nav__8244_39, uint8_t, uintptr_t, uintptr_t); + uint8_t *(*t19)(void *, nav__8244_39, uint8_t, uintptr_t, uintptr_t); + uint8_t *const *t23; + bool t5; + uint8_t t14; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = (nav__8244_39 const *)&t2; + t4 = a2; + t5 = t4 == UINT64_C(0); + if (t5) { + t6 = (*t1); + mem_Allocator_free__anon_4161__8246(t6, a1); + t7 = (*t3); + t8 = t7.ptr; + t8 = (uint8_t *)(((uintptr_t)t8) + ((uintptr_t)0ul * sizeof(uint8_t))); + t9 = (void *)t8; + t7.ptr = t9; + t7.len = (uintptr_t)0ul; + t10 = t7; + return t10; + } + goto zig_block_0; + +zig_block_0:; + t11 = a1.len; + t4 = t11; + t5 = t4 == UINT64_C(0); + if (t5) { + return (nav__8244_39){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + } + goto zig_block_1; + +zig_block_1:; + t10 = mem_sliceAsBytes__anon_5351__8662(a1); + t12 = math_mul__anon_3766__7989((uintptr_t)1ul, a2); + t5 = t12.error == UINT16_C(0); + if (t5) { + t13 = t12.payload; + t11 = t13; + goto zig_block_2; + } + return (nav__8244_39){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_2:; + t6 = (*t1); + t14 = mem_Alignment_fromByteUnits__1109((uintptr_t)1ul); + t13 = (uintptr_t)zig_return_address(); + t15 = t6; + t1 = (struct mem_Allocator__599 const *)&t15; + t16 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t17 = (*t16); + t18 = (uint8_t *(*const *)(void *, nav__8244_39, uint8_t, uintptr_t, + uintptr_t)) & + t17->remap; + t19 = (*t18); + t9 = t6.ptr; + t20 = t19(t9, t10, t14, t11, t13); + t5 = t20 != NULL; + if (t5) { + t21 = t20; + t8 = t21; + goto zig_block_3; + } + return (nav__8244_39){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_3:; + t22 = t8; + t23 = (uint8_t *const *)&t22; + t8 = (*t23); + t8 = (uint8_t *)(((uintptr_t)t8) + ((uintptr_t)0ul * sizeof(uint8_t))); + t10.ptr = t8; + t10.len = t11; + memcpy(&t7, &t10, sizeof(nav__8244_39)); + t7 = mem_bytesAsSlice__anon_5364__8663(t7); + t10 = t7; + return t10; +} + +static nav__8245_40 mem_Allocator_alignedAlloc__anon_4159__8245( + struct mem_Allocator__599 const a0, uintptr_t const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t5; + uintptr_t t3; + nav__8245_40 t4; + nav__8245_40 t8; + nav__8245_51 t6; + uint8_t *t9; + uint8_t *t10; + uint8_t *const *t11; + nav__8245_39 t12; + uint16_t t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t5 = t2; + t1 = (struct mem_Allocator__599 const *)&t5; + t2 = (*t1); + t6 = mem_Allocator_allocWithSizeAndAlignment__anon_3315__6124(t2, a1, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = (nav__8245_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t7; + t4 = t8; + goto zig_block_0; + } + t9 = t6.payload; + t10 = t9; + t11 = (uint8_t *const *)&t10; + t9 = (*t11); + t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul * sizeof(uint8_t))); + t12.ptr = t9; + t12.len = a1; + t8.payload = t12; + t8.error = UINT16_C(0); + t4 = t8; + goto zig_block_0; + +zig_block_0:; + return t4; +} + +static void mem_Allocator_free__anon_4161__8246( + struct mem_Allocator__599 const a0, nav__8246_40 const a1) { + struct mem_Allocator__599 const *t1; + nav__8246_40 t2; + uintptr_t t3; + uint64_t t4; + uint8_t *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + struct mem_Allocator__599 t10; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t12; + struct mem_Allocator_VTable__602 const *const *t13; + struct mem_Allocator_VTable__602 const *t14; + void (*const *t15)(void *, nav__8246_40, uint8_t, uintptr_t); + void (*t16)(void *, nav__8246_40, uint8_t, uintptr_t); + void *t17; + bool t5; + uint8_t t11; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_5351__8662(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t10 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t11 = mem_Alignment_fromByteUnits__1109((uintptr_t)1ul); + t3 = (uintptr_t)zig_return_address(); + t12 = t10; + t1 = (struct mem_Allocator__599 const *)&t12; + t13 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t14 = (*t13); + t15 = (void (*const *)(void *, nav__8246_40, uint8_t, uintptr_t))&t14->free; + t16 = (*t15); + t17 = t10.ptr; + t16(t17, t2, t11, t3); + return; +} + +static uint16_t bincode_serializeInt__anon_4166__8247( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + uint32_t const a1) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t5; + void const **t7; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; + void const *t9; + nav__8247_48 (**t10)(void const *, nav__8247_50); + struct io_Writer__4352 t11; + struct io_Writer__4352 t6; + struct io_Writer__4352 t12; + struct io_Writer__4352 t14; + struct io_Writer__4352 const *t13; + nav__8247_50 t17; + uint16_t t18; + uint16_t t19; + uint8_t t16[4]; + uint8_t t15[4]; + t0 = a0; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__8247_48(**)(void const *, nav__8247_50)) & t6.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t6; + t12 = t11; + t13 = (struct io_Writer__4352 const *)&t12; + t11 = (*t13); + t14 = t11; + t13 = (struct io_Writer__4352 const *)&t14; + memcpy(&t16, &a1, sizeof(uint8_t[4])); + memcpy((char *)&t15, t16, sizeof(uint8_t[4])); + t11 = (*t13); + t17.ptr = &t15[(uintptr_t)0ul]; + t17.len = (uintptr_t)4ul; + t18 = io_Writer_writeAll__8277(t11, t17); + memcpy(&t19, &t18, sizeof(uint16_t)); + if (t19) { + return t19; + } + return 0; +} + +static uint16_t bincode_serializeStruct__anon_4171__8248( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__struct_2198__2198 const a1) { + nav__8248_45 t2; + int32_t t0; + uint16_t t1; + t0 = a1.pid; + t1 = bincode_serialize__anon_5395__8664(a0, t0); + if (t1) { + return t1; + } + t2 = a1.uri; + t1 = bincode_serialize__anon_5397__8665(a0, t2); + if (t1) { + return t1; + } + return 0; +} + +static uint16_t bincode_serializeStruct__anon_4172__8249( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__struct_2199__2199 const a1) { + nav__8249_45 t0; + uint16_t t1; + t0 = a1.name; + t1 = bincode_serialize__anon_5397__8665(a0, t0); + if (t1) { + return t1; + } + t0 = a1.version; + t1 = bincode_serialize__anon_5397__8665(a0, t0); + if (t1) { + return t1; + } + return 0; +} + +static uint16_t bincode_serializeStruct__anon_4173__8250( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_Command__struct_2200__2200 const a1) { + struct shared_MarkerType__2202 t2; + int32_t t0; + uint16_t t1; + t0 = a1.pid; + t1 = bincode_serialize__anon_5395__8664(a0, t0); + if (t1) { + return t1; + } + t2 = a1.marker; + t1 = bincode_serialize__anon_5399__8666(a0, t2); + if (t1) { + return t1; + } + return 0; +} + +static uint16_t bincode_serializeInt__anon_4174__8251( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + uint64_t const a1) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t5; + void const **t7; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; + void const *t9; + nav__8251_48 (**t10)(void const *, nav__8251_50); + struct io_Writer__4352 t11; + struct io_Writer__4352 t6; + struct io_Writer__4352 t12; + struct io_Writer__4352 t14; + struct io_Writer__4352 const *t13; + nav__8251_50 t17; + uint16_t t18; + uint16_t t19; + uint8_t t16[8]; + uint8_t t15[8]; + t0 = a0; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__8251_48(**)(void const *, nav__8251_50)) & t6.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t6; + t12 = t11; + t13 = (struct io_Writer__4352 const *)&t12; + t11 = (*t13); + t14 = t11; + t13 = (struct io_Writer__4352 const *)&t14; + memcpy(&t16, &a1, sizeof(uint8_t[8])); + memcpy((char *)&t15, t16, sizeof(uint8_t[8])); + t11 = (*t13); + t17.ptr = &t15[(uintptr_t)0ul]; + t17.len = (uintptr_t)8ul; + t18 = io_Writer_writeAll__8277(t11, t17); + memcpy(&t19, &t18, sizeof(uint16_t)); + if (t19) { + return t19; + } + return 0; +} + +static uint16_t bincode_serializeEnum__anon_4177__8252( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + uint8_t const a1) { + uint32_t t1; + uint16_t t2; + uint8_t t0; + t0 = a1; + t1 = (uint32_t)t0; + t2 = bincode_serialize__anon_3564__7915(a0, t1); + if (t2) { + return t2; + } + return 0; +} + +static uint16_t posix_errno__anon_4188__8254(intptr_t const a0) { + int64_t t1; + int *t3; + int t4; + uint16_t t0; + uint16_t t5; + bool t2; + t1 = a0; + t2 = t1 == -INT64_C(1); + if (t2) { + t3 = zig_e___errno_location(); + t4 = (*t3); + t5 = (uint16_t)t4; + t0 = t5; + goto zig_block_0; + } + t0 = UINT16_C(0); + goto zig_block_0; + +zig_block_0:; + return t0; +} + +static struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975( + struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 **t1; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t0; + t1 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 * + *)&t0.context; + (*t1) = a0; + return t0; +} + +static nav__8269_38 +io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269( + void const *const a0, nav__8269_41 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t0; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t1; + nav__8269_38 t2; + nav__8269_38 t3; + t0 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)a0; + t1 = (*t0); + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_write__4978(t1, + a1); + memcpy(&t3, &t2, sizeof(nav__8269_38)); + return t3; +} + +static uint16_t io_Writer_writeAll__8277(struct io_Writer__4352 const a0, + nav__8277_40 const a1) { + struct io_Writer__4352 const *t1; + nav__8277_40 const *t3; + uintptr_t t5; + uintptr_t t6; + uintptr_t t13; + uintptr_t t4; + uint64_t t7; + uint64_t t8; + struct io_Writer__4352 t10; + struct io_Writer__4352 t0; + nav__8277_40 t11; + nav__8277_40 t2; + uint8_t const *t12; + nav__8277_43 t14; + uint16_t t15; + bool t9; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = a1; + t3 = (nav__8277_40 const *)&t2; + t4 = (uintptr_t)0ul; +zig_loop_11: + t5 = t4; + t6 = a1.len; + t7 = t5; + t8 = t6; + t9 = t7 != t8; + if (t9) { + t6 = t4; + t10 = (*t1); + t5 = t4; + t11 = (*t3); + t12 = t11.ptr; + t12 = (uint8_t const *)(((uintptr_t)t12) + (t5 * sizeof(uint8_t))); + t13 = t11.len; + t5 = t13 - t5; + t11.ptr = t12; + t11.len = t5; + t14 = io_Writer_write__8276(t10, t11); + if (t14.error) { + t15 = t14.error; + return t15; + } + t5 = t14.payload; + t5 = t6 + t5; + t4 = t5; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_11; + +zig_block_0:; + return 0; +} + +static uint16_t shared_Command_format__anon_5459__8667( + struct shared_Command__2195 const a0, + struct fmt_FormatOptions__4759 const a1, struct io_Writer__4352 const a2) { + struct io_Writer__4352 const *t1; + struct shared_Command__struct_2198__2198 t3; + struct io_Writer__4352 t4; + struct io_Writer__4352 t0; + nav__8667_44 t6; + nav__8667_44 t10; + nav__8667_66 t7; + struct shared_Command__struct_2199__2199 t9; + nav__8667_76 t11; + struct shared_Command__struct_2200__2200 t12; + struct shared_MarkerType__2202 t13; + nav__8667_78 t14; + uint64_t t15; + nav__8667_80 t16; + int32_t t5; + uint16_t t8; + uint8_t t2; + nav__8667_84 t17; + (void)a1; + t0 = a2; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = a0.tag; + switch (t2) { + case UINT8_C(0): { + t3 = a0.payload.ExecutedBenchmark; + t4 = (*t1); + t5 = t3.pid; + t6 = t3.uri; + t7.f0 = t5; + t7.f1 = t6; + t8 = io_Writer_print__anon_5479__8668(t4, t7); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(1): { + t4 = (*t1); + t8 = io_Writer_writeAll__8277( + t4, (nav__8667_44){(uint8_t const *)&__anon_2438, (uintptr_t)14ul}); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(2): { + t4 = (*t1); + t8 = io_Writer_writeAll__8277( + t4, (nav__8667_44){(uint8_t const *)&__anon_2443, (uintptr_t)13ul}); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(3): { + t4 = (*t1); + t8 = io_Writer_writeAll__8277( + t4, (nav__8667_44){(uint8_t const *)&__anon_2448, (uintptr_t)3ul}); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(4): { + t4 = (*t1); + t8 = io_Writer_writeAll__8277( + t4, (nav__8667_44){(uint8_t const *)&__anon_2453, (uintptr_t)8ul}); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(5): { + t9 = a0.payload.SetIntegration; + t4 = (*t1); + t6 = t9.name; + t10 = t9.version; + t11.f0 = t6; + t11.f1 = t10; + t8 = io_Writer_print__anon_5500__8669(t4, t11); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(6): { + t4 = (*t1); + t8 = io_Writer_writeAll__8277( + t4, (nav__8667_44){(uint8_t const *)&__anon_2461, (uintptr_t)3ul}); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(7): { + t12 = a0.payload.AddMarker; + t4 = (*t1); + t5 = t12.pid; + t13 = t12.marker; + t14.f0 = t5; + t14.f1 = t13; + t8 = io_Writer_print__anon_5512__8670(t4, t14); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(8): { + t15 = a0.payload.SetVersion; + t4 = (*t1); + t16.f0 = t15; + t8 = io_Writer_print__anon_5521__8671(t4, t16); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(9): { + t4 = (*t1); + t8 = io_Writer_writeAll__8277( + t4, (nav__8667_44){(uint8_t const *)&__anon_2476, (uintptr_t)18ul}); + if (t8) { + return t8; + } + goto zig_block_0; + } + case UINT8_C(10): { + t2 = a0.payload.IntegrationModeResponse; + t4 = (*t1); + t17.f0 = t2; + t8 = io_Writer_print__anon_5534__8672(t4, t17); + if (t8) { + return t8; + } + goto zig_block_0; + } + default: + zig_unreachable(); + } + +zig_block_0:; + return 0; +} + +static uint16_t fmt_formatType__anon_4835__8653( + struct shared_Command__2195 const a0, + struct fmt_FormatOptions__4759 const a1, struct io_Writer__4352 const a2, + uintptr_t const a3) { + struct shared_Command__2195 const *t1; + struct shared_Command__2195 t3; + struct shared_Command__2195 t0; + struct io_Writer__4352 t2; + uint16_t t4; + (void)a3; + t0 = a0; + t1 = (struct shared_Command__2195 const *)&t0; + t2 = a2; + t3 = (*t1); + t4 = shared_Command_format__anon_5459__8667(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +static nav__4983_39 +io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 const + a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 const *t1; + nav__4983_39 const *t2; + uintptr_t t3; + nav__4983_39 t4; + uint8_t *t5; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + t0 = a0; + t1 = + (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 const + *)&t0; + t2 = (nav__4983_39 const *)&t1->buffer; + t3 = a0.pos; + t4 = (*t2); + t5 = t4.ptr; + t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint8_t))); + t4.ptr = t5; + t4.len = t3; + return t4; +} + +static uint16_t fmt_formatType__anon_4951__8655( + uint64_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + uint64_t t0; + struct io_Writer__4352 t1; + uint16_t t2; + uint16_t t3; + (void)a3; + t0 = a0; + t1 = a2; + t2 = fmt_formatValue__anon_5543__8673(a0, a1, a2); + memcpy(&t3, &t2, sizeof(uint16_t)); + return t3; +} + +static uint16_t fmt_formatType__anon_5193__8658( + nav__8658_39 const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + struct io_Writer__4352 const *t2; + uint64_t t3; + struct io_Writer__4352 t5; + struct io_Writer__4352 t1; + nav__8658_39 t7; + nav__8658_39 t0; + uint16_t t6; + uint16_t t8; + bool t4; + t0 = a0; + t1 = a2; + t2 = (struct io_Writer__4352 const *)&t1; + t3 = a3; + t4 = t3 == UINT64_C(0); + if (t4) { + t5 = (*t2); + t6 = io_Writer_writeAll__8277( + t5, (nav__8658_39){(uint8_t const *)&__anon_5558, (uintptr_t)7ul}); + return t6; + } + goto zig_block_0; + +zig_block_0:; + memcpy(&t7, &a0, sizeof(nav__8658_39)); + t6 = fmt_formatBuf__anon_5568__8674(t7, a1, a2); + memcpy(&t8, &t6, sizeof(uint16_t)); + return t8; +} + +static nav__8662_39 mem_sliceAsBytes__anon_5351__8662(nav__8662_39 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t4; + uint8_t *t5; + uint8_t *const *t6; + nav__8662_39 t7; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__8662_39){ + (uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = t4; + t6 = (uint8_t *const *)&t5; + t0 = a0.len; + t4 = (*t6); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t7.ptr = t4; + t7.len = t0; + return t7; +} + +static nav__8663_39 mem_bytesAsSlice__anon_5364__8663(nav__8663_39 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t4; + uint8_t *t5; + uint8_t *const *t6; + nav__8663_39 t7; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__8663_39){ + (uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = t4; + t6 = (uint8_t *const *)&t5; + t0 = a0.len; + t0 = t0 / (uintptr_t)1ul; + t4 = (*t6); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t7.ptr = t4; + t7.len = t0; + return t7; +} + +static nav__4911_38 +io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911( + void const *const a0, nav__4911_41 const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t0; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t1; + nav__4911_38 t2; + nav__4911_38 t3; + t0 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)a0; + t1 = (*t0); + t2 = array_list_ArrayListAligned_28u8_2cnull_29_appendWrite__1431(t1, a1); + memcpy(&t3, &t2, sizeof(nav__4911_38)); + return t3; +} + +static uint16_t bincode_serialize__anon_5395__8664( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + int32_t const a1) { + uint16_t t0; + t0 = bincode_serializeInt__anon_5576__8675(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_5397__8665( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + nav__8665_40 const a1) { + uint16_t t0; + t0 = bincode_serializePointer__anon_5581__8676(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static uint16_t bincode_serialize__anon_5399__8666( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_MarkerType__2202 const a1) { + uint16_t t0; + t0 = bincode_serializeUnion__anon_5582__8677(a0, a1); + if (t0) { + return t0; + } + return 0; +} + +static nav__4978_38 +io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_write__4978( + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + a0, + nav__4978_42 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t1; + nav__4978_42 const *t3; + uintptr_t t4; + uintptr_t t10; + uint64_t t5; + uint64_t t11; + uintptr_t *t7; + nav__4978_50 *t8; + nav__4978_50 t9; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t12; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *t0; + uint8_t *t13; + nav__4978_42 t14; + nav__4978_42 t2; + uint8_t const *t15; + nav__4978_38 t16; + bool t6; + t0 = a0; + t1 = (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *)&t0; + t2 = a1; + t3 = (nav__4978_42 const *)&t2; + t4 = a1.len; + t5 = t4; + t6 = t5 == UINT64_C(0); + if (t6) { + return (nav__4978_38){(uintptr_t)0ul, 0}; + } + goto zig_block_0; + +zig_block_0:; + t7 = (uintptr_t *)&a0->pos; + t4 = (*t7); + t8 = (nav__4978_50 *)&a0->buffer; + t9 = (*t8); + t10 = t9.len; + t5 = t4; + t11 = t10; + t6 = t5 >= t11; + if (t6) { + return (nav__4978_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_NoSpaceLeft}; + } + goto zig_block_1; + +zig_block_1:; + t8 = (nav__4978_50 *)&a0->buffer; + t9 = (*t8); + t10 = t9.len; + t7 = (uintptr_t *)&a0->pos; + t4 = (*t7); + t4 = t10 - t4; + t10 = a1.len; + t10 = (t4 < t10) ? t4 : t10; + t11 = t10; + t12 = (*t1); + t8 = (nav__4978_50 *)&t12->buffer; + t7 = (uintptr_t *)&a0->pos; + t10 = (*t7); + t9 = (*t8); + t13 = t9.ptr; + t13 = (uint8_t *)(((uintptr_t)t13) + (t10 * sizeof(uint8_t))); + t10 = t11; + t9.ptr = t13; + t9.len = t10; + t14 = (*t3); + t15 = t14.ptr; + t15 = + (uint8_t const *)(((uintptr_t)t15) + ((uintptr_t)0ul * sizeof(uint8_t))); + t10 = t11; + t14.ptr = t15; + t14.len = t10; + t15 = t14.ptr; + if (t9.len != 0) memcpy(t9.ptr, t15, t9.len * sizeof(uint8_t)); + t12 = (*t1); + t7 = (uintptr_t *)&t12->pos; + t10 = (*t7); + t4 = t11; + t4 = t10 + t4; + (*t7) = t4; + t6 = t11 == UINT64_C(0); + if (t6) { + return (nav__4978_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_NoSpaceLeft}; + } + goto zig_block_2; + +zig_block_2:; + t4 = t11; + t16.payload = t4; + t16.error = UINT16_C(0); + return t16; +} + +static nav__8276_38 io_Writer_write__8276(struct io_Writer__4352 const a0, + nav__8276_41 const a1) { + struct io_Writer__4352 const *t1; + nav__8276_38 (*const *t2)(void const *, nav__8276_41); + nav__8276_38 (*t3)(void const *, nav__8276_41); + void const *t4; + nav__8276_38 t5; + struct io_Writer__4352 t0; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (nav__8276_38(*const *)(void const *, nav__8276_41)) & t1->writeFn; + t3 = (*t2); + t4 = a0.context; + t5 = t3(t4, a1); + return t5; +} + +static uint16_t io_Writer_print__anon_5479__8668( + struct io_Writer__4352 const a0, nav__8668_41 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_5586__8678(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_5500__8669( + struct io_Writer__4352 const a0, nav__8669_41 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_5590__8679(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_5512__8670( + struct io_Writer__4352 const a0, nav__8670_40 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_5594__8680(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_5521__8671( + struct io_Writer__4352 const a0, nav__8671_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_5598__8681(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_5534__8672( + struct io_Writer__4352 const a0, nav__8672_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_5602__8682(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static nav__8298_38 unicode_utf8ByteSequenceLength__8298(uint8_t const a0) { + nav__8298_38 t0; + switch (a0) { + default: + if ((a0 >= UINT8_C(0) && a0 <= UINT8_C(127))) { + t0 = (nav__8298_38){0, UINT8_C(1)}; + goto zig_block_0; + } + if ((a0 >= UINT8_C(192) && a0 <= UINT8_C(223))) { + t0 = (nav__8298_38){0, UINT8_C(2)}; + goto zig_block_0; + } + if ((a0 >= UINT8_C(224) && a0 <= UINT8_C(239))) { + t0 = (nav__8298_38){0, UINT8_C(3)}; + goto zig_block_0; + } + if ((a0 >= UINT8_C(240) && a0 <= UINT8_C(247))) { + t0 = (nav__8298_38){0, UINT8_C(4)}; + goto zig_block_0; + } + { + t0 = (nav__8298_38){zig_error_Utf8InvalidStartByte, UINT8_C(0x2)}; + goto zig_block_0; + } + } + +zig_block_0:; + return t0; +} + +static nav__8314_38 unicode_utf8CountCodepoints__8314(nav__8314_40 const a0) { + nav__8314_40 const *t1; + uintptr_t t4; + uintptr_t t5; + uintptr_t t2; + uintptr_t t3; + uint64_t t6; + uint64_t t7; + nav__8314_40 t9; + nav__8314_40 t0; + uint8_t const *t10; + uint8_t const(*t11)[8]; + nav__8314_38 t16; + nav__8314_50 t17; + nav__8314_48 t14; + uint16_t t15; + bool t8; + uint8_t t12[8]; + uint8_t t13; + t0 = a0; + t1 = (nav__8314_40 const *)&t0; + t2 = (uintptr_t)0ul; + t3 = (uintptr_t)0ul; +zig_loop_9: + t4 = t3; + t5 = a0.len; + t6 = t4; + t7 = t5; + t8 = t6 < t7; + if (t8) { + zig_loop_18: + t5 = t3; + t5 = t5 + (uintptr_t)8ul; + t4 = a0.len; + t7 = t5; + t6 = t4; + t8 = t7 <= t6; + if (t8) { + t4 = t3; + t9 = (*t1); + t10 = t9.ptr; + t10 = (uint8_t const *)(((uintptr_t)t10) + (t4 * sizeof(uint8_t))); + t11 = (uint8_t const(*)[8])t10; + memcpy(t12, (const char *)t11, sizeof(uint8_t[8])); + memcpy(&t4, &t12, sizeof(uintptr_t)); + t4 = zig_wrap_u64(t4, UINT8_C(64)); + t4 = t4 & (uintptr_t)9259542123273814144ul; + t6 = t4; + t8 = t6 != UINT64_C(0); + if (t8) { + goto zig_block_2; + } + goto zig_block_4; + + zig_block_4:; + t4 = t2; + t4 = t4 + (uintptr_t)8ul; + t2 = t4; + t4 = t3; + t4 = t4 + (uintptr_t)8ul; + t3 = t4; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_18; + + zig_block_2:; + t5 = t3; + t4 = a0.len; + t7 = t5; + t6 = t4; + t8 = t7 < t6; + if (t8) { + t4 = t3; + t13 = a0.ptr[t4]; + t14 = unicode_utf8ByteSequenceLength__8298(t13); + if (t14.error) { + t15 = t14.error; + t16.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t16.error = t15; + return t16; + } + t13 = t14.payload; + t4 = t3; + t5 = (uintptr_t)t13; + t5 = t4 + t5; + t4 = a0.len; + t6 = t5; + t7 = t4; + t8 = t6 > t7; + if (t8) { + return (nav__8314_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_TruncatedInput}; + } + goto zig_block_6; + + zig_block_6:; + switch (t13) { + case UINT8_C(1): { + goto zig_block_7; + } + default: { + t4 = t3; + t9 = (*t1); + t10 = t9.ptr; + t10 = (uint8_t const *)(((uintptr_t)t10) + (t4 * sizeof(uint8_t))); + t4 = (uintptr_t)t13; + t9.ptr = t10; + t9.len = t4; + t17 = unicode_utf8Decode__8304(t9); + if (t17.error) { + t15 = t17.error; + t16.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t16.error = t15; + return t16; + } + goto zig_block_7; + } + } + + zig_block_7:; + t4 = t3; + t5 = (uintptr_t)t13; + t5 = t4 + t5; + t3 = t5; + t5 = t2; + t5 = t5 + (uintptr_t)1ul; + t2 = t5; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_9; + +zig_block_0:; + t5 = t2; + t16.payload = t5; + t16.error = UINT16_C(0); + return t16; +} + +static uint16_t fmt_formatBuf__anon_5568__8674( + nav__8674_39 const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + struct io_Writer__4352 const *t1; + nav__8674_44 t2; + uintptr_t t4; + uintptr_t t5; + uintptr_t t7; + nav__8674_48 t6; + uint64_t t8; + uint64_t t9; + struct io_Writer__4352 t10; + struct io_Writer__4352 t0; + nav__8674_57 t15; + nav__8674_39 t17; + nav__8674_39 t20; + uint8_t *t19; + uint32_t t14; + uint16_t t11; + uint16_t t12; + nav__8674_60 t16; + bool t3; + uint8_t t18; + uint8_t t13[4]; + t0 = a2; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = a1.width; + t3 = t2.is_null != true; + if (t3) { + t4 = t2.payload; + t6 = unicode_utf8CountCodepoints__8314(a0); + t3 = t6.error == UINT16_C(0); + if (t3) { + t7 = t6.payload; + t5 = t7; + goto zig_block_1; + } + t7 = a0.len; + t5 = t7; + goto zig_block_1; + + zig_block_1:; + t8 = t5; + t9 = t4; + t3 = t8 < t9; + if (t3) { + t5 = t4 - t5; + t7 = t5; + goto zig_block_2; + } + t7 = (uintptr_t)0ul; + goto zig_block_2; + + zig_block_2:; + t9 = t7; + t3 = t9 == UINT64_C(0); + if (t3) { + t10 = (*t1); + t11 = io_Writer_writeAll__8277(t10, a0); + memcpy(&t12, &t11, sizeof(uint16_t)); + return t12; + } + goto zig_block_3; + + zig_block_3:; + t14 = a1.fill; + t15.ptr = &t13[(uintptr_t)0ul]; + t15.len = (uintptr_t)4ul; + t16 = unicode_utf8Encode__8299(t14, t15); + t3 = t16.error == UINT16_C(0); + if (t3) { + t18 = t16.payload; + t19 = (uint8_t *)&t13; + t19 = (uint8_t *)(((uintptr_t)t19) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uintptr_t)t18; + t15.ptr = t19; + t15.len = t5; + memcpy(&t20, &t15, sizeof(nav__8674_39)); + t17 = t20; + goto zig_block_4; + } + t12 = t16.error; + switch (t12) { + case zig_error_Utf8CannotEncodeSurrogateHalf: + case zig_error_CodepointTooLarge: { + t17 = (nav__8674_39){(uint8_t const *)&__anon_5736, (uintptr_t)3ul}; + goto zig_block_4; + } + default: + zig_unreachable(); + } + + zig_block_4:; + t18 = a1.alignment; + switch (t18) { + case UINT8_C(0): { + t10 = (*t1); + t12 = io_Writer_writeAll__8277(t10, a0); + if (t12) { + return t12; + } + t10 = (*t1); + t12 = io_Writer_writeBytesNTimes__8281(t10, t17, t7); + if (t12) { + return t12; + } + goto zig_block_6; + } + case UINT8_C(1): { + t5 = t7 / (uintptr_t)2ul; + t7 = t7 + (uintptr_t)1ul; + t7 = t7 / (uintptr_t)2ul; + t10 = (*t1); + t12 = io_Writer_writeBytesNTimes__8281(t10, t17, t5); + if (t12) { + return t12; + } + t10 = (*t1); + t12 = io_Writer_writeAll__8277(t10, a0); + if (t12) { + return t12; + } + t10 = (*t1); + t12 = io_Writer_writeBytesNTimes__8281(t10, t17, t7); + if (t12) { + return t12; + } + goto zig_block_6; + } + case UINT8_C(2): { + t10 = (*t1); + t12 = io_Writer_writeBytesNTimes__8281(t10, t17, t7); + if (t12) { + return t12; + } + t10 = (*t1); + t12 = io_Writer_writeAll__8277(t10, a0); + if (t12) { + return t12; + } + goto zig_block_6; + } + default: + zig_unreachable(); + } + + zig_block_6:; + goto zig_block_0; + } + t10 = (*t1); + t12 = io_Writer_writeAll__8277(t10, a0); + if (t12) { + return t12; + } + goto zig_block_0; + +zig_block_0:; + return 0; +} + +static uint16_t fmt_formatInt__anon_5629__8684( + uint64_t const a0, uint8_t const a1, uint8_t const a2, + struct fmt_FormatOptions__4759 const a3, struct io_Writer__4352 const a4) { + uint64_t t4; + uint64_t t11; + uint64_t t2; + uintptr_t t5; + uintptr_t t3; + uint8_t *t6; + uint8_t (*t7)[2]; + nav__8684_58 t12; + nav__8684_47 t13; + uint16_t t14; + uint16_t t15; + bool t0; + uint8_t t8; + nav__8684_56 t9; + uint8_t t10[2]; + uint8_t t1[65]; + t0 = a1 >= UINT8_C(2); + debug_assert__180(t0); + t2 = a0; + t3 = (uintptr_t)65ul; + t0 = a1 == UINT8_C(10); + if (t0) { + zig_loop_19: + t4 = t2; + t0 = t4 >= UINT64_C(100); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t4 = t4 % UINT64_C(100); + t8 = (uint8_t)t4; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + t4 = t2; + t4 = t4 / UINT64_C(100); + t2 = t4; + goto zig_block_2; + } + goto zig_block_1; + + zig_block_2:; + goto zig_loop_19; + + zig_block_1:; + t4 = t2; + t0 = t4 < UINT64_C(10); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t4 = t2; + t8 = (uint8_t)t4; + t8 = UINT8_C(48) + t8; + (*t6) = t8; + goto zig_block_3; + } + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t8 = (uint8_t)t4; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + goto zig_block_3; + + zig_block_3:; + goto zig_block_0; + } +zig_loop_74: + t4 = t2; + t11 = (uint64_t)a1; + t11 = t4 % t11; + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t8 = (uint8_t)t11; + t8 = fmt_digitToChar__8069(t8, a2); + (*t6) = t8; + t11 = t2; + t4 = (uint64_t)a1; + t4 = t11 / t4; + t2 = t4; + t4 = t2; + t0 = t4 == UINT64_C(0); + if (t0) { + goto zig_block_4; + } + goto zig_block_5; + +zig_block_5:; + goto zig_loop_74; + +zig_block_4:; + goto zig_block_0; + +zig_block_0:; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t5 = (uintptr_t)65ul - t5; + t12.ptr = t6; + t12.len = t5; + memcpy(&t13, &t12, sizeof(nav__8684_47)); + t14 = fmt_formatBuf__anon_5568__8674(t13, a3, a4); + memcpy(&t15, &t14, sizeof(uint16_t)); + return t15; +} + +static uint16_t fmt_formatIntValue__anon_5612__8683( + uint64_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatInt__anon_5629__8684(a0, UINT8_C(10), UINT8_C(0), a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t fmt_formatValue__anon_5543__8673( + uint64_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatIntValue__anon_5612__8683(a0, a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static nav__1431_38 +array_list_ArrayListAligned_28u8_2cnull_29_appendWrite__1431( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + nav__1431_42 const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + nav__1431_38 t4; + uintptr_t t5; + uint16_t t3; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (*t1); + t3 = array_list_ArrayListAligned_28u8_2cnull_29_appendSlice__1425(t2, a1); + if (t3) { + t4.payload = (uintptr_t)0xaaaaaaaaaaaaaaaaul; + t4.error = t3; + return t4; + } + t5 = a1.len; + t4.payload = t5; + t4.error = UINT16_C(0); + return t4; +} + +static uint16_t bincode_serializeInt__anon_5576__8675( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + int32_t const a1) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t5; + void const **t7; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; + void const *t9; + nav__8675_48 (**t10)(void const *, nav__8675_50); + struct io_Writer__4352 t11; + struct io_Writer__4352 t6; + struct io_Writer__4352 t12; + struct io_Writer__4352 t14; + struct io_Writer__4352 const *t13; + nav__8675_50 t17; + uint16_t t18; + uint16_t t19; + uint8_t t16[4]; + uint8_t t15[4]; + t0 = a0; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__8675_48(**)(void const *, nav__8675_50)) & t6.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t6; + t12 = t11; + t13 = (struct io_Writer__4352 const *)&t12; + t11 = (*t13); + t14 = t11; + t13 = (struct io_Writer__4352 const *)&t14; + memcpy(&t16, &a1, sizeof(uint8_t[4])); + memcpy((char *)&t15, t16, sizeof(uint8_t[4])); + t11 = (*t13); + t17.ptr = &t15[(uintptr_t)0ul]; + t17.len = (uintptr_t)4ul; + t18 = io_Writer_writeAll__8277(t11, t17); + memcpy(&t19, &t18, sizeof(uint16_t)); + if (t19) { + return t19; + } + return 0; +} + +static uint16_t bincode_serializePointer__anon_5581__8676( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + nav__8676_40 const a1) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t7; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t24; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t23; + uintptr_t t3; + uint64_t t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t8; + void const **t10; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t11; + void const *t12; + nav__8676_51 (**t13)(void const *, nav__8676_40); + struct io_Writer__4352 t14; + struct io_Writer__4352 t9; + struct io_Writer__4352 t15; + struct io_Writer__4352 t17; + struct io_Writer__4352 t25; + struct io_Writer__4352 t26; + struct io_Writer__4352 const *t16; + nav__8676_40 t20; + uint16_t t21; + uint16_t t22; + uint8_t t19[8]; + uint8_t t18[8]; + t0 = a0; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = (*t1); + t3 = a1.len; + t4 = t3; + t5 = t2; + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t5; + t7 = t6; + t8 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t7; + t10 = (void const **)&t9.context; + t6 = (*t8); + t11 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t6 + ->context; + t12 = (void const *)t11; + (*t10) = t12; + t13 = (nav__8676_51(**)(void const *, nav__8676_40)) & t9.writeFn; + (*t13) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t14 = t9; + t15 = t14; + t16 = (struct io_Writer__4352 const *)&t15; + t14 = (*t16); + t17 = t14; + t16 = (struct io_Writer__4352 const *)&t17; + memcpy(&t19, &t4, sizeof(uint8_t[8])); + memcpy((char *)&t18, t19, sizeof(uint8_t[8])); + t14 = (*t16); + t20.ptr = &t18[(uintptr_t)0ul]; + t20.len = (uintptr_t)8ul; + t21 = io_Writer_writeAll__8277(t14, t20); + memcpy(&t22, &t21, sizeof(uint16_t)); + if (t22) { + return t22; + } + t2 = (*t1); + t23 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t23; + t24 = t1; + t8 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t24; + t10 = (void const **)&t25.context; + t1 = (*t8); + t11 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t12 = (void const *)t11; + (*t10) = t12; + t13 = (nav__8676_51(**)(void const *, nav__8676_40)) & t25.writeFn; + (*t13) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t14 = t25; + t26 = t14; + t16 = (struct io_Writer__4352 const *)&t26; + t14 = (*t16); + t22 = io_Writer_writeAll__8277(t14, a1); + memcpy(&t21, &t22, sizeof(uint16_t)); + if (t21) { + return t21; + } + return 0; +} + +static uint16_t bincode_serializeUnion__anon_5582__8677( + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a0, + struct shared_MarkerType__2202 const a1) { + uint64_t t4; + uint32_t t1; + uint16_t t2; + uint8_t t0; + bool t3; + t0 = a1.tag; + t1 = (uint32_t)t0; + t2 = bincode_serialize__anon_3564__7915(a0, t1); + if (t2) { + return t2; + } + t0 = a1.tag; + t3 = t0 == UINT8_C(0); + if (t3) { + t4 = a1.payload.SampleStart; + t2 = bincode_serialize__anon_3574__7920(a0, t4); + if (t2) { + return t2; + } + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t0 = a1.tag; + t3 = t0 == UINT8_C(1); + if (t3) { + t4 = a1.payload.SampleEnd; + t2 = bincode_serialize__anon_3574__7920(a0, t4); + if (t2) { + return t2; + } + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + t0 = a1.tag; + t3 = t0 == UINT8_C(2); + if (t3) { + t4 = a1.payload.BenchmarkStart; + t2 = bincode_serialize__anon_3574__7920(a0, t4); + if (t2) { + return t2; + } + goto zig_block_2; + } + goto zig_block_2; + +zig_block_2:; + t0 = a1.tag; + t3 = t0 == UINT8_C(3); + if (t3) { + t4 = a1.payload.BenchmarkEnd; + t2 = bincode_serialize__anon_3574__7920(a0, t4); + if (t2) { + return t2; + } + goto zig_block_3; + } + goto zig_block_3; + +zig_block_3:; + return 0; +} + +static uint16_t fmt_format__anon_5586__8678(struct io_Writer__4352 const a0, + nav__8678_41 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + nav__8678_40 t5; + int32_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8678_40){(uint8_t const *)&__anon_5810, (uintptr_t)25ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_5859__8685( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8678_40){(uint8_t const *)&__anon_5873, (uintptr_t)7ul}); + if (t3) { + return t3; + } + t5 = a1.f1; + t3 = fmt_formatType__anon_5889__8686( + t5, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8678_40){(uint8_t const *)&__anon_5898, (uintptr_t)2ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_5590__8679(struct io_Writer__4352 const a0, + nav__8679_41 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + nav__8679_40 t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8679_40){(uint8_t const *)&__anon_5951, (uintptr_t)23ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_5889__8686( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8679_40){(uint8_t const *)&__anon_5976, (uintptr_t)11ul}); + if (t3) { + return t3; + } + t4 = a1.f1; + t3 = fmt_formatType__anon_5889__8686( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8679_40){(uint8_t const *)&__anon_5898, (uintptr_t)2ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_5594__8680(struct io_Writer__4352 const a0, + nav__8680_40 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + struct shared_MarkerType__2202 t5; + int32_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8680_45){(uint8_t const *)&__anon_6032, (uintptr_t)17ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_5859__8685( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8680_45){(uint8_t const *)&__anon_6054, (uintptr_t)10ul}); + if (t3) { + return t3; + } + t5 = a1.f1; + t3 = fmt_formatType__anon_6064__8687( + t5, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8680_45){(uint8_t const *)&__anon_5898, (uintptr_t)2ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_5598__8681(struct io_Writer__4352 const a0, + nav__8681_39 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint64_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8681_44){(uint8_t const *)&__anon_6124, (uintptr_t)31ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_6133__8688( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8681_44){(uint8_t const *)&__anon_5898, (uintptr_t)2ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_5602__8682(struct io_Writer__4352 const a0, + nav__8682_39 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + uint8_t t4; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8682_44){(uint8_t const *)&__anon_6179, (uintptr_t)24ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_6187__8689( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + return 0; +} + +static nav__8053_39 fmt_digits2__8053(uint8_t const a0) { + uint8_t *t1; + uint8_t t2; + nav__8053_39 t3; + uint8_t t0[2]; + t1 = (uint8_t *)&t0[(uintptr_t)0ul]; + t2 = a0 / UINT8_C(10); + t2 = UINT8_C(48) + t2; + (*t1) = t2; + t1 = (uint8_t *)&t0[(uintptr_t)1ul]; + t2 = a0 % UINT8_C(10); + t2 = UINT8_C(48) + t2; + (*t1) = t2; + memcpy(t3.array, t0, sizeof(uint8_t[2])); + return t3; +} + +static uint8_t fmt_digitToChar__8069(uint8_t const a0, uint8_t const a1) { + uint8_t t0; + uint8_t t1; + bool t2; + switch (a0) { + default: + if ((a0 >= UINT8_C(0) && a0 <= UINT8_C(9))) { + t1 = a0 + UINT8_C(48); + t0 = t1; + goto zig_block_0; + } + if ((a0 >= UINT8_C(10) && a0 <= UINT8_C(35))) { + t2 = a1 == UINT8_C(1); + if (t2) { + t1 = UINT8_C(65); + goto zig_block_1; + } + t1 = UINT8_C(97); + goto zig_block_1; + + zig_block_1:; + t1 = t1 - UINT8_C(10); + t1 = a0 + t1; + t0 = t1; + goto zig_block_0; + } + { + zig_unreachable(); + } + } + +zig_block_0:; + return t0; +} + +static nav__8304_38 unicode_utf8Decode__8304(nav__8304_40 const a0) { + nav__8304_40 const *t1; + uintptr_t t2; + nav__8304_40 t7; + nav__8304_40 t0; + uint8_t const *t8; + uint8_t const(*t9)[2]; + uint8_t const(*t13)[3]; + uint8_t const(*t16)[4]; + nav__8304_38 t3; + nav__8304_38 t6; + nav__8304_38 t12; + uint32_t t5; + uint8_t t4; + uint8_t t10[2]; + nav__8304_48 t11; + uint8_t t14[3]; + nav__8304_52 t15; + uint8_t t17[4]; + nav__8304_56 t18; + t0 = a0; + t1 = (nav__8304_40 const *)&t0; + t2 = a0.len; + switch (t2) { + case (uintptr_t)1ul: { + t4 = a0.ptr[(uintptr_t)0ul]; + t5 = (uint32_t)t4; + t6.payload = t5; + t6.error = UINT16_C(0); + t3 = t6; + goto zig_block_0; + } + case (uintptr_t)2ul: { + t7 = (*t1); + t8 = t7.ptr; + t8 = (uint8_t const *)(((uintptr_t)t8) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t9 = (uint8_t const(*)[2])t8; + memcpy(t10, (const char *)t9, sizeof(uint8_t[2])); + memcpy(t11.array, t10, sizeof(nav__8304_48)); + t6 = unicode_utf8Decode2__8306(t11); + memcpy(&t12, &t6, sizeof(nav__8304_38)); + t3 = t12; + goto zig_block_0; + } + case (uintptr_t)3ul: { + t7 = (*t1); + t8 = t7.ptr; + t8 = (uint8_t const *)(((uintptr_t)t8) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t13 = (uint8_t const(*)[3])t8; + memcpy(t14, (const char *)t13, sizeof(uint8_t[3])); + memcpy(t15.array, t14, sizeof(nav__8304_52)); + t12 = unicode_utf8Decode3__8308(t15); + memcpy(&t6, &t12, sizeof(nav__8304_38)); + t3 = t6; + goto zig_block_0; + } + case (uintptr_t)4ul: { + t7 = (*t1); + t8 = t7.ptr; + t8 = (uint8_t const *)(((uintptr_t)t8) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t16 = (uint8_t const(*)[4])t8; + memcpy(t17, (const char *)t16, sizeof(uint8_t[4])); + memcpy(t18.array, t17, sizeof(nav__8304_56)); + t12 = unicode_utf8Decode4__8312(t18); + memcpy(&t6, &t12, sizeof(nav__8304_38)); + t3 = t6; + goto zig_block_0; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + return t3; +} + +static nav__8297_38 unicode_utf8CodepointSequenceLength__8297( + uint32_t const a0) { + bool t0; + t0 = a0 < UINT32_C(128); + if (t0) { + return (nav__8297_38){0, UINT8_C(1)}; + } + goto zig_block_0; + +zig_block_0:; + t0 = a0 < UINT32_C(2048); + if (t0) { + return (nav__8297_38){0, UINT8_C(2)}; + } + goto zig_block_1; + +zig_block_1:; + t0 = a0 < UINT32_C(65536); + if (t0) { + return (nav__8297_38){0, UINT8_C(3)}; + } + goto zig_block_2; + +zig_block_2:; + t0 = a0 < UINT32_C(1114112); + if (t0) { + return (nav__8297_38){0, UINT8_C(4)}; + } + goto zig_block_3; + +zig_block_3:; + return (nav__8297_38){zig_error_CodepointTooLarge, UINT8_C(0x2)}; +} + +static nav__8690_38 unicode_utf8EncodeImpl__anon_6210__8690( + uint32_t const a0, nav__8690_40 const a1) { + nav__8690_40 const *t1; + uintptr_t t5; + uint64_t t6; + uint64_t t7; + nav__8690_40 t9; + nav__8690_40 t0; + uint8_t *t10; + uint32_t t12; + nav__8690_38 t2; + uint16_t t3; + uint8_t t4; + uint8_t t11; + bool t8; + t0 = a1; + t1 = (nav__8690_40 const *)&t0; + t2 = unicode_utf8CodepointSequenceLength__8297(a0); + if (t2.error) { + t3 = t2.error; + t2.payload = UINT8_C(0x2); + t2.error = t3; + return t2; + } + t4 = t2.payload; + t5 = a1.len; + t6 = t5; + t7 = (uint64_t)t4; + t8 = t6 >= t7; + debug_assert__180(t8); + switch (t4) { + case UINT8_C(1): { + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)0ul]; + t11 = (uint8_t)a0; + (*t10) = t11; + goto zig_block_0; + } + case UINT8_C(2): { + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)0ul]; + t12 = zig_shr_u32(a0, UINT8_C(6)); + t12 = UINT32_C(192) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)1ul]; + t12 = a0 & UINT32_C(63); + t12 = UINT32_C(128) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + goto zig_block_0; + } + case UINT8_C(3): { + t8 = unicode_isSurrogateCodepoint__8377(a0); + if (t8) { + return (nav__8690_38){zig_error_Utf8CannotEncodeSurrogateHalf, + UINT8_C(0x2)}; + } + goto zig_block_1; + + zig_block_1:; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)0ul]; + t12 = zig_shr_u32(a0, UINT8_C(12)); + t12 = UINT32_C(224) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)1ul]; + t12 = zig_shr_u32(a0, UINT8_C(6)); + t12 = t12 & UINT32_C(63); + t12 = UINT32_C(128) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)2ul]; + t12 = a0 & UINT32_C(63); + t12 = UINT32_C(128) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + goto zig_block_0; + } + case UINT8_C(4): { + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)0ul]; + t12 = zig_shr_u32(a0, UINT8_C(18)); + t12 = UINT32_C(240) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)1ul]; + t12 = zig_shr_u32(a0, UINT8_C(12)); + t12 = t12 & UINT32_C(63); + t12 = UINT32_C(128) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)2ul]; + t12 = zig_shr_u32(a0, UINT8_C(6)); + t12 = t12 & UINT32_C(63); + t12 = UINT32_C(128) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + t9 = (*t1); + t10 = &t9.ptr[(uintptr_t)3ul]; + t12 = a0 & UINT32_C(63); + t12 = UINT32_C(128) | t12; + t11 = (uint8_t)t12; + (*t10) = t11; + goto zig_block_0; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t2.payload = t4; + t2.error = UINT16_C(0); + return t2; +} + +static nav__8299_38 unicode_utf8Encode__8299(uint32_t const a0, + nav__8299_40 const a1) { + nav__8299_38 t0; + nav__8299_38 t1; + t0 = unicode_utf8EncodeImpl__anon_6210__8690(a0, a1); + memcpy(&t1, &t0, sizeof(nav__8299_38)); + return t1; +} + +static uint16_t io_Writer_writeBytesNTimes__8281( + struct io_Writer__4352 const a0, nav__8281_40 const a1, + uintptr_t const a2) { + struct io_Writer__4352 const *t1; + uintptr_t t3; + uintptr_t t2; + uint64_t t4; + uint64_t t5; + struct io_Writer__4352 t7; + struct io_Writer__4352 t0; + uint16_t t8; + bool t6; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (uintptr_t)0ul; +zig_loop_9: + t3 = t2; + t4 = t3; + t5 = a2; + t6 = t4 < t5; + if (t6) { + t7 = (*t1); + t8 = io_Writer_writeAll__8277(t7, a1); + if (t8) { + return t8; + } + t3 = t2; + t3 = t3 + (uintptr_t)1ul; + t2 = t3; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_9; + +zig_block_0:; + return 0; +} + +static uint16_t array_list_ArrayListAligned_28u8_2cnull_29_appendSlice__1425( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + nav__1425_41 const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + uintptr_t t3; + uint16_t t4; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (*t1); + t3 = a1.len; + t4 = array_list_ArrayListAligned_28u8_2cnull_29_ensureUnusedCapacity__1444( + t2, t3); + if (t4) { + return t4; + } + t2 = (*t1); + array_list_ArrayListAligned_28u8_2cnull_29_appendSliceAssumeCapacity__1426( + t2, a1); + return 0; +} + +static uint16_t fmt_formatType__anon_5859__8685( + int32_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + struct io_Writer__4352 t1; + int32_t t0; + uint16_t t2; + uint16_t t3; + (void)a3; + t0 = a0; + t1 = a2; + t2 = fmt_formatValue__anon_6235__8691(a0, a1, a2); + memcpy(&t3, &t2, sizeof(uint16_t)); + return t3; +} + +static uint16_t fmt_formatType__anon_5889__8686( + nav__8686_39 const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + struct io_Writer__4352 const *t2; + uint64_t t3; + struct io_Writer__4352 t5; + struct io_Writer__4352 t1; + nav__8686_39 t0; + uint16_t t6; + uint16_t t7; + bool t4; + t0 = a0; + t1 = a2; + t2 = (struct io_Writer__4352 const *)&t1; + t3 = a3; + t4 = t3 == UINT64_C(0); + if (t4) { + t5 = (*t2); + t6 = io_Writer_writeAll__8277( + t5, (nav__8686_39){(uint8_t const *)&__anon_5558, (uintptr_t)7ul}); + return t6; + } + goto zig_block_0; + +zig_block_0:; + t6 = fmt_formatBuf__anon_5568__8674(a0, a1, a2); + memcpy(&t7, &t6, sizeof(uint16_t)); + return t7; +} + +static uint16_t shared_MarkerType_format__anon_6254__8692( + struct shared_MarkerType__2202 const a0, + struct fmt_FormatOptions__4759 const a1, struct io_Writer__4352 const a2) { + struct io_Writer__4352 const *t1; + uint64_t t3; + struct io_Writer__4352 t4; + struct io_Writer__4352 t0; + nav__8692_56 t5; + uint16_t t6; + uint8_t t2; + (void)a1; + t0 = a2; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = a0.tag; + switch (t2) { + case UINT8_C(0): { + t3 = a0.payload.SampleStart; + t4 = (*t1); + t5.f0 = t3; + t6 = io_Writer_print__anon_6268__8693(t4, t5); + if (t6) { + return t6; + } + goto zig_block_0; + } + case UINT8_C(1): { + t3 = a0.payload.SampleEnd; + t4 = (*t1); + t5.f0 = t3; + t6 = io_Writer_print__anon_6273__8694(t4, t5); + if (t6) { + return t6; + } + goto zig_block_0; + } + case UINT8_C(2): { + t3 = a0.payload.BenchmarkStart; + t4 = (*t1); + t5.f0 = t3; + t6 = io_Writer_print__anon_6280__8695(t4, t5); + if (t6) { + return t6; + } + goto zig_block_0; + } + case UINT8_C(3): { + t3 = a0.payload.BenchmarkEnd; + t4 = (*t1); + t5.f0 = t3; + t6 = io_Writer_print__anon_6286__8696(t4, t5); + if (t6) { + return t6; + } + goto zig_block_0; + } + default: + zig_unreachable(); + } + +zig_block_0:; + return 0; +} + +static uint16_t fmt_formatType__anon_6064__8687( + struct shared_MarkerType__2202 const a0, + struct fmt_FormatOptions__4759 const a1, struct io_Writer__4352 const a2, + uintptr_t const a3) { + struct shared_MarkerType__2202 const *t1; + struct shared_MarkerType__2202 t3; + struct shared_MarkerType__2202 t0; + struct io_Writer__4352 t2; + uint16_t t4; + (void)a3; + t0 = a0; + t1 = (struct shared_MarkerType__2202 const *)&t0; + t2 = a2; + t3 = (*t1); + t4 = shared_MarkerType_format__anon_6254__8692(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t fmt_formatType__anon_6133__8688( + uint64_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + uint64_t t0; + struct io_Writer__4352 t1; + uint16_t t2; + uint16_t t3; + (void)a3; + t0 = a0; + t1 = a2; + t2 = fmt_formatValue__anon_6288__8697(a0, a1, a2); + memcpy(&t3, &t2, sizeof(uint16_t)); + return t3; +} + +static uint16_t fmt_formatType__anon_6187__8689( + uint8_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + struct io_Writer__4352 const *t2; + struct io_Writer__4352 t3; + struct io_Writer__4352 t1; + nav__8689_47 t5; + nav__8689_47 t6; + uint16_t t4; + uint8_t t0; + (void)a1; + (void)a3; + t0 = a0; + t1 = a2; + t2 = (struct io_Writer__4352 const *)&t1; + t3 = (*t2); + t4 = io_Writer_writeAll__8277( + t3, (nav__8689_47){(uint8_t const *)&__anon_6295, (uintptr_t)22ul}); + if (t4) { + return t4; + } + t3 = (*t2); + t4 = io_Writer_writeAll__8277( + t3, (nav__8689_47){(uint8_t const *)&__anon_6300, (uintptr_t)1ul}); + if (t4) { + return t4; + } + t3 = (*t2); + t5 = zig_tag_name_shared_IntegrationMode__573(a0); + memcpy(&t6, &t5, sizeof(nav__8689_47)); + t4 = io_Writer_writeAll__8277(t3, t6); + if (t4) { + return t4; + } + return 0; +} + +static nav__8306_38 unicode_utf8Decode2__8306(nav__8306_40 const a0) { + uint32_t t3; + uint32_t t4; + uint32_t t2; + nav__8306_38 t5; + uint8_t t0; + bool t1; + t0 = a0.array[(uintptr_t)0ul]; + t0 = t0 & UINT8_C(224); + t1 = t0 == UINT8_C(192); + debug_assert__180(t1); + t0 = a0.array[(uintptr_t)0ul]; + t0 = t0 & UINT8_C(31); + t3 = (uint32_t)t0; + t2 = t3; + t0 = a0.array[(uintptr_t)1ul]; + t0 = t0 & UINT8_C(192); + t1 = t0 != UINT8_C(128); + if (t1) { + return (nav__8306_38){UINT32_C(0xaaaaa), + zig_error_Utf8ExpectedContinuation}; + } + goto zig_block_0; + +zig_block_0:; + t3 = t2; + t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); + t2 = t3; + t3 = t2; + t0 = a0.array[(uintptr_t)1ul]; + t0 = t0 & UINT8_C(63); + t4 = (uint32_t)t0; + t4 = t3 | t4; + t2 = t4; + t4 = t2; + t1 = t4 < UINT32_C(128); + if (t1) { + return (nav__8306_38){UINT32_C(0xaaaaa), zig_error_Utf8OverlongEncoding}; + } + goto zig_block_1; + +zig_block_1:; + t4 = t2; + t5.payload = t4; + t5.error = UINT16_C(0); + return t5; +} + +static nav__8308_38 unicode_utf8Decode3__8308(nav__8308_40 const a0) { + nav__8308_38 t1; + uint32_t t3; + uint16_t t2; + nav__8308_40 t0; + bool t4; + bool t5; + memcpy(t0.array, a0.array, sizeof(nav__8308_40)); + t1 = unicode_utf8Decode3AllowSurrogateHalf__8310(t0); + if (t1.error) { + t2 = t1.error; + t1.payload = UINT32_C(0xaaaaa); + t1.error = t2; + return t1; + } + t3 = t1.payload; + t4 = UINT32_C(55296) <= t3; + if (t4) { + t4 = t3 <= UINT32_C(57343); + t5 = t4; + goto zig_block_1; + } + t5 = false; + goto zig_block_1; + +zig_block_1:; + if (t5) { + return (nav__8308_38){UINT32_C(0xaaaaa), + zig_error_Utf8EncodesSurrogateHalf}; + } + goto zig_block_0; + +zig_block_0:; + t1.payload = t3; + t1.error = UINT16_C(0); + return t1; +} + +static nav__8312_38 unicode_utf8Decode4__8312(nav__8312_40 const a0) { + uint32_t t3; + uint32_t t4; + uint32_t t2; + nav__8312_38 t5; + uint8_t t0; + bool t1; + t0 = a0.array[(uintptr_t)0ul]; + t0 = t0 & UINT8_C(248); + t1 = t0 == UINT8_C(240); + debug_assert__180(t1); + t0 = a0.array[(uintptr_t)0ul]; + t0 = t0 & UINT8_C(7); + t3 = (uint32_t)t0; + t2 = t3; + t0 = a0.array[(uintptr_t)1ul]; + t0 = t0 & UINT8_C(192); + t1 = t0 != UINT8_C(128); + if (t1) { + return (nav__8312_38){UINT32_C(0xaaaaa), + zig_error_Utf8ExpectedContinuation}; + } + goto zig_block_0; + +zig_block_0:; + t3 = t2; + t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); + t2 = t3; + t3 = t2; + t0 = a0.array[(uintptr_t)1ul]; + t0 = t0 & UINT8_C(63); + t4 = (uint32_t)t0; + t4 = t3 | t4; + t2 = t4; + t0 = a0.array[(uintptr_t)2ul]; + t0 = t0 & UINT8_C(192); + t1 = t0 != UINT8_C(128); + if (t1) { + return (nav__8312_38){UINT32_C(0xaaaaa), + zig_error_Utf8ExpectedContinuation}; + } + goto zig_block_1; + +zig_block_1:; + t4 = t2; + t4 = zig_shlw_u32(t4, UINT8_C(6), UINT8_C(21)); + t2 = t4; + t4 = t2; + t0 = a0.array[(uintptr_t)2ul]; + t0 = t0 & UINT8_C(63); + t3 = (uint32_t)t0; + t3 = t4 | t3; + t2 = t3; + t0 = a0.array[(uintptr_t)3ul]; + t0 = t0 & UINT8_C(192); + t1 = t0 != UINT8_C(128); + if (t1) { + return (nav__8312_38){UINT32_C(0xaaaaa), + zig_error_Utf8ExpectedContinuation}; + } + goto zig_block_2; + +zig_block_2:; + t3 = t2; + t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); + t2 = t3; + t3 = t2; + t0 = a0.array[(uintptr_t)3ul]; + t0 = t0 & UINT8_C(63); + t4 = (uint32_t)t0; + t4 = t3 | t4; + t2 = t4; + t4 = t2; + t1 = t4 < UINT32_C(65536); + if (t1) { + return (nav__8312_38){UINT32_C(0xaaaaa), zig_error_Utf8OverlongEncoding}; + } + goto zig_block_3; + +zig_block_3:; + t4 = t2; + t1 = t4 > UINT32_C(1114111); + if (t1) { + return (nav__8312_38){UINT32_C(0xaaaaa), zig_error_Utf8CodepointTooLarge}; + } + goto zig_block_4; + +zig_block_4:; + t4 = t2; + t5.payload = t4; + t5.error = UINT16_C(0); + return t5; +} + +static bool unicode_isSurrogateCodepoint__8377(uint32_t const a0) { + bool t0; + switch (a0) { + default: + if ((a0 >= UINT32_C(55296) && a0 <= UINT32_C(57343))) { + t0 = true; + goto zig_block_0; + } + { + t0 = false; + goto zig_block_0; + } + } + +zig_block_0:; + return t0; +} + +static uint16_t +array_list_ArrayListAligned_28u8_2cnull_29_ensureUnusedCapacity__1444( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + uintptr_t const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + nav__1444_43 *t3; + nav__1444_43 t4; + uintptr_t t5; + nav__1444_52 t6; + uint16_t t7; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (*t1); + t3 = (nav__1444_43 *)&a0->items; + t4 = (*t3); + t5 = t4.len; + t6 = array_list_addOrOom__1369(t5, a1); + if (t6.error) { + t7 = t6.error; + return t7; + } + t5 = t6.payload; + t7 = array_list_ArrayListAligned_28u8_2cnull_29_ensureTotalCapacity__1442(t2, + t5); + return t7; +} + +static void +array_list_ArrayListAligned_28u8_2cnull_29_appendSliceAssumeCapacity__1426( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0, + nav__1426_41 const a1) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + nav__1426_47 *t2; + nav__1426_47 t3; + uintptr_t t4; + uintptr_t t5; + uintptr_t t7; + uintptr_t *t6; + uint64_t t8; + uint64_t t9; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t11; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + uint8_t *t12; + uint8_t const *t13; + bool t10; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (nav__1426_47 *)&a0->items; + t3 = (*t2); + t4 = t3.len; + t5 = a1.len; + t5 = t4 + t5; + t6 = (uintptr_t *)&a0->capacity; + t7 = (*t6); + t8 = t5; + t9 = t7; + t10 = t8 <= t9; + debug_assert__180(t10); + t11 = (*t1); + t2 = (nav__1426_47 *)&t11->items; + t6 = &t2->len; + (*t6) = t5; + t11 = (*t1); + t2 = (nav__1426_47 *)&t11->items; + t5 = a1.len; + t3 = (*t2); + t12 = t3.ptr; + t12 = (uint8_t *)(((uintptr_t)t12) + (t4 * sizeof(uint8_t))); + t3.ptr = t12; + t3.len = t5; + t13 = a1.ptr; + if (t3.len != 0) memcpy(t3.ptr, t13, t3.len * sizeof(uint8_t)); + return; +} + +static uint16_t fmt_formatInt__anon_6342__8699( + int32_t const a0, uint8_t const a1, uint8_t const a2, + struct fmt_FormatOptions__4759 const a3, struct io_Writer__4352 const a4) { + uintptr_t t5; + uintptr_t t4; + uint8_t *t6; + uint8_t (*t7)[2]; + nav__8699_41 t12; + uint64_t t14; + nav__8699_58 t15; + nav__8699_47 t16; + uint32_t t1; + uint32_t t11; + uint32_t t3; + uint16_t t17; + uint16_t t18; + bool t0; + bool t13; + uint8_t t8; + nav__8699_56 t9; + uint8_t t10[2]; + uint8_t t2[33]; + t0 = a1 >= UINT8_C(2); + debug_assert__180(t0); + t1 = zig_abs_i32(a0); + t3 = t1; + t4 = (uintptr_t)33ul; + t0 = a1 == UINT8_C(10); + if (t0) { + zig_loop_20: + t1 = t3; + t0 = t1 >= UINT32_C(100); + if (t0) { + t5 = t4; + t5 = t5 - (uintptr_t)2ul; + t4 = t5; + t5 = t4; + t6 = (uint8_t *)&t2; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t1 = t3; + t1 = t1 % UINT32_C(100); + t8 = (uint8_t)t1; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + t1 = t3; + t1 = t1 / UINT32_C(100); + t3 = t1; + goto zig_block_2; + } + goto zig_block_1; + + zig_block_2:; + goto zig_loop_20; + + zig_block_1:; + t1 = t3; + t0 = t1 < UINT32_C(10); + if (t0) { + t5 = t4; + t5 = t5 - (uintptr_t)1ul; + t4 = t5; + t5 = t4; + t6 = (uint8_t *)&t2[t5]; + t1 = t3; + t8 = (uint8_t)t1; + t8 = UINT8_C(48) + t8; + (*t6) = t8; + goto zig_block_3; + } + t5 = t4; + t5 = t5 - (uintptr_t)2ul; + t4 = t5; + t5 = t4; + t6 = (uint8_t *)&t2; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t1 = t3; + t8 = (uint8_t)t1; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + goto zig_block_3; + + zig_block_3:; + goto zig_block_0; + } +zig_loop_75: + t1 = t3; + t11 = (uint32_t)a1; + t11 = t1 % t11; + t5 = t4; + t5 = t5 - (uintptr_t)1ul; + t4 = t5; + t5 = t4; + t6 = (uint8_t *)&t2[t5]; + t8 = (uint8_t)t11; + t8 = fmt_digitToChar__8069(t8, a2); + (*t6) = t8; + t11 = t3; + t1 = (uint32_t)a1; + t1 = t11 / t1; + t3 = t1; + t1 = t3; + t0 = t1 == UINT32_C(0); + if (t0) { + goto zig_block_4; + } + goto zig_block_5; + +zig_block_5:; + goto zig_loop_75; + +zig_block_4:; + goto zig_block_0; + +zig_block_0:; + t0 = a0 < INT32_C(0); + if (t0) { + t5 = t4; + t5 = t5 - (uintptr_t)1ul; + t4 = t5; + t5 = t4; + t6 = (uint8_t *)&t2[t5]; + (*t6) = UINT8_C(45); + goto zig_block_6; + } + t12 = a3.width; + t0 = t12.is_null == true; + if (t0) { + t13 = true; + goto zig_block_8; + } + t12 = a3.width; + t5 = t12.payload; + t14 = t5; + t0 = t14 == UINT64_C(0); + t13 = t0; + goto zig_block_8; + +zig_block_8:; + if (t13) { + goto zig_block_7; + } + t5 = t4; + t5 = t5 - (uintptr_t)1ul; + t4 = t5; + t5 = t4; + t6 = (uint8_t *)&t2[t5]; + (*t6) = UINT8_C(43); + goto zig_block_7; + +zig_block_7:; + goto zig_block_6; + +zig_block_6:; + t5 = t4; + t6 = (uint8_t *)&t2; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t5 = (uintptr_t)33ul - t5; + t15.ptr = t6; + t15.len = t5; + memcpy(&t16, &t15, sizeof(nav__8699_47)); + t17 = fmt_formatBuf__anon_5568__8674(t16, a3, a4); + memcpy(&t18, &t17, sizeof(uint16_t)); + return t18; +} + +static uint16_t fmt_formatIntValue__anon_6331__8698( + int32_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatInt__anon_6342__8699(a0, UINT8_C(10), UINT8_C(0), a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t fmt_formatValue__anon_6235__8691( + int32_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatIntValue__anon_6331__8698(a0, a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_6268__8693( + struct io_Writer__4352 const a0, nav__8693_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_6354__8700(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_6273__8694( + struct io_Writer__4352 const a0, nav__8694_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_6358__8701(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_6280__8695( + struct io_Writer__4352 const a0, nav__8695_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_6362__8702(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t io_Writer_print__anon_6286__8696( + struct io_Writer__4352 const a0, nav__8696_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_6366__8703(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t fmt_formatIntValue__anon_6370__8704( + uint64_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatInt__anon_5629__8684(a0, UINT8_C(10), UINT8_C(0), a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t fmt_formatValue__anon_6288__8697( + uint64_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatIntValue__anon_6370__8704(a0, a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static nav__8310_38 unicode_utf8Decode3AllowSurrogateHalf__8310( + nav__8310_40 const a0) { + uint32_t t3; + uint32_t t4; + uint32_t t2; + nav__8310_38 t5; + uint8_t t0; + bool t1; + t0 = a0.array[(uintptr_t)0ul]; + t0 = t0 & UINT8_C(240); + t1 = t0 == UINT8_C(224); + debug_assert__180(t1); + t0 = a0.array[(uintptr_t)0ul]; + t0 = t0 & UINT8_C(15); + t3 = (uint32_t)t0; + t2 = t3; + t0 = a0.array[(uintptr_t)1ul]; + t0 = t0 & UINT8_C(192); + t1 = t0 != UINT8_C(128); + if (t1) { + return (nav__8310_38){UINT32_C(0xaaaaa), + zig_error_Utf8ExpectedContinuation}; + } + goto zig_block_0; + +zig_block_0:; + t3 = t2; + t3 = zig_shlw_u32(t3, UINT8_C(6), UINT8_C(21)); + t2 = t3; + t3 = t2; + t0 = a0.array[(uintptr_t)1ul]; + t0 = t0 & UINT8_C(63); + t4 = (uint32_t)t0; + t4 = t3 | t4; + t2 = t4; + t0 = a0.array[(uintptr_t)2ul]; + t0 = t0 & UINT8_C(192); + t1 = t0 != UINT8_C(128); + if (t1) { + return (nav__8310_38){UINT32_C(0xaaaaa), + zig_error_Utf8ExpectedContinuation}; + } + goto zig_block_1; + +zig_block_1:; + t4 = t2; + t4 = zig_shlw_u32(t4, UINT8_C(6), UINT8_C(21)); + t2 = t4; + t4 = t2; + t0 = a0.array[(uintptr_t)2ul]; + t0 = t0 & UINT8_C(63); + t3 = (uint32_t)t0; + t3 = t4 | t3; + t2 = t3; + t3 = t2; + t1 = t3 < UINT32_C(2048); + if (t1) { + return (nav__8310_38){UINT32_C(0xaaaaa), zig_error_Utf8OverlongEncoding}; + } + goto zig_block_2; + +zig_block_2:; + t3 = t2; + t5.payload = t3; + t5.error = UINT16_C(0); + return t5; +} + +static nav__1369_38 array_list_addOrOom__1369(uintptr_t const a0, + uintptr_t const a1) { + nav__1369_42 t2; + uintptr_t t3; + uintptr_t t0; + uintptr_t const *t5; + uint8_t const *t6; + nav__1369_38 t8; + uint8_t t4; + uint8_t t1; + bool t7; + t2.f1 = zig_addo_u64(&t2.f0, a0, a1, UINT8_C(64)); + t3 = t2.f0; + t0 = t3; + t4 = t2.f1; + t1 = t4; + t5 = (uintptr_t const *)&t0; + t6 = (uint8_t const *)&t1; + t4 = (*t6); + t7 = t4 != UINT8_C(0); + if (t7) { + return (nav__1369_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, + zig_error_OutOfMemory}; + } + goto zig_block_0; + +zig_block_0:; + t3 = (*t5); + t8.payload = t3; + t8.error = UINT16_C(0); + return t8; +} + +static uint16_t fmt_format__anon_6354__8700(struct io_Writer__4352 const a0, + nav__8700_39 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint64_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8700_44){(uint8_t const *)&__anon_6393, (uintptr_t)12ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_6133__8688( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8700_44){(uint8_t const *)&__anon_6403, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_6358__8701(struct io_Writer__4352 const a0, + nav__8701_39 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint64_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8701_44){(uint8_t const *)&__anon_6422, (uintptr_t)10ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_6133__8688( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8701_44){(uint8_t const *)&__anon_6403, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_6362__8702(struct io_Writer__4352 const a0, + nav__8702_39 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint64_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8702_44){(uint8_t const *)&__anon_6454, (uintptr_t)15ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_6133__8688( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8702_44){(uint8_t const *)&__anon_6403, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint16_t fmt_format__anon_6366__8703(struct io_Writer__4352 const a0, + nav__8703_39 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint64_t t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8703_44){(uint8_t const *)&__anon_6482, (uintptr_t)13ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_6133__8688( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8703_44){(uint8_t const *)&__anon_6403, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +void c_instrument_hooks_deinit__239(struct InstrumentHooks *const a0) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t4; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + bool t0; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t4 = (*t3); + instrument_hooks_InstrumentHooks_deinit__728(t4); + mem_Allocator_destroy__anon_6504__8705( + (struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}, + t1); + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return; +} + +static void instrument_hooks_InstrumentHooks_deinit__728( + struct InstrumentHooks *const a0) { + struct InstrumentHooks *const *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *t0; + struct instruments_root_Instrument__554 *t3; + struct instruments_root_Instrument__554 *t4; + struct instruments_root_Instrument__554 *const *t5; + struct instruments_root_Instrument__554 t6; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t8; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t9; + struct environment_root_Environment__559 *t10; + uint8_t t7; + t0 = a0; + t1 = (struct InstrumentHooks *const *)&t0; + t2 = (*t1); + t3 = (struct instruments_root_Instrument__554 *)&t2->instrument; + t4 = t3; + t5 = (struct instruments_root_Instrument__554 *const *)&t4; + t6 = (*t3); + t7 = t6.tag; + switch (t7) { + case UINT8_C(0): { + goto zig_block_0; + } + case UINT8_C(1): { + t3 = (*t5); + t8 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *)&t3->payload.perf; + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_deinit__804( + t8); + goto zig_block_0; + } + case UINT8_C(2): { + t3 = (*t5); + t9 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *)&t3->payload.analysis; + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_deinit__817( + t9); + goto zig_block_0; + } + case UINT8_C(3): { + goto zig_block_0; + } + default: + zig_unreachable(); + } + +zig_block_0:; + t2 = (*t1); + t10 = (struct environment_root_Environment__559 *)&t2->environment; + environment_root_Environment_deinit__770(t10); + return; +} + +static void mem_Allocator_destroy__anon_6504__8705( + struct mem_Allocator__599 const a0, struct InstrumentHooks *const a1) { + struct mem_Allocator__599 const *t1; + uint8_t *t2; + uint8_t *t3; + uint8_t *const *t4; + struct mem_Allocator__599 t5; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t10; + uint8_t (*t6)[288]; + nav__8705_52 t7; + uintptr_t t9; + struct mem_Allocator_VTable__602 const *const *t11; + struct mem_Allocator_VTable__602 const *t12; + void (*const *t13)(void *, nav__8705_52, uint8_t, uintptr_t); + void (*t14)(void *, nav__8705_52, uint8_t, uintptr_t); + void *t15; + uint8_t t8; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (uint8_t *)a1; + t3 = t2; + t4 = (uint8_t *const *)&t3; + t5 = (*t1); + t2 = (*t4); + t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)0ul * sizeof(uint8_t))); + t6 = (uint8_t (*)[288])t2; + t7.ptr = &(*t6)[(uintptr_t)0ul]; + t7.len = (uintptr_t)288ul; + t8 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t9 = (uintptr_t)zig_return_address(); + t10 = t5; + t1 = (struct mem_Allocator__599 const *)&t10; + t11 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t12 = (*t11); + t13 = (void (*const *)(void *, nav__8705_52, uint8_t, uintptr_t))&t12->free; + t14 = (*t13); + t15 = t5.ptr; + t14(t15, t7, t8, t9); + return; +} + +static void +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_deinit__804( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + a0) { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + runner_fifo_RunnerFifo_deinit__1127(t3); + return; +} + +static void +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_deinit__817( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + a0) { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + runner_fifo_RunnerFifo_deinit__1127(t3); + return; +} + +static void environment_root_Environment_deinit__770( + struct environment_root_Environment__559 *const a0) { + struct environment_root_Environment__559 *const *t1; + struct environment_root_Environment__559 *t3; + struct environment_root_Environment__559 *t0; + struct environment_root_EnvironmentJson__839 *t4; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *t5; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t6; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + t2; + nav__770_87 t9; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 + t11; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 + t12; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 const + *t13; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t15; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t16; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t17; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t18; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + t19; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + t14; + nav__770_104 t20; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6569 + t21; + struct mem_Allocator__599 *t22; + struct mem_Allocator__599 t23; + nav__770_44 *t24; + nav__770_44 t25; + struct environment_root_EnvironmentValue__850 *t26; + struct environment_root_EnvironmentValue__850 t27; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *t29; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t30; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t32; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t28; + nav__770_122 t33; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601 + t34; + struct environment_linked_libraries_root_LinkedLibraries__843 *t35; + bool t10; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t5 = + (struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *)&t4->integration_environment; + t6 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *)&t5->map; + t7 = (*t6); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3787( + t7); + t2 = t8; +zig_loop_14: + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8706( + &t2); + t10 = t9.is_null != true; + if (t10) { + t11 = t9.payload; + t12 = t11; + t13 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 const + *)&t12; + t15 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *)&t13->value_ptr; + t16 = (*t15); + t17 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *)&t16->map; + t18 = (*t17); + t19 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3998( + t18); + t14 = t19; + zig_loop_32: + t20 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8708( + &t14); + t10 = t20.is_null != true; + if (t10) { + t21 = t20.payload; + t3 = (*t1); + t22 = (struct mem_Allocator__599 *)&t3->allocator; + t23 = (*t22); + t24 = t21.key_ptr; + t25 = (*t24); + mem_Allocator_free__anon_3438__7838(t23, t25); + t3 = (*t1); + t26 = t21.value_ptr; + t27 = (*t26); + environment_root_Environment_freeEnvironmentValue__773(t3, t27); + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_32; + + zig_block_2:; + t15 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *)&t13->value_ptr; + t16 = (*t15); + t17 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *)&t16->map; + t22 = (struct mem_Allocator__599 *)&a0->allocator; + t23 = (*t22); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3990( + t17, t23); + t3 = (*t1); + t22 = (struct mem_Allocator__599 *)&t3->allocator; + t23 = (*t22); + t24 = t11.key_ptr; + t25 = (*t24); + mem_Allocator_free__anon_3438__7838(t23, t25); + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_14; + +zig_block_0:; + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t5 = + (struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *)&t4->integration_environment; + t6 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *)&t5->map; + t22 = (struct mem_Allocator__599 *)&a0->allocator; + t23 = (*t22); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3779( + t6, t23); + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t29 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *)&t4->linked_libraries; + t30 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *)&t29->map; + t31 = (*t30); + t32 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4177( + t31); + t28 = t32; +zig_loop_91: + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8710( + &t28); + t10 = t33.is_null != true; + if (t10) { + t34 = t33.payload; + t3 = (*t1); + t22 = (struct mem_Allocator__599 *)&t3->allocator; + t23 = (*t22); + t24 = t34.key_ptr; + t25 = (*t24); + mem_Allocator_free__anon_3438__7838(t23, t25); + goto zig_block_5; + } + goto zig_block_4; + +zig_block_5:; + goto zig_loop_91; + +zig_block_4:; + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t29 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *)&t4->linked_libraries; + t30 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *)&t29->map; + t22 = (struct mem_Allocator__599 *)&a0->allocator; + t23 = (*t22); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4169( + t30, t23); + t3 = (*t1); + t35 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&t3 + ->libs; + environment_linked_libraries_root_LinkedLibraries_deinit__3631(t35); + return; +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3787( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *t2; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t6; + nav__3787_42 **t8; + nav__3787_62 t10; + nav__3787_42 *t11; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *t12; + nav__3787_65 t13; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t14; + uint32_t *t15; + uintptr_t t16; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + t7; + uint32_t t17; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *)&t1->entries; + t3 = (*t2); + t4 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t3); + t5 = t4; + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t5; + t8 = (nav__3787_42 **)&t7.keys; + t9 = (*t6); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t9); + t11 = t10.ptr; + (*t8) = t11; + t12 = (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *)&t7.values; + t9 = (*t6); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t9); + t14 = t13.ptr; + (*t12) = t14; + t15 = (uint32_t *)&t7.len; + t16 = t4.len; + t17 = (uint32_t)t16; + (*t15) = t17; + t15 = (uint32_t *)&t7.index; + (*t15) = UINT32_C(0); + return t7; +} + +static nav__8706_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8706( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 *const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 *const + *t1; + uint32_t *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + *t6; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + *t0; + nav__8706_44 **t7; + uintptr_t t8; + nav__8706_44 *t9; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *t10; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t11; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 + t12; + nav__8706_39 t13; + uint32_t t3; + uint32_t t4; + bool t5; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 *const + *)&t0; + t2 = (uint32_t *)&a0->index; + t3 = (*t2); + t2 = (uint32_t *)&a0->len; + t4 = (*t2); + t5 = t3 >= t4; + if (t5) { + return (nav__8706_39){ + {((nav__8706_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + true}; + } + goto zig_block_0; + +zig_block_0:; + t6 = (*t1); + t7 = (nav__8706_44 **)&t6->keys; + t2 = (uint32_t *)&a0->index; + t4 = (*t2); + t8 = (uintptr_t)t4; + t9 = (*t7); + t9 = (nav__8706_44 *)&t9[t8]; + t6 = (*t1); + t10 = (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *)&t6->values; + t2 = (uint32_t *)&a0->index; + t4 = (*t2); + t8 = (uintptr_t)t4; + t11 = (*t10); + t11 = (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t11[t8]; + t12.key_ptr = t9; + t12.value_ptr = t11; + t6 = (*t1); + t2 = (uint32_t *)&t6->index; + t4 = (*t2); + t4 = t4 + UINT32_C(1); + (*t2) = t4; + t13.is_null = false; + t13.payload = t12; + return t13; +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3998( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *t2; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t6; + nav__3998_42 **t8; + nav__3998_62 t10; + nav__3998_42 *t11; + struct environment_root_EnvironmentValue__850 **t12; + nav__3998_65 t13; + struct environment_root_EnvironmentValue__850 *t14; + uint32_t *t15; + uintptr_t t16; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + t7; + uint32_t t17; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *)&t1->entries; + t3 = (*t2); + t4 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t3); + t5 = t4; + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t5; + t8 = (nav__3998_42 **)&t7.keys; + t9 = (*t6); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t9); + t11 = t10.ptr; + (*t8) = t11; + t12 = (struct environment_root_EnvironmentValue__850 **)&t7.values; + t9 = (*t6); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t9); + t14 = t13.ptr; + (*t12) = t14; + t15 = (uint32_t *)&t7.len; + t16 = t4.len; + t17 = (uint32_t)t16; + (*t15) = t17; + t15 = (uint32_t *)&t7.index; + (*t15) = UINT32_C(0); + return t7; +} + +static nav__8708_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8708( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 *const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 *const + *t1; + uint32_t *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + *t6; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + *t0; + nav__8708_44 **t7; + uintptr_t t8; + nav__8708_44 *t9; + struct environment_root_EnvironmentValue__850 **t10; + struct environment_root_EnvironmentValue__850 *t11; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6569 + t12; + nav__8708_39 t13; + uint32_t t3; + uint32_t t4; + bool t5; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 *const + *)&t0; + t2 = (uint32_t *)&a0->index; + t3 = (*t2); + t2 = (uint32_t *)&a0->len; + t4 = (*t2); + t5 = t3 >= t4; + if (t5) { + return (nav__8708_39){{((nav__8708_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct environment_root_EnvironmentValue__850 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + true}; + } + goto zig_block_0; + +zig_block_0:; + t6 = (*t1); + t7 = (nav__8708_44 **)&t6->keys; + t2 = (uint32_t *)&a0->index; + t4 = (*t2); + t8 = (uintptr_t)t4; + t9 = (*t7); + t9 = (nav__8708_44 *)&t9[t8]; + t6 = (*t1); + t10 = (struct environment_root_EnvironmentValue__850 **)&t6->values; + t2 = (uint32_t *)&a0->index; + t4 = (*t2); + t8 = (uintptr_t)t4; + t11 = (*t10); + t11 = (struct environment_root_EnvironmentValue__850 *)&t11[t8]; + t12.key_ptr = t9; + t12.value_ptr = t11; + t6 = (*t1); + t2 = (uint32_t *)&t6->index; + t4 = (*t2); + t4 = t4 + UINT32_C(1); + (*t2) = t4; + t13.is_null = false; + t13.payload = t12; + return t13; +} + +static void environment_root_Environment_freeEnvironmentValue__773( + struct environment_root_Environment__559 *const a0, + struct environment_root_EnvironmentValue__850 const a1) { + struct environment_root_Environment__559 *const *t1; + nav__773_43 t3; + struct environment_root_Environment__559 *t4; + struct environment_root_Environment__559 *t0; + struct mem_Allocator__599 *t5; + struct mem_Allocator__599 t6; + nav__773_46 t7; + uintptr_t t9; + uintptr_t t10; + uintptr_t t8; + uint64_t t11; + uint64_t t12; + uint8_t t2; + bool t13; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; + t2 = a1.tag; + switch (t2) { + case UINT8_C(0): { + t3 = a1.payload.string; + t4 = (*t1); + t5 = (struct mem_Allocator__599 *)&t4->allocator; + t6 = (*t5); + mem_Allocator_free__anon_3438__7838(t6, t3); + goto zig_block_0; + } + case UINT8_C(1): { + t7 = a1.payload.list; + t8 = (uintptr_t)0ul; + t9 = t7.len; + zig_loop_20: + t10 = t8; + t11 = t10; + t12 = t9; + t13 = t11 < t12; + if (t13) { + t3 = t7.ptr[t10]; + t4 = (*t1); + t5 = (struct mem_Allocator__599 *)&t4->allocator; + t6 = (*t5); + mem_Allocator_free__anon_3438__7838(t6, t3); + goto zig_block_2; + } + goto zig_block_1; + + zig_block_2:; + t10 = t10 + (uintptr_t)1ul; + t8 = t10; + goto zig_loop_20; + + zig_block_1:; + t4 = (*t1); + t5 = (struct mem_Allocator__599 *)&t4->allocator; + t6 = (*t5); + mem_Allocator_free__anon_6812__8736(t6, t7); + goto zig_block_0; + } + default: + zig_unreachable(); + } + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3990( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct mem_Allocator__599 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t3; + struct array_hash_map_IndexHeader__886 **t4; + struct array_hash_map_IndexHeader__886 *t5; + struct array_hash_map_IndexHeader__886 *t7; + struct array_hash_map_IndexHeader__886 *t8; + struct array_hash_map_IndexHeader__886 *const *t9; + bool t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + debug_SafetyLock_assertUnlocked__3971(); + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t2->entries; + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4116( + t3, a1); + t4 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t5 = (*t4); + t6 = t5 != NULL; + if (t6) { + t7 = t5; + t8 = t7; + t9 = (struct array_hash_map_IndexHeader__886 *const *)&t8; + t7 = (*t9); + array_hash_map_IndexHeader_free__3966(t7, a1); + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3779( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct mem_Allocator__599 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t3; + struct array_hash_map_IndexHeader__886 **t4; + struct array_hash_map_IndexHeader__886 *t5; + struct array_hash_map_IndexHeader__886 *t7; + struct array_hash_map_IndexHeader__886 *t8; + struct array_hash_map_IndexHeader__886 *const *t9; + bool t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + debug_SafetyLock_assertUnlocked__3971(); + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t2->entries; + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3922( + t3, a1); + t4 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t5 = (*t4); + t6 = t5 != NULL; + if (t6) { + t7 = t5; + t8 = t7; + t9 = (struct array_hash_map_IndexHeader__886 *const *)&t8; + t7 = (*t9); + array_hash_map_IndexHeader_free__3966(t7, a1); + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return; +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4177( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *t2; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t6; + nav__4177_42 **t8; + nav__4177_62 t10; + nav__4177_42 *t11; + struct environment_linked_libraries_root_LibraryEntry__858 **t12; + nav__4177_65 t13; + struct environment_linked_libraries_root_LibraryEntry__858 *t14; + uint32_t *t15; + uintptr_t t16; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t7; + uint32_t t17; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *)&t1->entries; + t3 = (*t2); + t4 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t3); + t5 = t4; + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t5; + t8 = (nav__4177_42 **)&t7.keys; + t9 = (*t6); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t9); + t11 = t10.ptr; + (*t8) = t11; + t12 = + (struct environment_linked_libraries_root_LibraryEntry__858 **)&t7.values; + t9 = (*t6); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t9); + t14 = t13.ptr; + (*t12) = t14; + t15 = (uint32_t *)&t7.len; + t16 = t4.len; + t17 = (uint32_t)t16; + (*t15) = t17; + t15 = (uint32_t *)&t7.index; + (*t15) = UINT32_C(0); + return t7; +} + +static nav__8710_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8710( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 *const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 *const + *t1; + uint32_t *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + *t6; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + *t0; + nav__8710_44 **t7; + uintptr_t t8; + nav__8710_44 *t9; + struct environment_linked_libraries_root_LibraryEntry__858 **t10; + struct environment_linked_libraries_root_LibraryEntry__858 *t11; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601 + t12; + nav__8710_39 t13; + uint32_t t3; + uint32_t t4; + bool t5; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 *const + *)&t0; + t2 = (uint32_t *)&a0->index; + t3 = (*t2); + t2 = (uint32_t *)&a0->len; + t4 = (*t2); + t5 = t3 >= t4; + if (t5) { + return (nav__8710_39){ + {((nav__8710_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct environment_linked_libraries_root_LibraryEntry__858 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)}, + true}; + } + goto zig_block_0; + +zig_block_0:; + t6 = (*t1); + t7 = (nav__8710_44 **)&t6->keys; + t2 = (uint32_t *)&a0->index; + t4 = (*t2); + t8 = (uintptr_t)t4; + t9 = (*t7); + t9 = (nav__8710_44 *)&t9[t8]; + t6 = (*t1); + t10 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t6 + ->values; + t2 = (uint32_t *)&a0->index; + t4 = (*t2); + t8 = (uintptr_t)t4; + t11 = (*t10); + t11 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t11[t8]; + t12.key_ptr = t9; + t12.value_ptr = t11; + t6 = (*t1); + t2 = (uint32_t *)&t6->index; + t4 = (*t2); + t4 = t4 + UINT32_C(1); + (*t2) = t4; + t13.is_null = false; + t13.payload = t12; + return t13; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4169( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct mem_Allocator__599 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t3; + struct array_hash_map_IndexHeader__886 **t4; + struct array_hash_map_IndexHeader__886 *t5; + struct array_hash_map_IndexHeader__886 *t7; + struct array_hash_map_IndexHeader__886 *t8; + struct array_hash_map_IndexHeader__886 *const *t9; + bool t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + debug_SafetyLock_assertUnlocked__3971(); + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t2->entries; + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4295( + t3, a1); + t4 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t5 = (*t4); + t6 = t5 != NULL; + if (t6) { + t7 = t5; + t8 = t7; + t9 = (struct array_hash_map_IndexHeader__886 *const *)&t8; + t7 = (*t9); + array_hash_map_IndexHeader_free__3966(t7, a1); + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return; +} + +static void environment_linked_libraries_root_LinkedLibraries_deinit__3631( + struct environment_linked_libraries_root_LinkedLibraries__843 *const a0) { + struct environment_linked_libraries_root_LinkedLibraries__843 *const *t1; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t3; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t4; + nav__3631_50 t5; + uintptr_t t6; + uintptr_t t7; + uintptr_t t2; + uint64_t t8; + uint64_t t9; + struct environment_linked_libraries_root_LibraryInfo__940 t11; + struct mem_Allocator__599 *t12; + struct mem_Allocator__599 t13; + struct environment_linked_libraries_root_LinkedLibraries__843 *t14; + struct environment_linked_libraries_root_LinkedLibraries__843 *t0; + bool t10; + t0 = a0; + t1 = (struct environment_linked_libraries_root_LinkedLibraries__843 *const + *)&t0; + t2 = (uintptr_t)0ul; + t3 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *)&a0->libraries; + t4 = (*t3); + t5 = t4.items; + t6 = t5.len; +zig_loop_11: + t7 = t2; + t8 = t7; + t9 = t6; + t10 = t8 < t9; + if (t10) { + t11 = t5.ptr[t7]; + t12 = (struct mem_Allocator__599 *)&a0->allocator; + t13 = (*t12); + environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3632( + t13, t11); + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + t7 = t7 + (uintptr_t)1ul; + t2 = t7; + goto zig_loop_11; + +zig_block_0:; + t14 = (*t1); + t3 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *)&t14->libraries; + t4 = (*t3); + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_deinit__4336( + t4); + return; +} + +static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + a0) { + static uintptr_t const t10[3] = {16ul, 32ul, 4ul}; + static uintptr_t const t12[3] = {1ul, 2ul, 0ul}; + uint8_t *(*t1)[3]; + uintptr_t *t2; + uintptr_t t3; + uintptr_t t11; + uintptr_t t13; + uintptr_t t7; + uint8_t *t5; + uint8_t *t6; + uint8_t *t4; + uint64_t t8; + uint8_t **t14; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t0; + bool t9; + t1 = (uint8_t *(*)[3]) & t0.ptrs; + t2 = (uintptr_t *)&t0.len; + t3 = a0.len; + (*t2) = t3; + t2 = (uintptr_t *)&t0.capacity; + t3 = a0.capacity; + (*t2) = t3; + t5 = a0.bytes; + t6 = (uint8_t *)t5; + t4 = t6; + t7 = (uintptr_t)0ul; +zig_loop_17: + t3 = t7; + t8 = t3; + t9 = t8 < UINT64_C(3); + if (t9) { + t11 = t10[t3]; + t13 = t12[t3]; + t1 = (uint8_t *(*)[3]) & t0.ptrs; + t14 = (uint8_t **)&(*t1)[t13]; + t6 = t4; + (*t14) = t6; + t6 = t4; + t13 = a0.capacity; + t13 = t11 * t13; + t6 = (uint8_t *)(((uintptr_t)t6) + (t13 * sizeof(uint8_t))); + t4 = t6; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + t3 = t3 + (uintptr_t)1ul; + t7 = t3; + goto zig_loop_17; + +zig_block_0:; + t15 = t0; + return t15; +} + +static nav__8725_41 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + nav__8725_39 *t5; + nav__8725_39 *t6; + nav__8725_39 *const *t7; + nav__8725_41 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8725_41){ + (nav__8725_39 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)1ul]; + t5 = (nav__8725_39 *)t4; + t6 = t5; + t7 = (nav__8725_39 *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (nav__8725_39 *)(((uintptr_t)t5) + + ((uintptr_t)0ul * sizeof(nav__8725_39))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static nav__8726_40 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t5; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t6; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t7; + nav__8726_40 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8726_40){ + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)2ul]; + t5 = (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *) + t4; + t6 = t5; + t7 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)(((uintptr_t)t5) + + ((uintptr_t)0ul * + sizeof( + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + a0) { + static uintptr_t const t10[3] = {16ul, 24ul, 4ul}; + static uintptr_t const t12[3] = {1ul, 2ul, 0ul}; + uint8_t *(*t1)[3]; + uintptr_t *t2; + uintptr_t t3; + uintptr_t t11; + uintptr_t t13; + uintptr_t t7; + uint8_t *t5; + uint8_t *t6; + uint8_t *t4; + uint64_t t8; + uint8_t **t14; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t0; + bool t9; + t1 = (uint8_t *(*)[3]) & t0.ptrs; + t2 = (uintptr_t *)&t0.len; + t3 = a0.len; + (*t2) = t3; + t2 = (uintptr_t *)&t0.capacity; + t3 = a0.capacity; + (*t2) = t3; + t5 = a0.bytes; + t6 = (uint8_t *)t5; + t4 = t6; + t7 = (uintptr_t)0ul; +zig_loop_17: + t3 = t7; + t8 = t3; + t9 = t8 < UINT64_C(3); + if (t9) { + t11 = t10[t3]; + t13 = t12[t3]; + t1 = (uint8_t *(*)[3]) & t0.ptrs; + t14 = (uint8_t **)&(*t1)[t13]; + t6 = t4; + (*t14) = t6; + t6 = t4; + t13 = a0.capacity; + t13 = t11 * t13; + t6 = (uint8_t *)(((uintptr_t)t6) + (t13 * sizeof(uint8_t))); + t4 = t6; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + t3 = t3 + (uintptr_t)1ul; + t7 = t3; + goto zig_loop_17; + +zig_block_0:; + t15 = t0; + return t15; +} + +static nav__8734_41 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + nav__8734_39 *t5; + nav__8734_39 *t6; + nav__8734_39 *const *t7; + nav__8734_41 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8734_41){ + (nav__8734_39 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)1ul]; + t5 = (nav__8734_39 *)t4; + t6 = t5; + t7 = (nav__8734_39 *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (nav__8734_39 *)(((uintptr_t)t5) + + ((uintptr_t)0ul * sizeof(nav__8734_39))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static nav__8735_40 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + struct environment_root_EnvironmentValue__850 *t5; + struct environment_root_EnvironmentValue__850 *t6; + struct environment_root_EnvironmentValue__850 *const *t7; + nav__8735_40 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8735_40){(struct environment_root_EnvironmentValue__850 *)(( + void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)2ul]; + t5 = (struct environment_root_EnvironmentValue__850 *)t4; + t6 = t5; + t7 = (struct environment_root_EnvironmentValue__850 *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (struct environment_root_EnvironmentValue__850 + *)(((uintptr_t)t5) + + ((uintptr_t)0ul * + sizeof(struct environment_root_EnvironmentValue__850))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static void mem_Allocator_free__anon_6812__8736( + struct mem_Allocator__599 const a0, nav__8736_42 const a1) { + struct mem_Allocator__599 const *t1; + nav__8736_40 t2; + uintptr_t t3; + uint64_t t4; + uint8_t const *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + nav__8736_54 t10; + nav__8736_54 t12; + struct mem_Allocator__599 t11; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t14; + struct mem_Allocator_VTable__602 const *const *t15; + struct mem_Allocator_VTable__602 const *t16; + void (*const *t17)(void *, nav__8736_54, uint8_t, uintptr_t); + void (*t18)(void *, nav__8736_54, uint8_t, uintptr_t); + void *t19; + bool t5; + uint8_t t13; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_7028__8817(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t10.ptr = t7; + t10.len = t3; + t11 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t10.ptr = t7; + t10.len = t3; + memcpy(&t12, &t10, sizeof(nav__8736_54)); + t13 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t3 = (uintptr_t)zig_return_address(); + t14 = t11; + t1 = (struct mem_Allocator__599 const *)&t14; + t15 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t16 = (*t15); + t17 = (void (*const *)(void *, nav__8736_54, uint8_t, uintptr_t))&t16->free; + t18 = (*t17); + t19 = t11.ptr; + t18(t19, t12, t13, t3); + return; +} + +static void debug_SafetyLock_assertUnlocked__3971(void) { return; } + +static void +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4116( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + a0, + struct mem_Allocator__599 const a1) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *t1; + struct mem_Allocator__599 const *t3; + struct mem_Allocator__599 t4; + struct mem_Allocator__599 t2; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + nav__4116_51 t7; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (*t3); + t5 = (*t1); + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4148( + t6); + mem_Allocator_free__anon_7039__8818(t4, t7); + return; +} + +static void array_hash_map_IndexHeader_free__3966( + struct array_hash_map_IndexHeader__886 *const a0, + struct mem_Allocator__599 const a1) { + struct array_hash_map_IndexHeader__886 *const *t1; + struct mem_Allocator__599 const *t3; + uint8_t *t4; + uint8_t *t7; + uintptr_t t6; + uintptr_t t11; + uint8_t *const *t8; + struct array_hash_map_IndexHeader__886 *t9; + struct array_hash_map_IndexHeader__886 *t0; + nav__3966_52 t12; + struct mem_Allocator__599 t13; + struct mem_Allocator__599 t2; + struct array_hash_map_IndexHeader__886 t10; + uint8_t t5; + t0 = a0; + t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (uint8_t *)&a0->bit_index; + t5 = (*t4); + t6 = array_hash_map_capacityIndexSize__3729(t5); + t4 = (uint8_t *)a0; + t7 = t4; + t8 = (uint8_t *const *)&t7; + t9 = (*t1); + t10 = (*t9); + t11 = array_hash_map_IndexHeader_length__3962(t10); + t6 = t11 * t6; + t6 = (uintptr_t)4ul + t6; + t4 = (*t8); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t12.ptr = t4; + t12.len = t6; + t13 = (*t3); + mem_Allocator_free__anon_7056__8819(t13, t12); + return; +} + +static void +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3922( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + a0, + struct mem_Allocator__599 const a1) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *t1; + struct mem_Allocator__599 const *t3; + struct mem_Allocator__599 t4; + struct mem_Allocator__599 t2; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + nav__3922_51 t7; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (*t3); + t5 = (*t1); + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3954( + t6); + mem_Allocator_free__anon_7039__8818(t4, t7); + return; +} + +static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + a0) { + static uintptr_t const t10[3] = {16ul, 32ul, 4ul}; + static uintptr_t const t12[3] = {1ul, 2ul, 0ul}; + uint8_t *(*t1)[3]; + uintptr_t *t2; + uintptr_t t3; + uintptr_t t11; + uintptr_t t13; + uintptr_t t7; + uint8_t *t5; + uint8_t *t6; + uint8_t *t4; + uint64_t t8; + uint8_t **t14; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t0; + bool t9; + t1 = (uint8_t *(*)[3]) & t0.ptrs; + t2 = (uintptr_t *)&t0.len; + t3 = a0.len; + (*t2) = t3; + t2 = (uintptr_t *)&t0.capacity; + t3 = a0.capacity; + (*t2) = t3; + t5 = a0.bytes; + t6 = (uint8_t *)t5; + t4 = t6; + t7 = (uintptr_t)0ul; +zig_loop_17: + t3 = t7; + t8 = t3; + t9 = t8 < UINT64_C(3); + if (t9) { + t11 = t10[t3]; + t13 = t12[t3]; + t1 = (uint8_t *(*)[3]) & t0.ptrs; + t14 = (uint8_t **)&(*t1)[t13]; + t6 = t4; + (*t14) = t6; + t6 = t4; + t13 = a0.capacity; + t13 = t11 * t13; + t6 = (uint8_t *)(((uintptr_t)t6) + (t13 * sizeof(uint8_t))); + t4 = t6; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + t3 = t3 + (uintptr_t)1ul; + t7 = t3; + goto zig_loop_17; + +zig_block_0:; + t15 = t0; + return t15; +} + +static nav__8744_41 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + nav__8744_39 *t5; + nav__8744_39 *t6; + nav__8744_39 *const *t7; + nav__8744_41 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8744_41){ + (nav__8744_39 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)1ul]; + t5 = (nav__8744_39 *)t4; + t6 = t5; + t7 = (nav__8744_39 *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (nav__8744_39 *)(((uintptr_t)t5) + + ((uintptr_t)0ul * sizeof(nav__8744_39))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static nav__8745_40 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + struct environment_linked_libraries_root_LibraryEntry__858 *t5; + struct environment_linked_libraries_root_LibraryEntry__858 *t6; + struct environment_linked_libraries_root_LibraryEntry__858 *const *t7; + nav__8745_40 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8745_40){ + (struct environment_linked_libraries_root_LibraryEntry__858 *)(( + void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)2ul]; + t5 = (struct environment_linked_libraries_root_LibraryEntry__858 *)t4; + t6 = t5; + t7 = (struct environment_linked_libraries_root_LibraryEntry__858 *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)(((uintptr_t)t5) + + ((uintptr_t)0ul * + sizeof(struct + environment_linked_libraries_root_LibraryEntry__858))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static void +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4295( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + a0, + struct mem_Allocator__599 const a1) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *t1; + struct mem_Allocator__599 const *t3; + struct mem_Allocator__599 t4; + struct mem_Allocator__599 t2; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + nav__4295_51 t7; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (*t3); + t5 = (*t1); + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4327( + t6); + mem_Allocator_free__anon_7039__8818(t4, t7); + return; +} + +static void +environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3632( + struct mem_Allocator__599 const a0, + struct environment_linked_libraries_root_LibraryInfo__940 const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + nav__3632_46 t3; + nav__3632_46 t5; + bool t4; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = a1.path; + mem_Allocator_free__anon_3438__7838(t2, t3); + t3 = a1.soname; + t4 = t3.ptr != NULL; + if (t4) { + t5 = t3; + t2 = (*t1); + mem_Allocator_free__anon_3438__7838(t2, t5); + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t5 = a1.build_id; + t4 = t5.ptr != NULL; + if (t4) { + t3 = t5; + t2 = (*t1); + mem_Allocator_free__anon_3438__7838(t2, t3); + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + return; +} + +static void +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_deinit__4336( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const + a0) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const + *t1; + struct mem_Allocator__599 const *t2; + struct mem_Allocator__599 t3; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t4; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t0; + nav__4336_42 t5; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const + *)&t0; + t2 = (struct mem_Allocator__599 const *)&t1->allocator; + t3 = (*t2); + t4 = (*t1); + t5 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4382( + t4); + mem_Allocator_free__anon_7085__8820(t3, t5); + return; +} + +static nav__8817_39 mem_sliceAsBytes__anon_7028__8817(nav__8817_41 const a0) { + uintptr_t t0; + uint64_t t1; + nav__8817_39 const *t4; + uint8_t const *t5; + uint8_t const *t6; + uint8_t const *const *t7; + nav__8817_39 t8; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__8817_39){ + (uint8_t const *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = (uint8_t const *)t4; + t6 = t5; + t7 = (uint8_t const *const *)&t6; + t0 = a0.len; + t0 = t0 * (uintptr_t)16ul; + t5 = (*t7); + t5 = (uint8_t const *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint8_t))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static nav__4148_39 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4148( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *t1; + uint8_t *const *t2; + uintptr_t t3; + uint8_t *t4; + nav__4148_39 t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t0; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *)&t0; + t2 = (uint8_t *const *)&t1->bytes; + t3 = a0.capacity; + t3 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147( + t3); + t4 = (*t2); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5.ptr = t4; + t5.len = t3; + return t5; +} + +static void mem_Allocator_free__anon_7039__8818( + struct mem_Allocator__599 const a0, nav__8818_40 const a1) { + struct mem_Allocator__599 const *t1; + nav__8818_40 t2; + nav__8818_40 t11; + uintptr_t t3; + uint64_t t4; + uint8_t *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + struct mem_Allocator__599 t10; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t13; + struct mem_Allocator_VTable__602 const *const *t14; + struct mem_Allocator_VTable__602 const *t15; + void (*const *t16)(void *, nav__8818_40, uint8_t, uintptr_t); + void (*t17)(void *, nav__8818_40, uint8_t, uintptr_t); + void *t18; + bool t5; + uint8_t t12; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_7104__8821(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t10 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + memcpy(&t11, &t2, sizeof(nav__8818_40)); + t12 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t3 = (uintptr_t)zig_return_address(); + t13 = t10; + t1 = (struct mem_Allocator__599 const *)&t13; + t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t15 = (*t14); + t16 = (void (*const *)(void *, nav__8818_40, uint8_t, uintptr_t))&t15->free; + t17 = (*t16); + t18 = t10.ptr; + t17(t18, t11, t12, t3); + return; +} + +static uintptr_t array_hash_map_capacityIndexSize__3729(uint8_t const a0) { + uint8_t t0; + t0 = array_hash_map_capacityIndexType__3728(a0); + switch (t0) { + case UINT8_C(0): { + return ((uintptr_t)(uintptr_t)0x2ul); + } + case UINT8_C(1): { + return ((uintptr_t)(uintptr_t)0x4ul); + } + case UINT8_C(2): { + return ((uintptr_t)(uintptr_t)0x8ul); + } + default: + zig_unreachable(); + } +} + +static uintptr_t array_hash_map_IndexHeader_length__3962( + struct array_hash_map_IndexHeader__886 const a0) { + uintptr_t t1; + uint8_t t0; + t0 = a0.bit_index; + t1 = zig_shlw_u64((uintptr_t)1ul, t0, UINT8_C(64)); + return t1; +} + +static void mem_Allocator_free__anon_7056__8819( + struct mem_Allocator__599 const a0, nav__8819_40 const a1) { + struct mem_Allocator__599 const *t1; + nav__8819_40 t2; + nav__8819_40 t11; + uintptr_t t3; + uint64_t t4; + uint8_t *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + struct mem_Allocator__599 t10; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t13; + struct mem_Allocator_VTable__602 const *const *t14; + struct mem_Allocator_VTable__602 const *t15; + void (*const *t16)(void *, nav__8819_40, uint8_t, uintptr_t); + void (*t17)(void *, nav__8819_40, uint8_t, uintptr_t); + void *t18; + bool t5; + uint8_t t12; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_7138__8837(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t10 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + memcpy(&t11, &t2, sizeof(nav__8819_40)); + t12 = mem_Alignment_fromByteUnits__1109((uintptr_t)4ul); + t3 = (uintptr_t)zig_return_address(); + t13 = t10; + t1 = (struct mem_Allocator__599 const *)&t13; + t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t15 = (*t14); + t16 = (void (*const *)(void *, nav__8819_40, uint8_t, uintptr_t))&t15->free; + t17 = (*t16); + t18 = t10.ptr; + t17(t18, t11, t12, t3); + return; +} + +static nav__3954_39 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3954( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *t1; + uint8_t *const *t2; + uintptr_t t3; + uint8_t *t4; + nav__3954_39 t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t0; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *)&t0; + t2 = (uint8_t *const *)&t1->bytes; + t3 = a0.capacity; + t3 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953( + t3); + t4 = (*t2); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5.ptr = t4; + t5.len = t3; + return t5; +} + +static nav__4327_39 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4327( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *t1; + uint8_t *const *t2; + uintptr_t t3; + uint8_t *t4; + nav__4327_39 t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t0; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *)&t0; + t2 = (uint8_t *const *)&t1->bytes; + t3 = a0.capacity; + t3 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326( + t3); + t4 = (*t2); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5.ptr = t4; + t5.len = t3; + return t5; +} + +static nav__4382_40 +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4382( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const + a0) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const + *t1; + nav__4382_40 const *t2; + struct environment_linked_libraries_root_LibraryInfo__940 *const *t3; + uintptr_t t4; + struct environment_linked_libraries_root_LibraryInfo__940 *t5; + nav__4382_40 t6; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t0; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const + *)&t0; + t2 = (nav__4382_40 const *)&t1->items; + t3 = &t2->ptr; + t4 = a0.capacity; + t5 = (*t3); + t5 = + (struct environment_linked_libraries_root_LibraryInfo__940 + *)(((uintptr_t)t5) + + ((uintptr_t)0ul * + sizeof( + struct environment_linked_libraries_root_LibraryInfo__940))); + t6.ptr = t5; + t6.len = t4; + return t6; +} + +static void mem_Allocator_free__anon_7085__8820( + struct mem_Allocator__599 const a0, nav__8820_41 const a1) { + struct mem_Allocator__599 const *t1; + nav__8820_51 t2; + nav__8820_51 t11; + uintptr_t t3; + uint64_t t4; + uint8_t *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + struct mem_Allocator__599 t10; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t13; + struct mem_Allocator_VTable__602 const *const *t14; + struct mem_Allocator_VTable__602 const *t15; + void (*const *t16)(void *, nav__8820_51, uint8_t, uintptr_t); + void (*t17)(void *, nav__8820_51, uint8_t, uintptr_t); + void *t18; + bool t5; + uint8_t t12; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_7151__8838(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t10 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + memcpy(&t11, &t2, sizeof(nav__8820_51)); + t12 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t3 = (uintptr_t)zig_return_address(); + t13 = t10; + t1 = (struct mem_Allocator__599 const *)&t13; + t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t15 = (*t14); + t16 = (void (*const *)(void *, nav__8820_51, uint8_t, uintptr_t))&t15->free; + t17 = (*t16); + t18 = t10.ptr; + t17(t18, t11, t12, t3); + return; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147( + uintptr_t const a0) { + uintptr_t t0; + t0 = (uintptr_t)44ul * a0; + return t0; +} + +static nav__8821_39 mem_sliceAsBytes__anon_7104__8821(nav__8821_39 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t4; + uint8_t *t5; + uint8_t *const *t6; + nav__8821_39 t7; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__8821_39){ + (uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = t4; + t6 = (uint8_t *const *)&t5; + t0 = a0.len; + t4 = (*t6); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t7.ptr = t4; + t7.len = t0; + return t7; +} + +static uint8_t array_hash_map_capacityIndexType__3728(uint8_t const a0) { + bool t0; + t0 = a0 <= UINT8_C(8); + if (t0) { + return UINT8_C(0); + } + goto zig_block_0; + +zig_block_0:; + t0 = a0 <= UINT8_C(16); + if (t0) { + return UINT8_C(1); + } + goto zig_block_1; + +zig_block_1:; + t0 = a0 <= UINT8_C(32); + debug_assert__180(t0); + return UINT8_C(2); +} + +static nav__8837_39 mem_sliceAsBytes__anon_7138__8837(nav__8837_39 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t4; + uint8_t *t5; + uint8_t *const *t6; + nav__8837_39 t7; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__8837_39){ + (uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = t4; + t6 = (uint8_t *const *)&t5; + t0 = a0.len; + t4 = (*t6); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t7.ptr = t4; + t7.len = t0; + return t7; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953( + uintptr_t const a0) { + uintptr_t t0; + t0 = (uintptr_t)52ul * a0; + return t0; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326( + uintptr_t const a0) { + uintptr_t t0; + t0 = (uintptr_t)52ul * a0; + return t0; +} + +static nav__8838_39 mem_sliceAsBytes__anon_7151__8838(nav__8838_42 const a0) { + uintptr_t t0; + uint64_t t1; + struct environment_linked_libraries_root_LibraryInfo__940 *t4; + uint8_t *t5; + uint8_t *t6; + uint8_t *const *t7; + nav__8838_39 t8; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; + goto zig_block_1; + +zig_block_1:; + if (t3) { + return (nav__8838_39){ + (uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + t4 = a0.ptr; + t5 = (uint8_t *)t4; + t6 = t5; + t7 = (uint8_t *const *)&t6; + t0 = a0.len; + t0 = t0 * (uintptr_t)48ul; + t5 = (*t7); + t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint8_t))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +bool c_instrument_hooks_is_instrumented__240(struct InstrumentHooks *const a0) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct instruments_root_Instrument__554 *t4; + struct instruments_root_Instrument__554 t5; + bool t0; + bool t7; + uint8_t t6; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t1 = (*t3); + t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t5 = (*t4); + t6 = t5.tag; + switch (t6) { + case UINT8_C(0): { + t6 = running_on_valgrind(); + t7 = t6 > UINT8_C(0); + t0 = t7; + goto zig_block_1; + } + case UINT8_C(1): { + t0 = true; + goto zig_block_1; + } + case UINT8_C(2): { + t0 = true; + goto zig_block_1; + } + case UINT8_C(3): { + t0 = false; + goto zig_block_1; + } + default: + zig_unreachable(); + } + + zig_block_1:; + return t0; + } + goto zig_block_0; + +zig_block_0:; + return false; +} + +static zig_cold uint16_t runner_fifo_RunnerFifo_start_benchmark__1130( + struct runner_fifo_RunnerFifo__631 *const a0) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + struct fifo_UnixPipe_Reader__640 *t5; + uint16_t t4; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4 = fifo_UnixPipe_Writer_sendCmd__1164( + t3, (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(1)}); + if (t4) { + return t4; + } + t2 = (*t1); + t5 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t4 = fifo_UnixPipe_Reader_waitForAck__1171( + t5, (nav__1130_76){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_start_benchmark__806( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + a0) { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_start_benchmark__1130(t3); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_start_benchmark__819( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + a0) { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_start_benchmark__1130(t3); + if (t4) { + return t4; + } + return 0; +} + +uint8_t c_instrument_hooks_start_benchmark__241( + struct InstrumentHooks *const a0) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct instruments_root_Instrument__554 *t4; + struct instruments_root_Instrument__554 *t6; + struct instruments_root_Instrument__554 *const *t7; + struct instruments_root_Instrument__554 t8; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t10; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t13; + uint16_t t5; + uint16_t t11; + uint16_t t12; + bool t0; + uint8_t t9; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t1 = (*t3); + t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t6 = t4; + t7 = (struct instruments_root_Instrument__554 *const *)&t6; + t8 = (*t4); + t9 = t8.tag; + t0 = t9 == UINT8_C(1); + if (t0) { + t4 = (*t7); + t10 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *)&t4->payload.perf; + t11 = + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_start_benchmark__806( + t10); + memcpy(&t12, &t11, sizeof(uint16_t)); + t5 = t12; + goto zig_block_2; + } + t8 = (*t4); + t9 = t8.tag; + t0 = t9 == UINT8_C(0); + if (t0) { + t0 = features_is_feature_enabled__328(UINT64_C(0)); + t0 = !t0; + if (t0) { + callgrind_zero_stats(); + callgrind_start_instrumentation(); + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t5 = 0; + goto zig_block_2; + } + t8 = (*t4); + t9 = t8.tag; + t0 = t9 == UINT8_C(2); + if (t0) { + t4 = (*t7); + t13 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *)&t4->payload.analysis; + t12 = + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_start_benchmark__819( + t13); + memcpy(&t11, &t12, sizeof(uint16_t)); + t5 = t11; + goto zig_block_2; + } + goto zig_block_6; + + zig_block_6:; + goto zig_block_4; + + zig_block_4:; + goto zig_block_3; + + zig_block_3:; + t5 = 0; + goto zig_block_2; + + zig_block_2:; + memcpy(&t12, &t5, sizeof(uint16_t)); + t0 = t12 == UINT16_C(0); + if (t0) { + goto zig_block_1; + } + return UINT8_C(1); + + zig_block_1:; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return UINT8_C(0); +} + +static bool features_is_feature_enabled__328(uint64_t const a0) { + uint64_t t0; + uint64_t t1; + uintptr_t t2; + bool t3; + t0 = (*&features_features__326); + t1 = a0; + t2 = t1; + t3 = bit_set_IntegerBitSet_2864_29_isSet__363(t0, t2); + return t3; +} + +static bool bit_set_IntegerBitSet_2864_29_isSet__363(uint64_t const a0, + uintptr_t const a1) { + uint64_t t0; + uint64_t t2; + bool t1; + t0 = a1; + t1 = t0 < UINT64_C(64); + debug_assert__180(t1); + t0 = zig_wrap_u64((uint64_t)a0, UINT8_C(64)); + t2 = bit_set_IntegerBitSet_2864_29_maskBit__387(a1); + t2 = t0 & t2; + t1 = t2 != UINT64_C(0); + return t1; +} + +static zig_cold uint16_t runner_fifo_RunnerFifo_stop_benchmark__1131( + struct runner_fifo_RunnerFifo__631 *const a0) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + struct fifo_UnixPipe_Reader__640 *t5; + uint16_t t4; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4 = fifo_UnixPipe_Writer_sendCmd__1164( + t3, (struct shared_Command__2195){ + {{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + -INT32_C(0x55555556)}}, + UINT8_C(2)}); + if (t4) { + return t4; + } + t2 = (*t1); + t5 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t4 = fifo_UnixPipe_Reader_waitForAck__1171( + t5, (nav__1131_76){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_stop_benchmark__807( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + a0) { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_stop_benchmark__1131(t3); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_stop_benchmark__820( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + a0) { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_stop_benchmark__1131(t3); + if (t4) { + return t4; + } + return 0; +} + +uint8_t c_instrument_hooks_stop_benchmark__242( + struct InstrumentHooks *const a0) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct instruments_root_Instrument__554 *t4; + struct instruments_root_Instrument__554 *t6; + struct instruments_root_Instrument__554 *const *t7; + struct instruments_root_Instrument__554 t8; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t10; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t13; + uint16_t t5; + uint16_t t11; + uint16_t t12; + bool t0; + uint8_t t9; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t1 = (*t3); + t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t6 = t4; + t7 = (struct instruments_root_Instrument__554 *const *)&t6; + t8 = (*t4); + t9 = t8.tag; + t0 = t9 == UINT8_C(0); + if (t0) { + t0 = features_is_feature_enabled__328(UINT64_C(0)); + t0 = !t0; + if (t0) { + callgrind_stop_instrumentation(); + goto zig_block_4; + } + goto zig_block_4; + + zig_block_4:; + t5 = 0; + goto zig_block_2; + } + t8 = (*t4); + t9 = t8.tag; + t0 = t9 == UINT8_C(1); + if (t0) { + t4 = (*t7); + t10 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *)&t4->payload.perf; + t11 = + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_stop_benchmark__807( + t10); + memcpy(&t12, &t11, sizeof(uint16_t)); + t5 = t12; + goto zig_block_2; + } + t8 = (*t4); + t9 = t8.tag; + t0 = t9 == UINT8_C(2); + if (t0) { + t4 = (*t7); + t13 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *)&t4->payload.analysis; + t12 = + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_stop_benchmark__820( + t13); + memcpy(&t11, &t12, sizeof(uint16_t)); + t5 = t11; + goto zig_block_2; + } + goto zig_block_6; + + zig_block_6:; + goto zig_block_5; + + zig_block_5:; + goto zig_block_3; + + zig_block_3:; + t5 = 0; + goto zig_block_2; + + zig_block_2:; + memcpy(&t12, &t5, sizeof(uint16_t)); + t0 = t12 == UINT16_C(0); + if (t0) { + goto zig_block_1; + } + return UINT8_C(1); + + zig_block_1:; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return UINT8_C(0); +} + +static uint16_t runner_fifo_RunnerFifo_set_executed_benchmark__1132( + struct runner_fifo_RunnerFifo__631 *const a0, int32_t const a1, + uint8_t const *const a2) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + nav__1132_61 t4; + nav__1132_61 t5; + struct shared_Command__struct_2198__2198 t6; + struct shared_Command__2195 t7; + struct fifo_UnixPipe_Reader__640 *t9; + uint16_t t8; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4 = mem_span__anon_7307__8843(a2); + memcpy(&t5, &t4, sizeof(nav__1132_61)); + t6.uri = t5; + t6.pid = a1; + t7.tag = UINT8_C(0); + t7.payload.ExecutedBenchmark = t6; + t8 = fifo_UnixPipe_Writer_sendCmd__1164(t3, t7); + if (t8) { + return t8; + } + t2 = (*t1); + t9 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t8 = fifo_UnixPipe_Reader_waitForAck__1171( + t9, (nav__1132_76){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t8) { + return t8; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_executed_benchmark__808( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + a0, + int32_t const a1, uint8_t const *const a2) { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_set_executed_benchmark__1132(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_executed_benchmark__821( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + a0, + int32_t const a1, uint8_t const *const a2) { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_set_executed_benchmark__1132(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +uint8_t c_instrument_hooks_set_executed_benchmark__243( + struct InstrumentHooks *const a0, int32_t const a1, char const *const a2) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct instruments_root_Instrument__554 *t4; + struct instruments_root_Instrument__554 *t7; + uint8_t const *t5; + uint8_t const *t11; + struct instruments_root_Instrument__554 *const *t8; + struct instruments_root_Instrument__554 t9; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t12; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t14; + uint16_t t6; + uint16_t t13; + bool t0; + uint8_t t10; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t1 = (*t3); + t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t5 = c_toU8__236(a2); + t7 = t4; + t8 = (struct instruments_root_Instrument__554 *const *)&t7; + t9 = (*t4); + t10 = t9.tag; + switch (t10) { + case UINT8_C(0): { + t11 = (uint8_t const *)t5; + callgrind_dump_stats_at(t11); + goto zig_block_3; + } + case UINT8_C(1): { + t4 = (*t8); + t12 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *)&t4->payload.perf; + t13 = + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_executed_benchmark__808( + t12, a1, t5); + if (t13) { + t6 = t13; + goto zig_block_2; + } + goto zig_block_3; + } + case UINT8_C(2): { + t4 = (*t8); + t14 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *)&t4->payload.analysis; + t13 = + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_executed_benchmark__821( + t14, a1, t5); + if (t13) { + t6 = t13; + goto zig_block_2; + } + goto zig_block_3; + } + case UINT8_C(3): { + goto zig_block_3; + } + default: + zig_unreachable(); + } + + zig_block_3:; + t6 = 0; + goto zig_block_2; + + zig_block_2:; + memcpy(&t13, &t6, sizeof(uint16_t)); + t0 = t13 == UINT16_C(0); + if (t0) { + goto zig_block_1; + } + return UINT8_C(1); + + zig_block_1:; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return UINT8_C(0); +} + +static uint8_t const *c_toU8__236(char const *const a0) { + uint8_t const *t0; + t0 = (uint8_t const *)a0; + return t0; +} + +static nav__8843_39 mem_span__anon_7307__8843(uint8_t const *const a0) { + uint8_t const *const *t1; + uintptr_t t2; + uint8_t const *t3; + uint8_t const *t0; + nav__8843_39 t4; + t0 = a0; + t1 = (uint8_t const *const *)&t0; + t2 = mem_len__anon_7324__8844(a0); + t3 = (*t1); + t3 = (uint8_t const *)(((uintptr_t)t3) + ((uintptr_t)0ul * sizeof(uint8_t))); + t4.ptr = t3; + t4.len = t2; + return t4; +} + +static uintptr_t mem_len__anon_7324__8844(uint8_t const *const a0) { + uint8_t const *t1; + uintptr_t t2; + bool t0; + t0 = a0 != NULL; + debug_assert__180(t0); + t1 = (uint8_t const *)a0; + t2 = mem_indexOfSentinel__anon_7331__8845(t1); + return t2; +} + +static uintptr_t mem_indexOfSentinel__anon_7331__8845(uint8_t const *const a0) { + static uint8_t const t11[32] = + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; + static uint8_t const t18[32] = + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; + uint8_t const *const *t1; + uintptr_t t4; + uintptr_t t6; + uintptr_t t16; + uintptr_t t2; + uint8_t const *t5; + uint8_t const *t0; + uint64_t t7; + uint8_t const(*t8)[32]; + uint8_t const(*t17)[32]; + bool t3; + uint8_t t9[32]; + uint8_t t10[32]; + bool t12[32]; + nav__8845_45 t13; + nav__8845_47 t14; + uint8_t t15; + t0 = a0; + t1 = (uint8_t const *const *)&t0; + t2 = (uintptr_t)0ul; + t3 = math_isPowerOfTwo__anon_7342__8846(); + if (t3) { + debug_assert__180(true); + t4 = t2; + t5 = (*t1); + t5 = (uint8_t const *)&t5[t4]; + t4 = (uintptr_t)t5; + t6 = t4 & (uintptr_t)4095ul; + t7 = t6; + t3 = t7 <= UINT64_C(4064); + if (t3) { + t6 = t2; + t5 = (*t1); + t5 = (uint8_t const *)(((uintptr_t)t5) + (t6 * sizeof(uint8_t))); + t8 = (uint8_t const(*)[32])t5; + memcpy(t9, (const char *)t8, sizeof(uint8_t[32])); + memcpy(&t10, &t9, sizeof(uint8_t[32])); + for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { + t12[t6] = t10[t6] == t11[t6]; + } + t3 = false; + for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { + t3 |= t12[t6]; + } + if (t3) { + t4 = t2; + memcpy(t13.array, t12, sizeof(nav__8845_45)); + t14 = simd_firstTrue__anon_7390__8847(t13); + t15 = t14.payload; + t6 = (uintptr_t)t15; + t6 = t4 + t6; + return t6; + } + goto zig_block_2; + + zig_block_2:; + t6 = t2; + t16 = mem_alignForward__anon_7393__8848(t4, (uintptr_t)32ul); + t4 = t16 - t4; + t4 = t4 / (uintptr_t)1ul; + t4 = t6 + t4; + t2 = t4; + goto zig_block_1; + } + zig_loop_63: + t4 = t2; + t5 = (*t1); + t5 = (uint8_t const *)&t5[t4]; + t4 = (uintptr_t)t5; + t4 = t4 & (uintptr_t)31ul; + t7 = t4; + t3 = t7 != UINT64_C(0); + if (t3) { + t4 = t2; + t15 = a0[t4]; + t3 = t15 == UINT8_C(0); + if (t3) { + t4 = t2; + return t4; + } + goto zig_block_5; + + zig_block_5:; + t4 = t2; + t4 = t4 + (uintptr_t)1ul; + t2 = t4; + goto zig_block_4; + } + goto zig_block_3; + + zig_block_4:; + goto zig_loop_63; + + zig_block_3:; + goto zig_block_1; + + zig_block_1:; + t6 = t2; + t5 = (*t1); + t5 = (uint8_t const *)&t5[t6]; + t6 = (uintptr_t)t5; + t3 = mem_isAligned__978(t6, (uintptr_t)32ul); + debug_assert__180(t3); + zig_loop_98: + t6 = t2; + t5 = (*t1); + t5 = (uint8_t const *)(((uintptr_t)t5) + (t6 * sizeof(uint8_t))); + t8 = (uint8_t const(*)[32])t5; + t17 = (uint8_t const(*)[32])t8; + memcpy(t10, (const char *)t17, sizeof(uint8_t[32])); + for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { + t12[t6] = t10[t6] == t18[t6]; + } + t3 = false; + for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { + t3 |= t12[t6]; + } + if (t3) { + t6 = t2; + memcpy(t13.array, t12, sizeof(nav__8845_45)); + t14 = simd_firstTrue__anon_7390__8847(t13); + t15 = t14.payload; + t4 = (uintptr_t)t15; + t4 = t6 + t4; + return t4; + } + goto zig_block_6; + + zig_block_6:; + t6 = t2; + t6 = t6 + (uintptr_t)32ul; + t2 = t6; + goto zig_loop_98; + } + goto zig_block_0; + +zig_block_0:; +zig_loop_129: + t16 = t2; + t15 = a0[t16]; + t3 = t15 != UINT8_C(0); + if (t3) { + t16 = t2; + t16 = t16 + (uintptr_t)1ul; + t2 = t16; + goto zig_block_8; + } + goto zig_block_7; + +zig_block_8:; + goto zig_loop_129; + +zig_block_7:; + t16 = t2; + return t16; +} + +static bool math_isPowerOfTwo__anon_7342__8846(void) { + debug_assert__180(true); + return true; +} + +static nav__8847_38 simd_firstTrue__anon_7390__8847(nav__8847_40 const a0) { + static uint8_t const t2[32] = { + UINT8_C(0), UINT8_C(1), UINT8_C(2), UINT8_C(3), UINT8_C(4), + UINT8_C(5), UINT8_C(6), UINT8_C(7), UINT8_C(8), UINT8_C(9), + UINT8_C(10), UINT8_C(11), UINT8_C(12), UINT8_C(13), UINT8_C(14), + UINT8_C(15), UINT8_C(16), UINT8_C(17), UINT8_C(18), UINT8_C(19), + UINT8_C(20), UINT8_C(21), UINT8_C(22), UINT8_C(23), UINT8_C(24), + UINT8_C(25), UINT8_C(26), UINT8_C(27), UINT8_C(28), UINT8_C(29), + UINT8_C(30), UINT8_C(31)}; + static uint8_t const t3[32] = { + UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), + UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), + UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), + UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), + UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), + UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), UINT8_C(31), + UINT8_C(31), UINT8_C(31)}; + uintptr_t t1; + bool t0; + uint8_t t4[32]; + uint8_t t5; + nav__8847_38 t6; + t0 = false; + for (t1 = (uintptr_t)0ul; t1 < (uintptr_t)32ul; t1 += (uintptr_t)1ul) { + t0 |= a0.array[t1]; + } + t0 = !t0; + if (t0) { + return (nav__8847_38){true, UINT8_C(0xa)}; + } + goto zig_block_0; + +zig_block_0:; + for (t1 = (uintptr_t)0ul; t1 < (uintptr_t)32ul; t1 += (uintptr_t)1ul) { + t4[t1] = a0.array[t1] ? t2[t1] : t3[t1]; + } + t5 = UINT8_C(31); + for (t1 = (uintptr_t)0ul; t1 < (uintptr_t)32ul; t1 += (uintptr_t)1ul) { + t5 = t5 < t4[t1] ? t5 : t4[t1]; + } + t6.is_null = false; + t6.payload = t5; + return t6; +} + +static uintptr_t mem_alignForward__anon_7393__8848(uintptr_t const a0, + uintptr_t const a1) { + uintptr_t t1; + bool t0; + t0 = mem_isValidAlignGeneric__anon_7451__8849(a1); + debug_assert__180(t0); + t1 = a1 - (uintptr_t)1ul; + t1 = a0 + t1; + t1 = mem_alignBackward__anon_7452__8850(t1, a1); + return t1; +} + +static bool mem_isAligned__978(uintptr_t const a0, uintptr_t const a1) { + uint64_t t0; + uint64_t t1; + bool t2; + t0 = a0; + t1 = a1; + t2 = mem_isAlignedGeneric__anon_7456__8851(t0, t1); + return t2; +} + +static bool mem_isValidAlignGeneric__anon_7451__8849(uintptr_t const a0) { + uint64_t t0; + bool t1; + bool t2; + t0 = a0; + t1 = t0 > UINT64_C(0); + if (t1) { + t1 = math_isPowerOfTwo__anon_4014__8157(a0); + t2 = t1; + goto zig_block_0; + } + t2 = false; + goto zig_block_0; + +zig_block_0:; + return t2; +} + +static uintptr_t mem_alignBackward__anon_7452__8850(uintptr_t const a0, + uintptr_t const a1) { + uintptr_t t1; + bool t0; + t0 = mem_isValidAlignGeneric__anon_7451__8849(a1); + debug_assert__180(t0); + t1 = a1 - (uintptr_t)1ul; + t1 = zig_not_u64(t1, UINT8_C(64)); + t1 = a0 & t1; + return t1; +} + +static bool mem_isAlignedGeneric__anon_7456__8851(uint64_t const a0, + uint64_t const a1) { + uint64_t t0; + bool t1; + t0 = mem_alignBackward__anon_7458__8852(a0, a1); + t1 = t0 == a0; + return t1; +} + +static uint64_t mem_alignBackward__anon_7458__8852(uint64_t const a0, + uint64_t const a1) { + uint64_t t1; + bool t0; + t0 = mem_isValidAlignGeneric__anon_7460__8853(a1); + debug_assert__180(t0); + t1 = a1 - UINT64_C(1); + t1 = zig_not_u64(t1, UINT8_C(64)); + t1 = a0 & t1; + return t1; +} + +static bool mem_isValidAlignGeneric__anon_7460__8853(uint64_t const a0) { + bool t0; + bool t1; + t0 = a0 > UINT64_C(0); + if (t0) { + t0 = math_isPowerOfTwo__anon_7461__8854(a0); + t1 = t0; + goto zig_block_0; + } + t1 = false; + goto zig_block_0; + +zig_block_0:; + return t1; +} + +static bool math_isPowerOfTwo__anon_7461__8854(uint64_t const a0) { + uint64_t t1; + bool t0; + t0 = a0 > UINT64_C(0); + debug_assert__180(t0); + t1 = a0 - UINT64_C(1); + t1 = a0 & t1; + t0 = t1 == UINT64_C(0); + return t0; +} + +uint8_t c_instrument_hooks_executed_benchmark__244( + struct InstrumentHooks *const a0, int32_t const a1, char const *const a2) { + uint8_t t0; + t0 = c_instrument_hooks_set_executed_benchmark__243(a0, a1, a2); + return t0; +} + +static uint16_t runner_fifo_RunnerFifo_set_integration__1133( + struct runner_fifo_RunnerFifo__631 *const a0, uint8_t const *const a1, + uint8_t const *const a2) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + nav__1133_61 t4; + nav__1133_61 t5; + nav__1133_61 t6; + struct shared_Command__struct_2199__2199 t7; + struct shared_Command__2195 t8; + struct fifo_UnixPipe_Reader__640 *t10; + uint16_t t9; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4 = mem_span__anon_7307__8843(a1); + t5 = mem_span__anon_7307__8843(a2); + memcpy(&t6, &t4, sizeof(nav__1133_61)); + memcpy(&t4, &t5, sizeof(nav__1133_61)); + t7.name = t6; + t7.version = t4; + t8.tag = UINT8_C(5); + t8.payload.SetIntegration = t7; + t9 = fifo_UnixPipe_Writer_sendCmd__1164(t3, t8); + if (t9) { + return t9; + } + t2 = (*t1); + t10 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t9 = fifo_UnixPipe_Reader_waitForAck__1171( + t10, (nav__1133_76){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t9) { + return t9; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_integration__809( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + a0, + uint8_t const *const a1, uint8_t const *const a2) { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_set_integration__1133(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_integration__822( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + a0, + uint8_t const *const a1, uint8_t const *const a2) { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_set_integration__1133(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +uint8_t c_instrument_hooks_set_integration__245( + struct InstrumentHooks *const a0, char const *const a1, + char const *const a2) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct instruments_root_Instrument__554 *t4; + struct instruments_root_Instrument__554 *t8; + uint8_t const *t5; + uint8_t const *t6; + struct instruments_root_Instrument__554 *const *t9; + struct instruments_root_Instrument__554 t10; + struct instruments_valgrind_ValgrindInstrument__564 *t12; + struct instruments_valgrind_ValgrindInstrument__564 t13; + struct instruments_valgrind_ValgrindInstrument__564 t15; + struct instruments_valgrind_ValgrindInstrument__564 const *t16; + struct mem_Allocator__599 t17; + nav__245_103 t18; + nav__245_105 t19; + nav__245_56 t21; + uint8_t *t22; + struct mem_Allocator__599 const *t23; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t24; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t25; + uint16_t t7; + uint16_t t14; + uint16_t t20; + bool t0; + uint8_t t11; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t1 = (*t3); + t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t5 = c_toU8__236(a1); + t6 = c_toU8__236(a2); + t8 = t4; + t9 = (struct instruments_root_Instrument__554 *const *)&t8; + t10 = (*t4); + t11 = t10.tag; + switch (t11) { + case UINT8_C(0): { + t4 = (*t9); + t12 = (struct instruments_valgrind_ValgrindInstrument__564 *)&t4 + ->payload.valgrind; + t13 = (*t12); + t15 = t13; + t16 = (struct instruments_valgrind_ValgrindInstrument__564 const *)&t15; + t17 = t13.allocator; + t18.f0 = t5; + t18.f1 = t6; + t19 = fmt_allocPrintZ__anon_7496__8855(t17, t18); + if (t19.error) { + t20 = t19.error; + t14 = t20; + goto zig_block_4; + } + t21 = t19.payload; + t22 = t21.ptr; + t6 = (uint8_t const *)t22; + callgrind_dump_stats_at(t6); + t23 = (struct mem_Allocator__599 const *)&t16->allocator; + t17 = (*t23); + mem_Allocator_free__anon_7498__8856(t17, t21); + t14 = 0; + goto zig_block_4; + + zig_block_4:; + memcpy(&t20, &t14, sizeof(uint16_t)); + if (t20) { + t7 = t20; + goto zig_block_2; + } + goto zig_block_3; + } + case UINT8_C(1): { + t4 = (*t9); + t24 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *)&t4->payload.perf; + t20 = + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_integration__809( + t24, t5, t6); + if (t20) { + t7 = t20; + goto zig_block_2; + } + goto zig_block_3; + } + case UINT8_C(2): { + t4 = (*t9); + t25 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *)&t4->payload.analysis; + t20 = + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_integration__822( + t25, t5, t6); + if (t20) { + t7 = t20; + goto zig_block_2; + } + goto zig_block_3; + } + case UINT8_C(3): { + goto zig_block_3; + } + default: + zig_unreachable(); + } + + zig_block_3:; + t7 = 0; + goto zig_block_2; + + zig_block_2:; + memcpy(&t20, &t7, sizeof(uint16_t)); + t0 = t20 == UINT16_C(0); + if (t0) { + goto zig_block_1; + } + return UINT8_C(1); + + zig_block_1:; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return UINT8_C(0); +} + +static nav__8855_40 fmt_allocPrintZ__anon_7496__8855( + struct mem_Allocator__599 const a0, nav__8855_43 const a1) { + nav__8855_40 t0; + nav__8855_39 t2; + nav__8855_39 t3; + nav__8855_39 const *t4; + uintptr_t t5; + uint8_t *t6; + uint16_t t1; + t0 = fmt_allocPrint__anon_7533__8857(a0, a1); + if (t0.error) { + t1 = t0.error; + t0.payload = (nav__8855_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t0.error = t1; + return t0; + } + t2 = t0.payload; + t3 = t2; + t4 = (nav__8855_39 const *)&t3; + t5 = t2.len; + t5 = t5 - (uintptr_t)1ul; + t2 = (*t4); + t6 = t2.ptr; + t6 = (uint8_t *)(((uintptr_t)t6) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t6; + t2.len = t5; + t0.payload = t2; + t0.error = UINT16_C(0); + return t0; +} + +static void mem_Allocator_free__anon_7498__8856( + struct mem_Allocator__599 const a0, nav__8856_40 const a1) { + struct mem_Allocator__599 const *t1; + nav__8856_40 t2; + uintptr_t t3; + uint64_t t4; + uint8_t *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + struct mem_Allocator__599 t10; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t12; + struct mem_Allocator_VTable__602 const *const *t13; + struct mem_Allocator_VTable__602 const *t14; + void (*const *t15)(void *, nav__8856_40, uint8_t, uintptr_t); + void (*t16)(void *, nav__8856_40, uint8_t, uintptr_t); + void *t17; + bool t5; + uint8_t t11; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_7540__8858(a1); + t3 = t2.len; + t3 = t3 + (uintptr_t)1ul; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; + } + goto zig_block_0; + +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t10 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t11 = mem_Alignment_fromByteUnits__1109((uintptr_t)1ul); + t3 = (uintptr_t)zig_return_address(); + t12 = t10; + t1 = (struct mem_Allocator__599 const *)&t12; + t13 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t14 = (*t13); + t15 = (void (*const *)(void *, nav__8856_40, uint8_t, uintptr_t))&t14->free; + t16 = (*t15); + t17 = t10.ptr; + t16(t17, t2, t11, t3); + return; +} + +static nav__8857_40 fmt_allocPrint__anon_7533__8857( + struct mem_Allocator__599 const a0, nav__8857_43 const a1) { + struct mem_Allocator__599 const *t1; + uintptr_t t2; + uintptr_t t6; + uint64_t t3; + nav__8857_54 t4; + struct mem_Allocator__599 t7; + struct mem_Allocator__599 t0; + nav__8857_40 t8; + nav__8857_40 t11; + nav__8857_39 t10; + uint16_t t9; + bool t5; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = fmt_count__anon_7547__8859(a1); + t4 = math_cast__anon_7549__8860(t3); + t5 = t4.is_null != true; + if (t5) { + t6 = t4.payload; + t2 = t6; + goto zig_block_0; + } + return (nav__8857_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_OutOfMemory}; + +zig_block_0:; + t7 = (*t1); + t8 = mem_Allocator_alloc__anon_2715__5068(t7, t2); + if (t8.error) { + t9 = t8.error; + t8.payload = (nav__8857_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t9; + return t8; + } + t10 = t8.payload; + t8 = fmt_bufPrint__anon_7552__8861(t10, a1); + t5 = t8.error == UINT16_C(0); + if (t5) { + t10 = t8.payload; + t8.payload = t10; + t8.error = UINT16_C(0); + t11 = t8; + goto zig_block_1; + } + t9 = t8.error; + switch (t9) { + case zig_error_NoSpaceLeft: { + zig_unreachable(); + } + default: + zig_unreachable(); + } + +zig_block_1:; + return t11; +} + +static nav__8858_39 mem_sliceAsBytes__anon_7540__8858(nav__8858_39 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3; + uint8_t *t4; + uint8_t *t5; + uint8_t *const *t6; + nav__8858_39 t7; + bool t2; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t3 = a0.ptr; + t4 = (uint8_t *)t3; + t5 = t4; + t6 = (uint8_t *const *)&t5; + t0 = a0.len; + t4 = (*t6); + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t7.ptr = t4; + t7.len = t0; + return t7; +} + +static uint16_t fmt_format__anon_7603__8900(struct io_Writer__4352 const a0, + nav__8900_40 const a1) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint8_t const *t4; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8900_44){(uint8_t const *)&__anon_7628, (uintptr_t)10ul}); + if (t3) { + return t3; + } + t4 = a1.f0; + t3 = fmt_formatType__anon_7637__8901( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8900_44){(uint8_t const *)&__anon_7643, (uintptr_t)1ul}); + if (t3) { + return t3; + } + t4 = a1.f1; + t3 = fmt_formatType__anon_7637__8901( + t4, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__8900_44){(uint8_t const *)&__anon_7656, (uintptr_t)1ul}); + if (t3) { + return t3; + } + return 0; +} + +static uint64_t fmt_count__anon_7547__8859(nav__8859_39 const a0) { + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + t1; + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + t0; + struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 + t2; + struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 + t3; + struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 const + *t4; + struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 const + *t5; + struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 const *const + *t6; + void const **t8; + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + *t9; + void const *t10; + nav__8859_53 (**t11)(void const *, nav__8859_54); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + uint64_t t15; + uint16_t t13; + bool t14; + t1 = io_counting_writer_countingWriter__anon_7573__8886(); + t0 = t1; + t2 = + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_writer__8885( + &t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + *)&t4->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__8859_53(**)(void const *, nav__8859_54)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWr__8899; + t12 = t7; + t13 = fmt_format__anon_7603__8900(t12, a0); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + zig_unreachable(); + +zig_block_0:; + t1 = t0; + t15 = t1.bytes_written; + return t15; +} + +static nav__8860_38 math_cast__anon_7549__8860(uint64_t const a0) { + uintptr_t t0; + nav__8860_38 t1; + t0 = a0; + t1.is_null = false; + t1.payload = t0; + return t1; +} + +static nav__8861_40 fmt_bufPrint__anon_7552__8861(nav__8861_39 const a0, + nav__8861_42 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__8861_57 (**t11)(void const *, nav__8861_58); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__8861_39 t15; + nav__8861_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__8861_57(**)(void const *, nav__8861_58)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_7603__8900(t12, a1); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__8861_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + io_counting_writer_countingWriter__anon_7573__8886(void) { + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + t0; + t0 = + (struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570){ + UINT64_C(0)}; + return t0; +} + +static struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 +io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_writer__8885( + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + a0) { + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + **t1; + struct + io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7584 + t0; + t1 = + (struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + **)&t0.context; + (*t1) = a0; + return t0; +} + +static nav__8899_38 +io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWr__8899( + void const *const a0, nav__8899_41 const a1) { + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + *t0; + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + *t1; + nav__8899_38 t2; + nav__8899_38 t3; + t0 = + (struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + *)a0; + t1 = (*t0); + t2 = + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_write__8884( + t1, a1); + memcpy(&t3, &t2, sizeof(nav__8899_38)); + return t3; +} + +static uint16_t fmt_formatType__anon_7637__8901( + uint8_t const *const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + nav__8901_47 t2; + nav__8901_47 t3; + uint8_t const *t0; + struct io_Writer__4352 t1; + uint16_t t4; + uint16_t t5; + (void)a3; + t0 = a0; + t1 = a2; + t2 = mem_span__anon_7307__8843(a0); + memcpy(&t3, &t2, sizeof(nav__8901_47)); + t4 = fmt_formatBuf__anon_5568__8674(t3, a1, a2); + memcpy(&t5, &t4, sizeof(uint16_t)); + return t5; +} + +static nav__8884_38 +io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_write__8884( + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + a0, + nav__8884_42 const a1) { + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + *t1; + nav__8884_38 t2; + uintptr_t t3; + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + *t4; + struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 + *t0; + uint64_t *t5; + uint64_t t6; + uint64_t t7; + t0 = a0; + t1 = + (struct + io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7570 *const + *)&t0; + t2 = io_dummyWrite__4889(a1); + t3 = t2.payload; + t4 = (*t1); + t5 = (uint64_t *)&t4->bytes_written; + t6 = (*t5); + t7 = t3; + t7 = t6 + t7; + (*t5) = t7; + t2.payload = t3; + t2.error = UINT16_C(0); + return t2; +} + +static nav__4889_38 io_dummyWrite__4889(nav__4889_40 const a0) { + uintptr_t t0; + nav__4889_38 t1; + t0 = a0.len; + t1.payload = t0; + t1.error = UINT16_C(0); + return t1; +} + +static uint16_t runner_fifo_RunnerFifo_add_marker__1134( + struct runner_fifo_RunnerFifo__631 *const a0, int32_t const a1, + struct shared_MarkerType__2202 const a2) { + struct runner_fifo_RunnerFifo__631 *const *t1; + struct runner_fifo_RunnerFifo__631 *t2; + struct runner_fifo_RunnerFifo__631 *t0; + struct fifo_UnixPipe_Writer__638 *t3; + struct shared_Command__struct_2200__2200 t4; + struct shared_Command__2195 t5; + struct fifo_UnixPipe_Reader__640 *t7; + uint16_t t6; + t0 = a0; + t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; + t2 = (*t1); + t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; + t4.marker = a2; + t4.pid = a1; + t5.tag = UINT8_C(7); + t5.payload.AddMarker = t4; + t6 = fifo_UnixPipe_Writer_sendCmd__1164(t3, t5); + if (t6) { + return t6; + } + t2 = (*t1); + t7 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; + t6 = fifo_UnixPipe_Reader_waitForAck__1171( + t7, (nav__1134_77){UINT64_C(0xaaaaaaaaaaaaaaaa), true}); + if (t6) { + return t6; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_add_marker__810( + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + a0, + int32_t const a1, struct shared_MarkerType__2202 const a2) { + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_add_marker__1134(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +static uint16_t +instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_add_marker__823( + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + a0, + int32_t const a1, struct shared_MarkerType__2202 const a2) { + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *t1; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t2; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t0; + struct runner_fifo_RunnerFifo__631 *t3; + uint16_t t4; + t0 = a0; + t1 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const + *)&t0; + t2 = (*t1); + t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; + t4 = runner_fifo_RunnerFifo_add_marker__1134(t3, a1, a2); + if (t4) { + return t4; + } + return 0; +} + +uint8_t c_instrument_hooks_add_marker__250(struct InstrumentHooks *const a0, + int32_t const a1, uint8_t const a2, + uint64_t const a3) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct shared_MarkerType__2202 t4; + struct shared_MarkerType__2202 t5; + struct instruments_root_Instrument__554 *t6; + struct instruments_root_Instrument__554 *t8; + struct instruments_root_Instrument__554 *const *t9; + struct instruments_root_Instrument__554 t10; + struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *t12; + struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *t15; + uint16_t t7; + uint16_t t13; + uint16_t t14; + bool t0; + uint8_t t11; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + switch (a2) { + case UINT8_C(0): { + t5.tag = UINT8_C(0); + t5.payload.SampleStart = a3; + t4 = t5; + goto zig_block_1; + } + case UINT8_C(1): { + t5.tag = UINT8_C(1); + t5.payload.SampleEnd = a3; + t4 = t5; + goto zig_block_1; + } + case UINT8_C(2): { + t5.tag = UINT8_C(2); + t5.payload.BenchmarkStart = a3; + t4 = t5; + goto zig_block_1; + } + case UINT8_C(3): { + t5.tag = UINT8_C(3); + t5.payload.BenchmarkEnd = a3; + t4 = t5; + goto zig_block_1; + } + default: { + return UINT8_C(2); + } + } + + zig_block_1:; + t1 = (*t3); + t6 = (struct instruments_root_Instrument__554 *)&t1->instrument; + t8 = t6; + t9 = (struct instruments_root_Instrument__554 *const *)&t8; + t10 = (*t6); + t11 = t10.tag; + t0 = t11 == UINT8_C(1); + if (t0) { + t6 = (*t9); + t12 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 + *)&t6->payload.perf; + t13 = + instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_add_marker__810( + t12, a1, t4); + memcpy(&t14, &t13, sizeof(uint16_t)); + t7 = t14; + goto zig_block_3; + } + t10 = (*t6); + t11 = t10.tag; + t0 = t11 == UINT8_C(2); + if (t0) { + t6 = (*t9); + t15 = + (struct + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 + *)&t6->payload.analysis; + t14 = + instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_add_marker__823( + t15, a1, t4); + memcpy(&t13, &t14, sizeof(uint16_t)); + t7 = t13; + goto zig_block_3; + } + goto zig_block_5; + + zig_block_5:; + goto zig_block_4; + + zig_block_4:; + t7 = 0; + goto zig_block_3; + + zig_block_3:; + memcpy(&t14, &t7, sizeof(uint16_t)); + t0 = t14 == UINT16_C(0); + if (t0) { + goto zig_block_2; + } + return UINT8_C(1); + + zig_block_2:; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + return UINT8_C(0); +} + +uint64_t c_instrument_hooks_current_timestamp__251(void) { + uint64_t t0; + t0 = utils_clock_gettime_monotonic__4782(); + return t0; +} + +static uint64_t utils_clock_gettime_monotonic__4782(void) { + struct os_linux_timespec__struct_3278__3278 t0; + struct os_linux_timespec__struct_3278__3278 t3; + nav__4782_41 t1; + intptr_t t4; + uint64_t t5; + uint64_t t6; + bool t2; + t1 = posix_clock_gettime__1816(UINT32_C(1)); + t2 = t1.error == UINT16_C(0); + if (t2) { + t3 = t1.payload; + t0 = t3; + goto zig_block_0; + } + zig_unreachable(); + +zig_block_0:; + t4 = t0.sec; + t5 = (uint64_t)t4; + t5 = t5 * UINT64_C(1000000000); + t4 = t0.nsec; + t6 = (uint64_t)t4; + t6 = t5 + t6; + return t6; +} + +static uint16_t +environment_root_Environment_setIntegrationEnvironmentValue__774( + struct environment_root_Environment__559 *const a0, nav__774_41 const a1, + nav__774_41 const a2, + struct environment_root_EnvironmentValue__850 const a3) { + struct environment_root_Environment__559 *const *t1; + struct environment_root_Environment__559 *t2; + struct environment_root_Environment__559 *t0; + struct environment_root_EnvironmentJson__839 *t3; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t5; + struct mem_Allocator__599 *t6; + struct mem_Allocator__599 t7; + nav__774_93 t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t11; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 const + *t12; + nav__774_41 *t14; + nav__774_98 t15; + nav__774_96 t16; + nav__774_41 t17; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t18; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t19; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t20; + nav__774_110 t21; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t22; + struct environment_root_EnvironmentValue__850 *t23; + struct environment_root_EnvironmentValue__850 t24; + uint16_t t9; + bool t13; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; + t2 = (*t1); + t3 = (struct environment_root_EnvironmentJson__839 *)&t2->data; + t4 = + (struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *)&t3->integration_environment; + t5 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *)&t4->map; + t6 = (struct mem_Allocator__599 *)&a0->allocator; + t7 = (*t6); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3789( + t5, t7, a1); + if (t8.error) { + t9 = t8.error; + return t9; + } + t10 = t8.payload; + t11 = t10; + t12 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 const + *)&t11; + t13 = t10.found_existing; + t13 = !t13; + if (t13) { + t14 = t10.key_ptr; + t2 = (*t1); + t6 = (struct mem_Allocator__599 *)&t2->allocator; + t7 = (*t6); + t15 = mem_Allocator_dupe__anon_7733__8902(t7, a1); + if (t15.error) { + t9 = t15.error; + return t9; + } + t16 = t15.payload; + memcpy(&t17, &t16, sizeof(nav__774_41)); + (*t14) = t17; + t18 = t10.value_ptr; + (*t18) = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852){ + {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), (uintptr_t)0ul, + (uintptr_t)0ul}, + NULL}}; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t19 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *)&t12->value_ptr; + t18 = (*t19); + t20 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *)&t18->map; + t6 = (struct mem_Allocator__599 *)&a0->allocator; + t7 = (*t6); + t21 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4000( + t20, t7, a2); + if (t21.error) { + t9 = t21.error; + return t9; + } + t22 = t21.payload; + t13 = t22.found_existing; + if (t13) { + t2 = (*t1); + t23 = t22.value_ptr; + t24 = (*t23); + environment_root_Environment_freeEnvironmentValue__773(t2, t24); + goto zig_block_1; + } + t14 = t22.key_ptr; + t2 = (*t1); + t6 = (struct mem_Allocator__599 *)&t2->allocator; + t7 = (*t6); + t15 = mem_Allocator_dupe__anon_7733__8902(t7, a2); + if (t15.error) { + t9 = t15.error; + return t9; + } + t16 = t15.payload; + memcpy(&t17, &t16, sizeof(nav__774_41)); + (*t14) = t17; + goto zig_block_1; + +zig_block_1:; + t23 = t22.value_ptr; + (*t23) = a3; + return 0; +} + +static uint16_t environment_root_Environment_setIntegrationEnvironment__771( + struct environment_root_Environment__559 *const a0, nav__771_41 const a1, + nav__771_41 const a2, nav__771_41 const a3) { + struct environment_root_Environment__559 *const *t1; + struct environment_root_Environment__559 *t2; + struct environment_root_Environment__559 *t3; + struct environment_root_Environment__559 *t0; + struct mem_Allocator__599 *t4; + struct mem_Allocator__599 t5; + nav__771_81 t6; + nav__771_79 t8; + nav__771_41 t9; + struct environment_root_EnvironmentValue__850 t10; + uint16_t t7; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; + t2 = (*t1); + t3 = (*t1); + t4 = (struct mem_Allocator__599 *)&t3->allocator; + t5 = (*t4); + t6 = mem_Allocator_dupe__anon_7733__8902(t5, a3); + if (t6.error) { + t7 = t6.error; + return t7; + } + t8 = t6.payload; + memcpy(&t9, &t8, sizeof(nav__771_41)); + t10.tag = UINT8_C(0); + t10.payload.string = t9; + t7 = environment_root_Environment_setIntegrationEnvironmentValue__774( + t2, a1, a2, t10); + if (t7) { + return t7; + } + return 0; +} + +uint8_t c_instrument_hooks_set_environment__252( + struct InstrumentHooks *const a0, char const *const a1, + char const *const a2, char const *const a3) { + struct InstrumentHooks *t2; + struct InstrumentHooks *t3; + struct InstrumentHooks *const *t4; + struct environment_root_Environment__559 *t5; + uint8_t const *t6; + nav__252_100 t7; + nav__252_100 t8; + nav__252_100 t9; + nav__252_100 t10; + uint16_t t11; + bool t0; + bool t1; + t0 = a1 == NULL; + if (t0) { + t1 = true; + goto zig_block_1; + } + t0 = a2 == NULL; + t1 = t0; + goto zig_block_1; + +zig_block_1:; + if (t1) { + t0 = true; + goto zig_block_2; + } + t1 = a3 == NULL; + t0 = t1; + goto zig_block_2; + +zig_block_2:; + if (t0) { + return UINT8_C(1); + } + goto zig_block_0; + +zig_block_0:; + t1 = a0 != NULL; + if (t1) { + t2 = a0; + t3 = t2; + t4 = (struct InstrumentHooks *const *)&t3; + t2 = (*t4); + t5 = (struct environment_root_Environment__559 *)&t2->environment; + t6 = c_toU8__236(a1); + t7 = mem_span__anon_7307__8843(t6); + memcpy(&t8, &t7, sizeof(nav__252_100)); + t6 = c_toU8__236(a2); + t7 = mem_span__anon_7307__8843(t6); + memcpy(&t9, &t7, sizeof(nav__252_100)); + t6 = c_toU8__236(a3); + t7 = mem_span__anon_7307__8843(t6); + memcpy(&t10, &t7, sizeof(nav__252_100)); + t11 = environment_root_Environment_setIntegrationEnvironment__771(t5, t8, + t9, t10); + t1 = t11 == UINT16_C(0); + if (t1) { + goto zig_block_4; + } + return UINT8_C(1); + + zig_block_4:; + return UINT8_C(0); + } + goto zig_block_3; + +zig_block_3:; + return UINT8_C(1); +} + +static nav__8902_40 mem_Allocator_dupe__anon_7733__8902( + struct mem_Allocator__599 const a0, nav__8902_43 const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + uintptr_t t3; + nav__8902_40 t4; + nav__8902_39 t6; + uint8_t const *t7; + uint16_t t5; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = a1.len; + t4 = mem_Allocator_alloc__anon_2715__5068(t2, t3); + if (t4.error) { + t5 = t4.error; + t4.payload = (nav__8902_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t4.error = t5; + return t4; + } + t6 = t4.payload; + t7 = a1.ptr; + if (t6.len != 0) memcpy(t6.ptr, t7, t6.len * sizeof(uint8_t)); + t4.payload = t6; + t4.error = UINT16_C(0); + return t4; +} + +static nav__3789_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3789( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct mem_Allocator__599 const a1, nav__3789_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + nav__3789_39 t3; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = (*t1); + t3 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3790( + t2, a1, a2); + return t3; +} + +static nav__4000_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4000( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct mem_Allocator__599 const a1, nav__4000_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + nav__4000_39 t3; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = (*t1); + t3 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4001( + t2, a1, a2); + return t3; +} + +static nav__3790_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3790( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct mem_Allocator__599 const a1, nav__3790_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + nav__3790_39 t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t5; + nav__3790_44 *t7; + uint16_t t4; + bool t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = (*t1); + t3 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8903( + t2, a1, a2); + if (t3.error) { + t4 = t3.error; + t3.payload = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735){ + ((nav__3790_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0xaaaaaaaaaaaaaaaaul, false}; + t3.error = t4; + return t3; + } + t5 = t3.payload; + t6 = t5.found_existing; + t6 = !t6; + if (t6) { + t7 = t5.key_ptr; + (*t7) = a2; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t3.payload = t5; + t3.error = UINT16_C(0); + return t3; +} + +static nav__4001_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4001( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct mem_Allocator__599 const a1, nav__4001_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + nav__4001_39 t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t5; + nav__4001_44 *t7; + uint16_t t4; + bool t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = (*t1); + t3 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8904( + t2, a1, a2); + if (t3.error) { + t4 = t3.error; + t3.payload = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746){ + ((nav__4001_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct environment_root_EnvironmentValue__850 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0xaaaaaaaaaaaaaaaaul, false}; + t3.error = t4; + return t3; + } + t5 = t3.payload; + t6 = t5.found_existing; + t6 = !t6; + if (t6) { + t7 = t5.key_ptr; + (*t7) = a2; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t3.payload = t5; + t3.error = UINT16_C(0); + return t3; +} + +static nav__8903_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8903( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct mem_Allocator__599 const a1, nav__8903_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t4; + uintptr_t t5; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t8; + nav__8903_67 t9; + nav__8903_39 t11; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t12; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t13; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t14; + nav__8903_73 t15; + nav__8903_73 t16; + nav__8903_73 const *t17; + nav__8903_44 *t18; + nav__8903_76 t19; + nav__8903_76 t20; + nav__8903_76 const *t21; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t22; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t23; + uint16_t t6; + bool t7; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&a0->entries; + t4 = (*t3); + t5 = t4.len; + t5 = t5 + (uintptr_t)1ul; + t6 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3799( + t2, a1, t5); + t7 = t6 == UINT16_C(0); + if (t7) { + goto zig_block_0; + } + t2 = (*t1); + t8 = (*t2); + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8905( + t8, a2); + t7 = t9.is_null != true; + if (t7) { + t10 = t9.payload; + t5 = t10; + goto zig_block_1; + } + t11.payload = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735){ + ((nav__8903_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0xaaaaaaaaaaaaaaaaul, false}; + t11.error = t6; + return t11; + +zig_block_1:; + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t2->entries; + t4 = (*t3); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t4); + t13 = t12; + t14 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t13; + t12 = (*t14); + t15 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t12); + t16 = t15; + t17 = (nav__8903_73 const *)&t16; + t15 = (*t17); + t18 = &t15.ptr[t5]; + t12 = (*t14); + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t12); + t20 = t19; + t21 = (nav__8903_76 const *)&t20; + t19 = (*t21); + t22 = &t19.ptr[t5]; + t23.key_ptr = t18; + t23.value_ptr = t22; + t23.index = t5; + t23.found_existing = true; + t11.payload = t23; + t11.error = UINT16_C(0); + return t11; + +zig_block_0:; + t2 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906( + t2, a2); + t11.payload = t23; + t11.error = UINT16_C(0); + return t11; +} + +static nav__8904_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8904( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct mem_Allocator__599 const a1, nav__8904_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t4; + uintptr_t t5; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t8; + nav__8904_67 t9; + nav__8904_39 t11; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t12; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t13; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t14; + nav__8904_73 t15; + nav__8904_73 t16; + nav__8904_73 const *t17; + nav__8904_44 *t18; + nav__8904_76 t19; + nav__8904_76 t20; + nav__8904_76 const *t21; + struct environment_root_EnvironmentValue__850 *t22; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t23; + uint16_t t6; + bool t7; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&a0->entries; + t4 = (*t3); + t5 = t4.len; + t5 = t5 + (uintptr_t)1ul; + t6 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4010( + t2, a1, t5); + t7 = t6 == UINT16_C(0); + if (t7) { + goto zig_block_0; + } + t2 = (*t1); + t8 = (*t2); + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8907( + t8, a2); + t7 = t9.is_null != true; + if (t7) { + t10 = t9.payload; + t5 = t10; + goto zig_block_1; + } + t11.payload = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746){ + ((nav__8904_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct environment_root_EnvironmentValue__850 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0xaaaaaaaaaaaaaaaaul, false}; + t11.error = t6; + return t11; + +zig_block_1:; + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t2->entries; + t4 = (*t3); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t4); + t13 = t12; + t14 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t13; + t12 = (*t14); + t15 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t12); + t16 = t15; + t17 = (nav__8904_73 const *)&t16; + t15 = (*t17); + t18 = &t15.ptr[t5]; + t12 = (*t14); + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t12); + t20 = t19; + t21 = (nav__8904_76 const *)&t20; + t19 = (*t21); + t22 = &t19.ptr[t5]; + t23.key_ptr = t18; + t23.value_ptr = t22; + t23.index = t5; + t23.found_existing = true; + t11.payload = t23; + t11.error = UINT16_C(0); + return t11; + +zig_block_0:; + t2 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8908( + t2, a2); + t11.payload = t23; + t11.error = UINT16_C(0); + return t11; +} + +static uint16_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3799( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + void *t3; + uint64_t t4; + uint64_t t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t6; + struct array_hash_map_IndexHeader__886 **t8; + struct array_hash_map_IndexHeader__886 *t9; + struct array_hash_map_IndexHeader__886 *t10; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t20; + struct array_hash_map_IndexHeader__886 *const *t12; + nav__3799_62 t18; + struct array_hash_map_IndexHeader__886 t13; + uint32_t t14; + uint16_t t7; + nav__3799_60 t16; + bool t5; + uint8_t t17; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_lock__3969(t3); + t4 = a2; + t5 = t4 <= UINT64_C(8); + if (t5) { + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3942( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; + } + goto zig_block_0; + +zig_block_0:; + t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t9 = (*t8); + t5 = t9 != NULL; + if (t5) { + t10 = t9; + t11 = t10; + t12 = (struct array_hash_map_IndexHeader__886 *const *)&t11; + t10 = (*t12); + t13 = (*t10); + t14 = array_hash_map_IndexHeader_capacity__3961(t13); + t4 = a2; + t15 = (uint64_t)t14; + t5 = t4 <= t15; + if (t5) { + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3942( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; + } + goto zig_block_2; + + zig_block_2:; + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3942( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t16 = array_hash_map_IndexHeader_findBitIndex__3964(a2); + if (t16.error) { + t7 = t16.error; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t17 = t16.payload; + t18 = array_hash_map_IndexHeader_alloc__3965(a1, t17); + if (t18.error) { + t7 = t18.error; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t10 = t18.payload; + t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t9 = (*t8); + t5 = t9 != NULL; + if (t5) { + t19 = t9; + t20 = t19; + t12 = (struct array_hash_map_IndexHeader__886 *const *)&t20; + t19 = (*t12); + array_hash_map_IndexHeader_free__3966(t19, a1); + goto zig_block_3; + } + goto zig_block_3; + +zig_block_3:; + t2 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3891( + t2, t10); + t2 = (*t1); + t8 = (struct array_hash_map_IndexHeader__886 **)&t2->index_header; + t19 = (struct array_hash_map_IndexHeader__886 *)t10; + (*t8) = t19; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; +} + +static nav__8905_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8905( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8905_41 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_IndexHeader__886 *t3; + struct array_hash_map_IndexHeader__886 *t5; + struct array_hash_map_IndexHeader__886 *t24; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t10; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t11; + nav__8905_61 t12; + nav__8905_64 t13; + uintptr_t t15; + uintptr_t t16; + uintptr_t t14; + uint64_t t17; + uint64_t t18; + nav__8905_41 *t19; + nav__8905_41 t22; + nav__8905_38 t23; + struct array_hash_map_IndexHeader__886 *const *t25; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t28; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + uint32_t t6; + uint32_t t20; + struct array_hash_map_IndexHeader__886 t26; + bool t4; + bool t21; + uint8_t t27; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t3 = a0.index_header; + t4 = t3 != NULL; + if (t4) { + t5 = t3; + t2 = t5; + goto zig_block_0; + } + t6 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t7 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *)&t1->entries; + t8 = (*t7); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t8); + t10 = t9; + t11 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t10; + t9 = (*t11); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t9); + t9 = (*t11); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t9); + t14 = (uintptr_t)0ul; + t15 = t13.len; +zig_loop_32: + t16 = t14; + t17 = t16; + t18 = t15; + t4 = t17 < t18; + if (t4) { + t19 = &t13.ptr[t16]; + t20 = t12.ptr[t16]; + t4 = t20 == t6; + if (t4) { + t22 = (*t19); + t4 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t22, t16); + t21 = t4; + goto zig_block_4; + } + t21 = false; + goto zig_block_4; + + zig_block_4:; + if (t21) { + t23.is_null = false; + t23.payload = t16; + return t23; + } + goto zig_block_3; + + zig_block_3:; + goto zig_block_2; + } + goto zig_block_1; + +zig_block_2:; + t16 = t16 + (uintptr_t)1ul; + t14 = t16; + goto zig_loop_32; + +zig_block_1:; + return (nav__8905_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t24 = t2; + t25 = (struct array_hash_map_IndexHeader__886 *const *)&t24; + t5 = (*t25); + t26 = (*t5); + t27 = array_hash_map_IndexHeader_capacityIndexType__3960(t26); + switch (t27) { + case UINT8_C(0): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8912( + t28, a1, t2); + return t23; + } + case UINT8_C(1): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8913( + t28, a1, t2); + return t23; + } + case UINT8_C(2): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8914( + t28, a1, t2); + return t23; + } + default: + zig_unreachable(); + } +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + nav__8906_42 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t6; + struct array_hash_map_IndexHeader__886 *t39; + struct array_hash_map_IndexHeader__886 **t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t10; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t11; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t12; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t13; + nav__8906_66 t14; + nav__8906_66 t15; + nav__8906_66 const *t16; + nav__8906_69 t17; + nav__8906_69 t18; + nav__8906_69 const *t19; + uintptr_t t21; + uintptr_t t22; + uintptr_t t20; + uint64_t t23; + uint64_t t24; + nav__8906_42 *t25; + nav__8906_42 t28; + nav__8906_72 t29; + nav__8906_72 t30; + nav__8906_72 t37; + nav__8906_72 const *t31; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t32; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t33; + uint32_t *const *t34; + uint32_t *t35; + nav__8906_42 *const *t36; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t38; + struct array_hash_map_IndexHeader__886 *const *t40; + uint32_t t7; + uint32_t t26; + struct array_hash_map_IndexHeader__886 t41; + bool t5; + bool t27; + uint8_t t42; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t3 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t4 = (*t3); + t5 = t4 != NULL; + if (t5) { + t6 = t4; + t2 = t6; + goto zig_block_0; + } + t7 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t8 = (*t1); + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t8->entries; + t10 = (*t9); + t11 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t10); + t12 = t11; + t13 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t12; + t11 = (*t13); + t14 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t11); + t15 = t14; + t16 = (nav__8906_66 const *)&t15; + t11 = (*t13); + t17 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t11); + t18 = t17; + t19 = (nav__8906_69 const *)&t18; + t20 = (uintptr_t)0ul; + t21 = t17.len; +zig_loop_39: + t22 = t20; + t23 = t22; + t24 = t21; + t5 = t23 < t24; + if (t5) { + t25 = &t17.ptr[t22]; + t26 = t14.ptr[t22]; + t5 = t26 == t7; + if (t5) { + t28 = (*t25); + t5 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t28, t22); + t27 = t5; + goto zig_block_4; + } + t27 = false; + goto zig_block_4; + + zig_block_4:; + if (t27) { + t11 = (*t13); + t29 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t11); + t30 = t29; + t31 = (nav__8906_72 const *)&t30; + t29 = (*t31); + t32 = &t29.ptr[t22]; + t33.key_ptr = t25; + t33.value_ptr = t32; + t33.index = t22; + t33.found_existing = true; + return t33; + } + goto zig_block_3; + + zig_block_3:; + goto zig_block_2; + } + goto zig_block_1; + +zig_block_2:; + t22 = t22 + (uintptr_t)1ul; + t20 = t22; + goto zig_loop_39; + +zig_block_1:; + t8 = (*t1); + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t8->entries; + t21 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t9); + t34 = &t16->ptr; + t35 = (*t34); + t35 = (uint32_t *)&t35[t21]; + (*t35) = t7; + t36 = &t19->ptr; + t25 = (*t36); + t25 = (nav__8906_42 *)&t25[t21]; + t11 = (*t13); + t29 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t11); + t37 = t29; + t31 = (nav__8906_72 const *)&t37; + t38 = &t31->ptr; + t32 = (*t38); + t32 = (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t32[t21]; + t33.key_ptr = t25; + t33.value_ptr = t32; + t33.index = t21; + t33.found_existing = false; + return t33; + +zig_block_0:; + t39 = t2; + t40 = (struct array_hash_map_IndexHeader__886 *const *)&t39; + t6 = (*t40); + t41 = (*t6); + t42 = array_hash_map_IndexHeader_capacityIndexType__3960(t41); + switch (t42) { + case UINT8_C(0): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8915( + t8, a1, t2); + return t33; + } + case UINT8_C(1): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8916( + t8, a1, t2); + return t33; + } + case UINT8_C(2): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8917( + t8, a1, t2); + return t33; + } + default: + zig_unreachable(); + } +} + +static uint16_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4010( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + void *t3; + uint64_t t4; + uint64_t t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t6; + struct array_hash_map_IndexHeader__886 **t8; + struct array_hash_map_IndexHeader__886 *t9; + struct array_hash_map_IndexHeader__886 *t10; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t20; + struct array_hash_map_IndexHeader__886 *const *t12; + nav__4010_62 t18; + struct array_hash_map_IndexHeader__886 t13; + uint32_t t14; + uint16_t t7; + nav__4010_60 t16; + bool t5; + uint8_t t17; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_lock__3969(t3); + t4 = a2; + t5 = t4 <= UINT64_C(8); + if (t5) { + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4136( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; + } + goto zig_block_0; + +zig_block_0:; + t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t9 = (*t8); + t5 = t9 != NULL; + if (t5) { + t10 = t9; + t11 = t10; + t12 = (struct array_hash_map_IndexHeader__886 *const *)&t11; + t10 = (*t12); + t13 = (*t10); + t14 = array_hash_map_IndexHeader_capacity__3961(t13); + t4 = a2; + t15 = (uint64_t)t14; + t5 = t4 <= t15; + if (t5) { + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4136( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; + } + goto zig_block_2; + + zig_block_2:; + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4136( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t16 = array_hash_map_IndexHeader_findBitIndex__3964(a2); + if (t16.error) { + t7 = t16.error; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t17 = t16.payload; + t18 = array_hash_map_IndexHeader_alloc__3965(a1, t17); + if (t18.error) { + t7 = t18.error; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t10 = t18.payload; + t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t9 = (*t8); + t5 = t9 != NULL; + if (t5) { + t19 = t9; + t20 = t19; + t12 = (struct array_hash_map_IndexHeader__886 *const *)&t20; + t19 = (*t12); + array_hash_map_IndexHeader_free__3966(t19, a1); + goto zig_block_3; + } + goto zig_block_3; + +zig_block_3:; + t2 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4102( + t2, t10); + t2 = (*t1); + t8 = (struct array_hash_map_IndexHeader__886 **)&t2->index_header; + t19 = (struct array_hash_map_IndexHeader__886 *)t10; + (*t8) = t19; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; +} + +static nav__8907_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8907( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8907_41 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_IndexHeader__886 *t3; + struct array_hash_map_IndexHeader__886 *t5; + struct array_hash_map_IndexHeader__886 *t24; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t10; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t11; + nav__8907_61 t12; + nav__8907_64 t13; + uintptr_t t15; + uintptr_t t16; + uintptr_t t14; + uint64_t t17; + uint64_t t18; + nav__8907_41 *t19; + nav__8907_41 t22; + nav__8907_38 t23; + struct array_hash_map_IndexHeader__886 *const *t25; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t28; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + uint32_t t6; + uint32_t t20; + struct array_hash_map_IndexHeader__886 t26; + bool t4; + bool t21; + uint8_t t27; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t3 = a0.index_header; + t4 = t3 != NULL; + if (t4) { + t5 = t3; + t2 = t5; + goto zig_block_0; + } + t6 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t7 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *)&t1->entries; + t8 = (*t7); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t8); + t10 = t9; + t11 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t10; + t9 = (*t11); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t9); + t9 = (*t11); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t9); + t14 = (uintptr_t)0ul; + t15 = t13.len; +zig_loop_32: + t16 = t14; + t17 = t16; + t18 = t15; + t4 = t17 < t18; + if (t4) { + t19 = &t13.ptr[t16]; + t20 = t12.ptr[t16]; + t4 = t20 == t6; + if (t4) { + t22 = (*t19); + t4 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t22, t16); + t21 = t4; + goto zig_block_4; + } + t21 = false; + goto zig_block_4; + + zig_block_4:; + if (t21) { + t23.is_null = false; + t23.payload = t16; + return t23; + } + goto zig_block_3; + + zig_block_3:; + goto zig_block_2; + } + goto zig_block_1; + +zig_block_2:; + t16 = t16 + (uintptr_t)1ul; + t14 = t16; + goto zig_loop_32; + +zig_block_1:; + return (nav__8907_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t24 = t2; + t25 = (struct array_hash_map_IndexHeader__886 *const *)&t24; + t5 = (*t25); + t26 = (*t5); + t27 = array_hash_map_IndexHeader_capacityIndexType__3960(t26); + switch (t27) { + case UINT8_C(0): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8921( + t28, a1, t2); + return t23; + } + case UINT8_C(1): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8922( + t28, a1, t2); + return t23; + } + case UINT8_C(2): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8923( + t28, a1, t2); + return t23; + } + default: + zig_unreachable(); + } +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8908( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + nav__8908_42 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t6; + struct array_hash_map_IndexHeader__886 *t39; + struct array_hash_map_IndexHeader__886 **t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t10; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t11; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t12; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t13; + nav__8908_66 t14; + nav__8908_66 t15; + nav__8908_66 const *t16; + nav__8908_69 t17; + nav__8908_69 t18; + nav__8908_69 const *t19; + uintptr_t t21; + uintptr_t t22; + uintptr_t t20; + uint64_t t23; + uint64_t t24; + nav__8908_42 *t25; + nav__8908_42 t28; + nav__8908_72 t29; + nav__8908_72 t30; + nav__8908_72 t37; + nav__8908_72 const *t31; + struct environment_root_EnvironmentValue__850 *t32; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t33; + uint32_t *const *t34; + uint32_t *t35; + nav__8908_42 *const *t36; + struct environment_root_EnvironmentValue__850 *const *t38; + struct array_hash_map_IndexHeader__886 *const *t40; + uint32_t t7; + uint32_t t26; + struct array_hash_map_IndexHeader__886 t41; + bool t5; + bool t27; + uint8_t t42; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t3 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t4 = (*t3); + t5 = t4 != NULL; + if (t5) { + t6 = t4; + t2 = t6; + goto zig_block_0; + } + t7 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t8 = (*t1); + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t8->entries; + t10 = (*t9); + t11 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t10); + t12 = t11; + t13 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t12; + t11 = (*t13); + t14 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t11); + t15 = t14; + t16 = (nav__8908_66 const *)&t15; + t11 = (*t13); + t17 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t11); + t18 = t17; + t19 = (nav__8908_69 const *)&t18; + t20 = (uintptr_t)0ul; + t21 = t17.len; +zig_loop_39: + t22 = t20; + t23 = t22; + t24 = t21; + t5 = t23 < t24; + if (t5) { + t25 = &t17.ptr[t22]; + t26 = t14.ptr[t22]; + t5 = t26 == t7; + if (t5) { + t28 = (*t25); + t5 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t28, t22); + t27 = t5; + goto zig_block_4; + } + t27 = false; + goto zig_block_4; + + zig_block_4:; + if (t27) { + t11 = (*t13); + t29 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t11); + t30 = t29; + t31 = (nav__8908_72 const *)&t30; + t29 = (*t31); + t32 = &t29.ptr[t22]; + t33.key_ptr = t25; + t33.value_ptr = t32; + t33.index = t22; + t33.found_existing = true; + return t33; + } + goto zig_block_3; + + zig_block_3:; + goto zig_block_2; + } + goto zig_block_1; + +zig_block_2:; + t22 = t22 + (uintptr_t)1ul; + t20 = t22; + goto zig_loop_39; + +zig_block_1:; + t8 = (*t1); + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t8->entries; + t21 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t9); + t34 = &t16->ptr; + t35 = (*t34); + t35 = (uint32_t *)&t35[t21]; + (*t35) = t7; + t36 = &t19->ptr; + t25 = (*t36); + t25 = (nav__8908_42 *)&t25[t21]; + t11 = (*t13); + t29 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t11); + t37 = t29; + t31 = (nav__8908_72 const *)&t37; + t38 = &t31->ptr; + t32 = (*t38); + t32 = (struct environment_root_EnvironmentValue__850 *)&t32[t21]; + t33.key_ptr = t25; + t33.value_ptr = t32; + t33.index = t21; + t33.found_existing = false; + return t33; + +zig_block_0:; + t39 = t2; + t40 = (struct array_hash_map_IndexHeader__886 *const *)&t39; + t6 = (*t40); + t41 = (*t6); + t42 = array_hash_map_IndexHeader_capacityIndexType__3960(t41); + switch (t42) { + case UINT8_C(0): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8924( + t8, a1, t2); + return t33; + } + case UINT8_C(1): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8925( + t8, a1, t2); + return t33; + } + case UINT8_C(2): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8926( + t8, a1, t2); + return t33; + } + default: + zig_unreachable(); + } +} + +static void debug_SafetyLock_lock__3969(void *const a0) { + void *t0; + t0 = a0; + return; +} + +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3946( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *t1; + struct mem_Allocator__599 const *t3; + uintptr_t *t4; + uintptr_t t5; + uint64_t t6; + uint64_t t7; + struct mem_Allocator__599 t9; + struct mem_Allocator__599 t2; + nav__3946_54 t10; + nav__3946_52 t12; + nav__3946_52 t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t13; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t14; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t18; + uint8_t **t16; + uint8_t *t17; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t19; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t20; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t22; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t21; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t23; + nav__3946_62 t24; + nav__3946_62 t25; + uint32_t *t26; + nav__3946_67 t27; + nav__3946_67 t28; + nav__3946_65 *t29; + nav__3946_72 t30; + nav__3946_72 t31; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t32; + uint16_t t11; + bool t8; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t6 = a2; + t7 = t5; + t8 = t6 >= t7; + debug_assert__180(t8); + t9 = (*t3); + t5 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953( + a2); + t10 = mem_Allocator_alignedAlloc__anon_7944__8927(t9, t5); + if (t10.error) { + t11 = t10.error; + return t11; + } + t12 = t10.payload; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t7 = t5; + t8 = t7 == UINT64_C(0); + if (t8) { + t9 = (*t3); + t13 = (*t1); + t14 = (*t13); + t15 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3954( + t14); + mem_Allocator_free__anon_7039__8818(t9, t15); + t13 = (*t1); + t16 = (uint8_t **)&t13->bytes; + t17 = t12.ptr; + (*t16) = t17; + t13 = (*t1); + t4 = (uintptr_t *)&t13->capacity; + (*t4) = a2; + return 0; + } + goto zig_block_0; + +zig_block_0:; + t17 = t12.ptr; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t14.bytes = t17; + t14.len = t5; + t14.capacity = a2; + t18 = t14; + t13 = (*t1); + t14 = (*t13); + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t14); + t20 = t19; + t21 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t20; + t14 = t18; + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t14); + t22 = t19; + t23 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t22; + t19 = (*t23); + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t19); + t19 = (*t21); + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t19); + t26 = t25.ptr; + if (t24.len != 0) memcpy(t24.ptr, t26, t24.len * sizeof(uint32_t)); + t19 = (*t23); + t27 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t19); + t19 = (*t21); + t28 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t19); + t29 = t28.ptr; + if (t27.len != 0) memcpy(t27.ptr, t29, t27.len * sizeof(nav__3946_65)); + t19 = (*t23); + t30 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t19); + t19 = (*t21); + t31 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t19); + t32 = t31.ptr; + if (t30.len != 0) + memcpy( + t30.ptr, t32, + t30.len * + sizeof( + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852)); + t9 = (*t3); + t13 = (*t1); + t14 = (*t13); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3954( + t14); + mem_Allocator_free__anon_7039__8818(t9, t12); + t14 = t18; + (*a0) = t14; + return 0; +} + +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3942( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t0; + uint16_t t8; + uint16_t t9; + bool t6; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a2; + t6 = t4 >= t5; + if (t6) { + return 0; + } + goto zig_block_0; + +zig_block_0:; + t7 = (*t1); + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t3 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3944( + t3, a2); + t8 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3946( + t7, a1, t3); + memcpy(&t9, &t8, sizeof(uint16_t)); + return t9; +} + +static void debug_SafetyLock_unlock__3970(void *const a0) { + void *t0; + t0 = a0; + return; +} + +static uint32_t array_hash_map_IndexHeader_capacity__3961( + struct array_hash_map_IndexHeader__886 const a0) { + static uint32_t const t2[33] = { + UINT32_C(0), UINT32_C(1), UINT32_C(2), + UINT32_C(4), UINT32_C(9), UINT32_C(19), + UINT32_C(38), UINT32_C(76), UINT32_C(153), + UINT32_C(307), UINT32_C(614), UINT32_C(1228), + UINT32_C(2457), UINT32_C(4915), UINT32_C(9830), + UINT32_C(19660), UINT32_C(39321), UINT32_C(78643), + UINT32_C(157286), UINT32_C(314572), UINT32_C(629145), + UINT32_C(1258291), UINT32_C(2516582), UINT32_C(5033164), + UINT32_C(10066329), UINT32_C(20132659), UINT32_C(40265318), + UINT32_C(80530636), UINT32_C(161061273), UINT32_C(322122547), + UINT32_C(644245094), UINT32_C(1288490188), UINT32_MAX}; + uintptr_t t1; + uint32_t t3; + uint8_t t0; + t0 = a0.bit_index; + t1 = (uintptr_t)t0; + t3 = t2[t1]; + return t3; +} + +static nav__3964_38 array_hash_map_IndexHeader_findBitIndex__3964( + uintptr_t const a0) { + static uint32_t const t5[33] = { + UINT32_C(0), UINT32_C(1), UINT32_C(2), + UINT32_C(4), UINT32_C(9), UINT32_C(19), + UINT32_C(38), UINT32_C(76), UINT32_C(153), + UINT32_C(307), UINT32_C(614), UINT32_C(1228), + UINT32_C(2457), UINT32_C(4915), UINT32_C(9830), + UINT32_C(19660), UINT32_C(39321), UINT32_C(78643), + UINT32_C(157286), UINT32_C(314572), UINT32_C(629145), + UINT32_C(1258291), UINT32_C(2516582), UINT32_C(5033164), + UINT32_C(10066329), UINT32_C(20132659), UINT32_C(40265318), + UINT32_C(80530636), UINT32_C(161061273), UINT32_C(322122547), + UINT32_C(644245094), UINT32_C(1288490188), UINT32_MAX}; + static uint32_t const t8[33] = { + UINT32_C(0), UINT32_C(1), UINT32_C(2), + UINT32_C(4), UINT32_C(9), UINT32_C(19), + UINT32_C(38), UINT32_C(76), UINT32_C(153), + UINT32_C(307), UINT32_C(614), UINT32_C(1228), + UINT32_C(2457), UINT32_C(4915), UINT32_C(9830), + UINT32_C(19660), UINT32_C(39321), UINT32_C(78643), + UINT32_C(157286), UINT32_C(314572), UINT32_C(629145), + UINT32_C(1258291), UINT32_C(2516582), UINT32_C(5033164), + UINT32_C(10066329), UINT32_C(20132659), UINT32_C(40265318), + UINT32_C(80530636), UINT32_C(161061273), UINT32_C(322122547), + UINT32_C(644245094), UINT32_C(1288490188), UINT32_MAX}; + uint64_t t0; + uint64_t t7; + uintptr_t t4; + uint32_t t6; + nav__3964_38 t9; + bool t1; + uint8_t t3; + uint8_t t2; + t0 = a0; + t1 = t0 > UINT64_C(4294967295); + if (t1) { + return (nav__3964_38){zig_error_OutOfMemory, UINT8_C(0xaa)}; + } + goto zig_block_0; + +zig_block_0:; + t3 = math_log2_int_ceil__anon_8097__8928(a0); + t2 = t3; + t3 = t2; + t4 = (uintptr_t)t3; + t6 = t5[t4]; + t0 = a0; + t7 = (uint64_t)t6; + t1 = t0 > t7; + if (t1) { + t3 = t2; + t3 = t3 + UINT8_C(1); + t2 = t3; + goto zig_block_1; + } + goto zig_block_1; + +zig_block_1:; + t3 = t2; + t1 = t3 < UINT8_C(5); + if (t1) { + t2 = UINT8_C(5); + goto zig_block_2; + } + goto zig_block_2; + +zig_block_2:; + t3 = t2; + t4 = (uintptr_t)t3; + t6 = t8[t4]; + t7 = a0; + t0 = (uint64_t)t6; + t1 = t7 <= t0; + debug_assert__180(t1); + t3 = t2; + t9.payload = t3; + t9.error = UINT16_C(0); + return t9; +} + +static nav__3965_40 array_hash_map_IndexHeader_alloc__3965( + struct mem_Allocator__599 const a0, uint8_t const a1) { + struct mem_Allocator__599 const *t1; + uintptr_t t3; + uintptr_t t4; + struct mem_Allocator__599 t5; + struct mem_Allocator__599 t0; + nav__3965_53 t6; + nav__3965_40 t8; + nav__3965_51 t9; + nav__3965_51 t12; + nav__3965_51 t10; + nav__3965_51 const *t11; + uint8_t *t13; + struct array_hash_map_IndexHeader__886 *t14; + uint16_t t7; + uint8_t t2; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = zig_shlw_u64((uintptr_t)1ul, t2, UINT8_C(64)); + t4 = array_hash_map_capacityIndexSize__3729(a1); + t3 = t4 * t3; + t3 = (uintptr_t)4ul + t3; + t5 = (*t1); + t6 = mem_Allocator_alignedAlloc__anon_8102__8929(t5, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = ((struct array_hash_map_IndexHeader__886 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul); + t8.error = t7; + return t8; + } + t9 = t6.payload; + t10 = t9; + t11 = (nav__3965_51 const *)&t10; + t12 = (*t11); + t13 = t12.ptr; + t13 = (uint8_t *)(((uintptr_t)t13) + ((uintptr_t)4ul * sizeof(uint8_t))); + t3 = t12.len; + t3 = t3 - (uintptr_t)4ul; + t12.ptr = t13; + t12.len = t3; + memset(t12.ptr, UINT8_MAX, t12.len); + t13 = t9.ptr; + t14 = (struct array_hash_map_IndexHeader__886 *)t13; + t13 = (uint8_t *)&t14->bit_index; + (*t13) = a1; + t8.payload = t14; + t8.error = UINT16_C(0); + return t8; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3891( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct array_hash_map_IndexHeader__886 t5; + uint8_t t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = (*t4); + t6 = array_hash_map_IndexHeader_capacityIndexType__3960(t5); + switch (t6) { + case UINT8_C(0): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8930( + t7, a1); + return; + } + case UINT8_C(1): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8931( + t7, a1); + return; + } + case UINT8_C(2): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8932( + t7, a1); + return; + } + default: + zig_unreachable(); + } +} + +static uint32_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + nav__8909_40 const a0) { + uint32_t t0; + t0 = array_hash_map_StringContext_hash__3760(a0); + return t0; +} + +static nav__8910_39 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + uint32_t *t5; + uint32_t *t6; + uint32_t *const *t7; + nav__8910_39 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8910_39){ + (uint32_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)0ul]; + t5 = (uint32_t *)t4; + t6 = t5; + t7 = (uint32_t *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (uint32_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint32_t))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static bool +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + nav__8911_40 const a0, nav__8911_40 const a1, uintptr_t const a2) { + bool t0; + t0 = array_hash_map_StringContext_eql__3761(a0, a1, a2); + return t0; +} + +static uint8_t array_hash_map_IndexHeader_capacityIndexType__3960( + struct array_hash_map_IndexHeader__886 const a0) { + uint8_t t0; + t0 = a0.bit_index; + t0 = array_hash_map_capacityIndexType__3728(t0); + return t0; +} + +static nav__8912_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8912( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8912_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__8912_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + nav__8912_38 t8; + bool t9; + struct array_hash_map_Index_28u8_29__7119 t11; + uint8_t t12; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8934( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__8912_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static nav__8913_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8913( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8913_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__8913_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + nav__8913_38 t8; + struct array_hash_map_Index_28u16_29__7123 t11; + uint16_t t12; + bool t9; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8936( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__8913_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static nav__8914_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8914( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8914_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__8914_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + nav__8914_38 t8; + struct array_hash_map_Index_28u32_29__7127 t11; + uint32_t t12; + bool t9; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8938( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__8914_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uintptr_t t4; + uint64_t t5; + uint64_t t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t0; + bool t7; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const + *)&t0; + t2 = (uintptr_t *)&a0->len; + t3 = (*t2); + t2 = (uintptr_t *)&a0->capacity; + t4 = (*t2); + t5 = t3; + t6 = t4; + t7 = t5 < t6; + debug_assert__180(t7); + t2 = (uintptr_t *)&a0->len; + t4 = (*t2); + t8 = (*t1); + t2 = (uintptr_t *)&t8->len; + t3 = (*t2); + t3 = t3 + (uintptr_t)1ul; + (*t2) = t3; + return t4; +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8915( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + nav__8915_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t9; + nav__8915_66 t10; + nav__8915_66 t11; + nav__8915_66 const *t12; + nav__8915_69 t13; + nav__8915_69 t14; + nav__8915_69 const *t15; + nav__8915_72 t16; + nav__8915_72 t17; + nav__8915_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__8915_77 t20; + nav__8915_77 t55; + nav__8915_77 t21; + nav__8915_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t54; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u8_29__7119 *t35; + uint8_t *t36; + uint32_t *const *t38; + uint32_t *t39; + bool *t41; + nav__8915_42 **t42; + nav__8915_42 *const *t43; + nav__8915_42 *t44; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *t45; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t46; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t47; + uintptr_t *t48; + nav__8915_42 t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t40; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t52; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t57; + uint32_t t23; + uint32_t t49; + struct array_hash_map_IndexHeader__886 t32; + bool t30; + bool t50; + struct array_hash_map_Index_28u8_29__7119 t34; + struct array_hash_map_Index_28u8_29__7119 t33; + uint8_t t37; + uint8_t t53; + uint8_t t27; + uint8_t t56; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t7); + t11 = t10; + t12 = (nav__8915_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t7); + t14 = t13; + t15 = (nav__8915_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t7); + t17 = t16; + t18 = (nav__8915_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t19); + t21 = t20; + t22 = (nav__8915_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT8_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u8_29_isEmpty__8825(t34); + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint8_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint8_t *)&t35->entry_index; + t37 = (uint8_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t25]; + (*t39) = t23; + t41 = (bool *)&t40.found_existing; + (*t41) = false; + t42 = (nav__8915_42 **)&t40.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8915_42 *)&t44[t25]; + (*t42) = t44; + t45 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t40.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t47[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t40.index; + (*t48) = t25; + return t40; + } + goto zig_block_2; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t49 = t10.ptr[t24]; + t30 = t23 == t49; + if (t30) { + t24 = (uintptr_t)t37; + t51 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t51, t24); + t50 = t30; + goto zig_block_4; + } + t50 = false; + goto zig_block_4; + + zig_block_4:; + if (t50) { + t41 = (bool *)&t52.found_existing; + (*t41) = true; + t42 = (nav__8915_42 **)&t52.key_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t13 = (*t15); + t44 = &t13.ptr[t25]; + (*t42) = t44; + t45 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t52.value_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t16 = (*t18); + t47 = &t16.ptr[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t52.index; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + (*t48) = t25; + return t52; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t53 = t27; + t30 = t37 < t53; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t5); + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t24]; + (*t39) = t23; + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint8_t *)&t35->entry_index; + t53 = (uint8_t)t24; + (*t36) = t53; + t36 = (uint8_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t34 = t33; + t53 = t34.distance_from_start_index; + t27 = t53; + t34 = t33; + t53 = t34.entry_index; + t56 = t53; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + zig_loop_200: + t54 = t26; + t29 = t54; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t54 = t26; + t54 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t54); + t31 = t54; + t54 = t31; + t34 = t20.ptr[t54]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u8_29_isEmpty__8825(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint8_t *)&t35->entry_index; + t53 = t56; + (*t36) = t53; + t36 = (uint8_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t41 = (bool *)&t57.found_existing; + (*t41) = false; + t42 = (nav__8915_42 **)&t57.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8915_42 *)&t44[t24]; + (*t42) = t44; + t45 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t57.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t47[t24]; + (*t45) = t47; + t48 = (uintptr_t *)&t57.index; + (*t48) = t24; + return t57; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t53 = t34.distance_from_start_index; + t37 = t27; + t30 = t53 < t37; + if (t30) { + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint8_t *)&t35->entry_index; + t37 = t56; + (*t36) = t37; + t36 = (uint8_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t34 = t33; + t37 = t34.entry_index; + t56 = t37; + t34 = t33; + t37 = t34.distance_from_start_index; + t27 = t37; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; + + zig_block_5:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_55; + +zig_block_0:; + zig_unreachable(); +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8916( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + nav__8916_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t9; + nav__8916_66 t10; + nav__8916_66 t11; + nav__8916_66 const *t12; + nav__8916_69 t13; + nav__8916_69 t14; + nav__8916_69 const *t15; + nav__8916_72 t16; + nav__8916_72 t17; + nav__8916_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__8916_77 t20; + nav__8916_77 t55; + nav__8916_77 t21; + nav__8916_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t54; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u16_29__7123 *t35; + uint16_t *t36; + uint32_t *const *t38; + uint32_t *t39; + bool *t41; + nav__8916_42 **t42; + nav__8916_42 *const *t43; + nav__8916_42 *t44; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *t45; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t46; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t47; + uintptr_t *t48; + nav__8916_42 t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t40; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t52; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t57; + uint32_t t23; + uint32_t t49; + struct array_hash_map_IndexHeader__886 t32; + struct array_hash_map_Index_28u16_29__7123 t34; + struct array_hash_map_Index_28u16_29__7123 t33; + uint16_t t37; + uint16_t t53; + uint16_t t27; + uint16_t t56; + bool t30; + bool t50; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t7); + t11 = t10; + t12 = (nav__8916_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t7); + t14 = t13; + t15 = (nav__8916_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t7); + t17 = t16; + t18 = (nav__8916_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t19); + t21 = t20; + t22 = (nav__8916_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT16_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u16_29_isEmpty__8830(t34); + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint16_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint16_t *)&t35->entry_index; + t37 = (uint16_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t25]; + (*t39) = t23; + t41 = (bool *)&t40.found_existing; + (*t41) = false; + t42 = (nav__8916_42 **)&t40.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8916_42 *)&t44[t25]; + (*t42) = t44; + t45 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t40.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t47[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t40.index; + (*t48) = t25; + return t40; + } + goto zig_block_2; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t49 = t10.ptr[t24]; + t30 = t23 == t49; + if (t30) { + t24 = (uintptr_t)t37; + t51 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t51, t24); + t50 = t30; + goto zig_block_4; + } + t50 = false; + goto zig_block_4; + + zig_block_4:; + if (t50) { + t41 = (bool *)&t52.found_existing; + (*t41) = true; + t42 = (nav__8916_42 **)&t52.key_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t13 = (*t15); + t44 = &t13.ptr[t25]; + (*t42) = t44; + t45 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t52.value_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t16 = (*t18); + t47 = &t16.ptr[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t52.index; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + (*t48) = t25; + return t52; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t53 = t27; + t30 = t37 < t53; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t5); + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t24]; + (*t39) = t23; + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint16_t *)&t35->entry_index; + t53 = (uint16_t)t24; + (*t36) = t53; + t36 = (uint16_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t34 = t33; + t53 = t34.distance_from_start_index; + t27 = t53; + t34 = t33; + t53 = t34.entry_index; + t56 = t53; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + zig_loop_200: + t54 = t26; + t29 = t54; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t54 = t26; + t54 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t54); + t31 = t54; + t54 = t31; + t34 = t20.ptr[t54]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u16_29_isEmpty__8830(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint16_t *)&t35->entry_index; + t53 = t56; + (*t36) = t53; + t36 = (uint16_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t41 = (bool *)&t57.found_existing; + (*t41) = false; + t42 = (nav__8916_42 **)&t57.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8916_42 *)&t44[t24]; + (*t42) = t44; + t45 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t57.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t47[t24]; + (*t45) = t47; + t48 = (uintptr_t *)&t57.index; + (*t48) = t24; + return t57; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t53 = t34.distance_from_start_index; + t37 = t27; + t30 = t53 < t37; + if (t30) { + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint16_t *)&t35->entry_index; + t37 = t56; + (*t36) = t37; + t36 = (uint16_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t34 = t33; + t37 = t34.entry_index; + t56 = t37; + t34 = t33; + t37 = t34.distance_from_start_index; + t27 = t37; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; + + zig_block_5:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_55; + +zig_block_0:; + zig_unreachable(); +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8917( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + nav__8917_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t9; + nav__8917_66 t10; + nav__8917_66 t11; + nav__8917_66 const *t12; + nav__8917_69 t13; + nav__8917_69 t14; + nav__8917_69 const *t15; + nav__8917_72 t16; + nav__8917_72 t17; + nav__8917_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__8917_77 t20; + nav__8917_77 t53; + nav__8917_77 t21; + nav__8917_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t52; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u32_29__7127 *t35; + uint32_t *t36; + uint32_t *const *t38; + bool *t40; + nav__8917_42 **t41; + nav__8917_42 *const *t42; + nav__8917_42 *t43; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 * + *t44; + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const + *t45; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t46; + uintptr_t *t47; + nav__8917_42 t50; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t39; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7735 + t55; + uint32_t t23; + uint32_t t37; + uint32_t t48; + uint32_t t27; + uint32_t t54; + struct array_hash_map_IndexHeader__886 t32; + struct array_hash_map_Index_28u32_29__7127 t34; + struct array_hash_map_Index_28u32_29__7127 t33; + bool t30; + bool t49; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t7); + t11 = t10; + t12 = (nav__8917_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t7); + t14 = t13; + t15 = (nav__8917_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8726( + t7); + t17 = t16; + t18 = (nav__8917_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t19); + t21 = t20; + t22 = (nav__8917_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT32_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u32_29_isEmpty__8835(t34); + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint32_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint32_t *)&t35->entry_index; + t37 = (uint32_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t36 = (*t38); + t36 = (uint32_t *)&t36[t25]; + (*t36) = t23; + t40 = (bool *)&t39.found_existing; + (*t40) = false; + t41 = (nav__8917_42 **)&t39.key_ptr; + t42 = &t15->ptr; + t43 = (*t42); + t43 = (nav__8917_42 *)&t43[t25]; + (*t41) = t43; + t44 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t39.value_ptr; + t45 = &t18->ptr; + t46 = (*t45); + t46 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t46[t25]; + (*t44) = t46; + t47 = (uintptr_t *)&t39.index; + (*t47) = t25; + return t39; + } + goto zig_block_2; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t48 = t10.ptr[t24]; + t30 = t23 == t48; + if (t30) { + t24 = (uintptr_t)t37; + t50 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t50, t24); + t49 = t30; + goto zig_block_4; + } + t49 = false; + goto zig_block_4; + + zig_block_4:; + if (t49) { + t40 = (bool *)&t51.found_existing; + (*t40) = true; + t41 = (nav__8917_42 **)&t51.key_ptr; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + t13 = (*t15); + t43 = &t13.ptr[t25]; + (*t41) = t43; + t44 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t51.value_ptr; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + t16 = (*t18); + t46 = &t16.ptr[t25]; + (*t44) = t46; + t47 = (uintptr_t *)&t51.index; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + (*t47) = t25; + return t51; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t48 = t27; + t30 = t37 < t48; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3931( + t5); + t38 = &t12->ptr; + t36 = (*t38); + t36 = (uint32_t *)&t36[t24]; + (*t36) = t23; + t52 = t31; + t53 = (*t22); + t35 = &t53.ptr[t52]; + t36 = (uint32_t *)&t35->entry_index; + t23 = (uint32_t)t24; + (*t36) = t23; + t36 = (uint32_t *)&t35->distance_from_start_index; + t23 = t27; + (*t36) = t23; + t34 = t33; + t23 = t34.distance_from_start_index; + t27 = t23; + t34 = t33; + t23 = t34.entry_index; + t54 = t23; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t23 = t27; + t23 = t23 + UINT32_C(1); + t27 = t23; + zig_loop_200: + t52 = t26; + t29 = t52; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t52 = t26; + t52 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t52); + t31 = t52; + t52 = t31; + t34 = t20.ptr[t52]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u32_29_isEmpty__8835(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint32_t *)&t35->entry_index; + t23 = t54; + (*t36) = t23; + t36 = (uint32_t *)&t35->distance_from_start_index; + t23 = t27; + (*t36) = t23; + t40 = (bool *)&t55.found_existing; + (*t40) = false; + t41 = (nav__8917_42 **)&t55.key_ptr; + t42 = &t15->ptr; + t43 = (*t42); + t43 = (nav__8917_42 *)&t43[t24]; + (*t41) = t43; + t44 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + **)&t55.value_ptr; + t45 = &t18->ptr; + t46 = (*t45); + t46 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *)&t46[t24]; + (*t44) = t46; + t47 = (uintptr_t *)&t55.index; + (*t47) = t24; + return t55; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t23 = t34.distance_from_start_index; + t48 = t27; + t30 = t23 < t48; + if (t30) { + t52 = t31; + t53 = (*t22); + t35 = &t53.ptr[t52]; + t36 = (uint32_t *)&t35->entry_index; + t48 = t54; + (*t36) = t48; + t36 = (uint32_t *)&t35->distance_from_start_index; + t48 = t27; + (*t36) = t48; + t34 = t33; + t48 = t34.entry_index; + t54 = t48; + t34 = t33; + t48 = t34.distance_from_start_index; + t27 = t48; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t23 = t27; + t23 = t23 + UINT32_C(1); + t27 = t23; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; + + zig_block_5:; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t37 = t27; + t37 = t37 + UINT32_C(1); + t27 = t37; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_55; + +zig_block_0:; + zig_unreachable(); +} + +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4140( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *t1; + struct mem_Allocator__599 const *t3; + uintptr_t *t4; + uintptr_t t5; + uint64_t t6; + uint64_t t7; + struct mem_Allocator__599 t9; + struct mem_Allocator__599 t2; + nav__4140_54 t10; + nav__4140_52 t12; + nav__4140_52 t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t13; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t14; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t18; + uint8_t **t16; + uint8_t *t17; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t19; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t20; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t22; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t21; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t23; + nav__4140_62 t24; + nav__4140_62 t25; + uint32_t *t26; + nav__4140_67 t27; + nav__4140_67 t28; + nav__4140_65 *t29; + nav__4140_72 t30; + nav__4140_72 t31; + struct environment_root_EnvironmentValue__850 *t32; + uint16_t t11; + bool t8; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t6 = a2; + t7 = t5; + t8 = t6 >= t7; + debug_assert__180(t8); + t9 = (*t3); + t5 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147( + a2); + t10 = mem_Allocator_alignedAlloc__anon_7944__8927(t9, t5); + if (t10.error) { + t11 = t10.error; + return t11; + } + t12 = t10.payload; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t7 = t5; + t8 = t7 == UINT64_C(0); + if (t8) { + t9 = (*t3); + t13 = (*t1); + t14 = (*t13); + t15 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4148( + t14); + mem_Allocator_free__anon_7039__8818(t9, t15); + t13 = (*t1); + t16 = (uint8_t **)&t13->bytes; + t17 = t12.ptr; + (*t16) = t17; + t13 = (*t1); + t4 = (uintptr_t *)&t13->capacity; + (*t4) = a2; + return 0; + } + goto zig_block_0; + +zig_block_0:; + t17 = t12.ptr; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t14.bytes = t17; + t14.len = t5; + t14.capacity = a2; + t18 = t14; + t13 = (*t1); + t14 = (*t13); + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t14); + t20 = t19; + t21 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t20; + t14 = t18; + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t14); + t22 = t19; + t23 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t22; + t19 = (*t23); + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t19); + t19 = (*t21); + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t19); + t26 = t25.ptr; + if (t24.len != 0) memcpy(t24.ptr, t26, t24.len * sizeof(uint32_t)); + t19 = (*t23); + t27 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t19); + t19 = (*t21); + t28 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t19); + t29 = t28.ptr; + if (t27.len != 0) memcpy(t27.ptr, t29, t27.len * sizeof(nav__4140_65)); + t19 = (*t23); + t30 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t19); + t19 = (*t21); + t31 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t19); + t32 = t31.ptr; + if (t30.len != 0) + memcpy(t30.ptr, t32, + t30.len * sizeof(struct environment_root_EnvironmentValue__850)); + t9 = (*t3); + t13 = (*t1); + t14 = (*t13); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4148( + t14); + mem_Allocator_free__anon_7039__8818(t9, t12); + t14 = t18; + (*a0) = t14; + return 0; +} + +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4136( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t0; + uint16_t t8; + uint16_t t9; + bool t6; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a2; + t6 = t4 >= t5; + if (t6) { + return 0; + } + goto zig_block_0; + +zig_block_0:; + t7 = (*t1); + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t3 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4138( + t3, a2); + t8 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4140( + t7, a1, t3); + memcpy(&t9, &t8, sizeof(uint16_t)); + return t9; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4102( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct array_hash_map_IndexHeader__886 t5; + uint8_t t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = (*t4); + t6 = array_hash_map_IndexHeader_capacityIndexType__3960(t5); + switch (t6) { + case UINT8_C(0): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8940( + t7, a1); + return; + } + case UINT8_C(1): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8941( + t7, a1); + return; + } + case UINT8_C(2): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8942( + t7, a1); + return; + } + default: + zig_unreachable(); + } +} + +static uint32_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + nav__8918_40 const a0) { + uint32_t t0; + t0 = array_hash_map_StringContext_hash__3760(a0); + return t0; +} + +static nav__8919_39 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + uint32_t *t5; + uint32_t *t6; + uint32_t *const *t7; + nav__8919_39 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__8919_39){ + (uint32_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; + +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)0ul]; + t5 = (uint32_t *)t4; + t6 = t5; + t7 = (uint32_t *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (uint32_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint32_t))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static bool +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + nav__8920_40 const a0, nav__8920_40 const a1, uintptr_t const a2) { + bool t0; + t0 = array_hash_map_StringContext_eql__3761(a0, a1, a2); + return t0; +} + +static nav__8921_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8921( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8921_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__8921_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + nav__8921_38 t8; + bool t9; + struct array_hash_map_Index_28u8_29__7119 t11; + uint8_t t12; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8943( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__8921_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static nav__8922_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8922( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8922_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__8922_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + nav__8922_38 t8; + struct array_hash_map_Index_28u16_29__7123 t11; + uint16_t t12; + bool t9; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8944( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__8922_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static nav__8923_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8923( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8923_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__8923_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + nav__8923_38 t8; + struct array_hash_map_Index_28u32_29__7127 t11; + uint32_t t12; + bool t9; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8945( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__8923_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uintptr_t t4; + uint64_t t5; + uint64_t t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t0; + bool t7; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const + *)&t0; + t2 = (uintptr_t *)&a0->len; + t3 = (*t2); + t2 = (uintptr_t *)&a0->capacity; + t4 = (*t2); + t5 = t3; + t6 = t4; + t7 = t5 < t6; + debug_assert__180(t7); + t2 = (uintptr_t *)&a0->len; + t4 = (*t2); + t8 = (*t1); + t2 = (uintptr_t *)&t8->len; + t3 = (*t2); + t3 = t3 + (uintptr_t)1ul; + (*t2) = t3; + return t4; +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8924( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + nav__8924_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t9; + nav__8924_66 t10; + nav__8924_66 t11; + nav__8924_66 const *t12; + nav__8924_69 t13; + nav__8924_69 t14; + nav__8924_69 const *t15; + nav__8924_72 t16; + nav__8924_72 t17; + nav__8924_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__8924_77 t20; + nav__8924_77 t55; + nav__8924_77 t21; + nav__8924_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t54; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u8_29__7119 *t35; + uint8_t *t36; + uint32_t *const *t38; + uint32_t *t39; + bool *t41; + nav__8924_42 **t42; + nav__8924_42 *const *t43; + nav__8924_42 *t44; + struct environment_root_EnvironmentValue__850 **t45; + struct environment_root_EnvironmentValue__850 *const *t46; + struct environment_root_EnvironmentValue__850 *t47; + uintptr_t *t48; + nav__8924_42 t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t40; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t52; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t57; + uint32_t t23; + uint32_t t49; + struct array_hash_map_IndexHeader__886 t32; + bool t30; + bool t50; + struct array_hash_map_Index_28u8_29__7119 t34; + struct array_hash_map_Index_28u8_29__7119 t33; + uint8_t t37; + uint8_t t53; + uint8_t t27; + uint8_t t56; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t7); + t11 = t10; + t12 = (nav__8924_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t7); + t14 = t13; + t15 = (nav__8924_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t7); + t17 = t16; + t18 = (nav__8924_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t19); + t21 = t20; + t22 = (nav__8924_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT8_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u8_29_isEmpty__8825(t34); + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint8_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint8_t *)&t35->entry_index; + t37 = (uint8_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t25]; + (*t39) = t23; + t41 = (bool *)&t40.found_existing; + (*t41) = false; + t42 = (nav__8924_42 **)&t40.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8924_42 *)&t44[t25]; + (*t42) = t44; + t45 = (struct environment_root_EnvironmentValue__850 **)&t40.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t40.index; + (*t48) = t25; + return t40; + } goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t10 = t10 + (uintptr_t)1ul; - t8 = t10; - goto zig_loop_20; - - zig_block_1:; - t4 = (*t1); - t5 = (struct mem_Allocator__599 *)&t4->allocator; - t6 = (*t5); - mem_Allocator_free__anon_6790__8731(t6, t7); - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3989(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct mem_Allocator__599 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t3; - struct array_hash_map_IndexHeader__886 **t4; - struct array_hash_map_IndexHeader__886 *t5; - struct array_hash_map_IndexHeader__886 *t7; - struct array_hash_map_IndexHeader__886 *t8; - struct array_hash_map_IndexHeader__886 *const *t9; - bool t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - debug_SafetyLock_assertUnlocked__3970(); - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t2->entries; - multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4115(t3, a1); - t4 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t5 = (*t4); - t6 = t5 != NULL; - if (t6) { - t7 = t5; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t49 = t10.ptr[t24]; + t30 = t23 == t49; + if (t30) { + t24 = (uintptr_t)t37; + t51 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t51, t24); + t50 = t30; + goto zig_block_4; + } + t50 = false; + goto zig_block_4; + + zig_block_4:; + if (t50) { + t41 = (bool *)&t52.found_existing; + (*t41) = true; + t42 = (nav__8924_42 **)&t52.key_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t13 = (*t15); + t44 = &t13.ptr[t25]; + (*t42) = t44; + t45 = (struct environment_root_EnvironmentValue__850 **)&t52.value_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t16 = (*t18); + t47 = &t16.ptr[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t52.index; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + (*t48) = t25; + return t52; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t53 = t27; + t30 = t37 < t53; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t5); + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t24]; + (*t39) = t23; + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint8_t *)&t35->entry_index; + t53 = (uint8_t)t24; + (*t36) = t53; + t36 = (uint8_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t34 = t33; + t53 = t34.distance_from_start_index; + t27 = t53; + t34 = t33; + t53 = t34.entry_index; + t56 = t53; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + zig_loop_200: + t54 = t26; + t29 = t54; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t54 = t26; + t54 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t54); + t31 = t54; + t54 = t31; + t34 = t20.ptr[t54]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u8_29_isEmpty__8825(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint8_t *)&t35->entry_index; + t53 = t56; + (*t36) = t53; + t36 = (uint8_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t41 = (bool *)&t57.found_existing; + (*t41) = false; + t42 = (nav__8924_42 **)&t57.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8924_42 *)&t44[t24]; + (*t42) = t44; + t45 = + (struct environment_root_EnvironmentValue__850 **)&t57.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t24]; + (*t45) = t47; + t48 = (uintptr_t *)&t57.index; + (*t48) = t24; + return t57; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t53 = t34.distance_from_start_index; + t37 = t27; + t30 = t53 < t37; + if (t30) { + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint8_t *)&t35->entry_index; + t37 = t56; + (*t36) = t37; + t36 = (uint8_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t34 = t33; + t37 = t34.entry_index; + t56 = t37; + t34 = t33; + t37 = t34.distance_from_start_index; + t27 = t37; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; + + zig_block_5:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_55; + +zig_block_0:; + zig_unreachable(); +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8925( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + nav__8925_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t9; + nav__8925_66 t10; + nav__8925_66 t11; + nav__8925_66 const *t12; + nav__8925_69 t13; + nav__8925_69 t14; + nav__8925_69 const *t15; + nav__8925_72 t16; + nav__8925_72 t17; + nav__8925_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__8925_77 t20; + nav__8925_77 t55; + nav__8925_77 t21; + nav__8925_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t54; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u16_29__7123 *t35; + uint16_t *t36; + uint32_t *const *t38; + uint32_t *t39; + bool *t41; + nav__8925_42 **t42; + nav__8925_42 *const *t43; + nav__8925_42 *t44; + struct environment_root_EnvironmentValue__850 **t45; + struct environment_root_EnvironmentValue__850 *const *t46; + struct environment_root_EnvironmentValue__850 *t47; + uintptr_t *t48; + nav__8925_42 t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t40; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t52; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t57; + uint32_t t23; + uint32_t t49; + struct array_hash_map_IndexHeader__886 t32; + struct array_hash_map_Index_28u16_29__7123 t34; + struct array_hash_map_Index_28u16_29__7123 t33; + uint16_t t37; + uint16_t t53; + uint16_t t27; + uint16_t t56; + bool t30; + bool t50; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t6); t8 = t7; - t9 = (struct array_hash_map_IndexHeader__886 *const *)&t8; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t8; t7 = (*t9); - array_hash_map_IndexHeader_free__3965(t7, a1); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t7); + t11 = t10; + t12 = (nav__8925_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t7); + t14 = t13; + t15 = (nav__8925_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t7); + t17 = t16; + t18 = (nav__8925_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t19); + t21 = t20; + t22 = (nav__8925_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT16_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u16_29_isEmpty__8830(t34); + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint16_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint16_t *)&t35->entry_index; + t37 = (uint16_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t25]; + (*t39) = t23; + t41 = (bool *)&t40.found_existing; + (*t41) = false; + t42 = (nav__8925_42 **)&t40.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8925_42 *)&t44[t25]; + (*t42) = t44; + t45 = (struct environment_root_EnvironmentValue__850 **)&t40.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t40.index; + (*t48) = t25; + return t40; + } + goto zig_block_2; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t49 = t10.ptr[t24]; + t30 = t23 == t49; + if (t30) { + t24 = (uintptr_t)t37; + t51 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t51, t24); + t50 = t30; + goto zig_block_4; + } + t50 = false; + goto zig_block_4; + + zig_block_4:; + if (t50) { + t41 = (bool *)&t52.found_existing; + (*t41) = true; + t42 = (nav__8925_42 **)&t52.key_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t13 = (*t15); + t44 = &t13.ptr[t25]; + (*t42) = t44; + t45 = (struct environment_root_EnvironmentValue__850 **)&t52.value_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t16 = (*t18); + t47 = &t16.ptr[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t52.index; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + (*t48) = t25; + return t52; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t53 = t27; + t30 = t37 < t53; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t5); + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t24]; + (*t39) = t23; + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint16_t *)&t35->entry_index; + t53 = (uint16_t)t24; + (*t36) = t53; + t36 = (uint16_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t34 = t33; + t53 = t34.distance_from_start_index; + t27 = t53; + t34 = t33; + t53 = t34.entry_index; + t56 = t53; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + zig_loop_200: + t54 = t26; + t29 = t54; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t54 = t26; + t54 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t54); + t31 = t54; + t54 = t31; + t34 = t20.ptr[t54]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u16_29_isEmpty__8830(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint16_t *)&t35->entry_index; + t53 = t56; + (*t36) = t53; + t36 = (uint16_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t41 = (bool *)&t57.found_existing; + (*t41) = false; + t42 = (nav__8925_42 **)&t57.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__8925_42 *)&t44[t24]; + (*t42) = t44; + t45 = + (struct environment_root_EnvironmentValue__850 **)&t57.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t24]; + (*t45) = t47; + t48 = (uintptr_t *)&t57.index; + (*t48) = t24; + return t57; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t53 = t34.distance_from_start_index; + t37 = t27; + t30 = t53 < t37; + if (t30) { + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint16_t *)&t35->entry_index; + t37 = t56; + (*t36) = t37; + t36 = (uint16_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t34 = t33; + t37 = t34.entry_index; + t56 = t37; + t34 = t33; + t37 = t34.distance_from_start_index; + t27 = t37; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; + + zig_block_5:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + goto zig_block_1; + } goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3778(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct mem_Allocator__599 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t3; - struct array_hash_map_IndexHeader__886 **t4; - struct array_hash_map_IndexHeader__886 *t5; - struct array_hash_map_IndexHeader__886 *t7; - struct array_hash_map_IndexHeader__886 *t8; - struct array_hash_map_IndexHeader__886 *const *t9; - bool t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - debug_SafetyLock_assertUnlocked__3970(); - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t2->entries; - multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3921(t3, a1); - t4 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t5 = (*t4); - t6 = t5 != NULL; - if (t6) { - t7 = t5; + +zig_block_1:; + goto zig_loop_55; + +zig_block_0:; + zig_unreachable(); +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8926( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + nav__8926_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t9; + nav__8926_66 t10; + nav__8926_66 t11; + nav__8926_66 const *t12; + nav__8926_69 t13; + nav__8926_69 t14; + nav__8926_69 const *t15; + nav__8926_72 t16; + nav__8926_72 t17; + nav__8926_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__8926_77 t20; + nav__8926_77 t53; + nav__8926_77 t21; + nav__8926_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t52; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u32_29__7127 *t35; + uint32_t *t36; + uint32_t *const *t38; + bool *t40; + nav__8926_42 **t41; + nav__8926_42 *const *t42; + nav__8926_42 *t43; + struct environment_root_EnvironmentValue__850 **t44; + struct environment_root_EnvironmentValue__850 *const *t45; + struct environment_root_EnvironmentValue__850 *t46; + uintptr_t *t47; + nav__8926_42 t50; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t39; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7746 + t55; + uint32_t t23; + uint32_t t37; + uint32_t t48; + uint32_t t27; + uint32_t t54; + struct array_hash_map_IndexHeader__886 t32; + struct array_hash_map_Index_28u32_29__7127 t34; + struct array_hash_map_Index_28u32_29__7127 t33; + bool t30; + bool t49; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t7); + t11 = t10; + t12 = (nav__8926_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t7); + t14 = t13; + t15 = (nav__8926_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8735( + t7); + t17 = t16; + t18 = (nav__8926_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t19); + t21 = t20; + t22 = (nav__8926_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT32_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u32_29_isEmpty__8835(t34); + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint32_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint32_t *)&t35->entry_index; + t37 = (uint32_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t36 = (*t38); + t36 = (uint32_t *)&t36[t25]; + (*t36) = t23; + t40 = (bool *)&t39.found_existing; + (*t40) = false; + t41 = (nav__8926_42 **)&t39.key_ptr; + t42 = &t15->ptr; + t43 = (*t42); + t43 = (nav__8926_42 *)&t43[t25]; + (*t41) = t43; + t44 = (struct environment_root_EnvironmentValue__850 **)&t39.value_ptr; + t45 = &t18->ptr; + t46 = (*t45); + t46 = (struct environment_root_EnvironmentValue__850 *)&t46[t25]; + (*t44) = t46; + t47 = (uintptr_t *)&t39.index; + (*t47) = t25; + return t39; + } + goto zig_block_2; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t48 = t10.ptr[t24]; + t30 = t23 == t48; + if (t30) { + t24 = (uintptr_t)t37; + t50 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t50, t24); + t49 = t30; + goto zig_block_4; + } + t49 = false; + goto zig_block_4; + + zig_block_4:; + if (t49) { + t40 = (bool *)&t51.found_existing; + (*t40) = true; + t41 = (nav__8926_42 **)&t51.key_ptr; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + t13 = (*t15); + t43 = &t13.ptr[t25]; + (*t41) = t43; + t44 = (struct environment_root_EnvironmentValue__850 **)&t51.value_ptr; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + t16 = (*t18); + t46 = &t16.ptr[t25]; + (*t44) = t46; + t47 = (uintptr_t *)&t51.index; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + (*t47) = t25; + return t51; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t48 = t27; + t30 = t37 < t48; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4125( + t5); + t38 = &t12->ptr; + t36 = (*t38); + t36 = (uint32_t *)&t36[t24]; + (*t36) = t23; + t52 = t31; + t53 = (*t22); + t35 = &t53.ptr[t52]; + t36 = (uint32_t *)&t35->entry_index; + t23 = (uint32_t)t24; + (*t36) = t23; + t36 = (uint32_t *)&t35->distance_from_start_index; + t23 = t27; + (*t36) = t23; + t34 = t33; + t23 = t34.distance_from_start_index; + t27 = t23; + t34 = t33; + t23 = t34.entry_index; + t54 = t23; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t23 = t27; + t23 = t23 + UINT32_C(1); + t27 = t23; + zig_loop_200: + t52 = t26; + t29 = t52; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t52 = t26; + t52 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t52); + t31 = t52; + t52 = t31; + t34 = t20.ptr[t52]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u32_29_isEmpty__8835(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint32_t *)&t35->entry_index; + t23 = t54; + (*t36) = t23; + t36 = (uint32_t *)&t35->distance_from_start_index; + t23 = t27; + (*t36) = t23; + t40 = (bool *)&t55.found_existing; + (*t40) = false; + t41 = (nav__8926_42 **)&t55.key_ptr; + t42 = &t15->ptr; + t43 = (*t42); + t43 = (nav__8926_42 *)&t43[t24]; + (*t41) = t43; + t44 = + (struct environment_root_EnvironmentValue__850 **)&t55.value_ptr; + t45 = &t18->ptr; + t46 = (*t45); + t46 = (struct environment_root_EnvironmentValue__850 *)&t46[t24]; + (*t44) = t46; + t47 = (uintptr_t *)&t55.index; + (*t47) = t24; + return t55; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t23 = t34.distance_from_start_index; + t48 = t27; + t30 = t23 < t48; + if (t30) { + t52 = t31; + t53 = (*t22); + t35 = &t53.ptr[t52]; + t36 = (uint32_t *)&t35->entry_index; + t48 = t54; + (*t36) = t48; + t36 = (uint32_t *)&t35->distance_from_start_index; + t48 = t27; + (*t36) = t48; + t34 = t33; + t48 = t34.entry_index; + t54 = t48; + t34 = t33; + t48 = t34.distance_from_start_index; + t27 = t48; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t23 = t27; + t23 = t23 + UINT32_C(1); + t27 = t23; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; + + zig_block_5:; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t37 = t27; + t37 = t37 + UINT32_C(1); + t27 = t37; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_55; + +zig_block_0:; + zig_unreachable(); +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3944( + uintptr_t const a0, uintptr_t const a1) { + uintptr_t t1; + uintptr_t t2; + uintptr_t t0; + uint64_t t3; + uint64_t t4; + bool t5; + t0 = a0; +zig_loop_6: + t1 = t0; + t2 = t0; + t2 = t2 / (uintptr_t)2ul; + t2 = t2 + (uintptr_t)4ul; + t2 = zig_adds_u64(t1, t2, UINT8_C(64)); + t0 = t2; + t2 = t0; + t3 = t2; + t4 = a1; + t5 = t3 >= t4; + if (t5) { + t2 = t0; + return t2; + } + goto zig_block_0; + +zig_block_0:; + goto zig_loop_6; +} + +static nav__8927_40 mem_Allocator_alignedAlloc__anon_7944__8927( + struct mem_Allocator__599 const a0, uintptr_t const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t5; + uintptr_t t3; + nav__8927_40 t4; + nav__8927_40 t8; + nav__8927_51 t6; + uint8_t *t9; + uint8_t *t10; + uint8_t *const *t11; + nav__8927_39 t12; + uint16_t t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t5 = t2; + t1 = (struct mem_Allocator__599 const *)&t5; + t2 = (*t1); + t6 = mem_Allocator_allocWithSizeAndAlignment__anon_8217__8946(t2, a1, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = (nav__8927_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t7; + t4 = t8; + goto zig_block_0; + } + t9 = t6.payload; + t10 = t9; + t11 = (uint8_t *const *)&t10; + t9 = (*t11); + t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul * sizeof(uint8_t))); + t12.ptr = t9; + t12.len = a1; + t8.payload = t12; + t8.error = UINT16_C(0); + t4 = t8; + goto zig_block_0; + +zig_block_0:; + return t4; +} + +static uint8_t math_log2_int_ceil__anon_8097__8928(uintptr_t const a0) { + uint64_t t0; + uintptr_t t2; + bool t1; + uint8_t t3; + t0 = a0; + t1 = t0 != UINT64_C(0); + debug_assert__180(t1); + t0 = a0; + t1 = t0 == UINT64_C(1); + if (t1) { + return UINT8_C(0); + } + goto zig_block_0; + +zig_block_0:; + t2 = a0 - (uintptr_t)1ul; + t3 = math_log2_int__anon_8220__8947(t2); + t3 = t3 + UINT8_C(1); + return t3; +} + +static nav__8929_40 mem_Allocator_alignedAlloc__anon_8102__8929( + struct mem_Allocator__599 const a0, uintptr_t const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t5; + uintptr_t t3; + nav__8929_40 t4; + nav__8929_40 t8; + nav__8929_51 t6; + uint8_t *t9; + uint8_t *t10; + uint8_t *const *t11; + nav__8929_39 t12; + uint16_t t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t5 = t2; + t1 = (struct mem_Allocator__599 const *)&t5; + t2 = (*t1); + t6 = mem_Allocator_allocWithSizeAndAlignment__anon_8224__8948(t2, a1, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = (nav__8929_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t7; + t4 = t8; + goto zig_block_0; + } + t9 = t6.payload; + t10 = t9; + t11 = (uint8_t *const *)&t10; + t9 = (*t11); + t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul * sizeof(uint8_t))); + t12.ptr = t9; + t12.len = a1; + t8.payload = t12; + t8.error = UINT16_C(0); + t4 = t8; + goto zig_block_0; + +zig_block_0:; + return t4; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8930( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t9; + nav__8930_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__8930_60 t12; + nav__8930_60 t33; + nav__8930_60 t13; + nav__8930_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u8_29__7119 const *t31; + struct array_hash_map_Index_28u8_29__7119 *t34; + uint8_t *t35; + uint32_t t21; + struct array_hash_map_IndexHeader__886 t28; + bool t20; + uint8_t t26; + uint8_t t36; + uint8_t t25; + uint8_t t27; + struct array_hash_map_Index_28u8_29__7119 t29; + struct array_hash_map_Index_28u8_29__7119 t32; + struct array_hash_map_Index_28u8_29__7119 t30; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t6); t8 = t7; - t9 = (struct array_hash_map_IndexHeader__886 *const *)&t8; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t8; t7 = (*t9); - array_hash_map_IndexHeader_free__3965(t7, a1); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t11); + t13 = t12; + t14 = (nav__8930_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t26 = (uint8_t)t17; + t25 = t26; + t27 = UINT8_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t28 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t28, t22); + t29 = t12.ptr[t22]; + t30 = t29; + t31 = (struct array_hash_map_Index_28u8_29__7119 const *)&t30; + t32 = (*t31); + t20 = array_hash_map_Index_28u8_29_isEmpty__8825(t32); + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint8_t *)&t34->distance_from_start_index; + t26 = t27; + (*t35) = t26; + t35 = (uint8_t *)&t34->entry_index; + t26 = t25; + (*t35) = t26; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t26 = t29.distance_from_start_index; + t36 = t27; + t20 = t26 < t36; + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint8_t *)&t34->distance_from_start_index; + t36 = t27; + (*t35) = t36; + t35 = (uint8_t *)&t34->entry_index; + t36 = t25; + (*t35) = t36; + t36 = t29.distance_from_start_index; + t27 = t36; + t36 = t29.entry_index; + t25 = t36; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t36 = t27; + t36 = t36 + UINT8_C(1); + t27 = t36; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); + } goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return; -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4176(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *t2; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t6; - nav__4176_42 **t8; - nav__4176_62 t10; - nav__4176_42 *t11; - struct environment_linked_libraries_root_LibraryEntry__858 **t12; - nav__4176_65 t13; - struct environment_linked_libraries_root_LibraryEntry__858 *t14; - uint32_t *t15; - uintptr_t t16; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t7; - uint32_t t17; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *)&t1->entries; - t3 = (*t2); - t4 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t3); - t5 = t4; - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t5; - t8 = (nav__4176_42 **)&t7.keys; - t9 = (*t6); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t9); - t11 = t10.ptr; - (*t8) = t11; - t12 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t7.values; - t9 = (*t6); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t9); - t14 = t13.ptr; - (*t12) = t14; - t15 = (uint32_t *)&t7.len; - t16 = t4.len; - t17 = (uint32_t)t16; - (*t15) = t17; - t15 = (uint32_t *)&t7.index; - (*t15) = UINT32_C(0); - return t7; -} - -static nav__8705_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8705(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 *const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 *const *t1; - uint32_t *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 *t6; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 *t0; - nav__8705_44 **t7; - uintptr_t t8; - nav__8705_44 *t9; - struct environment_linked_libraries_root_LibraryEntry__858 **t10; - struct environment_linked_libraries_root_LibraryEntry__858 *t11; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579 t12; - nav__8705_39 t13; - uint32_t t3; - uint32_t t4; - bool t5; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 *const *)&t0; - t2 = (uint32_t *)&a0->index; - t3 = (*t2); - t2 = (uint32_t *)&a0->len; - t4 = (*t2); - t5 = t3 >= t4; - if (t5) { - return (nav__8705_39){{((nav__8705_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct environment_linked_libraries_root_LibraryEntry__858 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul)},true}; - } - goto zig_block_0; - - zig_block_0:; - t6 = (*t1); - t7 = (nav__8705_44 **)&t6->keys; - t2 = (uint32_t *)&a0->index; - t4 = (*t2); - t8 = (uintptr_t)t4; - t9 = (*t7); - t9 = (nav__8705_44 *)&t9[t8]; - t6 = (*t1); - t10 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t6->values; - t2 = (uint32_t *)&a0->index; - t4 = (*t2); - t8 = (uintptr_t)t4; - t11 = (*t10); - t11 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t11[t8]; - t12.key_ptr = t9; - t12.value_ptr = t11; - t6 = (*t1); - t2 = (uint32_t *)&t6->index; - t4 = (*t2); - t4 = t4 + UINT32_C(1); - (*t2) = t4; - t13.is_null = false; - t13.payload = t12; - return t13; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4168(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct mem_Allocator__599 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t3; - struct array_hash_map_IndexHeader__886 **t4; - struct array_hash_map_IndexHeader__886 *t5; - struct array_hash_map_IndexHeader__886 *t7; - struct array_hash_map_IndexHeader__886 *t8; - struct array_hash_map_IndexHeader__886 *const *t9; - bool t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - debug_SafetyLock_assertUnlocked__3970(); - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t2->entries; - multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4294(t3, a1); - t4 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t5 = (*t4); - t6 = t5 != NULL; - if (t6) { - t7 = t5; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8931( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t9; + nav__8931_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__8931_60 t12; + nav__8931_60 t33; + nav__8931_60 t13; + nav__8931_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u16_29__7123 const *t31; + struct array_hash_map_Index_28u16_29__7123 *t34; + uint16_t *t35; + uint32_t t21; + struct array_hash_map_IndexHeader__886 t28; + uint16_t t26; + uint16_t t36; + uint16_t t25; + uint16_t t27; + struct array_hash_map_Index_28u16_29__7123 t29; + struct array_hash_map_Index_28u16_29__7123 t32; + struct array_hash_map_Index_28u16_29__7123 t30; + bool t20; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t11); + t13 = t12; + t14 = (nav__8931_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t26 = (uint16_t)t17; + t25 = t26; + t27 = UINT16_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t28 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t28, t22); + t29 = t12.ptr[t22]; + t30 = t29; + t31 = (struct array_hash_map_Index_28u16_29__7123 const *)&t30; + t32 = (*t31); + t20 = array_hash_map_Index_28u16_29_isEmpty__8830(t32); + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint16_t *)&t34->distance_from_start_index; + t26 = t27; + (*t35) = t26; + t35 = (uint16_t *)&t34->entry_index; + t26 = t25; + (*t35) = t26; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t26 = t29.distance_from_start_index; + t36 = t27; + t20 = t26 < t36; + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint16_t *)&t34->distance_from_start_index; + t36 = t27; + (*t35) = t36; + t35 = (uint16_t *)&t34->entry_index; + t36 = t25; + (*t35) = t36; + t36 = t29.distance_from_start_index; + t27 = t36; + t36 = t29.entry_index; + t25 = t36; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t36 = t27; + t36 = t36 + UINT16_C(1); + t27 = t36; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); + } + goto zig_block_0; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8932( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t9; + nav__8932_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__8932_60 t12; + nav__8932_60 t32; + nav__8932_60 t13; + nav__8932_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u32_29__7127 const *t30; + struct array_hash_map_Index_28u32_29__7127 *t33; + uint32_t *t34; + uint32_t t21; + uint32_t t35; + uint32_t t25; + uint32_t t26; + struct array_hash_map_IndexHeader__886 t27; + struct array_hash_map_Index_28u32_29__7127 t28; + struct array_hash_map_Index_28u32_29__7127 t31; + struct array_hash_map_Index_28u32_29__7127 t29; + bool t20; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t6); t8 = t7; - t9 = (struct array_hash_map_IndexHeader__886 *const *)&t8; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t8; t7 = (*t9); - array_hash_map_IndexHeader_free__3965(t7, a1); - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return; -} - -static void environment_linked_libraries_root_LinkedLibraries_deinit__3630(struct environment_linked_libraries_root_LinkedLibraries__843 *const a0) { - struct environment_linked_libraries_root_LinkedLibraries__843 *const *t1; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t3; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t4; - nav__3630_50 t5; - uintptr_t t6; - uintptr_t t7; - uintptr_t t2; - uint64_t t8; - uint64_t t9; - struct environment_linked_libraries_root_LibraryInfo__940 t11; - struct mem_Allocator__599 *t12; - struct mem_Allocator__599 t13; - struct environment_linked_libraries_root_LinkedLibraries__843 *t14; - struct environment_linked_libraries_root_LinkedLibraries__843 *t0; - bool t10; - t0 = a0; - t1 = (struct environment_linked_libraries_root_LinkedLibraries__843 *const *)&t0; - t2 = (uintptr_t)0ul; - t3 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *)&a0->libraries; - t4 = (*t3); - t5 = t4.items; - t6 = t5.len; - zig_loop_11: - t7 = t2; - t8 = t7; - t9 = t6; - t10 = t8 < t9; - if (t10) { - t11 = t5.ptr[t7]; - t12 = (struct mem_Allocator__599 *)&a0->allocator; - t13 = (*t12); - environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3631(t13, t11); - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t7 = t7 + (uintptr_t)1ul; - t2 = t7; - goto zig_loop_11; - - zig_block_0:; - t14 = (*t1); - t3 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *)&t14->libraries; - t4 = (*t3); - array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_deinit__4335(t4); - return; -} - -static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const a0) { - static uintptr_t const t10[3] = {16ul,32ul,4ul}; - static uintptr_t const t12[3] = {1ul,2ul,0ul}; - uint8_t *(*t1)[3]; - uintptr_t *t2; - uintptr_t t3; - uintptr_t t11; - uintptr_t t13; - uintptr_t t7; - uint8_t *t5; - uint8_t *t6; - uint8_t *t4; - uint64_t t8; - uint8_t **t14; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t0; - bool t9; - t1 = (uint8_t *(*)[3])&t0.ptrs; - t2 = (uintptr_t *)&t0.len; - t3 = a0.len; - (*t2) = t3; - t2 = (uintptr_t *)&t0.capacity; - t3 = a0.capacity; - (*t2) = t3; - t5 = a0.bytes; - t6 = (uint8_t *)t5; - t4 = t6; - t7 = (uintptr_t)0ul; - zig_loop_17: - t3 = t7; - t8 = t3; - t9 = t8 < UINT64_C(3); - if (t9) { - t11 = t10[t3]; - t13 = t12[t3]; - t1 = (uint8_t *(*)[3])&t0.ptrs; - t14 = (uint8_t **)&(*t1)[t13]; - t6 = t4; - (*t14) = t6; - t6 = t4; - t13 = a0.capacity; - t13 = t11 * t13; - t6 = (uint8_t *)(((uintptr_t)t6) + (t13*sizeof(uint8_t))); - t4 = t6; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t3 = t3 + (uintptr_t)1ul; - t7 = t3; - goto zig_loop_17; - - zig_block_0:; - t15 = t0; - return t15; -} - -static nav__8720_41 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - nav__8720_39 *t5; - nav__8720_39 *t6; - nav__8720_39 *const *t7; - nav__8720_41 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8720_41){(nav__8720_39 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)1ul]; - t5 = (nav__8720_39 *)t4; - t6 = t5; - t7 = (nav__8720_39 *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (nav__8720_39 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(nav__8720_39))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static nav__8721_40 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t5; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t6; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t7; - nav__8721_40 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8721_40){(struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)2ul]; - t5 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)t4; - t6 = t5; - t7 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const a0) { - static uintptr_t const t10[3] = {16ul,24ul,4ul}; - static uintptr_t const t12[3] = {1ul,2ul,0ul}; - uint8_t *(*t1)[3]; - uintptr_t *t2; - uintptr_t t3; - uintptr_t t11; - uintptr_t t13; - uintptr_t t7; - uint8_t *t5; - uint8_t *t6; - uint8_t *t4; - uint64_t t8; - uint8_t **t14; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t0; - bool t9; - t1 = (uint8_t *(*)[3])&t0.ptrs; - t2 = (uintptr_t *)&t0.len; - t3 = a0.len; - (*t2) = t3; - t2 = (uintptr_t *)&t0.capacity; - t3 = a0.capacity; - (*t2) = t3; - t5 = a0.bytes; - t6 = (uint8_t *)t5; - t4 = t6; - t7 = (uintptr_t)0ul; - zig_loop_17: - t3 = t7; - t8 = t3; - t9 = t8 < UINT64_C(3); - if (t9) { - t11 = t10[t3]; - t13 = t12[t3]; - t1 = (uint8_t *(*)[3])&t0.ptrs; - t14 = (uint8_t **)&(*t1)[t13]; - t6 = t4; - (*t14) = t6; - t6 = t4; - t13 = a0.capacity; - t13 = t11 * t13; - t6 = (uint8_t *)(((uintptr_t)t6) + (t13*sizeof(uint8_t))); - t4 = t6; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t3 = t3 + (uintptr_t)1ul; - t7 = t3; - goto zig_loop_17; - - zig_block_0:; - t15 = t0; - return t15; -} - -static nav__8729_41 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - nav__8729_39 *t5; - nav__8729_39 *t6; - nav__8729_39 *const *t7; - nav__8729_41 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8729_41){(nav__8729_39 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)1ul]; - t5 = (nav__8729_39 *)t4; - t6 = t5; - t7 = (nav__8729_39 *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (nav__8729_39 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(nav__8729_39))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static nav__8730_40 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - struct environment_root_EnvironmentValue__850 *t5; - struct environment_root_EnvironmentValue__850 *t6; - struct environment_root_EnvironmentValue__850 *const *t7; - nav__8730_40 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8730_40){(struct environment_root_EnvironmentValue__850 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)2ul]; - t5 = (struct environment_root_EnvironmentValue__850 *)t4; - t6 = t5; - t7 = (struct environment_root_EnvironmentValue__850 *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (struct environment_root_EnvironmentValue__850 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(struct environment_root_EnvironmentValue__850))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static void mem_Allocator_free__anon_6790__8731(struct mem_Allocator__599 const a0, nav__8731_42 const a1) { - struct mem_Allocator__599 const *t1; - nav__8731_40 t2; - uintptr_t t3; - uint64_t t4; - uint8_t const *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - nav__8731_54 t10; - nav__8731_54 t12; - struct mem_Allocator__599 t11; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t14; - struct mem_Allocator_VTable__602 const *const *t15; - struct mem_Allocator_VTable__602 const *t16; - void (*const *t17)(void *, nav__8731_54, uint8_t, uintptr_t); - void (*t18)(void *, nav__8731_54, uint8_t, uintptr_t); - void *t19; - bool t5; - uint8_t t13; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_7006__8812(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t10.ptr = t7; - t10.len = t3; - t11 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t10.ptr = t7; - t10.len = t3; - memcpy(&t12, &t10, sizeof(nav__8731_54)); - t13 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t3 = (uintptr_t)zig_return_address(); - t14 = t11; - t1 = (struct mem_Allocator__599 const *)&t14; - t15 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t16 = (*t15); - t17 = (void (*const *)(void *, nav__8731_54, uint8_t, uintptr_t))&t16->free; - t18 = (*t17); - t19 = t11.ptr; - t18(t19, t12, t13, t3); - return; -} - -static void debug_SafetyLock_assertUnlocked__3970(void) { - return; -} - -static void multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4115(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const a0, struct mem_Allocator__599 const a1) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *t1; - struct mem_Allocator__599 const *t3; - struct mem_Allocator__599 t4; - struct mem_Allocator__599 t2; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - nav__4115_51 t7; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (*t3); - t5 = (*t1); - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147(t6); - mem_Allocator_free__anon_7017__8813(t4, t7); - return; -} - -static void array_hash_map_IndexHeader_free__3965(struct array_hash_map_IndexHeader__886 *const a0, struct mem_Allocator__599 const a1) { - struct array_hash_map_IndexHeader__886 *const *t1; - struct mem_Allocator__599 const *t3; - uint8_t *t4; - uint8_t *t7; - uintptr_t t6; - uintptr_t t11; - uint8_t *const *t8; - struct array_hash_map_IndexHeader__886 *t9; - struct array_hash_map_IndexHeader__886 *t0; - nav__3965_52 t12; - struct mem_Allocator__599 t13; - struct mem_Allocator__599 t2; - struct array_hash_map_IndexHeader__886 t10; - uint8_t t5; - t0 = a0; - t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (uint8_t *)&a0->bit_index; - t5 = (*t4); - t6 = array_hash_map_capacityIndexSize__3728(t5); - t4 = (uint8_t *)a0; - t7 = t4; - t8 = (uint8_t *const *)&t7; - t9 = (*t1); - t10 = (*t9); - t11 = array_hash_map_IndexHeader_length__3961(t10); - t6 = t11 * t6; - t6 = (uintptr_t)4ul + t6; - t4 = (*t8); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t12.ptr = t4; - t12.len = t6; - t13 = (*t3); - mem_Allocator_free__anon_7034__8814(t13, t12); - return; -} - -static void multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3921(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const a0, struct mem_Allocator__599 const a1) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *t1; - struct mem_Allocator__599 const *t3; - struct mem_Allocator__599 t4; - struct mem_Allocator__599 t2; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - nav__3921_51 t7; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (*t3); - t5 = (*t1); - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953(t6); - mem_Allocator_free__anon_7017__8813(t4, t7); - return; -} - -static struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const a0) { - static uintptr_t const t10[3] = {16ul,32ul,4ul}; - static uintptr_t const t12[3] = {1ul,2ul,0ul}; - uint8_t *(*t1)[3]; - uintptr_t *t2; - uintptr_t t3; - uintptr_t t11; - uintptr_t t13; - uintptr_t t7; - uint8_t *t5; - uint8_t *t6; - uint8_t *t4; - uint64_t t8; - uint8_t **t14; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t0; - bool t9; - t1 = (uint8_t *(*)[3])&t0.ptrs; - t2 = (uintptr_t *)&t0.len; - t3 = a0.len; - (*t2) = t3; - t2 = (uintptr_t *)&t0.capacity; - t3 = a0.capacity; - (*t2) = t3; - t5 = a0.bytes; - t6 = (uint8_t *)t5; - t4 = t6; - t7 = (uintptr_t)0ul; - zig_loop_17: - t3 = t7; - t8 = t3; - t9 = t8 < UINT64_C(3); - if (t9) { - t11 = t10[t3]; - t13 = t12[t3]; - t1 = (uint8_t *(*)[3])&t0.ptrs; - t14 = (uint8_t **)&(*t1)[t13]; - t6 = t4; - (*t14) = t6; - t6 = t4; - t13 = a0.capacity; - t13 = t11 * t13; - t6 = (uint8_t *)(((uintptr_t)t6) + (t13*sizeof(uint8_t))); - t4 = t6; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t3 = t3 + (uintptr_t)1ul; - t7 = t3; - goto zig_loop_17; - - zig_block_0:; - t15 = t0; - return t15; -} - -static nav__8739_41 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - nav__8739_39 *t5; - nav__8739_39 *t6; - nav__8739_39 *const *t7; - nav__8739_41 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8739_41){(nav__8739_39 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)1ul]; - t5 = (nav__8739_39 *)t4; - t6 = t5; - t7 = (nav__8739_39 *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (nav__8739_39 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(nav__8739_39))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static nav__8740_40 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - struct environment_linked_libraries_root_LibraryEntry__858 *t5; - struct environment_linked_libraries_root_LibraryEntry__858 *t6; - struct environment_linked_libraries_root_LibraryEntry__858 *const *t7; - nav__8740_40 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8740_40){(struct environment_linked_libraries_root_LibraryEntry__858 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)2ul]; - t5 = (struct environment_linked_libraries_root_LibraryEntry__858 *)t4; - t6 = t5; - t7 = (struct environment_linked_libraries_root_LibraryEntry__858 *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (struct environment_linked_libraries_root_LibraryEntry__858 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(struct environment_linked_libraries_root_LibraryEntry__858))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static void multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4294(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const a0, struct mem_Allocator__599 const a1) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *t1; - struct mem_Allocator__599 const *t3; - struct mem_Allocator__599 t4; - struct mem_Allocator__599 t2; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - nav__4294_51 t7; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (*t3); - t5 = (*t1); - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326(t6); - mem_Allocator_free__anon_7017__8813(t4, t7); - return; -} - -static void environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3631(struct mem_Allocator__599 const a0, struct environment_linked_libraries_root_LibraryInfo__940 const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - nav__3631_46 t3; - nav__3631_46 t5; - bool t4; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = a1.path; - mem_Allocator_free__anon_3423__7835(t2, t3); - t3 = a1.soname; - t4 = t3.ptr != NULL; - if (t4) { - t5 = t3; - t2 = (*t1); - mem_Allocator_free__anon_3423__7835(t2, t5); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t11); + t13 = t12; + t14 = (nav__8932_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t21 = (uint32_t)t17; + t25 = t21; + t26 = UINT32_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t27 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t27, t22); + t28 = t12.ptr[t22]; + t29 = t28; + t30 = (struct array_hash_map_Index_28u32_29__7127 const *)&t29; + t31 = (*t30); + t20 = array_hash_map_Index_28u32_29_isEmpty__8835(t31); + if (t20) { + t32 = (*t14); + t33 = &t32.ptr[t22]; + t34 = (uint32_t *)&t33->distance_from_start_index; + t21 = t26; + (*t34) = t21; + t34 = (uint32_t *)&t33->entry_index; + t21 = t25; + (*t34) = t21; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t21 = t28.distance_from_start_index; + t35 = t26; + t20 = t21 < t35; + if (t20) { + t32 = (*t14); + t33 = &t32.ptr[t22]; + t34 = (uint32_t *)&t33->distance_from_start_index; + t35 = t26; + (*t34) = t35; + t34 = (uint32_t *)&t33->entry_index; + t35 = t25; + (*t34) = t35; + t35 = t28.distance_from_start_index; + t26 = t35; + t35 = t28.entry_index; + t25 = t35; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t35 = t26; + t35 = t35 + UINT32_C(1); + t26 = t35; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); + } goto zig_block_0; - } - goto zig_block_0; - zig_block_0:; - t5 = a1.build_id; - t4 = t5.ptr != NULL; - if (t4) { - t3 = t5; - t2 = (*t1); - mem_Allocator_free__anon_3423__7835(t2, t3); - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - return; -} - -static void array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_deinit__4335(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const a0) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const *t1; - struct mem_Allocator__599 const *t2; - struct mem_Allocator__599 t3; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t4; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t0; - nav__4335_42 t5; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const *)&t0; - t2 = (struct mem_Allocator__599 const *)&t1->allocator; - t3 = (*t2); - t4 = (*t1); - t5 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4381(t4); - mem_Allocator_free__anon_7063__8815(t3, t5); - return; -} - -static nav__8812_39 mem_sliceAsBytes__anon_7006__8812(nav__8812_41 const a0) { - uintptr_t t0; - uint64_t t1; - nav__8812_39 const *t4; - uint8_t const *t5; - uint8_t const *t6; - uint8_t const *const *t7; - nav__8812_39 t8; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__8812_39){(uint8_t const *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = (uint8_t const *)t4; - t6 = t5; - t7 = (uint8_t const *const *)&t6; - t0 = a0.len; - t0 = t0 * (uintptr_t)16ul; - t5 = (*t7); - t5 = (uint8_t const *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint8_t))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static nav__4147_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *t1; - uint8_t *const *t2; - uintptr_t t3; - uint8_t *t4; - nav__4147_39 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t0; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *)&t0; - t2 = (uint8_t *const *)&t1->bytes; - t3 = a0.capacity; - t3 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4146(t3); - t4 = (*t2); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5.ptr = t4; - t5.len = t3; - return t5; -} - -static void mem_Allocator_free__anon_7017__8813(struct mem_Allocator__599 const a0, nav__8813_40 const a1) { - struct mem_Allocator__599 const *t1; - nav__8813_40 t2; - nav__8813_40 t11; - uintptr_t t3; - uint64_t t4; - uint8_t *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - struct mem_Allocator__599 t10; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t13; - struct mem_Allocator_VTable__602 const *const *t14; - struct mem_Allocator_VTable__602 const *t15; - void (*const *t16)(void *, nav__8813_40, uint8_t, uintptr_t); - void (*t17)(void *, nav__8813_40, uint8_t, uintptr_t); - void *t18; - bool t5; - uint8_t t12; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_7082__8816(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t10 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - memcpy(&t11, &t2, sizeof(nav__8813_40)); - t12 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t3 = (uintptr_t)zig_return_address(); - t13 = t10; - t1 = (struct mem_Allocator__599 const *)&t13; - t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t15 = (*t14); - t16 = (void (*const *)(void *, nav__8813_40, uint8_t, uintptr_t))&t15->free; - t17 = (*t16); - t18 = t10.ptr; - t17(t18, t11, t12, t3); - return; -} - -static uintptr_t array_hash_map_capacityIndexSize__3728(uint8_t const a0) { - uint8_t t0; - t0 = array_hash_map_capacityIndexType__3727(a0); - switch (t0) { - case UINT8_C(0): { - return ((uintptr_t)(uintptr_t)0x2ul); - } - case UINT8_C(1): { - return ((uintptr_t)(uintptr_t)0x4ul); - } - case UINT8_C(2): { - return ((uintptr_t)(uintptr_t)0x8ul); - } - default: zig_unreachable(); - } -} - -static uintptr_t array_hash_map_IndexHeader_length__3961(struct array_hash_map_IndexHeader__886 const a0) { - uintptr_t t1; - uint8_t t0; - t0 = a0.bit_index; - t1 = zig_shlw_u64((uintptr_t)1ul, t0, UINT8_C(64)); - return t1; -} - -static void mem_Allocator_free__anon_7034__8814(struct mem_Allocator__599 const a0, nav__8814_40 const a1) { - struct mem_Allocator__599 const *t1; - nav__8814_40 t2; - nav__8814_40 t11; - uintptr_t t3; - uint64_t t4; - uint8_t *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - struct mem_Allocator__599 t10; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t13; - struct mem_Allocator_VTable__602 const *const *t14; - struct mem_Allocator_VTable__602 const *t15; - void (*const *t16)(void *, nav__8814_40, uint8_t, uintptr_t); - void (*t17)(void *, nav__8814_40, uint8_t, uintptr_t); - void *t18; - bool t5; - uint8_t t12; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_7116__8832(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t10 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - memcpy(&t11, &t2, sizeof(nav__8814_40)); - t12 = mem_Alignment_fromByteUnits__1108((uintptr_t)4ul); - t3 = (uintptr_t)zig_return_address(); - t13 = t10; - t1 = (struct mem_Allocator__599 const *)&t13; - t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t15 = (*t14); - t16 = (void (*const *)(void *, nav__8814_40, uint8_t, uintptr_t))&t15->free; - t17 = (*t16); - t18 = t10.ptr; - t17(t18, t11, t12, t3); - return; -} - -static nav__3953_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *t1; - uint8_t *const *t2; - uintptr_t t3; - uint8_t *t4; - nav__3953_39 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t0; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *)&t0; - t2 = (uint8_t *const *)&t1->bytes; - t3 = a0.capacity; - t3 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3952(t3); - t4 = (*t2); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5.ptr = t4; - t5.len = t3; - return t5; -} - -static nav__4326_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *t1; - uint8_t *const *t2; - uintptr_t t3; - uint8_t *t4; - nav__4326_39 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t0; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *)&t0; - t2 = (uint8_t *const *)&t1->bytes; - t3 = a0.capacity; - t3 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4325(t3); - t4 = (*t2); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5.ptr = t4; - t5.len = t3; - return t5; -} - -static nav__4381_40 array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4381(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const a0) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const *t1; - nav__4381_40 const *t2; - struct environment_linked_libraries_root_LibraryInfo__940 *const *t3; - uintptr_t t4; - struct environment_linked_libraries_root_LibraryInfo__940 *t5; - nav__4381_40 t6; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t0; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 const *)&t0; - t2 = (nav__4381_40 const *)&t1->items; - t3 = &t2->ptr; - t4 = a0.capacity; - t5 = (*t3); - t5 = (struct environment_linked_libraries_root_LibraryInfo__940 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(struct environment_linked_libraries_root_LibraryInfo__940))); - t6.ptr = t5; - t6.len = t4; - return t6; -} - -static void mem_Allocator_free__anon_7063__8815(struct mem_Allocator__599 const a0, nav__8815_41 const a1) { - struct mem_Allocator__599 const *t1; - nav__8815_51 t2; - nav__8815_51 t11; - uintptr_t t3; - uint64_t t4; - uint8_t *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - struct mem_Allocator__599 t10; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t13; - struct mem_Allocator_VTable__602 const *const *t14; - struct mem_Allocator_VTable__602 const *t15; - void (*const *t16)(void *, nav__8815_51, uint8_t, uintptr_t); - void (*t17)(void *, nav__8815_51, uint8_t, uintptr_t); - void *t18; - bool t5; - uint8_t t12; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_7129__8833(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t10 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - memcpy(&t11, &t2, sizeof(nav__8815_51)); - t12 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t3 = (uintptr_t)zig_return_address(); - t13 = t10; - t1 = (struct mem_Allocator__599 const *)&t13; - t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t15 = (*t14); - t16 = (void (*const *)(void *, nav__8815_51, uint8_t, uintptr_t))&t15->free; - t17 = (*t16); - t18 = t10.ptr; - t17(t18, t11, t12, t3); - return; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4146(uintptr_t const a0) { - uintptr_t t0; - t0 = (uintptr_t)44ul * a0; - return t0; -} - -static nav__8816_39 mem_sliceAsBytes__anon_7082__8816(nav__8816_39 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t4; - uint8_t *t5; - uint8_t *const *t6; - nav__8816_39 t7; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__8816_39){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = t4; - t6 = (uint8_t *const *)&t5; - t0 = a0.len; - t4 = (*t6); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t7.ptr = t4; - t7.len = t0; - return t7; -} - -static uint8_t array_hash_map_capacityIndexType__3727(uint8_t const a0) { - bool t0; - t0 = a0 <= UINT8_C(8); - if (t0) { - return UINT8_C(0); - } - goto zig_block_0; +} - zig_block_0:; - t0 = a0 <= UINT8_C(16); - if (t0) { - return UINT8_C(1); - } - goto zig_block_1; - - zig_block_1:; - t0 = a0 <= UINT8_C(32); - debug_assert__180(t0); - return UINT8_C(2); -} - -static nav__8832_39 mem_sliceAsBytes__anon_7116__8832(nav__8832_39 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t4; - uint8_t *t5; - uint8_t *const *t6; - nav__8832_39 t7; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__8832_39){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = t4; - t6 = (uint8_t *const *)&t5; - t0 = a0.len; - t4 = (*t6); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t7.ptr = t4; - t7.len = t0; - return t7; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3952(uintptr_t const a0) { - uintptr_t t0; - t0 = (uintptr_t)52ul * a0; - return t0; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4325(uintptr_t const a0) { - uintptr_t t0; - t0 = (uintptr_t)52ul * a0; - return t0; -} - -static nav__8833_39 mem_sliceAsBytes__anon_7129__8833(nav__8833_42 const a0) { - uintptr_t t0; - uint64_t t1; - struct environment_linked_libraries_root_LibraryInfo__940 *t4; - uint8_t *t5; - uint8_t *t6; - uint8_t *const *t7; - nav__8833_39 t8; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__8833_39){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = (uint8_t *)t4; - t6 = t5; - t7 = (uint8_t *const *)&t6; - t0 = a0.len; - t0 = t0 * (uintptr_t)48ul; - t5 = (*t7); - t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint8_t))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -bool c_instrument_hooks_is_instrumented__239(struct instrument_hooks_InstrumentHooks__547 *const a0) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct instruments_root_Instrument__554 *t4; - struct instruments_root_Instrument__554 t5; - bool t0; - bool t7; - uint8_t t6; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t1 = (*t3); - t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; +static uint32_t array_hash_map_StringContext_hash__3760(nav__3760_40 const a0) { + uint32_t t0; + t0 = array_hash_map_hashString__3723(a0); + return t0; +} + +static bool array_hash_map_StringContext_eql__3761(nav__3761_40 const a0, + nav__3761_40 const a1, + uintptr_t const a2) { + bool t0; + (void)a2; + t0 = array_hash_map_eqlString__3722(a0, a1); + return t0; +} + +static nav__8933_40 array_hash_map_IndexHeader_indexes__anon_8134__8933( + struct array_hash_map_IndexHeader__886 *const a0) { + struct array_hash_map_IndexHeader__886 *const *t1; + uint8_t *t2; + struct array_hash_map_Index_28u8_29__7119 *t3; + struct array_hash_map_Index_28u8_29__7119 *t4; + struct array_hash_map_Index_28u8_29__7119 *const *t5; + struct array_hash_map_IndexHeader__886 *t6; + struct array_hash_map_IndexHeader__886 *t0; + uintptr_t t8; + nav__8933_40 t9; + struct array_hash_map_IndexHeader__886 t7; + t0 = a0; + t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; + t2 = (uint8_t *)a0; + t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)4ul * sizeof(uint8_t))); + t3 = (struct array_hash_map_Index_28u8_29__7119 *)t2; + t4 = t3; + t5 = (struct array_hash_map_Index_28u8_29__7119 *const *)&t4; + t6 = (*t1); + t7 = (*t6); + t8 = array_hash_map_IndexHeader_length__3962(t7); + t3 = (*t5); + t3 = (struct array_hash_map_Index_28u8_29__7119 + *)(((uintptr_t)t3) + + ((uintptr_t)0ul * + sizeof(struct array_hash_map_Index_28u8_29__7119))); + t9.ptr = t3; + t9.len = t8; + return t9; +} + +static nav__8934_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8934( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8934_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__8934_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t8; + nav__8934_66 t9; + nav__8934_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u8_29__7119 const *t23; + nav__8934_41 t30; + nav__8934_38 t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + uint32_t t11; + uint32_t t29; + struct array_hash_map_IndexHeader__886 t20; + bool t18; + bool t25; + struct array_hash_map_Index_28u8_29__7119 t21; + struct array_hash_map_Index_28u8_29__7119 t24; + struct array_hash_map_Index_28u8_29__7119 t22; + uint8_t t26; + uint8_t t27; + uint8_t t15; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *)&t1->entries; t5 = (*t4); - t6 = t5.tag; - switch (t6) { - case UINT8_C(0): { - t6 = running_on_valgrind(); - t7 = t6 > UINT8_C(0); - t0 = t7; - goto zig_block_1; - } - case UINT8_C(1): { - t0 = true; + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT8_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u8_29__7119 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u8_29_isEmpty__8825(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; + + zig_block_3:; + if (t25) { + return (nav__8934_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; + + zig_block_2:; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t29 = t9.ptr[t28]; + t25 = t11 == t29; + if (t25) { + t28 = (uintptr_t)t27; + t30 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t30, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; + + zig_block_5:; + if (t18) { + t31.is_null = false; + t31.payload = t12; + return t31; + } + goto zig_block_4; + + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT8_C(1); + t15 = t27; goto zig_block_1; - } - case UINT8_C(2): { - t0 = true; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static nav__8935_40 array_hash_map_IndexHeader_indexes__anon_8144__8935( + struct array_hash_map_IndexHeader__886 *const a0) { + struct array_hash_map_IndexHeader__886 *const *t1; + uint8_t *t2; + struct array_hash_map_Index_28u16_29__7123 *t3; + struct array_hash_map_Index_28u16_29__7123 *t4; + struct array_hash_map_Index_28u16_29__7123 *const *t5; + struct array_hash_map_IndexHeader__886 *t6; + struct array_hash_map_IndexHeader__886 *t0; + uintptr_t t8; + nav__8935_40 t9; + struct array_hash_map_IndexHeader__886 t7; + t0 = a0; + t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; + t2 = (uint8_t *)a0; + t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)4ul * sizeof(uint8_t))); + t3 = (struct array_hash_map_Index_28u16_29__7123 *)t2; + t4 = t3; + t5 = (struct array_hash_map_Index_28u16_29__7123 *const *)&t4; + t6 = (*t1); + t7 = (*t6); + t8 = array_hash_map_IndexHeader_length__3962(t7); + t3 = (*t5); + t3 = (struct array_hash_map_Index_28u16_29__7123 + *)(((uintptr_t)t3) + + ((uintptr_t)0ul * + sizeof(struct array_hash_map_Index_28u16_29__7123))); + t9.ptr = t3; + t9.len = t8; + return t9; +} + +static nav__8936_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8936( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8936_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__8936_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t8; + nav__8936_66 t9; + nav__8936_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u16_29__7123 const *t23; + nav__8936_41 t30; + nav__8936_38 t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + uint32_t t11; + uint32_t t29; + struct array_hash_map_IndexHeader__886 t20; + struct array_hash_map_Index_28u16_29__7123 t21; + struct array_hash_map_Index_28u16_29__7123 t24; + struct array_hash_map_Index_28u16_29__7123 t22; + uint16_t t26; + uint16_t t27; + uint16_t t15; + bool t18; + bool t25; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT16_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u16_29__7123 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u16_29_isEmpty__8830(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; + + zig_block_3:; + if (t25) { + return (nav__8936_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; + + zig_block_2:; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t29 = t9.ptr[t28]; + t25 = t11 == t29; + if (t25) { + t28 = (uintptr_t)t27; + t30 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t30, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; + + zig_block_5:; + if (t18) { + t31.is_null = false; + t31.payload = t12; + return t31; + } + goto zig_block_4; + + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT16_C(1); + t15 = t27; goto zig_block_1; - } - case UINT8_C(3): { - t0 = false; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static nav__8937_40 array_hash_map_IndexHeader_indexes__anon_8150__8937( + struct array_hash_map_IndexHeader__886 *const a0) { + struct array_hash_map_IndexHeader__886 *const *t1; + uint8_t *t2; + struct array_hash_map_Index_28u32_29__7127 *t3; + struct array_hash_map_Index_28u32_29__7127 *t4; + struct array_hash_map_Index_28u32_29__7127 *const *t5; + struct array_hash_map_IndexHeader__886 *t6; + struct array_hash_map_IndexHeader__886 *t0; + uintptr_t t8; + nav__8937_40 t9; + struct array_hash_map_IndexHeader__886 t7; + t0 = a0; + t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; + t2 = (uint8_t *)a0; + t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)4ul * sizeof(uint8_t))); + t3 = (struct array_hash_map_Index_28u32_29__7127 *)t2; + t4 = t3; + t5 = (struct array_hash_map_Index_28u32_29__7127 *const *)&t4; + t6 = (*t1); + t7 = (*t6); + t8 = array_hash_map_IndexHeader_length__3962(t7); + t3 = (*t5); + t3 = (struct array_hash_map_Index_28u32_29__7127 + *)(((uintptr_t)t3) + + ((uintptr_t)0ul * + sizeof(struct array_hash_map_Index_28u32_29__7127))); + t9.ptr = t3; + t9.len = t8; + return t9; +} + +static nav__8938_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8938( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0, + nav__8938_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__8938_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *t8; + nav__8938_66 t9; + nav__8938_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u32_29__7127 const *t23; + nav__8938_41 t29; + nav__8938_38 t30; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t0; + uint32_t t11; + uint32_t t26; + uint32_t t27; + uint32_t t15; + struct array_hash_map_IndexHeader__886 t20; + struct array_hash_map_Index_28u32_29__7127 t21; + struct array_hash_map_Index_28u32_29__7127 t24; + struct array_hash_map_Index_28u32_29__7127 t22; + bool t18; + bool t25; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3924( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6619 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8910( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8725( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT32_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u32_29__7127 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u32_29_isEmpty__8835(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; + + zig_block_3:; + if (t25) { + return (nav__8938_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; + + zig_block_2:; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t26 = t9.ptr[t28]; + t25 = t11 == t26; + if (t25) { + t28 = (uintptr_t)t27; + t29 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911( + a1, t29, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; + + zig_block_5:; + if (t18) { + t30.is_null = false; + t30.payload = t12; + return t30; + } + goto zig_block_4; + + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT32_C(1); + t15 = t27; goto zig_block_1; - } - default: zig_unreachable(); } + goto zig_block_0; - zig_block_1:; +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static uintptr_t array_hash_map_safeTruncate__anon_8158__8939( + uint32_t const a0) { + uintptr_t t0; + t0 = (uintptr_t)a0; return t0; - } - goto zig_block_0; - - zig_block_0:; - return false; -} - -static zig_cold uint16_t runner_fifo_RunnerFifo_start_benchmark__1129(struct runner_fifo_RunnerFifo__631 *const a0) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - struct fifo_UnixPipe_Reader__640 *t5; - uint16_t t4; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4 = fifo_UnixPipe_Writer_sendCmd__1163(t3, (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(1)}); - if (t4) { - return t4; - } - t2 = (*t1); - t5 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t4 = fifo_UnixPipe_Reader_waitForAck__1170(t5, (nav__1129_76){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_start_benchmark__805(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const a0) { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_start_benchmark__1129(t3); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_start_benchmark__818(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const a0) { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_start_benchmark__1129(t3); - if (t4) { +} + +static uintptr_t array_hash_map_IndexHeader_constrainIndex__3958( + struct array_hash_map_IndexHeader__886 const a0, uintptr_t const a1) { + struct array_hash_map_IndexHeader__886 const *t1; + uintptr_t t4; + struct array_hash_map_IndexHeader__886 t2; + struct array_hash_map_IndexHeader__886 t0; + uint32_t t3; + t0 = a0; + t1 = (struct array_hash_map_IndexHeader__886 const *)&t0; + t2 = (*t1); + t3 = array_hash_map_IndexHeader_mask__3963(t2); + t4 = (uintptr_t)t3; + t4 = a1 & t4; return t4; - } - return 0; -} - -uint8_t c_instrument_hooks_start_benchmark__240(struct instrument_hooks_InstrumentHooks__547 *const a0) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct instruments_root_Instrument__554 *t4; - struct instruments_root_Instrument__554 *t6; - struct instruments_root_Instrument__554 *const *t7; - struct instruments_root_Instrument__554 t8; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t10; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t13; - uint16_t t5; - uint16_t t11; - uint16_t t12; - bool t0; - uint8_t t9; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t1 = (*t3); - t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; - t6 = t4; - t7 = (struct instruments_root_Instrument__554 *const *)&t6; - t8 = (*t4); - t9 = t8.tag; - t0 = t9 == UINT8_C(1); - if (t0) { - t4 = (*t7); - t10 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *)&t4->payload.perf; - t11 = instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_start_benchmark__805(t10); - memcpy(&t12, &t11, sizeof(uint16_t)); - t5 = t12; - goto zig_block_2; - } - t8 = (*t4); - t9 = t8.tag; - t0 = t9 == UINT8_C(0); - if (t0) { - t0 = features_is_feature_enabled__327(UINT64_C(0)); - t0 = !t0; - if (t0) { - callgrind_zero_stats(); - callgrind_start_instrumentation(); - goto zig_block_5; - } - goto zig_block_5; +} + +static bool array_hash_map_Index_28u8_29_isEmpty__8825( + struct array_hash_map_Index_28u8_29__7119 const a0) { + uint8_t t0; + bool t1; + t0 = a0.entry_index; + t1 = t0 == UINT8_MAX; + return t1; +} + +static bool array_hash_map_Index_28u16_29_isEmpty__8830( + struct array_hash_map_Index_28u16_29__7123 const a0) { + uint16_t t0; + bool t1; + t0 = a0.entry_index; + t1 = t0 == UINT16_MAX; + return t1; +} - zig_block_5:; - t5 = 0; - goto zig_block_2; +static bool array_hash_map_Index_28u32_29_isEmpty__8835( + struct array_hash_map_Index_28u32_29__7127 const a0) { + uint32_t t0; + bool t1; + t0 = a0.entry_index; + t1 = t0 == UINT32_MAX; + return t1; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4138( + uintptr_t const a0, uintptr_t const a1) { + uintptr_t t1; + uintptr_t t2; + uintptr_t t0; + uint64_t t3; + uint64_t t4; + bool t5; + t0 = a0; +zig_loop_6: + t1 = t0; + t2 = t0; + t2 = t2 / (uintptr_t)2ul; + t2 = t2 + (uintptr_t)5ul; + t2 = zig_adds_u64(t1, t2, UINT8_C(64)); + t0 = t2; + t2 = t0; + t3 = t2; + t4 = a1; + t5 = t3 >= t4; + if (t5) { + t2 = t0; + return t2; } - t8 = (*t4); - t9 = t8.tag; - t0 = t9 == UINT8_C(2); - if (t0) { - t4 = (*t7); - t13 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *)&t4->payload.analysis; - t12 = instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_start_benchmark__818(t13); - memcpy(&t11, &t12, sizeof(uint16_t)); - t5 = t11; - goto zig_block_2; + goto zig_block_0; + +zig_block_0:; + goto zig_loop_6; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8940( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t9; + nav__8940_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__8940_60 t12; + nav__8940_60 t33; + nav__8940_60 t13; + nav__8940_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u8_29__7119 const *t31; + struct array_hash_map_Index_28u8_29__7119 *t34; + uint8_t *t35; + uint32_t t21; + struct array_hash_map_IndexHeader__886 t28; + bool t20; + uint8_t t26; + uint8_t t36; + uint8_t t25; + uint8_t t27; + struct array_hash_map_Index_28u8_29__7119 t29; + struct array_hash_map_Index_28u8_29__7119 t32; + struct array_hash_map_Index_28u8_29__7119 t30; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t11); + t13 = t12; + t14 = (nav__8940_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t26 = (uint8_t)t17; + t25 = t26; + t27 = UINT8_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t28 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t28, t22); + t29 = t12.ptr[t22]; + t30 = t29; + t31 = (struct array_hash_map_Index_28u8_29__7119 const *)&t30; + t32 = (*t31); + t20 = array_hash_map_Index_28u8_29_isEmpty__8825(t32); + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint8_t *)&t34->distance_from_start_index; + t26 = t27; + (*t35) = t26; + t35 = (uint8_t *)&t34->entry_index; + t26 = t25; + (*t35) = t26; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t26 = t29.distance_from_start_index; + t36 = t27; + t20 = t26 < t36; + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint8_t *)&t34->distance_from_start_index; + t36 = t27; + (*t35) = t36; + t35 = (uint8_t *)&t34->entry_index; + t36 = t25; + (*t35) = t36; + t36 = t29.distance_from_start_index; + t27 = t36; + t36 = t29.entry_index; + t25 = t36; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t36 = t27; + t36 = t36 + UINT8_C(1); + t27 = t36; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); } - goto zig_block_6; + goto zig_block_0; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8941( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t9; + nav__8941_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__8941_60 t12; + nav__8941_60 t33; + nav__8941_60 t13; + nav__8941_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u16_29__7123 const *t31; + struct array_hash_map_Index_28u16_29__7123 *t34; + uint16_t *t35; + uint32_t t21; + struct array_hash_map_IndexHeader__886 t28; + uint16_t t26; + uint16_t t36; + uint16_t t25; + uint16_t t27; + struct array_hash_map_Index_28u16_29__7123 t29; + struct array_hash_map_Index_28u16_29__7123 t32; + struct array_hash_map_Index_28u16_29__7123 t30; + bool t20; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t11); + t13 = t12; + t14 = (nav__8941_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t26 = (uint16_t)t17; + t25 = t26; + t27 = UINT16_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t28 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t28, t22); + t29 = t12.ptr[t22]; + t30 = t29; + t31 = (struct array_hash_map_Index_28u16_29__7123 const *)&t30; + t32 = (*t31); + t20 = array_hash_map_Index_28u16_29_isEmpty__8830(t32); + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint16_t *)&t34->distance_from_start_index; + t26 = t27; + (*t35) = t26; + t35 = (uint16_t *)&t34->entry_index; + t26 = t25; + (*t35) = t26; + goto zig_block_1; + } + goto zig_block_4; - zig_block_6:; - goto zig_block_4; + zig_block_4:; + t26 = t29.distance_from_start_index; + t36 = t27; + t20 = t26 < t36; + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint16_t *)&t34->distance_from_start_index; + t36 = t27; + (*t35) = t36; + t35 = (uint16_t *)&t34->entry_index; + t36 = t25; + (*t35) = t36; + t36 = t29.distance_from_start_index; + t27 = t36; + t36 = t29.entry_index; + t25 = t36; + goto zig_block_5; + } + goto zig_block_5; - zig_block_4:; - goto zig_block_3; + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t36 = t27; + t36 = t36 + UINT16_C(1); + t27 = t36; + goto zig_block_3; + } + goto zig_block_2; zig_block_3:; - t5 = 0; - goto zig_block_2; + goto zig_loop_53; zig_block_2:; - memcpy(&t12, &t5, sizeof(uint16_t)); - t0 = t12 == UINT16_C(0); - if (t0) { - goto zig_block_1; + zig_unreachable(); } - return UINT8_C(1); - - zig_block_1:; goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return UINT8_C(0); -} - -static bool features_is_feature_enabled__327(uint64_t const a0) { - uint64_t t0; - uint64_t t1; - uintptr_t t2; - bool t3; - t0 = (*&features_features__325); - t1 = a0; - t2 = t1; - t3 = bit_set_IntegerBitSet_2864_29_isSet__362(t0, t2); - return t3; -} - -static bool bit_set_IntegerBitSet_2864_29_isSet__362(uint64_t const a0, uintptr_t const a1) { - uint64_t t0; - uint64_t t2; - bool t1; - t0 = a1; - t1 = t0 < UINT64_C(64); - debug_assert__180(t1); - t0 = zig_wrap_u64((uint64_t)a0, UINT8_C(64)); - t2 = bit_set_IntegerBitSet_2864_29_maskBit__386(a1); - t2 = t0 & t2; - t1 = t2 != UINT64_C(0); - return t1; -} - -static zig_cold uint16_t runner_fifo_RunnerFifo_stop_benchmark__1130(struct runner_fifo_RunnerFifo__631 *const a0) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - struct fifo_UnixPipe_Reader__640 *t5; - uint16_t t4; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4 = fifo_UnixPipe_Writer_sendCmd__1163(t3, (struct shared_Command__2195){{{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},UINT32_C(0xaaaaaaaa)}},UINT8_C(2)}); - if (t4) { - return t4; - } - t2 = (*t1); - t5 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t4 = fifo_UnixPipe_Reader_waitForAck__1170(t5, (nav__1130_76){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_stop_benchmark__806(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const a0) { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_stop_benchmark__1130(t3); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_stop_benchmark__819(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const a0) { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_stop_benchmark__1130(t3); - if (t4) { - return t4; - } - return 0; -} - -uint8_t c_instrument_hooks_stop_benchmark__241(struct instrument_hooks_InstrumentHooks__547 *const a0) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct instruments_root_Instrument__554 *t4; - struct instruments_root_Instrument__554 *t6; - struct instruments_root_Instrument__554 *const *t7; - struct instruments_root_Instrument__554 t8; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t10; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t13; - uint16_t t5; - uint16_t t11; - uint16_t t12; - bool t0; - uint8_t t9; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t1 = (*t3); - t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; - t6 = t4; - t7 = (struct instruments_root_Instrument__554 *const *)&t6; - t8 = (*t4); - t9 = t8.tag; - t0 = t9 == UINT8_C(0); - if (t0) { - t0 = features_is_feature_enabled__327(UINT64_C(0)); - t0 = !t0; - if (t0) { - callgrind_stop_instrumentation(); - goto zig_block_4; - } - goto zig_block_4; - zig_block_4:; - t5 = 0; - goto zig_block_2; - } - t8 = (*t4); - t9 = t8.tag; - t0 = t9 == UINT8_C(1); - if (t0) { - t4 = (*t7); - t10 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *)&t4->payload.perf; - t11 = instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_stop_benchmark__806(t10); - memcpy(&t12, &t11, sizeof(uint16_t)); - t5 = t12; - goto zig_block_2; - } - t8 = (*t4); - t9 = t8.tag; - t0 = t9 == UINT8_C(2); - if (t0) { - t4 = (*t7); - t13 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *)&t4->payload.analysis; - t12 = instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_stop_benchmark__819(t13); - memcpy(&t11, &t12, sizeof(uint16_t)); - t5 = t11; - goto zig_block_2; - } - goto zig_block_6; +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; - zig_block_6:; - goto zig_block_5; +zig_block_0:; + return; +} - zig_block_5:; - goto zig_block_3; +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8942( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t9; + nav__8942_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__8942_60 t12; + nav__8942_60 t32; + nav__8942_60 t13; + nav__8942_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u32_29__7127 const *t30; + struct array_hash_map_Index_28u32_29__7127 *t33; + uint32_t *t34; + uint32_t t21; + uint32_t t35; + uint32_t t25; + uint32_t t26; + struct array_hash_map_IndexHeader__886 t27; + struct array_hash_map_Index_28u32_29__7127 t28; + struct array_hash_map_Index_28u32_29__7127 t31; + struct array_hash_map_Index_28u32_29__7127 t29; + bool t20; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t11); + t13 = t12; + t14 = (nav__8942_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t21 = (uint32_t)t17; + t25 = t21; + t26 = UINT32_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t27 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t27, t22); + t28 = t12.ptr[t22]; + t29 = t28; + t30 = (struct array_hash_map_Index_28u32_29__7127 const *)&t29; + t31 = (*t30); + t20 = array_hash_map_Index_28u32_29_isEmpty__8835(t31); + if (t20) { + t32 = (*t14); + t33 = &t32.ptr[t22]; + t34 = (uint32_t *)&t33->distance_from_start_index; + t21 = t26; + (*t34) = t21; + t34 = (uint32_t *)&t33->entry_index; + t21 = t25; + (*t34) = t21; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t21 = t28.distance_from_start_index; + t35 = t26; + t20 = t21 < t35; + if (t20) { + t32 = (*t14); + t33 = &t32.ptr[t22]; + t34 = (uint32_t *)&t33->distance_from_start_index; + t35 = t26; + (*t34) = t35; + t34 = (uint32_t *)&t33->entry_index; + t35 = t25; + (*t34) = t35; + t35 = t28.distance_from_start_index; + t26 = t35; + t35 = t28.entry_index; + t25 = t35; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t35 = t26; + t35 = t35 + UINT32_C(1); + t26 = t35; + goto zig_block_3; + } + goto zig_block_2; zig_block_3:; - t5 = 0; - goto zig_block_2; + goto zig_loop_53; zig_block_2:; - memcpy(&t12, &t5, sizeof(uint16_t)); - t0 = t12 == UINT16_C(0); - if (t0) { - goto zig_block_1; + zig_unreachable(); } - return UINT8_C(1); - - zig_block_1:; goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return UINT8_C(0); -} - -static uint16_t runner_fifo_RunnerFifo_set_executed_benchmark__1131(struct runner_fifo_RunnerFifo__631 *const a0, uint32_t const a1, uint8_t const *const a2) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - nav__1131_61 t4; - nav__1131_61 t5; - struct shared_Command__struct_2198__2198 t6; - struct shared_Command__2195 t7; - struct fifo_UnixPipe_Reader__640 *t9; - uint16_t t8; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4 = mem_span__anon_7281__8838(a2); - memcpy(&t5, &t4, sizeof(nav__1131_61)); - t6.uri = t5; - t6.pid = a1; - t7.tag = UINT8_C(0); - t7.payload.ExecutedBenchmark = t6; - t8 = fifo_UnixPipe_Writer_sendCmd__1163(t3, t7); - if (t8) { - return t8; - } - t2 = (*t1); - t9 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t8 = fifo_UnixPipe_Reader_waitForAck__1170(t9, (nav__1131_76){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t8) { - return t8; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_executed_benchmark__807(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const a0, uint32_t const a1, uint8_t const *const a2) { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_set_executed_benchmark__1131(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_executed_benchmark__820(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const a0, uint32_t const a1, uint8_t const *const a2) { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_set_executed_benchmark__1131(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -uint8_t c_instrument_hooks_set_executed_benchmark__242(struct instrument_hooks_InstrumentHooks__547 *const a0, uint32_t const a1, uint8_t const *const a2) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct instruments_root_Instrument__554 *t4; - struct instruments_root_Instrument__554 *t6; - struct instruments_root_Instrument__554 *const *t7; - struct instruments_root_Instrument__554 t8; - uint8_t const *t10; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t11; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t13; - uint16_t t5; - uint16_t t12; - bool t0; - uint8_t t9; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t1 = (*t3); - t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; - t6 = t4; - t7 = (struct instruments_root_Instrument__554 *const *)&t6; - t8 = (*t4); - t9 = t8.tag; - switch (t9) { - case UINT8_C(0): { - t10 = (uint8_t const *)a2; - callgrind_dump_stats_at(t10); - goto zig_block_3; - } - case UINT8_C(1): { - t4 = (*t7); - t11 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *)&t4->payload.perf; - t12 = instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_executed_benchmark__807(t11, a1, a2); - if (t12) { - t5 = t12; - goto zig_block_2; - } - goto zig_block_3; - } - case UINT8_C(2): { - t4 = (*t7); - t13 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *)&t4->payload.analysis; - t12 = instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_executed_benchmark__820(t13, a1, a2); - if (t12) { - t5 = t12; - goto zig_block_2; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static nav__8943_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8943( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8943_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__8943_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t8; + nav__8943_66 t9; + nav__8943_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u8_29__7119 const *t23; + nav__8943_41 t30; + nav__8943_38 t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + uint32_t t11; + uint32_t t29; + struct array_hash_map_IndexHeader__886 t20; + bool t18; + bool t25; + struct array_hash_map_Index_28u8_29__7119 t21; + struct array_hash_map_Index_28u8_29__7119 t24; + struct array_hash_map_Index_28u8_29__7119 t22; + uint8_t t26; + uint8_t t27; + uint8_t t15; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT8_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u8_29__7119 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u8_29_isEmpty__8825(t24); + if (t18) { + t25 = true; + goto zig_block_3; } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; goto zig_block_3; - } - case UINT8_C(3): { - goto zig_block_3; - } - default: zig_unreachable(); - } zig_block_3:; - t5 = 0; - goto zig_block_2; + if (t25) { + return (nav__8943_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; zig_block_2:; - memcpy(&t12, &t5, sizeof(uint16_t)); - t0 = t12 == UINT16_C(0); - if (t0) { - goto zig_block_1; - } - return UINT8_C(1); + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t29 = t9.ptr[t28]; + t25 = t11 == t29; + if (t25) { + t28 = (uintptr_t)t27; + t30 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t30, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; - zig_block_1:; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return UINT8_C(0); -} - -static nav__8838_39 mem_span__anon_7281__8838(uint8_t const *const a0) { - uint8_t const *const *t1; - uintptr_t t2; - uint8_t const *t3; - uint8_t const *t0; - nav__8838_39 t4; - t0 = a0; - t1 = (uint8_t const *const *)&t0; - t2 = mem_len__anon_7298__8839(a0); - t3 = (*t1); - t3 = (uint8_t const *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(uint8_t))); - t4.ptr = t3; - t4.len = t2; - return t4; -} - -static uintptr_t mem_len__anon_7298__8839(uint8_t const *const a0) { - uint8_t const *t1; - uintptr_t t2; - bool t0; - t0 = a0 != NULL; - debug_assert__180(t0); - t1 = (uint8_t const *)a0; - t2 = mem_indexOfSentinel__anon_7305__8840(t1); - return t2; -} - -static uintptr_t mem_indexOfSentinel__anon_7305__8840(uint8_t const *const a0) { - static uint8_t const t11[32] = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; - static uint8_t const t18[32] = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; - uint8_t const *const *t1; - uintptr_t t4; - uintptr_t t6; - uintptr_t t16; - uintptr_t t2; - uint8_t const *t5; - uint8_t const *t0; - uint64_t t7; - uint8_t const (*t8)[32]; - uint8_t const (*t17)[32]; - bool t3; - uint8_t t9[32]; - uint8_t t10[32]; - bool t12[32]; - nav__8840_45 t13; - nav__8840_47 t14; - uint8_t t15; - t0 = a0; - t1 = (uint8_t const *const *)&t0; - t2 = (uintptr_t)0ul; - t3 = math_isPowerOfTwo__anon_7316__8841(); - if (t3) { - debug_assert__180(true); - t4 = t2; - t5 = (*t1); - t5 = (uint8_t const *)&t5[t4]; - t4 = (uintptr_t)t5; - t6 = t4 & (uintptr_t)4095ul; - t7 = t6; - t3 = t7 <= UINT64_C(4064); - if (t3) { - t6 = t2; - t5 = (*t1); - t5 = (uint8_t const *)(((uintptr_t)t5) + (t6*sizeof(uint8_t))); - t8 = (uint8_t const (*)[32])t5; - memcpy(t9, (const char *)t8, sizeof(uint8_t[32])); - memcpy(&t10, &t9, sizeof(uint8_t[32])); - for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { - t12[t6] = t10[t6] == t11[t6]; - } - t3 = false; - for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { - t3 |= t12[t6]; - } - if (t3) { - t4 = t2; - memcpy(t13.array, t12, sizeof(nav__8840_45)); - t14 = simd_firstTrue__anon_7364__8842(t13); - t15 = t14.payload; - t6 = (uintptr_t)t15; - t6 = t4 + t6; - return t6; - } - goto zig_block_2; - - zig_block_2:; - t6 = t2; - t16 = mem_alignForward__anon_7367__8843(t4, (uintptr_t)32ul); - t4 = t16 - t4; - t4 = t4 / (uintptr_t)1ul; - t4 = t6 + t4; - t2 = t4; - goto zig_block_1; - } - zig_loop_63: - t4 = t2; - t5 = (*t1); - t5 = (uint8_t const *)&t5[t4]; - t4 = (uintptr_t)t5; - t4 = t4 & (uintptr_t)31ul; - t7 = t4; - t3 = t7 != UINT64_C(0); - if (t3) { - t4 = t2; - t15 = a0[t4]; - t3 = t15 == UINT8_C(0); - if (t3) { - t4 = t2; - return t4; - } - goto zig_block_5; + zig_block_5:; + if (t18) { + t31.is_null = false; + t31.payload = t12; + return t31; + } + goto zig_block_4; - zig_block_5:; - t4 = t2; - t4 = t4 + (uintptr_t)1ul; - t2 = t4; - goto zig_block_4; + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT8_C(1); + t15 = t27; + goto zig_block_1; } - goto zig_block_3; + goto zig_block_0; - zig_block_4:; - goto zig_loop_63; +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static nav__8944_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8944( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8944_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__8944_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t8; + nav__8944_66 t9; + nav__8944_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u16_29__7123 const *t23; + nav__8944_41 t30; + nav__8944_38 t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + uint32_t t11; + uint32_t t29; + struct array_hash_map_IndexHeader__886 t20; + struct array_hash_map_Index_28u16_29__7123 t21; + struct array_hash_map_Index_28u16_29__7123 t24; + struct array_hash_map_Index_28u16_29__7123 t22; + uint16_t t26; + uint16_t t27; + uint16_t t15; + bool t18; + bool t25; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT16_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u16_29__7123 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u16_29_isEmpty__8830(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; zig_block_3:; - goto zig_block_1; + if (t25) { + return (nav__8944_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; - zig_block_1:; - t6 = t2; - t5 = (*t1); - t5 = (uint8_t const *)&t5[t6]; - t6 = (uintptr_t)t5; - t3 = mem_isAligned__977(t6, (uintptr_t)32ul); - debug_assert__180(t3); - zig_loop_98: - t6 = t2; - t5 = (*t1); - t5 = (uint8_t const *)(((uintptr_t)t5) + (t6*sizeof(uint8_t))); - t8 = (uint8_t const (*)[32])t5; - t17 = (uint8_t const (*)[32])t8; - memcpy(t10, (const char *)t17, sizeof(uint8_t[32])); - for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { - t12[t6] = t10[t6] == t18[t6]; - } - t3 = false; - for (t6 = (uintptr_t)0ul; t6 < (uintptr_t)32ul; t6 += (uintptr_t)1ul) { - t3 |= t12[t6]; - } - if (t3) { - t6 = t2; - memcpy(t13.array, t12, sizeof(nav__8840_45)); - t14 = simd_firstTrue__anon_7364__8842(t13); - t15 = t14.payload; - t4 = (uintptr_t)t15; - t4 = t6 + t4; - return t4; - } - goto zig_block_6; + zig_block_2:; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t29 = t9.ptr[t28]; + t25 = t11 == t29; + if (t25) { + t28 = (uintptr_t)t27; + t30 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t30, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; - zig_block_6:; - t6 = t2; - t6 = t6 + (uintptr_t)32ul; - t2 = t6; - goto zig_loop_98; - } - goto zig_block_0; - - zig_block_0:; - zig_loop_129: - t16 = t2; - t15 = a0[t16]; - t3 = t15 != UINT8_C(0); - if (t3) { - t16 = t2; - t16 = t16 + (uintptr_t)1ul; - t2 = t16; - goto zig_block_8; - } - goto zig_block_7; - - zig_block_8:; - goto zig_loop_129; - - zig_block_7:; - t16 = t2; - return t16; -} - -static bool math_isPowerOfTwo__anon_7316__8841(void) { - debug_assert__180(true); - return true; -} - -static nav__8842_38 simd_firstTrue__anon_7364__8842(nav__8842_40 const a0) { - static uint8_t const t2[32] = {UINT8_C(0),UINT8_C(1),UINT8_C(2),UINT8_C(3),UINT8_C(4),UINT8_C(5),UINT8_C(6),UINT8_C(7),UINT8_C(8),UINT8_C(9),UINT8_C(10),UINT8_C(11),UINT8_C(12),UINT8_C(13),UINT8_C(14),UINT8_C(15),UINT8_C(16),UINT8_C(17),UINT8_C(18),UINT8_C(19),UINT8_C(20),UINT8_C(21),UINT8_C(22),UINT8_C(23),UINT8_C(24),UINT8_C(25),UINT8_C(26),UINT8_C(27),UINT8_C(28),UINT8_C(29),UINT8_C(30),UINT8_C(31)}; - static uint8_t const t3[32] = {UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31),UINT8_C(31)}; - uintptr_t t1; - bool t0; - uint8_t t4[32]; - uint8_t t5; - nav__8842_38 t6; - t0 = false; - for (t1 = (uintptr_t)0ul; t1 < (uintptr_t)32ul; t1 += (uintptr_t)1ul) { - t0 |= a0.array[t1]; - } - t0 = !t0; - if (t0) { - return (nav__8842_38){true,UINT8_C(0xa)}; - } - goto zig_block_0; - - zig_block_0:; - for (t1 = (uintptr_t)0ul; t1 < (uintptr_t)32ul; t1 += (uintptr_t)1ul) { - t4[t1] = a0.array[t1] ? t2[t1] : t3[t1]; - } - t5 = UINT8_C(31); - for (t1 = (uintptr_t)0ul; t1 < (uintptr_t)32ul; t1 += (uintptr_t)1ul) { - t5 = t5 < t4[t1] ? t5 : t4[t1]; - } - t6.is_null = false; - t6.payload = t5; - return t6; -} - -static uintptr_t mem_alignForward__anon_7367__8843(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - bool t0; - t0 = mem_isValidAlignGeneric__anon_7425__8844(a1); - debug_assert__180(t0); - t1 = a1 - (uintptr_t)1ul; - t1 = a0 + t1; - t1 = mem_alignBackward__anon_7426__8845(t1, a1); - return t1; -} - -static bool mem_isAligned__977(uintptr_t const a0, uintptr_t const a1) { - uint64_t t0; - uint64_t t1; - bool t2; - t0 = a0; - t1 = a1; - t2 = mem_isAlignedGeneric__anon_7430__8846(t0, t1); - return t2; -} - -static bool mem_isValidAlignGeneric__anon_7425__8844(uintptr_t const a0) { - uint64_t t0; - bool t1; - bool t2; - t0 = a0; - t1 = t0 > UINT64_C(0); - if (t1) { - t1 = math_isPowerOfTwo__anon_4000__8154(a0); - t2 = t1; - goto zig_block_0; - } - t2 = false; - goto zig_block_0; - - zig_block_0:; - return t2; -} - -static uintptr_t mem_alignBackward__anon_7426__8845(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - bool t0; - t0 = mem_isValidAlignGeneric__anon_7425__8844(a1); - debug_assert__180(t0); - t1 = a1 - (uintptr_t)1ul; - t1 = zig_not_u64(t1, UINT8_C(64)); - t1 = a0 & t1; - return t1; -} - -static bool mem_isAlignedGeneric__anon_7430__8846(uint64_t const a0, uint64_t const a1) { - uint64_t t0; - bool t1; - t0 = mem_alignBackward__anon_7432__8847(a0, a1); - t1 = t0 == a0; - return t1; -} - -static uint64_t mem_alignBackward__anon_7432__8847(uint64_t const a0, uint64_t const a1) { - uint64_t t1; - bool t0; - t0 = mem_isValidAlignGeneric__anon_7434__8848(a1); - debug_assert__180(t0); - t1 = a1 - UINT64_C(1); - t1 = zig_not_u64(t1, UINT8_C(64)); - t1 = a0 & t1; - return t1; -} - -static bool mem_isValidAlignGeneric__anon_7434__8848(uint64_t const a0) { - bool t0; - bool t1; - t0 = a0 > UINT64_C(0); - if (t0) { - t0 = math_isPowerOfTwo__anon_7435__8849(a0); - t1 = t0; - goto zig_block_0; - } - t1 = false; - goto zig_block_0; - - zig_block_0:; - return t1; -} - -static bool math_isPowerOfTwo__anon_7435__8849(uint64_t const a0) { - uint64_t t1; - bool t0; - t0 = a0 > UINT64_C(0); - debug_assert__180(t0); - t1 = a0 - UINT64_C(1); - t1 = a0 & t1; - t0 = t1 == UINT64_C(0); - return t0; -} - -uint8_t c_instrument_hooks_executed_benchmark__243(struct instrument_hooks_InstrumentHooks__547 *const a0, uint32_t const a1, uint8_t const *const a2) { - uint8_t t0; - t0 = c_instrument_hooks_set_executed_benchmark__242(a0, a1, a2); - return t0; -} - -static uint16_t runner_fifo_RunnerFifo_set_integration__1132(struct runner_fifo_RunnerFifo__631 *const a0, uint8_t const *const a1, uint8_t const *const a2) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - nav__1132_61 t4; - nav__1132_61 t5; - nav__1132_61 t6; - struct shared_Command__struct_2199__2199 t7; - struct shared_Command__2195 t8; - struct fifo_UnixPipe_Reader__640 *t10; - uint16_t t9; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4 = mem_span__anon_7281__8838(a1); - t5 = mem_span__anon_7281__8838(a2); - memcpy(&t6, &t4, sizeof(nav__1132_61)); - memcpy(&t4, &t5, sizeof(nav__1132_61)); - t7.name = t6; - t7.version = t4; - t8.tag = UINT8_C(5); - t8.payload.SetIntegration = t7; - t9 = fifo_UnixPipe_Writer_sendCmd__1163(t3, t8); - if (t9) { - return t9; - } - t2 = (*t1); - t10 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t9 = fifo_UnixPipe_Reader_waitForAck__1170(t10, (nav__1132_76){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t9) { - return t9; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_integration__808(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const a0, uint8_t const *const a1, uint8_t const *const a2) { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_set_integration__1132(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_integration__821(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const a0, uint8_t const *const a1, uint8_t const *const a2) { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_set_integration__1132(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -uint8_t c_instrument_hooks_set_integration__244(struct instrument_hooks_InstrumentHooks__547 *const a0, uint8_t const *const a1, uint8_t const *const a2) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct instruments_root_Instrument__554 *t4; - struct instruments_root_Instrument__554 *t6; - struct instruments_root_Instrument__554 *const *t7; - struct instruments_root_Instrument__554 t8; - struct instruments_valgrind_ValgrindInstrument__564 *t10; - struct instruments_valgrind_ValgrindInstrument__564 t11; - struct instruments_valgrind_ValgrindInstrument__564 t13; - struct instruments_valgrind_ValgrindInstrument__564 const *t14; - struct mem_Allocator__599 t15; - nav__244_102 t16; - nav__244_104 t17; - nav__244_56 t19; - uint8_t *t20; - uint8_t const *t21; - struct mem_Allocator__599 const *t22; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t23; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t24; - uint16_t t5; - uint16_t t12; - uint16_t t18; - bool t0; - uint8_t t9; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t1 = (*t3); - t4 = (struct instruments_root_Instrument__554 *)&t1->instrument; - t6 = t4; - t7 = (struct instruments_root_Instrument__554 *const *)&t6; - t8 = (*t4); - t9 = t8.tag; - switch (t9) { - case UINT8_C(0): { - t4 = (*t7); - t10 = (struct instruments_valgrind_ValgrindInstrument__564 *)&t4->payload.valgrind; - t11 = (*t10); - t13 = t11; - t14 = (struct instruments_valgrind_ValgrindInstrument__564 const *)&t13; - t15 = t11.allocator; - t16.f0 = a1; - t16.f1 = a2; - t17 = fmt_allocPrintZ__anon_7470__8850(t15, t16); - if (t17.error) { - t18 = t17.error; - t12 = t18; - goto zig_block_4; - } - t19 = t17.payload; - t20 = t19.ptr; - t21 = (uint8_t const *)t20; - callgrind_dump_stats_at(t21); - t22 = (struct mem_Allocator__599 const *)&t14->allocator; - t15 = (*t22); - mem_Allocator_free__anon_7472__8851(t15, t19); - t12 = 0; + zig_block_5:; + if (t18) { + t31.is_null = false; + t31.payload = t12; + return t31; + } goto zig_block_4; - zig_block_4:; - memcpy(&t18, &t12, sizeof(uint16_t)); + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT16_C(1); + t15 = t27; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static nav__8945_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8945( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + a0, + nav__8945_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__8945_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *t8; + nav__8945_66 t9; + nav__8945_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u32_29__7127 const *t23; + nav__8945_41 t29; + nav__8945_38 t30; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t0; + uint32_t t11; + uint32_t t26; + uint32_t t27; + uint32_t t15; + struct array_hash_map_IndexHeader__886 t20; + struct array_hash_map_Index_28u32_29__7127 t21; + struct array_hash_map_Index_28u32_29__7127 t24; + struct array_hash_map_Index_28u32_29__7127 t22; + bool t18; + bool t25; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4118( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6766 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8919( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8734( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT32_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u32_29__7127 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u32_29_isEmpty__8835(t24); if (t18) { - t5 = t18; - goto zig_block_2; + t25 = true; + goto zig_block_3; } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; goto zig_block_3; - } - case UINT8_C(1): { - t4 = (*t7); - t23 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *)&t4->payload.perf; - t18 = instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_set_integration__808(t23, a1, a2); - if (t18) { - t5 = t18; - goto zig_block_2; + + zig_block_3:; + if (t25) { + return (nav__8945_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; } - goto zig_block_3; - } - case UINT8_C(2): { - t4 = (*t7); - t24 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *)&t4->payload.analysis; - t18 = instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_set_integration__821(t24, a1, a2); + goto zig_block_2; + + zig_block_2:; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t26 = t9.ptr[t28]; + t25 = t11 == t26; + if (t25) { + t28 = (uintptr_t)t27; + t29 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920( + a1, t29, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; + + zig_block_5:; if (t18) { - t5 = t18; - goto zig_block_2; + t30.is_null = false; + t30.payload = t12; + return t30; } - goto zig_block_3; - } - case UINT8_C(3): { - goto zig_block_3; - } - default: zig_unreachable(); + goto zig_block_4; + + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT32_C(1); + t15 = t27; + goto zig_block_1; } + goto zig_block_0; - zig_block_3:; - t5 = 0; - goto zig_block_2; +zig_block_1:; + goto zig_loop_37; - zig_block_2:; - memcpy(&t18, &t5, sizeof(uint16_t)); - t0 = t18 == UINT16_C(0); - if (t0) { - goto zig_block_1; +zig_block_0:; + zig_unreachable(); +} + +static nav__8946_39 mem_Allocator_allocWithSizeAndAlignment__anon_8217__8946( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uintptr_t t2; + uintptr_t t5; + nav__8946_49 t3; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + nav__8946_39 t7; + bool t4; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = math_mul__anon_3766__7989((uintptr_t)1ul, a1); + t4 = t3.error == UINT16_C(0); + if (t4) { + t5 = t3.payload; + t2 = t5; + goto zig_block_0; } - return UINT8_C(1); + return (nav__8946_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; - zig_block_1:; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return UINT8_C(0); -} - -static nav__8850_40 fmt_allocPrintZ__anon_7470__8850(struct mem_Allocator__599 const a0, nav__8850_43 const a1) { - nav__8850_40 t0; - nav__8850_39 t2; - nav__8850_39 t3; - nav__8850_39 const *t4; - uintptr_t t5; - uint8_t *t6; - uint16_t t1; - t0 = fmt_allocPrint__anon_7507__8852(a0, a1); - if (t0.error) { - t1 = t0.error; - t0.payload = (nav__8850_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t0.error = t1; +zig_block_0:; + t6 = (*t1); + t7 = mem_Allocator_allocBytesWithAlignment__anon_3158__5094(t6, t2, a2); + return t7; +} + +static uint8_t math_log2_int__anon_8220__8947(uintptr_t const a0) { + uint64_t t0; + uint16_t t3; + bool t1; + uint8_t t2; + t0 = a0; + t1 = t0 != UINT64_C(0); + debug_assert__180(t1); + t2 = zig_clz_u64(a0, UINT8_C(64)); + t3 = (uint16_t)t2; + t3 = UINT16_C(63) - t3; + t2 = (uint8_t)t3; + return t2; +} + +static nav__8948_39 mem_Allocator_allocWithSizeAndAlignment__anon_8224__8948( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uintptr_t t2; + uintptr_t t5; + nav__8948_49 t3; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + nav__8948_39 t7; + bool t4; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = math_mul__anon_3766__7989((uintptr_t)1ul, a1); + t4 = t3.error == UINT16_C(0); + if (t4) { + t5 = t3.payload; + t2 = t5; + goto zig_block_0; + } + return (nav__8948_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; + +zig_block_0:; + t6 = (*t1); + t7 = mem_Allocator_allocBytesWithAlignment__anon_8250__8949(t6, t2, a2); + return t7; +} + +static uint32_t array_hash_map_hashString__3723(nav__3723_39 const a0) { + uint64_t t0; + uint32_t t1; + t0 = hash_wyhash_Wyhash_hash__9009(UINT64_C(0), a0); + t1 = (uint32_t)t0; + return t1; +} + +static bool array_hash_map_eqlString__3722(nav__3722_39 const a0, + nav__3722_39 const a1) { + bool t0; + t0 = mem_eql__anon_8262__9010(a0, a1); return t0; - } - t2 = t0.payload; - t3 = t2; - t4 = (nav__8850_39 const *)&t3; - t5 = t2.len; - t5 = t5 - (uintptr_t)1ul; - t2 = (*t4); - t6 = t2.ptr; - t6 = (uint8_t *)(((uintptr_t)t6) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t6; - t2.len = t5; - t0.payload = t2; - t0.error = UINT16_C(0); - return t0; -} - -static void mem_Allocator_free__anon_7472__8851(struct mem_Allocator__599 const a0, nav__8851_40 const a1) { - struct mem_Allocator__599 const *t1; - nav__8851_40 t2; - uintptr_t t3; - uint64_t t4; - uint8_t *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - struct mem_Allocator__599 t10; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t12; - struct mem_Allocator_VTable__602 const *const *t13; - struct mem_Allocator_VTable__602 const *t14; - void (*const *t15)(void *, nav__8851_40, uint8_t, uintptr_t); - void (*t16)(void *, nav__8851_40, uint8_t, uintptr_t); - void *t17; - bool t5; - uint8_t t11; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_7514__8853(a1); - t3 = t2.len; - t3 = t3 + (uintptr_t)1ul; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t10 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t11 = mem_Alignment_fromByteUnits__1108((uintptr_t)1ul); - t3 = (uintptr_t)zig_return_address(); - t12 = t10; - t1 = (struct mem_Allocator__599 const *)&t12; - t13 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t14 = (*t13); - t15 = (void (*const *)(void *, nav__8851_40, uint8_t, uintptr_t))&t14->free; - t16 = (*t15); - t17 = t10.ptr; - t16(t17, t2, t11, t3); - return; -} - -static nav__8852_40 fmt_allocPrint__anon_7507__8852(struct mem_Allocator__599 const a0, nav__8852_43 const a1) { - struct mem_Allocator__599 const *t1; - uintptr_t t2; - uintptr_t t6; - uint64_t t3; - nav__8852_54 t4; - struct mem_Allocator__599 t7; - struct mem_Allocator__599 t0; - nav__8852_40 t8; - nav__8852_40 t11; - nav__8852_39 t10; - uint16_t t9; - bool t5; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = fmt_count__anon_7521__8854(a1); - t4 = math_cast__anon_7523__8855(t3); - t5 = t4.is_null != true; - if (t5) { - t6 = t4.payload; - t2 = t6; +} + +static uint32_t array_hash_map_IndexHeader_mask__3963( + struct array_hash_map_IndexHeader__886 const a0) { + struct array_hash_map_IndexHeader__886 const *t1; + uintptr_t t3; + struct array_hash_map_IndexHeader__886 t2; + struct array_hash_map_IndexHeader__886 t0; + uint32_t t4; + t0 = a0; + t1 = (struct array_hash_map_IndexHeader__886 const *)&t0; + t2 = (*t1); + t3 = array_hash_map_IndexHeader_length__3962(t2); + t3 = t3 - (uintptr_t)1ul; + t4 = (uint32_t)t3; + return t4; +} + +static nav__8949_39 mem_Allocator_allocBytesWithAlignment__anon_8250__8949( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uint64_t t2; + uint8_t *t4; + uint8_t *t13; + uint8_t *t14; + uint8_t *t15; + struct mem_Allocator__599 t5; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t7; + struct mem_Allocator_VTable__602 const *const *t8; + struct mem_Allocator_VTable__602 const *t9; + uint8_t *(*const *t10)(void *, uintptr_t, uint8_t, uintptr_t); + uint8_t *(*t11)(void *, uintptr_t, uint8_t, uintptr_t); + void *t12; + uint8_t *const *t16; + nav__8949_52 t17; + nav__8949_39 t18; + bool t3; + uint8_t t6; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = t2 == UINT64_C(0); + if (t3) { + return (nav__8949_39){(uint8_t *)(uintptr_t)0xfffffffffffffffcul, 0}; + } goto zig_block_0; - } - return (nav__8852_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_OutOfMemory}; - zig_block_0:; - t7 = (*t1); - t8 = mem_Allocator_alloc__anon_2699__5065(t7, t2); - if (t8.error) { - t9 = t8.error; - t8.payload = (nav__8852_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t9; - return t8; - } - t10 = t8.payload; - t8 = fmt_bufPrint__anon_7526__8856(t10, a1); - t5 = t8.error == UINT16_C(0); - if (t5) { - t10 = t8.payload; - t8.payload = t10; - t8.error = UINT16_C(0); - t11 = t8; - goto zig_block_1; - } - t9 = t8.error; - switch (t9) { - case zig_error_NoSpaceLeft: { - zig_unreachable(); - } - default: zig_unreachable(); - } - - zig_block_1:; - return t11; -} - -static nav__8853_39 mem_sliceAsBytes__anon_7514__8853(nav__8853_39 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3; - uint8_t *t4; - uint8_t *t5; - uint8_t *const *t6; - nav__8853_39 t7; - bool t2; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t3 = a0.ptr; - t4 = (uint8_t *)t3; - t5 = t4; - t6 = (uint8_t *const *)&t5; - t0 = a0.len; - t4 = (*t6); - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t7.ptr = t4; - t7.len = t0; - return t7; -} - -static uint16_t fmt_format__anon_7577__8895(struct io_Writer__4338 const a0, nav__8895_40 const a1) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint8_t const *t4; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8895_44){(uint8_t const *)&__anon_7602,(uintptr_t)10ul}); - if (t3) { - return t3; - } - t4 = a1.f0; - t3 = fmt_formatType__anon_7611__8896(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8895_44){(uint8_t const *)&__anon_7617,(uintptr_t)1ul}); - if (t3) { - return t3; - } - t4 = a1.f1; - t3 = fmt_formatType__anon_7611__8896(t4, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__8895_44){(uint8_t const *)&__anon_7630,(uintptr_t)1ul}); - if (t3) { - return t3; - } - return 0; -} - -static uint64_t fmt_count__anon_7521__8854(nav__8854_39 const a0) { - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 t1; - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 t0; - struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 t2; - struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 t3; - struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 const *t4; - struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 const *t5; - struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 const *const *t6; - void const **t8; - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const *t9; - void const *t10; - nav__8854_53 (**t11)(void const *, nav__8854_54); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - uint64_t t15; - uint16_t t13; - bool t14; - t1 = io_counting_writer_countingWriter__anon_7547__8881(); - t0 = t1; - t2 = io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_writer__8880(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__8854_53 (**)(void const *, nav__8854_54))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWr__8894; - t12 = t7; - t13 = fmt_format__anon_7577__8895(t12, a0); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - zig_unreachable(); - - zig_block_0:; - t1 = t0; - t15 = t1.bytes_written; - return t15; -} - -static nav__8855_38 math_cast__anon_7523__8855(uint64_t const a0) { - uintptr_t t0; - nav__8855_38 t1; - t0 = a0; - t1.is_null = false; - t1.payload = t0; - return t1; -} - -static nav__8856_40 fmt_bufPrint__anon_7526__8856(nav__8856_39 const a0, nav__8856_42 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__8856_57 (**t11)(void const *, nav__8856_58); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__8856_39 t15; - nav__8856_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__8856_57 (**)(void const *, nav__8856_58))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_7577__8895(t12, a1); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__8856_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 io_counting_writer_countingWriter__anon_7547__8881(void) { - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 t0; - t0 = (struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544){UINT64_C(0)}; - return t0; -} - -static struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_writer__8880(struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const a0) { - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 **t1; - struct io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_2cerror_7b_7d_2c_28function_20_27write_27_29_29__7558 t0; - t1 = (struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 **)&t0.context; - (*t1) = a0; - return t0; -} - -static nav__8894_38 io_GenericWriter_28_2aio_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWr__8894(void const *const a0, nav__8894_41 const a1) { - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const *t0; - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *t1; - nav__8894_38 t2; - nav__8894_38 t3; - t0 = (struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const *)a0; - t1 = (*t0); - t2 = io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_write__8879(t1, a1); - memcpy(&t3, &t2, sizeof(nav__8894_38)); - return t3; -} - -static uint16_t fmt_formatType__anon_7611__8896(uint8_t const *const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - nav__8896_47 t2; - nav__8896_47 t3; - uint8_t const *t0; - struct io_Writer__4338 t1; - uint16_t t4; - uint16_t t5; - (void)a3; - t0 = a0; - t1 = a2; - t2 = mem_span__anon_7281__8838(a0); - memcpy(&t3, &t2, sizeof(nav__8896_47)); - t4 = fmt_formatBuf__anon_5552__8670(t3, a1, a2); - memcpy(&t5, &t4, sizeof(uint16_t)); - return t5; -} - -static nav__8879_38 io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29_write__8879(struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const a0, nav__8879_42 const a1) { - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const *t1; - nav__8879_38 t2; - uintptr_t t3; - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *t4; - struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *t0; - uint64_t *t5; - uint64_t t6; - uint64_t t7; - t0 = a0; - t1 = (struct io_counting_writer_CountingWriter_28io_GenericWriter_28void_2cerror_7b_7d_2c_28function_20_27dummyWrite_27_29_29_29__7544 *const *)&t0; - t2 = io_dummyWrite__4888(a1); - t3 = t2.payload; - t4 = (*t1); - t5 = (uint64_t *)&t4->bytes_written; - t6 = (*t5); - t7 = t3; - t7 = t6 + t7; - (*t5) = t7; - t2.payload = t3; - t2.error = UINT16_C(0); - return t2; -} - -static nav__4888_38 io_dummyWrite__4888(nav__4888_40 const a0) { - uintptr_t t0; - nav__4888_38 t1; - t0 = a0.len; - t1.payload = t0; - t1.error = UINT16_C(0); - return t1; -} - -static uint16_t runner_fifo_RunnerFifo_add_marker__1133(struct runner_fifo_RunnerFifo__631 *const a0, uint32_t const a1, struct shared_MarkerType__2202 const a2) { - struct runner_fifo_RunnerFifo__631 *const *t1; - struct runner_fifo_RunnerFifo__631 *t2; - struct runner_fifo_RunnerFifo__631 *t0; - struct fifo_UnixPipe_Writer__638 *t3; - struct shared_Command__struct_2200__2200 t4; - struct shared_Command__2195 t5; - struct fifo_UnixPipe_Reader__640 *t7; - uint16_t t6; - t0 = a0; - t1 = (struct runner_fifo_RunnerFifo__631 *const *)&t0; - t2 = (*t1); - t3 = (struct fifo_UnixPipe_Writer__638 *)&t2->writer; - t4.marker = a2; - t4.pid = a1; - t5.tag = UINT8_C(7); - t5.payload.AddMarker = t4; - t6 = fifo_UnixPipe_Writer_sendCmd__1163(t3, t5); - if (t6) { - return t6; - } - t2 = (*t1); - t7 = (struct fifo_UnixPipe_Reader__640 *)&t2->reader; - t6 = fifo_UnixPipe_Reader_waitForAck__1170(t7, (nav__1133_77){UINT64_C(0xaaaaaaaaaaaaaaaa),true}); - if (t6) { - return t6; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_add_marker__809(struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const a0, uint32_t const a1, struct shared_MarkerType__2202 const a2) { - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_add_marker__1133(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -static uint16_t instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_add_marker__822(struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const a0, uint32_t const a1, struct shared_MarkerType__2202 const a2) { - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *t1; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t2; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t0; - struct runner_fifo_RunnerFifo__631 *t3; - uint16_t t4; - t0 = a0; - t1 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *const *)&t0; - t2 = (*t1); - t3 = (struct runner_fifo_RunnerFifo__631 *)&t2->fifo; - t4 = runner_fifo_RunnerFifo_add_marker__1133(t3, a1, a2); - if (t4) { - return t4; - } - return 0; -} - -uint8_t c_instrument_hooks_add_marker__249(struct instrument_hooks_InstrumentHooks__547 *const a0, uint32_t const a1, uint8_t const a2, uint64_t const a3) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct shared_MarkerType__2202 t4; - struct shared_MarkerType__2202 t5; - struct instruments_root_Instrument__554 *t6; - struct instruments_root_Instrument__554 *t8; - struct instruments_root_Instrument__554 *const *t9; - struct instruments_root_Instrument__554 t10; - struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *t12; - struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *t15; - uint16_t t7; - uint16_t t13; - uint16_t t14; - bool t0; - uint8_t t11; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - switch (a2) { - case UINT8_C(0): { - t5.tag = UINT8_C(0); - t5.payload.SampleStart = a3; - t4 = t5; - goto zig_block_1; - } - case UINT8_C(1): { - t5.tag = UINT8_C(1); - t5.payload.SampleEnd = a3; - t4 = t5; - goto zig_block_1; - } - case UINT8_C(2): { - t5.tag = UINT8_C(2); - t5.payload.BenchmarkStart = a3; - t4 = t5; - goto zig_block_1; - } - case UINT8_C(3): { - t5.tag = UINT8_C(3); - t5.payload.BenchmarkEnd = a3; - t4 = t5; +zig_block_0:; + t5 = (*t1); + t6 = mem_Alignment_fromByteUnits__1109((uintptr_t)4ul); + t7 = t5; + t1 = (struct mem_Allocator__599 const *)&t7; + t8 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t9 = (*t8); + t10 = + (uint8_t *(*const *)(void *, uintptr_t, uint8_t, uintptr_t)) & t9->alloc; + t11 = (*t10); + t12 = t5.ptr; + t13 = t11(t12, a1, t6, a2); + t3 = t13 != NULL; + if (t3) { + t14 = t13; + t4 = t14; goto zig_block_1; - } - default: { - return UINT8_C(2); - } } + return (nav__8949_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; + +zig_block_1:; + t15 = t4; + t16 = (uint8_t *const *)&t15; + t14 = (*t16); + t14 = (uint8_t *)(((uintptr_t)t14) + ((uintptr_t)0ul * sizeof(uint8_t))); + t17.ptr = t14; + t17.len = a1; + t14 = (uint8_t *)t4; + t18.payload = t14; + t18.error = UINT16_C(0); + return t18; +} + +static uint64_t hash_wyhash_Wyhash_hash__9009(uint64_t const a0, + nav__9009_39 const a1) { + zig_u128 t41; + zig_u128 t42; + nav__9009_39 const *t1; + nav__9009_39 const *t17; + nav__9009_39 const *t61; + struct hash_wyhash_Wyhash__8255 t3; + struct hash_wyhash_Wyhash__8255 t2; + uintptr_t t4; + uintptr_t t10; + uintptr_t t15; + uintptr_t t26; + uintptr_t t58; + uint64_t t5; + uint64_t t22; + uint64_t t38; + uint64_t t39; + uint64_t t40; + uint64_t t47; + uint64_t t48; + uint64_t t52; + uint64_t t53; + uint64_t t63; + uint64_t t64; + uint64_t t70; + uint64_t t71; + struct hash_wyhash_Wyhash__8255 *const *t8; + struct hash_wyhash_Wyhash__8255 *t11; + struct hash_wyhash_Wyhash__8255 *t7; + struct hash_wyhash_Wyhash__8255 *t28; + struct hash_wyhash_Wyhash__8255 *t54; + struct hash_wyhash_Wyhash__8255 *t55; + struct hash_wyhash_Wyhash__8255 *t68; + uint64_t *t12; + uint64_t *t69; + nav__9009_39 t13; + nav__9009_39 t59; + nav__9009_39 t0; + nav__9009_39 t9; + nav__9009_39 t16; + nav__9009_39 t21; + nav__9009_39 t23; + nav__9009_39 t24; + nav__9009_39 t31; + nav__9009_39 t35; + nav__9009_39 t44; + nav__9009_39 t46; + nav__9009_39 t50; + nav__9009_39 t51; + nav__9009_39 t56; + nav__9009_39 t57; + nav__9009_39 t60; + nav__9009_39 t62; + nav__9009_39 t65; + nav__9009_39 t66; + uint8_t const *t14; + uint8_t const(*t18)[4]; + uint8_t const(*t27)[48]; + uint8_t const(*t29)[48]; + uint8_t const(*const *t30)[48]; + uint8_t const(*t32)[8]; + uint8_t const(*t34)[40]; + uint64_t (*t36)[3]; + uint64_t t37[3]; + uint8_t const(*t43)[32]; + uint8_t const(*t45)[24]; + uint8_t const(*t49)[16]; + uintptr_t *t67; + uint32_t t20; + bool t6; + uint8_t t19[4]; + uint8_t t25; + uint8_t t33[8]; + t0 = a1; + t1 = (nav__9009_39 const *)&t0; + t3 = hash_wyhash_Wyhash_init__8997(a0); + t2 = t3; + t4 = a1.len; + t5 = t4; + t6 = t5 <= UINT64_C(16); + if (t6) { + t7 = &t2; + t8 = (struct hash_wyhash_Wyhash__8255 *const *)&t7; + t9 = a1; + t1 = (nav__9009_39 const *)&t9; + t4 = a1.len; + t5 = t4; + t6 = t5 <= UINT64_C(16); + debug_assert__180(t6); + t4 = a1.len; + t5 = t4; + t6 = t5 >= UINT64_C(4); + if (t6) { + t4 = a1.len; + t4 = t4 - (uintptr_t)4ul; + t10 = a1.len; + t10 = zig_shr_u64(t10, UINT8_C(3)); + t10 = zig_shlw_u64(t10, UINT8_C(2), UINT8_C(64)); + t11 = (*t8); + t12 = (uint64_t *)&t11->a; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t15 = t13.len; + t13.ptr = t14; + t13.len = t15; + t16 = t13; + t17 = (nav__9009_39 const *)&t16; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t14; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t20, &t19, sizeof(uint32_t)); + t20 = zig_wrap_u32(t20, UINT8_C(32)); + t5 = (uint64_t)t20; + t5 = zig_shlw_u64(t5, UINT8_C(32), UINT8_C(64)); + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t10 * sizeof(uint8_t))); + t15 = t13.len; + t15 = t15 - t10; + t13.ptr = t14; + t13.len = t15; + t21 = t13; + t17 = (nav__9009_39 const *)&t21; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t14; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t20, &t19, sizeof(uint32_t)); + t20 = zig_wrap_u32(t20, UINT8_C(32)); + t22 = (uint64_t)t20; + t22 = t5 | t22; + (*t12) = t22; + t11 = (*t8); + t12 = (uint64_t *)&t11->b; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t4 * sizeof(uint8_t))); + t15 = t13.len; + t15 = t15 - t4; + t13.ptr = t14; + t13.len = t15; + t23 = t13; + t17 = (nav__9009_39 const *)&t23; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t14; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t20, &t19, sizeof(uint32_t)); + t20 = zig_wrap_u32(t20, UINT8_C(32)); + t22 = (uint64_t)t20; + t22 = zig_shlw_u64(t22, UINT8_C(32), UINT8_C(64)); + t10 = t4 - t10; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t10 * sizeof(uint8_t))); + t4 = t13.len; + t10 = t4 - t10; + t13.ptr = t14; + t13.len = t10; + t24 = t13; + t1 = (nav__9009_39 const *)&t24; + debug_assert__180(true); + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t14; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t20, &t19, sizeof(uint32_t)); + t20 = zig_wrap_u32(t20, UINT8_C(32)); + t5 = (uint64_t)t20; + t5 = t22 | t5; + (*t12) = t5; + goto zig_block_1; + } + t15 = a1.len; + t22 = t15; + t6 = t22 > UINT64_C(0); + if (t6) { + t11 = (*t8); + t12 = (uint64_t *)&t11->a; + t25 = a1.ptr[(uintptr_t)0ul]; + t22 = (uint64_t)t25; + t22 = zig_shlw_u64(t22, UINT8_C(16), UINT8_C(64)); + t15 = a1.len; + t15 = zig_shr_u64(t15, UINT8_C(1)); + t25 = a1.ptr[t15]; + t5 = (uint64_t)t25; + t5 = zig_shlw_u64(t5, UINT8_C(8), UINT8_C(64)); + t5 = t22 | t5; + t15 = a1.len; + t15 = t15 - (uintptr_t)1ul; + t25 = a1.ptr[t15]; + t22 = (uint64_t)t25; + t22 = t5 | t22; + (*t12) = t22; + t11 = (*t8); + t12 = (uint64_t *)&t11->b; + (*t12) = UINT64_C(0); + goto zig_block_2; + } + t11 = (*t8); + t12 = (uint64_t *)&t11->a; + (*t12) = UINT64_C(0); + t11 = (*t8); + t12 = (uint64_t *)&t11->b; + (*t12) = UINT64_C(0); + goto zig_block_2; + + zig_block_2:; + goto zig_block_1; zig_block_1:; - t1 = (*t3); - t6 = (struct instruments_root_Instrument__554 *)&t1->instrument; - t8 = t6; - t9 = (struct instruments_root_Instrument__554 *const *)&t8; - t10 = (*t6); - t11 = t10.tag; - t0 = t11 == UINT8_C(1); - if (t0) { - t6 = (*t9); - t12 = (struct instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29__582 *)&t6->payload.perf; - t13 = instruments_fifo_instrument_FifoInstrument_28_Perf_2cerror_7bModeError_7d_29_add_marker__809(t12, a1, t4); - memcpy(&t14, &t13, sizeof(uint16_t)); - t7 = t14; - goto zig_block_3; - } - t10 = (*t6); - t11 = t10.tag; - t0 = t11 == UINT8_C(2); - if (t0) { - t6 = (*t9); - t15 = (struct instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29__591 *)&t6->payload.analysis; - t14 = instruments_fifo_instrument_FifoInstrument_28_Analysis_2cerror_7bModeError_7d_29_add_marker__822(t15, a1, t4); - memcpy(&t13, &t14, sizeof(uint16_t)); - t7 = t13; - goto zig_block_3; + goto zig_block_0; } - goto zig_block_5; + t26 = (uintptr_t)0ul; + t15 = a1.len; + t22 = t15; + t6 = t22 >= UINT64_C(48); + if (t6) { + zig_loop_180: + t15 = t26; + t15 = t15 + (uintptr_t)48ul; + t10 = a1.len; + t22 = t15; + t5 = t10; + t6 = t22 < t5; + if (t6) { + t10 = t26; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t10 * sizeof(uint8_t))); + t27 = (uint8_t const(*)[48])t14; + t28 = &t2; + t8 = (struct hash_wyhash_Wyhash__8255 *const *)&t28; + t29 = t27; + t30 = (uint8_t const(*const *)[48]) & t29; + t27 = (*t30); + t14 = (uint8_t const *)t27; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t27 = (uint8_t const(*)[48])t14; + t13.ptr = &(*t27)[(uintptr_t)0ul]; + t13.len = (uintptr_t)48ul; + t31 = t13; + t17 = (nav__9009_39 const *)&t31; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t5, &t33, sizeof(uint64_t)); + t5 = zig_wrap_u64(t5, UINT8_C(64)); + t27 = (*t30); + t14 = (uint8_t const *)t27; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)8ul * sizeof(uint8_t))); + t34 = (uint8_t const(*)[40])t14; + t13.ptr = &(*t34)[(uintptr_t)0ul]; + t13.len = (uintptr_t)40ul; + t35 = t13; + t17 = (nav__9009_39 const *)&t35; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t22, &t33, sizeof(uint64_t)); + t22 = zig_wrap_u64(t22, UINT8_C(64)); + t11 = (*t8); + t36 = (uint64_t (*)[3]) & t11->state; + t12 = (uint64_t *)&(*t36)[(uintptr_t)0ul]; + t5 = t5 ^ UINT64_C(16646288086500911323); + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t38 = t37[(uintptr_t)0ul]; + t38 = t22 ^ t38; + t39 = t5; + t40 = t38; + t38 = t39; + t41 = zig_make_u128(0, t38); + t38 = t40; + t42 = zig_make_u128(0, t38); + t42 = zig_mulw_u128(t41, t42, UINT8_C(128)); + t38 = zig_lo_u128(t42); + t39 = t38; + t42 = zig_shr_u128(t42, UINT8_C(64)); + t38 = zig_lo_u128(t42); + t40 = t38; + t38 = t39; + t5 = t40; + t5 = t38 ^ t5; + (*t12) = t5; + t27 = (*t30); + t14 = (uint8_t const *)t27; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)16ul * sizeof(uint8_t))); + t43 = (uint8_t const(*)[32])t14; + t13.ptr = &(*t43)[(uintptr_t)0ul]; + t13.len = (uintptr_t)32ul; + t44 = t13; + t17 = (nav__9009_39 const *)&t44; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t5, &t33, sizeof(uint64_t)); + t5 = zig_wrap_u64(t5, UINT8_C(64)); + t27 = (*t30); + t14 = (uint8_t const *)t27; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)24ul * sizeof(uint8_t))); + t45 = (uint8_t const(*)[24])t14; + t13.ptr = &(*t45)[(uintptr_t)0ul]; + t13.len = (uintptr_t)24ul; + t46 = t13; + t17 = (nav__9009_39 const *)&t46; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t38, &t33, sizeof(uint64_t)); + t38 = zig_wrap_u64(t38, UINT8_C(64)); + t11 = (*t8); + t36 = (uint64_t (*)[3]) & t11->state; + t12 = (uint64_t *)&(*t36)[(uintptr_t)1ul]; + t5 = t5 ^ UINT64_C(10285213230658275043); + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t22 = t37[(uintptr_t)1ul]; + t22 = t38 ^ t22; + t47 = t5; + t48 = t22; + t22 = t47; + t42 = zig_make_u128(0, t22); + t22 = t48; + t41 = zig_make_u128(0, t22); + t41 = zig_mulw_u128(t42, t41, UINT8_C(128)); + t22 = zig_lo_u128(t41); + t47 = t22; + t41 = zig_shr_u128(t41, UINT8_C(64)); + t22 = zig_lo_u128(t41); + t48 = t22; + t22 = t47; + t5 = t48; + t5 = t22 ^ t5; + (*t12) = t5; + t27 = (*t30); + t14 = (uint8_t const *)t27; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)32ul * sizeof(uint8_t))); + t49 = (uint8_t const(*)[16])t14; + t13.ptr = &(*t49)[(uintptr_t)0ul]; + t13.len = (uintptr_t)16ul; + t50 = t13; + t17 = (nav__9009_39 const *)&t50; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t5, &t33, sizeof(uint64_t)); + t5 = zig_wrap_u64(t5, UINT8_C(64)); + t27 = (*t30); + t14 = (uint8_t const *)t27; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)40ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + t13.ptr = &(*t32)[(uintptr_t)0ul]; + t13.len = (uintptr_t)8ul; + t51 = t13; + t17 = (nav__9009_39 const *)&t51; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t22, &t33, sizeof(uint64_t)); + t22 = zig_wrap_u64(t22, UINT8_C(64)); + t11 = (*t8); + t36 = (uint64_t (*)[3]) & t11->state; + t12 = (uint64_t *)&(*t36)[(uintptr_t)2ul]; + t5 = t5 ^ UINT64_C(6384245875588680899); + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t38 = t37[(uintptr_t)2ul]; + t38 = t22 ^ t38; + t52 = t5; + t53 = t38; + t38 = t52; + t41 = zig_make_u128(0, t38); + t38 = t53; + t42 = zig_make_u128(0, t38); + t42 = zig_mulw_u128(t41, t42, UINT8_C(128)); + t38 = zig_lo_u128(t42); + t52 = t38; + t42 = zig_shr_u128(t42, UINT8_C(64)); + t38 = zig_lo_u128(t42); + t53 = t38; + t38 = t52; + t5 = t53; + t5 = t38 ^ t5; + (*t12) = t5; + t10 = t26; + t10 = t10 + (uintptr_t)48ul; + t26 = t10; + goto zig_block_5; + } + goto zig_block_4; zig_block_5:; - goto zig_block_4; + goto zig_loop_180; zig_block_4:; - t7 = 0; + t54 = &t2; + t8 = (struct hash_wyhash_Wyhash__8255 *const *)&t54; + t11 = (*t8); + t36 = (uint64_t (*)[3]) & t11->state; + t12 = (uint64_t *)&(*t36)[(uintptr_t)0ul]; + t38 = (*t12); + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t22 = t37[(uintptr_t)1ul]; + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t5 = t37[(uintptr_t)2ul]; + t5 = t22 ^ t5; + t5 = t38 ^ t5; + (*t12) = t5; + goto zig_block_3; + } goto zig_block_3; - zig_block_3:; - memcpy(&t14, &t7, sizeof(uint16_t)); - t0 = t14 == UINT16_C(0); - if (t0) { - goto zig_block_2; +zig_block_3:; + t15 = t26; + t55 = &t2; + t8 = (struct hash_wyhash_Wyhash__8255 *const *)&t55; + t56 = a1; + t1 = (nav__9009_39 const *)&t56; + t10 = a1.len; + t38 = t10; + t6 = t38 >= UINT64_C(16); + debug_assert__180(t6); + t10 = a1.len; + t10 = t10 - t15; + t38 = t10; + t6 = t38 <= UINT64_C(48); + debug_assert__180(t6); + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t15 * sizeof(uint8_t))); + t10 = t13.len; + t15 = t10 - t15; + t13.ptr = t14; + t13.len = t15; + t57 = t13; + t17 = (nav__9009_39 const *)&t57; + t58 = (uintptr_t)0ul; +zig_loop_483: + t15 = t58; + t15 = t15 + (uintptr_t)16ul; + t10 = t13.len; + t38 = t15; + t22 = t10; + t6 = t38 < t22; + if (t6) { + t11 = (*t8); + t36 = (uint64_t (*)[3]) & t11->state; + t12 = (uint64_t *)&(*t36)[(uintptr_t)0ul]; + t10 = t58; + t59 = (*t17); + t14 = t59.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t10 * sizeof(uint8_t))); + t15 = t59.len; + t10 = t15 - t10; + t59.ptr = t14; + t59.len = t10; + t60 = t59; + t61 = (nav__9009_39 const *)&t60; + debug_assert__180(true); + t59 = (*t61); + t14 = t59.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t22, &t33, sizeof(uint64_t)); + t22 = zig_wrap_u64(t22, UINT8_C(64)); + t22 = t22 ^ UINT64_C(16646288086500911323); + t10 = t58; + t10 = t10 + (uintptr_t)8ul; + t59 = (*t17); + t14 = t59.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t10 * sizeof(uint8_t))); + t15 = t59.len; + t10 = t15 - t10; + t59.ptr = t14; + t59.len = t10; + t62 = t59; + t61 = (nav__9009_39 const *)&t62; + debug_assert__180(true); + t59 = (*t61); + t14 = t59.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t38, &t33, sizeof(uint64_t)); + t38 = zig_wrap_u64(t38, UINT8_C(64)); + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t5 = t37[(uintptr_t)0ul]; + t5 = t38 ^ t5; + t63 = t22; + t64 = t5; + t5 = t63; + t42 = zig_make_u128(0, t5); + t5 = t64; + t41 = zig_make_u128(0, t5); + t41 = zig_mulw_u128(t42, t41, UINT8_C(128)); + t5 = zig_lo_u128(t41); + t63 = t5; + t41 = zig_shr_u128(t41, UINT8_C(64)); + t5 = zig_lo_u128(t41); + t64 = t5; + t5 = t63; + t22 = t64; + t22 = t5 ^ t22; + (*t12) = t22; + t10 = t58; + t10 = t10 + (uintptr_t)16ul; + t58 = t10; + goto zig_block_7; } - return UINT8_C(1); + goto zig_block_6; - zig_block_2:; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - return UINT8_C(0); -} - -uint64_t c_instrument_hooks_current_timestamp__250(void) { - uint64_t t0; - t0 = utils_clock_gettime_monotonic__4781(); - return t0; -} - -static uint64_t utils_clock_gettime_monotonic__4781(void) { - struct os_linux_timespec__struct_3262__3262 t0; - struct os_linux_timespec__struct_3262__3262 t3; - nav__4781_41 t1; - intptr_t t4; - uint64_t t5; - uint64_t t6; - bool t2; - t1 = posix_clock_gettime__1815(UINT32_C(1)); - t2 = t1.error == UINT16_C(0); - if (t2) { - t3 = t1.payload; - t0 = t3; - goto zig_block_0; - } - zig_unreachable(); - - zig_block_0:; - t4 = t0.sec; - t5 = (uint64_t)t4; - t5 = t5 * UINT64_C(1000000000); - t4 = t0.nsec; - t6 = (uint64_t)t4; - t6 = t5 + t6; - return t6; -} - -static uint16_t environment_root_Environment_setIntegrationEnvironmentValue__773(struct environment_root_Environment__559 *const a0, nav__773_41 const a1, nav__773_41 const a2, struct environment_root_EnvironmentValue__850 const a3) { - struct environment_root_Environment__559 *const *t1; - struct environment_root_Environment__559 *t2; - struct environment_root_Environment__559 *t0; - struct environment_root_EnvironmentJson__839 *t3; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t5; - struct mem_Allocator__599 *t6; - struct mem_Allocator__599 t7; - nav__773_93 t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t11; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 const *t12; - nav__773_41 *t14; - nav__773_98 t15; - nav__773_96 t16; - nav__773_41 t17; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t18; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t19; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t20; - nav__773_110 t21; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t22; - struct environment_root_EnvironmentValue__850 *t23; - struct environment_root_EnvironmentValue__850 t24; - uint16_t t9; - bool t13; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t2 = (*t1); - t3 = (struct environment_root_EnvironmentJson__839 *)&t2->data; - t4 = (struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *)&t3->integration_environment; - t5 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *)&t4->map; - t6 = (struct mem_Allocator__599 *)&a0->allocator; - t7 = (*t6); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3788(t5, t7, a1); - if (t8.error) { - t9 = t8.error; - return t9; - } - t10 = t8.payload; - t11 = t10; - t12 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 const *)&t11; - t13 = t10.found_existing; - t13 = !t13; - if (t13) { - t14 = t10.key_ptr; - t2 = (*t1); - t6 = (struct mem_Allocator__599 *)&t2->allocator; - t7 = (*t6); - t15 = mem_Allocator_dupe__anon_7707__8897(t7, a1); - if (t15.error) { - t9 = t15.error; - return t9; - } - t16 = t15.payload; - memcpy(&t17, &t16, sizeof(nav__773_41)); - (*t14) = t17; - t18 = t10.value_ptr; - (*t18) = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852){{{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul,(uintptr_t)0ul},NULL}}; +zig_block_7:; + goto zig_loop_483; + +zig_block_6:; + t11 = (*t8); + t12 = (uint64_t *)&t11->a; + t15 = a1.len; + t15 = t15 - (uintptr_t)16ul; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t15 * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + t13.ptr = &(*t32)[(uintptr_t)0ul]; + t13.len = (uintptr_t)8ul; + t65 = t13; + t17 = (nav__9009_39 const *)&t65; + debug_assert__180(true); + t13 = (*t17); + t14 = t13.ptr; + t14 = + (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t38, &t33, sizeof(uint64_t)); + t38 = zig_wrap_u64(t38, UINT8_C(64)); + (*t12) = t38; + t11 = (*t8); + t12 = (uint64_t *)&t11->b; + t15 = a1.len; + t15 = t15 - (uintptr_t)8ul; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t15 * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + t13.ptr = &(*t32)[(uintptr_t)0ul]; + t13.len = (uintptr_t)8ul; + t66 = t13; + t1 = (nav__9009_39 const *)&t66; + debug_assert__180(true); + t13 = (*t1); + t14 = t13.ptr; + t14 = + (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul * sizeof(uint8_t))); + t32 = (uint8_t const(*)[8])t14; + memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); + memcpy(&t38, &t33, sizeof(uint64_t)); + t38 = zig_wrap_u64(t38, UINT8_C(64)); + (*t12) = t38; goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t19 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *)&t12->value_ptr; - t18 = (*t19); - t20 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *)&t18->map; - t6 = (struct mem_Allocator__599 *)&a0->allocator; - t7 = (*t6); - t21 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3999(t20, t7, a2); - if (t21.error) { - t9 = t21.error; - return t9; - } - t22 = t21.payload; - t13 = t22.found_existing; - if (t13) { - t2 = (*t1); - t23 = t22.value_ptr; - t24 = (*t23); - environment_root_Environment_freeEnvironmentValue__772(t2, t24); - goto zig_block_1; - } - t14 = t22.key_ptr; - t2 = (*t1); - t6 = (struct mem_Allocator__599 *)&t2->allocator; - t7 = (*t6); - t15 = mem_Allocator_dupe__anon_7707__8897(t7, a2); - if (t15.error) { - t9 = t15.error; - return t9; - } - t16 = t15.payload; - memcpy(&t17, &t16, sizeof(nav__773_41)); - (*t14) = t17; - goto zig_block_1; - - zig_block_1:; - t23 = t22.value_ptr; - (*t23) = a3; - return 0; -} - -static uint16_t environment_root_Environment_setIntegrationEnvironment__770(struct environment_root_Environment__559 *const a0, nav__770_41 const a1, nav__770_41 const a2, nav__770_41 const a3) { - struct environment_root_Environment__559 *const *t1; - struct environment_root_Environment__559 *t2; - struct environment_root_Environment__559 *t3; - struct environment_root_Environment__559 *t0; - struct mem_Allocator__599 *t4; - struct mem_Allocator__599 t5; - nav__770_81 t6; - nav__770_79 t8; - nav__770_41 t9; - struct environment_root_EnvironmentValue__850 t10; - uint16_t t7; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t2 = (*t1); - t3 = (*t1); - t4 = (struct mem_Allocator__599 *)&t3->allocator; - t5 = (*t4); - t6 = mem_Allocator_dupe__anon_7707__8897(t5, a3); - if (t6.error) { - t7 = t6.error; - return t7; - } - t8 = t6.payload; - memcpy(&t9, &t8, sizeof(nav__770_41)); - t10.tag = UINT8_C(0); - t10.payload.string = t9; - t7 = environment_root_Environment_setIntegrationEnvironmentValue__773(t2, a1, a2, t10); - if (t7) { - return t7; - } - return 0; -} - -uint8_t c_instrument_hooks_set_environment__251(struct instrument_hooks_InstrumentHooks__547 *const a0, uint8_t const *const a1, uint8_t const *const a2, uint8_t const *const a3) { - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *t3; - struct instrument_hooks_InstrumentHooks__547 *const *t4; - struct environment_root_Environment__559 *t5; - nav__251_99 t6; - nav__251_99 t7; - nav__251_99 t8; - nav__251_99 t9; - uint16_t t10; - bool t0; - bool t1; - t0 = a1 == NULL; - if (t0) { - t1 = true; - goto zig_block_1; - } - t0 = a2 == NULL; - t1 = t0; - goto zig_block_1; - - zig_block_1:; - if (t1) { - t0 = true; - goto zig_block_2; - } - t1 = a3 == NULL; - t0 = t1; - goto zig_block_2; - zig_block_2:; - if (t0) { - return UINT8_C(1); - } - goto zig_block_0; +zig_block_0:; + t67 = (uintptr_t *)&t2.total_len; + t15 = a1.len; + (*t67) = t15; + t68 = &t2; + t8 = (struct hash_wyhash_Wyhash__8255 *const *)&t68; + t11 = (*t8); + t12 = (uint64_t *)&t11->a; + t38 = (*t12); + t38 = t38 ^ UINT64_C(16646288086500911323); + (*t12) = t38; + t11 = (*t8); + t12 = (uint64_t *)&t11->b; + t38 = (*t12); + t36 = (uint64_t (*)[3]) & t2.state; + memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); + t22 = t37[(uintptr_t)0ul]; + t22 = t38 ^ t22; + (*t12) = t22; + t11 = (*t8); + t12 = (uint64_t *)&t11->a; + t11 = (*t8); + t69 = (uint64_t *)&t11->b; + t22 = (*t12); + t42 = zig_make_u128(0, t22); + t22 = (*t69); + t41 = zig_make_u128(0, t22); + t41 = zig_mulw_u128(t42, t41, UINT8_C(128)); + t22 = zig_lo_u128(t41); + (*t12) = t22; + t41 = zig_shr_u128(t41, UINT8_C(64)); + t22 = zig_lo_u128(t41); + (*t69) = t22; + t69 = (uint64_t *)&t2.a; + t22 = (*t69); + t22 = t22 ^ UINT64_C(11562461410679940143); + t67 = (uintptr_t *)&t2.total_len; + t15 = (*t67); + t38 = t15; + t38 = t22 ^ t38; + t69 = (uint64_t *)&t2.b; + t22 = (*t69); + t22 = t22 ^ UINT64_C(16646288086500911323); + t70 = t38; + t71 = t22; + t22 = t70; + t41 = zig_make_u128(0, t22); + t22 = t71; + t42 = zig_make_u128(0, t22); + t42 = zig_mulw_u128(t41, t42, UINT8_C(128)); + t22 = zig_lo_u128(t42); + t70 = t22; + t42 = zig_shr_u128(t42, UINT8_C(64)); + t22 = zig_lo_u128(t42); + t71 = t22; + t22 = t70; + t38 = t71; + t38 = t22 ^ t38; + return t38; +} + +static bool mem_eql__anon_8262__9010(nav__9010_39 const a0, + nav__9010_39 const a1) { + nav__9010_39 t0; + nav__9010_39 t1; + bool t2; + t0 = mem_sliceAsBytes__anon_3898__7992(a0); + t1 = mem_sliceAsBytes__anon_3898__7992(a1); + t2 = mem_eqlBytes__852(t0, t1); + return t2; +} - zig_block_0:; - t1 = a0 != NULL; - if (t1) { - t2 = a0; - t3 = t2; - t4 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t3; - t2 = (*t4); - t5 = (struct environment_root_Environment__559 *)&t2->environment; - t6 = mem_span__anon_7281__8838(a1); - memcpy(&t7, &t6, sizeof(nav__251_99)); - t6 = mem_span__anon_7281__8838(a2); - memcpy(&t8, &t6, sizeof(nav__251_99)); - t6 = mem_span__anon_7281__8838(a3); - memcpy(&t9, &t6, sizeof(nav__251_99)); - t10 = environment_root_Environment_setIntegrationEnvironment__770(t5, t7, t8, t9); - t1 = t10 == UINT16_C(0); - if (t1) { - goto zig_block_4; - } - return UINT8_C(1); +static struct hash_wyhash_Wyhash__8255 hash_wyhash_Wyhash_init__8997( + uint64_t const a0) { + zig_u128 t6; + zig_u128 t7; + uint64_t (*t1)[3]; + uint64_t *t2; + uint64_t t3; + uint64_t t8; + uint64_t t4; + uint64_t t5; + struct hash_wyhash_Wyhash__8255 t9; + struct hash_wyhash_Wyhash__8255 t0; + uint64_t t10[3]; + t0 = (struct hash_wyhash_Wyhash__8255){ + UINT64_C(0xaaaaaaaaaaaaaaaa), + UINT64_C(0xaaaaaaaaaaaaaaaa), + {UINT64_C(0xaaaaaaaaaaaaaaaa), UINT64_C(0xaaaaaaaaaaaaaaaa), + UINT64_C(0xaaaaaaaaaaaaaaaa)}, + (uintptr_t)0ul, + (uintptr_t)0ul, + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252"}; + t1 = (uint64_t (*)[3]) & t0.state; + t2 = (uint64_t *)&(*t1)[(uintptr_t)0ul]; + t3 = a0 ^ UINT64_C(11562461410679940143); + t4 = t3; + t5 = UINT64_C(16646288086500911323); + t3 = t4; + t6 = zig_make_u128(0, t3); + t3 = t5; + t7 = zig_make_u128(0, t3); + t7 = zig_mulw_u128(t6, t7, UINT8_C(128)); + t3 = zig_lo_u128(t7); + t4 = t3; + t7 = zig_shr_u128(t7, UINT8_C(64)); + t3 = zig_lo_u128(t7); + t5 = t3; + t3 = t4; + t8 = t5; + t8 = t3 ^ t8; + t8 = a0 ^ t8; + (*t2) = t8; + t1 = (uint64_t (*)[3]) & t0.state; + t2 = (uint64_t *)&(*t1)[(uintptr_t)1ul]; + t9 = t0; + memcpy(t10, t9.state, sizeof(uint64_t[3])); + t8 = t10[(uintptr_t)0ul]; + (*t2) = t8; + t1 = (uint64_t (*)[3]) & t0.state; + t2 = (uint64_t *)&(*t1)[(uintptr_t)2ul]; + t9 = t0; + memcpy(t10, t9.state, sizeof(uint64_t[3])); + t8 = t10[(uintptr_t)0ul]; + (*t2) = t8; + t9 = t0; + return t9; +} - zig_block_4:; - return UINT8_C(0); - } - goto zig_block_3; - - zig_block_3:; - return UINT8_C(1); -} - -static nav__8897_40 mem_Allocator_dupe__anon_7707__8897(struct mem_Allocator__599 const a0, nav__8897_43 const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - uintptr_t t3; - nav__8897_40 t4; - nav__8897_39 t6; - uint8_t const *t7; - uint16_t t5; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = a1.len; - t4 = mem_Allocator_alloc__anon_2699__5065(t2, t3); - if (t4.error) { - t5 = t4.error; - t4.payload = (nav__8897_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t4.error = t5; - return t4; - } - t6 = t4.payload; - t7 = a1.ptr; - if (t6.len != 0) memcpy(t6.ptr, t7, t6.len * sizeof(uint8_t)); - t4.payload = t6; - t4.error = UINT16_C(0); - return t4; -} - -static nav__3788_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3788(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct mem_Allocator__599 const a1, nav__3788_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - nav__3788_39 t3; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = (*t1); - t3 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3789(t2, a1, a2); - return t3; -} - -static nav__3999_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3999(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct mem_Allocator__599 const a1, nav__3999_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - nav__3999_39 t3; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = (*t1); - t3 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4000(t2, a1, a2); - return t3; -} - -static nav__3789_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3789(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct mem_Allocator__599 const a1, nav__3789_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - nav__3789_39 t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t5; - nav__3789_44 *t7; - uint16_t t4; - bool t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = (*t1); - t3 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8898(t2, a1, a2); - if (t3.error) { - t4 = t3.error; - t3.payload = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709){((nav__3789_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0xaaaaaaaaaaaaaaaaul,false}; - t3.error = t4; - return t3; - } - t5 = t3.payload; - t6 = t5.found_existing; - t6 = !t6; - if (t6) { - t7 = t5.key_ptr; - (*t7) = a2; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t3.payload = t5; - t3.error = UINT16_C(0); - return t3; -} - -static nav__4000_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4000(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct mem_Allocator__599 const a1, nav__4000_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - nav__4000_39 t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t5; - nav__4000_44 *t7; - uint16_t t4; - bool t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = (*t1); - t3 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8899(t2, a1, a2); - if (t3.error) { - t4 = t3.error; - t3.payload = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720){((nav__4000_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct environment_root_EnvironmentValue__850 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0xaaaaaaaaaaaaaaaaul,false}; - t3.error = t4; - return t3; - } - t5 = t3.payload; - t6 = t5.found_existing; - t6 = !t6; - if (t6) { - t7 = t5.key_ptr; - (*t7) = a2; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t3.payload = t5; - t3.error = UINT16_C(0); - return t3; -} - -static nav__8898_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8898(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct mem_Allocator__599 const a1, nav__8898_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t4; - uintptr_t t5; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t8; - nav__8898_67 t9; - nav__8898_39 t11; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t12; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t13; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t14; - nav__8898_73 t15; - nav__8898_73 t16; - nav__8898_73 const *t17; - nav__8898_44 *t18; - nav__8898_76 t19; - nav__8898_76 t20; - nav__8898_76 const *t21; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t22; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t23; - uint16_t t6; - bool t7; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&a0->entries; - t4 = (*t3); - t5 = t4.len; - t5 = t5 + (uintptr_t)1ul; - t6 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3798(t2, a1, t5); - t7 = t6 == UINT16_C(0); - if (t7) { - goto zig_block_0; - } - t2 = (*t1); - t8 = (*t2); - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8900(t8, a2); - t7 = t9.is_null != true; - if (t7) { - t10 = t9.payload; - t5 = t10; - goto zig_block_1; - } - t11.payload = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709){((nav__8898_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0xaaaaaaaaaaaaaaaaul,false}; - t11.error = t6; - return t11; - - zig_block_1:; - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t2->entries; - t4 = (*t3); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t4); - t13 = t12; - t14 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t13; - t12 = (*t14); - t15 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t12); - t16 = t15; - t17 = (nav__8898_73 const *)&t16; - t15 = (*t17); - t18 = &t15.ptr[t5]; - t12 = (*t14); - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t12); - t20 = t19; - t21 = (nav__8898_76 const *)&t20; - t19 = (*t21); - t22 = &t19.ptr[t5]; - t23.key_ptr = t18; - t23.value_ptr = t22; - t23.index = t5; - t23.found_existing = true; - t11.payload = t23; - t11.error = UINT16_C(0); - return t11; - - zig_block_0:; - t2 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8901(t2, a2); - t11.payload = t23; - t11.error = UINT16_C(0); - return t11; -} - -static nav__8899_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8899(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct mem_Allocator__599 const a1, nav__8899_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t4; - uintptr_t t5; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t8; - nav__8899_67 t9; - nav__8899_39 t11; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t12; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t13; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t14; - nav__8899_73 t15; - nav__8899_73 t16; - nav__8899_73 const *t17; - nav__8899_44 *t18; - nav__8899_76 t19; - nav__8899_76 t20; - nav__8899_76 const *t21; - struct environment_root_EnvironmentValue__850 *t22; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t23; - uint16_t t6; - bool t7; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&a0->entries; - t4 = (*t3); - t5 = t4.len; - t5 = t5 + (uintptr_t)1ul; - t6 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4009(t2, a1, t5); - t7 = t6 == UINT16_C(0); - if (t7) { - goto zig_block_0; - } - t2 = (*t1); - t8 = (*t2); - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8902(t8, a2); - t7 = t9.is_null != true; - if (t7) { - t10 = t9.payload; - t5 = t10; - goto zig_block_1; - } - t11.payload = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720){((nav__8899_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct environment_root_EnvironmentValue__850 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0xaaaaaaaaaaaaaaaaul,false}; - t11.error = t6; - return t11; - - zig_block_1:; - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t2->entries; - t4 = (*t3); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t4); - t13 = t12; - t14 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t13; - t12 = (*t14); - t15 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t12); - t16 = t15; - t17 = (nav__8899_73 const *)&t16; - t15 = (*t17); - t18 = &t15.ptr[t5]; - t12 = (*t14); - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t12); - t20 = t19; - t21 = (nav__8899_76 const *)&t20; - t19 = (*t21); - t22 = &t19.ptr[t5]; - t23.key_ptr = t18; - t23.value_ptr = t22; - t23.index = t5; - t23.found_existing = true; - t11.payload = t23; - t11.error = UINT16_C(0); - return t11; - - zig_block_0:; - t2 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8903(t2, a2); - t11.payload = t23; - t11.error = UINT16_C(0); - return t11; -} - -static uint16_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3798(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - void *t3; - uint64_t t4; - uint64_t t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t6; - struct array_hash_map_IndexHeader__886 **t8; - struct array_hash_map_IndexHeader__886 *t9; - struct array_hash_map_IndexHeader__886 *t10; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t20; - struct array_hash_map_IndexHeader__886 *const *t12; - nav__3798_62 t18; - struct array_hash_map_IndexHeader__886 t13; - uint32_t t14; - uint16_t t7; - nav__3798_60 t16; - bool t5; - uint8_t t17; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_lock__3968(t3); - t4 = a2; - t5 = t4 <= UINT64_C(8); - if (t5) { - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3941(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; +static bool mem_eqlBytes__852(nav__852_39 const a0, nav__852_39 const a1) { + static uint8_t const t32[16] = + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; + nav__852_39 const *t1; + nav__852_39 const *t3; + uintptr_t t4; + uintptr_t t5; + uintptr_t t17; + uintptr_t t18; + uintptr_t t16; + uintptr_t t34; + uint64_t t6; + uint64_t t7; + uint8_t const *t10; + uint8_t const *t11; + uintptr_t t19[4]; + nav__852_39 t21; + nav__852_39 t0; + nav__852_39 t2; + uint8_t const(*t22)[4]; + uint8_t const(*t27)[16]; + uint8_t const(*t35)[32]; + uint32_t t20; + uint32_t t24; + uint32_t t25; + uint32_t t15; + bool t8; + bool t9; + uint8_t t12; + uint8_t t13; + uint8_t t14; + uint8_t t23[4]; + uint8_t t28[16]; + uint8_t t29[16]; + uint8_t t30[16]; + uint8_t t31[16]; + uint8_t t26[16]; + bool t33[16]; + uint8_t t36[32]; + uint8_t t37[32]; + uint8_t t38[32]; + bool t39[32]; + t0 = a0; + t1 = (nav__852_39 const *)&t0; + t2 = a1; + t3 = (nav__852_39 const *)&t2; + t4 = a0.len; + t5 = a1.len; + t6 = t4; + t7 = t5; + t8 = t6 != t7; + if (t8) { + return false; } - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; - } - goto zig_block_0; - - zig_block_0:; - t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t9 = (*t8); - t5 = t9 != NULL; - if (t5) { - t10 = t9; - t11 = t10; - t12 = (struct array_hash_map_IndexHeader__886 *const *)&t11; - t10 = (*t12); - t13 = (*t10); - t14 = array_hash_map_IndexHeader_capacity__3960(t13); - t4 = a2; - t15 = (uint64_t)t14; - t5 = t4 <= t15; - if (t5) { - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3941(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; + goto zig_block_0; + +zig_block_0:; + t5 = a0.len; + t7 = t5; + t8 = t7 == UINT64_C(0); + if (t8) { + t9 = true; + goto zig_block_2; } + t10 = a0.ptr; + t11 = a1.ptr; + t8 = t10 == t11; + t9 = t8; goto zig_block_2; - zig_block_2:; - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3941(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t16 = array_hash_map_IndexHeader_findBitIndex__3963(a2); - if (t16.error) { - t7 = t16.error; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t17 = t16.payload; - t18 = array_hash_map_IndexHeader_alloc__3964(a1, t17); - if (t18.error) { - t7 = t18.error; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t10 = t18.payload; - t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t9 = (*t8); - t5 = t9 != NULL; - if (t5) { - t19 = t9; - t20 = t19; - t12 = (struct array_hash_map_IndexHeader__886 *const *)&t20; - t19 = (*t12); - array_hash_map_IndexHeader_free__3965(t19, a1); - goto zig_block_3; - } - goto zig_block_3; - - zig_block_3:; - t2 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3890(t2, t10); - t2 = (*t1); - t8 = (struct array_hash_map_IndexHeader__886 **)&t2->index_header; - t19 = (struct array_hash_map_IndexHeader__886 *)t10; - (*t8) = t19; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; -} - -static nav__8900_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8900(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8900_41 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_IndexHeader__886 *t3; - struct array_hash_map_IndexHeader__886 *t5; - struct array_hash_map_IndexHeader__886 *t24; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t10; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t11; - nav__8900_61 t12; - nav__8900_64 t13; - uintptr_t t15; - uintptr_t t16; - uintptr_t t14; - uint64_t t17; - uint64_t t18; - nav__8900_41 *t19; - nav__8900_41 t22; - nav__8900_38 t23; - struct array_hash_map_IndexHeader__886 *const *t25; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t28; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - uint32_t t6; - uint32_t t20; - struct array_hash_map_IndexHeader__886 t26; - bool t4; - bool t21; - uint8_t t27; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t3 = a0.index_header; - t4 = t3 != NULL; - if (t4) { - t5 = t3; - t2 = t5; - goto zig_block_0; - } - t6 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t7 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *)&t1->entries; - t8 = (*t7); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t8); - t10 = t9; - t11 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t10; - t9 = (*t11); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t9); - t9 = (*t11); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t9); - t14 = (uintptr_t)0ul; - t15 = t13.len; - zig_loop_32: - t16 = t14; - t17 = t16; - t18 = t15; - t4 = t17 < t18; - if (t4) { - t19 = &t13.ptr[t16]; - t20 = t12.ptr[t16]; - t4 = t20 == t6; - if (t4) { - t22 = (*t19); - t4 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t22, t16); - t21 = t4; - goto zig_block_4; +zig_block_2:; + if (t9) { + return true; } - t21 = false; - goto zig_block_4; + goto zig_block_1; + +zig_block_1:; + t5 = a0.len; + t7 = t5; + t9 = t7 <= UINT64_C(16); + if (t9) { + t5 = a0.len; + t7 = t5; + t9 = t7 < UINT64_C(4); + if (t9) { + t12 = a0.ptr[(uintptr_t)0ul]; + t13 = a1.ptr[(uintptr_t)0ul]; + t13 = t12 ^ t13; + t5 = a0.len; + t5 = t5 - (uintptr_t)1ul; + t12 = a0.ptr[t5]; + t5 = a0.len; + t5 = t5 - (uintptr_t)1ul; + t14 = a1.ptr[t5]; + t14 = t12 ^ t14; + t14 = t13 | t14; + t5 = a0.len; + t5 = t5 / (uintptr_t)2ul; + t13 = a0.ptr[t5]; + t5 = a0.len; + t5 = t5 / (uintptr_t)2ul; + t12 = a1.ptr[t5]; + t12 = t13 ^ t12; + t12 = t14 | t12; + t9 = t12 == UINT8_C(0); + return t9; + } + goto zig_block_4; zig_block_4:; - if (t21) { - t23.is_null = false; - t23.payload = t16; - return t23; + t15 = UINT32_C(0); + t16 = (uintptr_t)0ul; + t5 = a0.len; + t5 = t5 - (uintptr_t)4ul; + t4 = a0.len; + t4 = t4 / (uintptr_t)8ul; + t4 = t4 * (uintptr_t)4ul; + t17 = a0.len; + t17 = t17 - (uintptr_t)4ul; + t18 = a0.len; + t18 = t18 / (uintptr_t)8ul; + t18 = t18 * (uintptr_t)4ul; + t18 = t17 - t18; + t19[0] = (uintptr_t)0ul; + t19[1] = t5; + t19[2] = t4; + t19[3] = t18; + zig_loop_79: + t18 = t16; + t7 = t18; + t9 = t7 < UINT64_C(4); + if (t9) { + t4 = t19[t18]; + t20 = t15; + t21 = (*t1); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t4 * sizeof(uint8_t))); + t22 = (uint8_t const(*)[4])t11; + memcpy(t23, (const char *)t22, sizeof(uint8_t[4])); + memcpy(&t24, &t23, sizeof(uint32_t)); + t24 = zig_wrap_u32(t24, UINT8_C(32)); + t21 = (*t3); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t4 * sizeof(uint8_t))); + t22 = (uint8_t const(*)[4])t11; + memcpy(t23, (const char *)t22, sizeof(uint8_t[4])); + memcpy(&t25, &t23, sizeof(uint32_t)); + t25 = zig_wrap_u32(t25, UINT8_C(32)); + t25 = t24 ^ t25; + t25 = t20 | t25; + t15 = t25; + goto zig_block_6; + } + goto zig_block_5; + + zig_block_6:; + t18 = t18 + (uintptr_t)1ul; + t16 = t18; + goto zig_loop_79; + + zig_block_5:; + t25 = t15; + t9 = t25 == UINT32_C(0); + return t9; } goto zig_block_3; - zig_block_3:; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t16 = t16 + (uintptr_t)1ul; - t14 = t16; - goto zig_loop_32; - - zig_block_1:; - return (nav__8900_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t24 = t2; - t25 = (struct array_hash_map_IndexHeader__886 *const *)&t24; - t5 = (*t25); - t26 = (*t5); - t27 = array_hash_map_IndexHeader_capacityIndexType__3959(t26); - switch (t27) { - case UINT8_C(0): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8907(t28, a1, t2); - return t23; - } - case UINT8_C(1): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8908(t28, a1, t2); - return t23; - } - case UINT8_C(2): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909(t28, a1, t2); - return t23; - } - default: zig_unreachable(); - } -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8901(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, nav__8901_42 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t6; - struct array_hash_map_IndexHeader__886 *t39; - struct array_hash_map_IndexHeader__886 **t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t10; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t11; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t12; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t13; - nav__8901_66 t14; - nav__8901_66 t15; - nav__8901_66 const *t16; - nav__8901_69 t17; - nav__8901_69 t18; - nav__8901_69 const *t19; - uintptr_t t21; - uintptr_t t22; - uintptr_t t20; - uint64_t t23; - uint64_t t24; - nav__8901_42 *t25; - nav__8901_42 t28; - nav__8901_72 t29; - nav__8901_72 t30; - nav__8901_72 t37; - nav__8901_72 const *t31; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t32; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t33; - uint32_t *const *t34; - uint32_t *t35; - nav__8901_42 *const *t36; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t38; - struct array_hash_map_IndexHeader__886 *const *t40; - uint32_t t7; - uint32_t t26; - struct array_hash_map_IndexHeader__886 t41; - bool t5; - bool t27; - uint8_t t42; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t3 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t4 = (*t3); - t5 = t4 != NULL; - if (t5) { - t6 = t4; - t2 = t6; - goto zig_block_0; - } - t7 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t8 = (*t1); - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t8->entries; - t10 = (*t9); - t11 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t10); - t12 = t11; - t13 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t12; - t11 = (*t13); - t14 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t11); - t15 = t14; - t16 = (nav__8901_66 const *)&t15; - t11 = (*t13); - t17 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t11); - t18 = t17; - t19 = (nav__8901_69 const *)&t18; - t20 = (uintptr_t)0ul; - t21 = t17.len; - zig_loop_39: - t22 = t20; - t23 = t22; - t24 = t21; - t5 = t23 < t24; - if (t5) { - t25 = &t17.ptr[t22]; - t26 = t14.ptr[t22]; - t5 = t26 == t7; - if (t5) { - t28 = (*t25); - t5 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t28, t22); - t27 = t5; - goto zig_block_4; +zig_block_3:; + t18 = a0.len; + t7 = t18; + t9 = t7 <= UINT64_C(32); + if (t9) { + t21 = (*t1); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t27 = (uint8_t const(*)[16])t11; + memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); + memcpy(&t29, &t28, sizeof(uint8_t[16])); + t21 = (*t3); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t27 = (uint8_t const(*)[16])t11; + memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); + memcpy(&t30, &t28, sizeof(uint8_t[16])); + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { + t30[t18] = t29[t18] ^ t30[t18]; + } + memcpy((char *)&t26, t30, sizeof(uint8_t[16])); + memcpy(t30, (const char *)&t26, sizeof(uint8_t[16])); + t18 = a0.len; + t18 = t18 - (uintptr_t)16ul; + t21 = (*t1); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t18 * sizeof(uint8_t))); + t27 = (uint8_t const(*)[16])t11; + memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); + memcpy(&t29, &t28, sizeof(uint8_t[16])); + t18 = a0.len; + t18 = t18 - (uintptr_t)16ul; + t21 = (*t3); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t18 * sizeof(uint8_t))); + t27 = (uint8_t const(*)[16])t11; + memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); + memcpy(&t31, &t28, sizeof(uint8_t[16])); + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { + t31[t18] = t29[t18] ^ t31[t18]; + } + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { + t31[t18] = t30[t18] | t31[t18]; + } + memcpy((char *)&t26, t31, sizeof(uint8_t[16])); + memcpy(t31, (const char *)&t26, sizeof(uint8_t[16])); + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { + t33[t18] = t31[t18] != t32[t18]; + } + t9 = false; + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { + t9 |= t33[t18]; + } + t9 = !t9; + return t9; } - t27 = false; - goto zig_block_4; + goto zig_block_7; - zig_block_4:; - if (t27) { - t11 = (*t13); - t29 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t11); - t30 = t29; - t31 = (nav__8901_72 const *)&t30; - t29 = (*t31); - t32 = &t29.ptr[t22]; - t33.key_ptr = t25; - t33.value_ptr = t32; - t33.index = t22; - t33.found_existing = true; - return t33; +zig_block_7:; + t34 = (uintptr_t)0ul; + t18 = a0.len; + t18 = t18 - (uintptr_t)1ul; + t18 = t18 / (uintptr_t)32ul; +zig_loop_179: + t17 = t34; + t7 = t17; + t6 = t18; + t9 = t7 < t6; + if (t9) { + t5 = t17 * (uintptr_t)32ul; + t21 = (*t1); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t5 * sizeof(uint8_t))); + t35 = (uint8_t const(*)[32])t11; + memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); + memcpy(&t37, &t36, sizeof(uint8_t[32])); + t5 = t17 * (uintptr_t)32ul; + t21 = (*t3); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t5 * sizeof(uint8_t))); + t35 = (uint8_t const(*)[32])t11; + memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); + memcpy(&t38, &t36, sizeof(uint8_t[32])); + for (t5 = (uintptr_t)0ul; t5 < (uintptr_t)32ul; t5 += (uintptr_t)1ul) { + t39[t5] = t37[t5] != t38[t5]; + } + t9 = false; + for (t5 = (uintptr_t)0ul; t5 < (uintptr_t)32ul; t5 += (uintptr_t)1ul) { + t9 |= t39[t5]; + } + if (t9) { + return false; + } + goto zig_block_10; + + zig_block_10:; + goto zig_block_9; + } + goto zig_block_8; + +zig_block_9:; + t17 = t17 + (uintptr_t)1ul; + t34 = t17; + goto zig_loop_179; + +zig_block_8:; + t18 = a0.len; + t18 = t18 - (uintptr_t)32ul; + t21 = (*t1); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t18 * sizeof(uint8_t))); + t35 = (uint8_t const(*)[32])t11; + memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); + memcpy(&t38, &t36, sizeof(uint8_t[32])); + t18 = a0.len; + t18 = t18 - (uintptr_t)32ul; + t21 = (*t3); + t11 = t21.ptr; + t11 = (uint8_t const *)(((uintptr_t)t11) + (t18 * sizeof(uint8_t))); + t35 = (uint8_t const(*)[32])t11; + memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); + memcpy(&t37, &t36, sizeof(uint8_t[32])); + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)32ul; t18 += (uintptr_t)1ul) { + t39[t18] = t38[t18] != t37[t18]; } - goto zig_block_3; + t9 = false; + for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)32ul; t18 += (uintptr_t)1ul) { + t9 |= t39[t18]; + } + t9 = !t9; + return t9; +} - zig_block_3:; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t22 = t22 + (uintptr_t)1ul; - t20 = t22; - goto zig_loop_39; - - zig_block_1:; - t8 = (*t1); - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t8->entries; - t21 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t9); - t34 = &t16->ptr; - t35 = (*t34); - t35 = (uint32_t *)&t35[t21]; - (*t35) = t7; - t36 = &t19->ptr; - t25 = (*t36); - t25 = (nav__8901_42 *)&t25[t21]; - t11 = (*t13); - t29 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t11); - t37 = t29; - t31 = (nav__8901_72 const *)&t37; - t38 = &t31->ptr; - t32 = (*t38); - t32 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t32[t21]; - t33.key_ptr = t25; - t33.value_ptr = t32; - t33.index = t21; - t33.found_existing = false; - return t33; - - zig_block_0:; - t39 = t2; - t40 = (struct array_hash_map_IndexHeader__886 *const *)&t39; - t6 = (*t40); - t41 = (*t6); - t42 = array_hash_map_IndexHeader_capacityIndexType__3959(t41); - switch (t42) { - case UINT8_C(0): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8910(t8, a1, t2); - return t33; - } - case UINT8_C(1): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911(t8, a1, t2); - return t33; - } - case UINT8_C(2): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8912(t8, a1, t2); - return t33; - } - default: zig_unreachable(); - } -} - -static uint16_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4009(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - void *t3; - uint64_t t4; - uint64_t t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t6; - struct array_hash_map_IndexHeader__886 **t8; - struct array_hash_map_IndexHeader__886 *t9; - struct array_hash_map_IndexHeader__886 *t10; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t20; - struct array_hash_map_IndexHeader__886 *const *t12; - nav__4009_62 t18; - struct array_hash_map_IndexHeader__886 t13; - uint32_t t14; - uint16_t t7; - nav__4009_60 t16; - bool t5; - uint8_t t17; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_lock__3968(t3); - t4 = a2; - t5 = t4 <= UINT64_C(8); - if (t5) { +static uint16_t environment_root_Environment_setIntegrationEnvironmentList__772( + struct environment_root_Environment__559 *const a0, nav__772_41 const a1, + nav__772_41 const a2, nav__772_43 const a3) { + struct environment_root_Environment__559 *const *t1; + struct environment_root_Environment__559 *t2; + struct environment_root_Environment__559 *t0; + struct mem_Allocator__599 *t3; + struct mem_Allocator__599 t4; + uintptr_t t5; + uintptr_t t12; + uintptr_t t11; + uintptr_t t20; + uintptr_t t24; + nav__772_85 t6; + nav__772_83 t8; + nav__772_83 t16; + nav__772_83 t9; + nav__772_83 const *t10; + uint64_t t13; + uint64_t t14; + nav__772_41 *t17; + nav__772_41 t18; + nav__772_90 t19; + nav__772_88 t21; + nav__772_43 t22; + struct environment_root_EnvironmentValue__850 t23; + uint16_t t7; + bool t15; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4135(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + t5 = a3.len; + t6 = mem_Allocator_alloc__anon_8365__9014(t4, t5); + if (t6.error) { + t7 = t6.error; + return t7; } - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; - } - goto zig_block_0; - - zig_block_0:; - t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t9 = (*t8); - t5 = t9 != NULL; - if (t5) { - t10 = t9; - t11 = t10; - t12 = (struct array_hash_map_IndexHeader__886 *const *)&t11; - t10 = (*t12); - t13 = (*t10); - t14 = array_hash_map_IndexHeader_capacity__3960(t13); - t4 = a2; - t15 = (uint64_t)t14; - t5 = t4 <= t15; - if (t5) { - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4135(t6, a1, a2); - if (t7) { + t8 = t6.payload; + t9 = t8; + t10 = (nav__772_83 const *)&t9; + t11 = (uintptr_t)0ul; +zig_loop_25: + t5 = t11; + t12 = a3.len; + t13 = t5; + t14 = t12; + t15 = t13 < t14; + if (t15) { + t12 = t11; + t16 = (*t10); + t17 = &t16.ptr[t12]; t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + t12 = t11; + t18 = a3.ptr[t12]; + t19 = mem_Allocator_dupe__anon_7733__8902(t4, t18); + if (t19.error) { + t7 = t19.error; + t20 = (uintptr_t)0ul; + t12 = t11; + t16 = (*t10); + t17 = t16.ptr; + t17 = (nav__772_41 *)(((uintptr_t)t17) + + ((uintptr_t)0ul * sizeof(nav__772_41))); + t16.ptr = t17; + t16.len = t12; + t12 = t16.len; + zig_loop_55: + t5 = t20; + t14 = t5; + t13 = t12; + t15 = t14 < t13; + if (t15) { + t18 = t16.ptr[t5]; + t2 = (*t1); + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + mem_Allocator_free__anon_3438__7838(t4, t18); + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + t5 = t5 + (uintptr_t)1ul; + t20 = t5; + goto zig_loop_55; + + zig_block_2:; + t2 = (*t1); + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + mem_Allocator_free__anon_8368__9015(t4, t8); + return t7; + } + t21 = t19.payload; + memcpy(&t18, &t21, sizeof(nav__772_41)); + (*t17) = t18; + t12 = t11; + t12 = t12 + (uintptr_t)1ul; + t11 = t12; + goto zig_block_1; } - goto zig_block_2; + goto zig_block_0; - zig_block_2:; - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4135(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t16 = array_hash_map_IndexHeader_findBitIndex__3963(a2); - if (t16.error) { - t7 = t16.error; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t17 = t16.payload; - t18 = array_hash_map_IndexHeader_alloc__3964(a1, t17); - if (t18.error) { - t7 = t18.error; +zig_block_1:; + goto zig_loop_25; + +zig_block_0:; t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t10 = t18.payload; - t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t9 = (*t8); - t5 = t9 != NULL; - if (t5) { - t19 = t9; - t20 = t19; - t12 = (struct array_hash_map_IndexHeader__886 *const *)&t20; - t19 = (*t12); - array_hash_map_IndexHeader_free__3965(t19, a1); - goto zig_block_3; - } - goto zig_block_3; - - zig_block_3:; - t2 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4101(t2, t10); - t2 = (*t1); - t8 = (struct array_hash_map_IndexHeader__886 **)&t2->index_header; - t19 = (struct array_hash_map_IndexHeader__886 *)t10; - (*t8) = t19; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; -} - -static nav__8902_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8902(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8902_41 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_IndexHeader__886 *t3; - struct array_hash_map_IndexHeader__886 *t5; - struct array_hash_map_IndexHeader__886 *t24; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t10; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t11; - nav__8902_61 t12; - nav__8902_64 t13; - uintptr_t t15; - uintptr_t t16; - uintptr_t t14; - uint64_t t17; - uint64_t t18; - nav__8902_41 *t19; - nav__8902_41 t22; - nav__8902_38 t23; - struct array_hash_map_IndexHeader__886 *const *t25; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t28; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - uint32_t t6; - uint32_t t20; - struct array_hash_map_IndexHeader__886 t26; - bool t4; - bool t21; - uint8_t t27; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t3 = a0.index_header; - t4 = t3 != NULL; - if (t4) { - t5 = t3; - t2 = t5; - goto zig_block_0; - } - t6 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t7 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *)&t1->entries; - t8 = (*t7); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t8); - t10 = t9; - t11 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t10; - t9 = (*t11); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t9); - t9 = (*t11); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t9); - t14 = (uintptr_t)0ul; - t15 = t13.len; - zig_loop_32: - t16 = t14; - t17 = t16; - t18 = t15; - t4 = t17 < t18; - if (t4) { - t19 = &t13.ptr[t16]; - t20 = t12.ptr[t16]; - t4 = t20 == t6; - if (t4) { - t22 = (*t19); - t4 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t22, t16); - t21 = t4; - goto zig_block_4; - } - t21 = false; - goto zig_block_4; + memcpy(&t22, &t8, sizeof(nav__772_43)); + t23.tag = UINT8_C(1); + t23.payload.list = t22; + t7 = environment_root_Environment_setIntegrationEnvironmentValue__774( + t2, a1, a2, t23); + if (t7) { + t24 = (uintptr_t)0ul; + t12 = t11; + t16 = (*t10); + t17 = t16.ptr; + t17 = (nav__772_41 *)(((uintptr_t)t17) + + ((uintptr_t)0ul * sizeof(nav__772_41))); + t16.ptr = t17; + t16.len = t12; + t12 = t16.len; + zig_loop_110: + t5 = t24; + t14 = t5; + t13 = t12; + t15 = t14 < t13; + if (t15) { + t18 = t16.ptr[t5]; + t2 = (*t1); + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + mem_Allocator_free__anon_3438__7838(t4, t18); + goto zig_block_5; + } + goto zig_block_4; + + zig_block_5:; + t5 = t5 + (uintptr_t)1ul; + t24 = t5; + goto zig_loop_110; zig_block_4:; - if (t21) { - t23.is_null = false; - t23.payload = t16; - return t23; + t2 = (*t1); + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + mem_Allocator_free__anon_8368__9015(t4, t8); + return t7; } - goto zig_block_3; + return 0; +} - zig_block_3:; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t16 = t16 + (uintptr_t)1ul; - t14 = t16; - goto zig_loop_32; - - zig_block_1:; - return (nav__8902_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t24 = t2; - t25 = (struct array_hash_map_IndexHeader__886 *const *)&t24; - t5 = (*t25); - t26 = (*t5); - t27 = array_hash_map_IndexHeader_capacityIndexType__3959(t26); - switch (t27) { - case UINT8_C(0): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8916(t28, a1, t2); - return t23; - } - case UINT8_C(1): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8917(t28, a1, t2); - return t23; - } - case UINT8_C(2): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918(t28, a1, t2); - return t23; - } - default: zig_unreachable(); - } -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8903(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, nav__8903_42 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t6; - struct array_hash_map_IndexHeader__886 *t39; - struct array_hash_map_IndexHeader__886 **t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t10; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t11; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t12; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t13; - nav__8903_66 t14; - nav__8903_66 t15; - nav__8903_66 const *t16; - nav__8903_69 t17; - nav__8903_69 t18; - nav__8903_69 const *t19; - uintptr_t t21; - uintptr_t t22; - uintptr_t t20; - uint64_t t23; - uint64_t t24; - nav__8903_42 *t25; - nav__8903_42 t28; - nav__8903_72 t29; - nav__8903_72 t30; - nav__8903_72 t37; - nav__8903_72 const *t31; - struct environment_root_EnvironmentValue__850 *t32; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t33; - uint32_t *const *t34; - uint32_t *t35; - nav__8903_42 *const *t36; - struct environment_root_EnvironmentValue__850 *const *t38; - struct array_hash_map_IndexHeader__886 *const *t40; - uint32_t t7; - uint32_t t26; - struct array_hash_map_IndexHeader__886 t41; - bool t5; - bool t27; - uint8_t t42; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t3 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t4 = (*t3); - t5 = t4 != NULL; - if (t5) { - t6 = t4; - t2 = t6; - goto zig_block_0; - } - t7 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t8 = (*t1); - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t8->entries; - t10 = (*t9); - t11 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t10); - t12 = t11; - t13 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t12; - t11 = (*t13); - t14 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t11); - t15 = t14; - t16 = (nav__8903_66 const *)&t15; - t11 = (*t13); - t17 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t11); - t18 = t17; - t19 = (nav__8903_69 const *)&t18; - t20 = (uintptr_t)0ul; - t21 = t17.len; - zig_loop_39: - t22 = t20; - t23 = t22; - t24 = t21; - t5 = t23 < t24; - if (t5) { - t25 = &t17.ptr[t22]; - t26 = t14.ptr[t22]; - t5 = t26 == t7; - if (t5) { - t28 = (*t25); - t5 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t28, t22); - t27 = t5; - goto zig_block_4; +uint8_t c_instrument_hooks_set_environment_list__253( + struct InstrumentHooks *const a0, char const *const a1, + char const *const a2, char const *const *const a3, uint32_t const a4) { + struct InstrumentHooks *t2; + struct InstrumentHooks *t3; + struct InstrumentHooks *const *t4; + nav__253_47 t5; + nav__253_47 t8; + nav__253_47 t9; + uintptr_t t6; + uintptr_t t13; + uintptr_t t12; + nav__253_54 t7; + nav__253_47 const *t10; + uint8_t const *const *t11; + uint64_t t14; + uint64_t t15; + uint8_t const *t16; + nav__253_45 *t17; + nav__253_45 t18; + nav__253_45 t19; + nav__253_45 t21; + struct environment_root_Environment__559 *t20; + nav__253_120 t22; + uint16_t t23; + bool t0; + bool t1; + t0 = a1 == NULL; + if (t0) { + t1 = true; + goto zig_block_1; } - t27 = false; - goto zig_block_4; + t0 = a2 == NULL; + t1 = t0; + goto zig_block_1; - zig_block_4:; - if (t27) { - t11 = (*t13); - t29 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t11); - t30 = t29; - t31 = (nav__8903_72 const *)&t30; - t29 = (*t31); - t32 = &t29.ptr[t22]; - t33.key_ptr = t25; - t33.value_ptr = t32; - t33.index = t22; - t33.found_existing = true; - return t33; +zig_block_1:; + if (t1) { + t0 = true; + goto zig_block_2; } - goto zig_block_3; - - zig_block_3:; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t22 = t22 + (uintptr_t)1ul; - t20 = t22; - goto zig_loop_39; - - zig_block_1:; - t8 = (*t1); - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t8->entries; - t21 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t9); - t34 = &t16->ptr; - t35 = (*t34); - t35 = (uint32_t *)&t35[t21]; - (*t35) = t7; - t36 = &t19->ptr; - t25 = (*t36); - t25 = (nav__8903_42 *)&t25[t21]; - t11 = (*t13); - t29 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t11); - t37 = t29; - t31 = (nav__8903_72 const *)&t37; - t38 = &t31->ptr; - t32 = (*t38); - t32 = (struct environment_root_EnvironmentValue__850 *)&t32[t21]; - t33.key_ptr = t25; - t33.value_ptr = t32; - t33.index = t21; - t33.found_existing = false; - return t33; - - zig_block_0:; - t39 = t2; - t40 = (struct array_hash_map_IndexHeader__886 *const *)&t39; - t6 = (*t40); - t41 = (*t6); - t42 = array_hash_map_IndexHeader_capacityIndexType__3959(t41); - switch (t42) { - case UINT8_C(0): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8919(t8, a1, t2); - return t33; - } - case UINT8_C(1): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920(t8, a1, t2); - return t33; - } - case UINT8_C(2): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8921(t8, a1, t2); - return t33; - } - default: zig_unreachable(); - } -} - -static void debug_SafetyLock_lock__3968(void *const a0) { - void *t0; - t0 = a0; - return; -} - -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3945(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *t1; - struct mem_Allocator__599 const *t3; - uintptr_t *t4; - uintptr_t t5; - uint64_t t6; - uint64_t t7; - struct mem_Allocator__599 t9; - struct mem_Allocator__599 t2; - nav__3945_54 t10; - nav__3945_52 t12; - nav__3945_52 t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t13; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t14; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t18; - uint8_t **t16; - uint8_t *t17; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t19; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t20; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t22; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t21; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t23; - nav__3945_62 t24; - nav__3945_62 t25; - uint32_t *t26; - nav__3945_67 t27; - nav__3945_67 t28; - nav__3945_65 *t29; - nav__3945_72 t30; - nav__3945_72 t31; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t32; - uint16_t t11; - bool t8; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t6 = a2; - t7 = t5; - t8 = t6 >= t7; - debug_assert__180(t8); - t9 = (*t3); - t5 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3952(a2); - t10 = mem_Allocator_alignedAlloc__anon_7918__8922(t9, t5); - if (t10.error) { - t11 = t10.error; - return t11; - } - t12 = t10.payload; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t7 = t5; - t8 = t7 == UINT64_C(0); - if (t8) { - t9 = (*t3); - t13 = (*t1); - t14 = (*t13); - t15 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953(t14); - mem_Allocator_free__anon_7017__8813(t9, t15); - t13 = (*t1); - t16 = (uint8_t **)&t13->bytes; - t17 = t12.ptr; - (*t16) = t17; - t13 = (*t1); - t4 = (uintptr_t *)&t13->capacity; - (*t4) = a2; - return 0; - } - goto zig_block_0; - - zig_block_0:; - t17 = t12.ptr; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t14.bytes = t17; - t14.len = t5; - t14.capacity = a2; - t18 = t14; - t13 = (*t1); - t14 = (*t13); - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t14); - t20 = t19; - t21 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t20; - t14 = t18; - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t14); - t22 = t19; - t23 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t22; - t19 = (*t23); - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t19); - t19 = (*t21); - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t19); - t26 = t25.ptr; - if (t24.len != 0) memcpy(t24.ptr, t26, t24.len * sizeof(uint32_t)); - t19 = (*t23); - t27 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t19); - t19 = (*t21); - t28 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t19); - t29 = t28.ptr; - if (t27.len != 0) memcpy(t27.ptr, t29, t27.len * sizeof(nav__3945_65)); - t19 = (*t23); - t30 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t19); - t19 = (*t21); - t31 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t19); - t32 = t31.ptr; - if (t30.len != 0) memcpy(t30.ptr, t32, t30.len * sizeof(struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852)); - t9 = (*t3); - t13 = (*t1); - t14 = (*t13); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3953(t14); - mem_Allocator_free__anon_7017__8813(t9, t12); - t14 = t18; - (*a0) = t14; - return 0; -} - -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3941(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t0; - uint16_t t8; - uint16_t t9; - bool t6; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a2; - t6 = t4 >= t5; - if (t6) { - return 0; - } - goto zig_block_0; - - zig_block_0:; - t7 = (*t1); - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t3 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3943(t3, a2); - t8 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3945(t7, a1, t3); - memcpy(&t9, &t8, sizeof(uint16_t)); - return t9; -} - -static void debug_SafetyLock_unlock__3969(void *const a0) { - void *t0; - t0 = a0; - return; -} - -static uint32_t array_hash_map_IndexHeader_capacity__3960(struct array_hash_map_IndexHeader__886 const a0) { - static uint32_t const t2[33] = {UINT32_C(0),UINT32_C(1),UINT32_C(2),UINT32_C(4),UINT32_C(9),UINT32_C(19),UINT32_C(38),UINT32_C(76),UINT32_C(153),UINT32_C(307),UINT32_C(614),UINT32_C(1228),UINT32_C(2457),UINT32_C(4915),UINT32_C(9830),UINT32_C(19660),UINT32_C(39321),UINT32_C(78643),UINT32_C(157286),UINT32_C(314572),UINT32_C(629145),UINT32_C(1258291),UINT32_C(2516582),UINT32_C(5033164),UINT32_C(10066329),UINT32_C(20132659),UINT32_C(40265318),UINT32_C(80530636),UINT32_C(161061273),UINT32_C(322122547),UINT32_C(644245094),UINT32_C(1288490188),UINT32_MAX}; - uintptr_t t1; - uint32_t t3; - uint8_t t0; - t0 = a0.bit_index; - t1 = (uintptr_t)t0; - t3 = t2[t1]; - return t3; -} - -static nav__3963_38 array_hash_map_IndexHeader_findBitIndex__3963(uintptr_t const a0) { - static uint32_t const t5[33] = {UINT32_C(0),UINT32_C(1),UINT32_C(2),UINT32_C(4),UINT32_C(9),UINT32_C(19),UINT32_C(38),UINT32_C(76),UINT32_C(153),UINT32_C(307),UINT32_C(614),UINT32_C(1228),UINT32_C(2457),UINT32_C(4915),UINT32_C(9830),UINT32_C(19660),UINT32_C(39321),UINT32_C(78643),UINT32_C(157286),UINT32_C(314572),UINT32_C(629145),UINT32_C(1258291),UINT32_C(2516582),UINT32_C(5033164),UINT32_C(10066329),UINT32_C(20132659),UINT32_C(40265318),UINT32_C(80530636),UINT32_C(161061273),UINT32_C(322122547),UINT32_C(644245094),UINT32_C(1288490188),UINT32_MAX}; - static uint32_t const t8[33] = {UINT32_C(0),UINT32_C(1),UINT32_C(2),UINT32_C(4),UINT32_C(9),UINT32_C(19),UINT32_C(38),UINT32_C(76),UINT32_C(153),UINT32_C(307),UINT32_C(614),UINT32_C(1228),UINT32_C(2457),UINT32_C(4915),UINT32_C(9830),UINT32_C(19660),UINT32_C(39321),UINT32_C(78643),UINT32_C(157286),UINT32_C(314572),UINT32_C(629145),UINT32_C(1258291),UINT32_C(2516582),UINT32_C(5033164),UINT32_C(10066329),UINT32_C(20132659),UINT32_C(40265318),UINT32_C(80530636),UINT32_C(161061273),UINT32_C(322122547),UINT32_C(644245094),UINT32_C(1288490188),UINT32_MAX}; - uint64_t t0; - uint64_t t7; - uintptr_t t4; - uint32_t t6; - nav__3963_38 t9; - bool t1; - uint8_t t3; - uint8_t t2; - t0 = a0; - t1 = t0 > UINT64_C(4294967295); - if (t1) { - return (nav__3963_38){zig_error_OutOfMemory,UINT8_C(0xaa)}; - } - goto zig_block_0; - - zig_block_0:; - t3 = math_log2_int_ceil__anon_8071__8923(a0); - t2 = t3; - t3 = t2; - t4 = (uintptr_t)t3; - t6 = t5[t4]; - t0 = a0; - t7 = (uint64_t)t6; - t1 = t0 > t7; - if (t1) { - t3 = t2; - t3 = t3 + UINT8_C(1); - t2 = t3; - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t3 = t2; - t1 = t3 < UINT8_C(5); - if (t1) { - t2 = UINT8_C(5); + t1 = a3 == NULL; + t0 = t1; goto zig_block_2; - } - goto zig_block_2; - - zig_block_2:; - t3 = t2; - t4 = (uintptr_t)t3; - t6 = t8[t4]; - t7 = a0; - t0 = (uint64_t)t6; - t1 = t7 <= t0; - debug_assert__180(t1); - t3 = t2; - t9.payload = t3; - t9.error = UINT16_C(0); - return t9; -} - -static nav__3964_40 array_hash_map_IndexHeader_alloc__3964(struct mem_Allocator__599 const a0, uint8_t const a1) { - struct mem_Allocator__599 const *t1; - uintptr_t t3; - uintptr_t t4; - struct mem_Allocator__599 t5; - struct mem_Allocator__599 t0; - nav__3964_53 t6; - nav__3964_40 t8; - nav__3964_51 t9; - nav__3964_51 t12; - nav__3964_51 t10; - nav__3964_51 const *t11; - uint8_t *t13; - struct array_hash_map_IndexHeader__886 *t14; - uint16_t t7; - uint8_t t2; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = zig_shlw_u64((uintptr_t)1ul, t2, UINT8_C(64)); - t4 = array_hash_map_capacityIndexSize__3728(a1); - t3 = t4 * t3; - t3 = (uintptr_t)4ul + t3; - t5 = (*t1); - t6 = mem_Allocator_alignedAlloc__anon_8076__8924(t5, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = ((struct array_hash_map_IndexHeader__886 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul); - t8.error = t7; - return t8; - } - t9 = t6.payload; - t10 = t9; - t11 = (nav__3964_51 const *)&t10; - t12 = (*t11); - t13 = t12.ptr; - t13 = (uint8_t *)(((uintptr_t)t13) + ((uintptr_t)4ul*sizeof(uint8_t))); - t3 = t12.len; - t3 = t3 - (uintptr_t)4ul; - t12.ptr = t13; - t12.len = t3; - memset(t12.ptr, UINT8_MAX, t12.len); - t13 = t9.ptr; - t14 = (struct array_hash_map_IndexHeader__886 *)t13; - t13 = (uint8_t *)&t14->bit_index; - (*t13) = a1; - t8.payload = t14; - t8.error = UINT16_C(0); - return t8; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3890(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct array_hash_map_IndexHeader__886 t5; - uint8_t t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = (*t4); - t6 = array_hash_map_IndexHeader_capacityIndexType__3959(t5); - switch (t6) { - case UINT8_C(0): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8925(t7, a1); - return; - } - case UINT8_C(1): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8926(t7, a1); - return; - } - case UINT8_C(2): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8927(t7, a1); - return; - } - default: zig_unreachable(); - } -} - -static uint32_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(nav__8904_40 const a0) { - uint32_t t0; - t0 = array_hash_map_StringContext_hash__3759(a0); - return t0; -} - -static nav__8905_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - uint32_t *t5; - uint32_t *t6; - uint32_t *const *t7; - nav__8905_39 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8905_39){(uint32_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)0ul]; - t5 = (uint32_t *)t4; - t6 = t5; - t7 = (uint32_t *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (uint32_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint32_t))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static bool array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(nav__8906_40 const a0, nav__8906_40 const a1, uintptr_t const a2) { - bool t0; - t0 = array_hash_map_StringContext_eql__3760(a0, a1, a2); - return t0; -} - -static uint8_t array_hash_map_IndexHeader_capacityIndexType__3959(struct array_hash_map_IndexHeader__886 const a0) { - uint8_t t0; - t0 = a0.bit_index; - t0 = array_hash_map_capacityIndexType__3727(t0); - return t0; -} - -static nav__8907_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8907(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8907_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__8907_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - nav__8907_38 t8; - bool t9; - struct array_hash_map_Index_28u8_29__7097 t11; - uint8_t t12; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8929(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__8907_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static nav__8908_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8908(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8908_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__8908_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - nav__8908_38 t8; - struct array_hash_map_Index_28u16_29__7101 t11; - uint16_t t12; - bool t9; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8931(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__8908_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static nav__8909_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8909(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8909_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__8909_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - nav__8909_38 t8; - struct array_hash_map_Index_28u32_29__7105 t11; - uint32_t t12; - bool t9; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8933(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__8909_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uintptr_t t4; - uint64_t t5; - uint64_t t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t0; - bool t7; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *const *)&t0; - t2 = (uintptr_t *)&a0->len; - t3 = (*t2); - t2 = (uintptr_t *)&a0->capacity; - t4 = (*t2); - t5 = t3; - t6 = t4; - t7 = t5 < t6; - debug_assert__180(t7); - t2 = (uintptr_t *)&a0->len; - t4 = (*t2); - t8 = (*t1); - t2 = (uintptr_t *)&t8->len; - t3 = (*t2); - t3 = t3 + (uintptr_t)1ul; - (*t2) = t3; - return t4; -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8910(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, nav__8910_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t9; - nav__8910_66 t10; - nav__8910_66 t11; - nav__8910_66 const *t12; - nav__8910_69 t13; - nav__8910_69 t14; - nav__8910_69 const *t15; - nav__8910_72 t16; - nav__8910_72 t17; - nav__8910_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__8910_77 t20; - nav__8910_77 t55; - nav__8910_77 t21; - nav__8910_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t54; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u8_29__7097 *t35; - uint8_t *t36; - uint32_t *const *t38; - uint32_t *t39; - bool *t41; - nav__8910_42 **t42; - nav__8910_42 *const *t43; - nav__8910_42 *t44; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **t45; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t46; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t47; - uintptr_t *t48; - nav__8910_42 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t40; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t52; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t57; - uint32_t t23; - uint32_t t49; - struct array_hash_map_IndexHeader__886 t32; - bool t30; - bool t50; - struct array_hash_map_Index_28u8_29__7097 t34; - struct array_hash_map_Index_28u8_29__7097 t33; - uint8_t t37; - uint8_t t53; - uint8_t t27; - uint8_t t56; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t7); - t11 = t10; - t12 = (nav__8910_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t7); - t14 = t13; - t15 = (nav__8910_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t7); - t17 = t16; - t18 = (nav__8910_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t19); - t21 = t20; - t22 = (nav__8910_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT8_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u8_29_isEmpty__8820(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint8_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint8_t *)&t35->entry_index; - t37 = (uint8_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t25]; - (*t39) = t23; - t41 = (bool *)&t40.found_existing; - (*t41) = false; - t42 = (nav__8910_42 **)&t40.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8910_42 *)&t44[t25]; - (*t42) = t44; - t45 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t40.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t47[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t40.index; - (*t48) = t25; - return t40; + +zig_block_2:; + if (t0) { + return UINT8_C(1); } - goto zig_block_2; + goto zig_block_0; - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t49 = t10.ptr[t24]; - t30 = t23 == t49; - if (t30) { - t24 = (uintptr_t)t37; - t51 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t51, t24); - t50 = t30; - goto zig_block_4; - } - t50 = false; - goto zig_block_4; +zig_block_0:; + t1 = a0 != NULL; + if (t1) { + t2 = a0; + t3 = t2; + t4 = (struct InstrumentHooks *const *)&t3; + t6 = (uintptr_t)a4; + t7 = mem_Allocator_alloc__anon_8365__9014( + (struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}, + t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t8 = t7.payload; + t5 = t8; + goto zig_block_4; + } + return UINT8_C(1); zig_block_4:; - if (t50) { - t41 = (bool *)&t52.found_existing; - (*t41) = true; - t42 = (nav__8910_42 **)&t52.key_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t13 = (*t15); - t44 = &t13.ptr[t25]; - (*t42) = t44; - t45 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t52.value_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t16 = (*t18); - t47 = &t16.ptr[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t52.index; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - (*t48) = t25; - return t52; - } - goto zig_block_3; - - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t53 = t27; - t30 = t37 < t53; - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t5); - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t24]; - (*t39) = t23; - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint8_t *)&t35->entry_index; - t53 = (uint8_t)t24; - (*t36) = t53; - t36 = (uint8_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t34 = t33; - t53 = t34.distance_from_start_index; - t27 = t53; - t34 = t33; - t53 = t34.entry_index; - t56 = t53; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; - zig_loop_200: - t54 = t26; - t29 = t54; - t28 = t25; - t30 = t29 != t28; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t54 = t26; - t54 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t54); - t31 = t54; - t54 = t31; - t34 = t20.ptr[t54]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u8_29_isEmpty__8820(t34); - if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint8_t *)&t35->entry_index; - t53 = t56; - (*t36) = t53; - t36 = (uint8_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t41 = (bool *)&t57.found_existing; - (*t41) = false; - t42 = (nav__8910_42 **)&t57.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8910_42 *)&t44[t24]; - (*t42) = t44; - t45 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t57.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t47[t24]; - (*t45) = t47; - t48 = (uintptr_t *)&t57.index; - (*t48) = t24; - return t57; + t9 = t5; + t10 = (nav__253_47 const *)&t9; + t11 = (uint8_t const *const *)a3; + t12 = (uintptr_t)0ul; + t6 = (uintptr_t)a4; + zig_loop_45: + t13 = t12; + t14 = t13; + t15 = t6; + t1 = t14 < t15; + if (t1) { + t16 = t11[t13]; + t1 = t16 == NULL; + if (t1) { + mem_Allocator_free__anon_8368__9015( + (struct mem_Allocator__599){ + ((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}, + t5); + return UINT8_C(1); + } + goto zig_block_7; + + zig_block_7:; + t8 = (*t10); + t17 = &t8.ptr[t13]; + t16 = t11[t13]; + t18 = mem_span__anon_7307__8843(t16); + memcpy(&t19, &t18, sizeof(nav__253_45)); + (*t17) = t19; + goto zig_block_6; } - goto zig_block_8; + goto zig_block_5; - zig_block_8:; - t34 = t33; - t53 = t34.distance_from_start_index; - t37 = t27; - t30 = t53 < t37; - if (t30) { - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint8_t *)&t35->entry_index; - t37 = t56; - (*t36) = t37; - t36 = (uint8_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t34 = t33; - t37 = t34.entry_index; - t56 = t37; - t34 = t33; - t37 = t34.distance_from_start_index; - t27 = t37; - goto zig_block_9; + zig_block_6:; + t13 = t13 + (uintptr_t)1ul; + t12 = t13; + goto zig_loop_45; + + zig_block_5:; + t2 = (*t4); + t20 = (struct environment_root_Environment__559 *)&t2->environment; + t16 = c_toU8__236(a1); + t19 = mem_span__anon_7307__8843(t16); + memcpy(&t18, &t19, sizeof(nav__253_45)); + t16 = c_toU8__236(a2); + t19 = mem_span__anon_7307__8843(t16); + memcpy(&t21, &t19, sizeof(nav__253_45)); + memcpy(&t22, &t5, sizeof(nav__253_120)); + t23 = environment_root_Environment_setIntegrationEnvironmentList__772( + t20, t18, t21, t22); + t1 = t23 == UINT16_C(0); + if (t1) { + goto zig_block_8; } - goto zig_block_9; + mem_Allocator_free__anon_8368__9015( + (struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}, + t5); + return UINT8_C(1); - zig_block_9:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; - goto zig_block_7; - } - goto zig_block_6; + zig_block_8:; + mem_Allocator_free__anon_8368__9015( + (struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const + *)&heap_CAllocator_vtable__4516)}, + t5); + return UINT8_C(0); + } + goto zig_block_3; - zig_block_7:; - goto zig_loop_200; +zig_block_3:; + return UINT8_C(1); +} + +static nav__9014_42 mem_Allocator_alloc__anon_8365__9014( + struct mem_Allocator__599 const a0, uintptr_t const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t5; + uintptr_t t3; + nav__9014_42 t4; + nav__9014_42 t8; + nav__9014_54 t6; + uint8_t *t9; + nav__9014_39 *t10; + nav__9014_39 *t11; + nav__9014_39 *const *t12; + nav__9014_41 t13; + uint16_t t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t5 = t2; + t1 = (struct mem_Allocator__599 const *)&t5; + t2 = (*t1); + t6 = mem_Allocator_allocWithSizeAndAlignment__anon_8376__9016(t2, a1, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = (nav__9014_41){(nav__9014_39 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t7; + t4 = t8; + goto zig_block_0; + } + t9 = t6.payload; + t10 = (nav__9014_39 *)t9; + t11 = t10; + t12 = (nav__9014_39 *const *)&t11; + t10 = (*t12); + t10 = (nav__9014_39 *)(((uintptr_t)t10) + + ((uintptr_t)0ul * sizeof(nav__9014_39))); + t13.ptr = t10; + t13.len = a1; + t8.payload = t13; + t8.error = UINT16_C(0); + t4 = t8; + goto zig_block_0; - zig_block_6:; - zig_unreachable(); +zig_block_0:; + return t4; +} + +static void mem_Allocator_free__anon_8368__9015( + struct mem_Allocator__599 const a0, nav__9015_42 const a1) { + struct mem_Allocator__599 const *t1; + nav__9015_52 t2; + nav__9015_52 t11; + uintptr_t t3; + uint64_t t4; + uint8_t *t6; + uint8_t *t7; + uint8_t *t8; + uint8_t *const *t9; + struct mem_Allocator__599 t10; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t13; + struct mem_Allocator_VTable__602 const *const *t14; + struct mem_Allocator_VTable__602 const *t15; + void (*const *t16)(void *, nav__9015_52, uint8_t, uintptr_t); + void (*t17)(void *, nav__9015_52, uint8_t, uintptr_t); + void *t18; + bool t5; + uint8_t t12; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = mem_sliceAsBytes__anon_8383__9017(a1); + t3 = t2.len; + t4 = t3; + t5 = t4 == UINT64_C(0); + if (t5) { + return; } - goto zig_block_5; + goto zig_block_0; - zig_block_5:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8911(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, nav__8911_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t9; - nav__8911_66 t10; - nav__8911_66 t11; - nav__8911_66 const *t12; - nav__8911_69 t13; - nav__8911_69 t14; - nav__8911_69 const *t15; - nav__8911_72 t16; - nav__8911_72 t17; - nav__8911_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__8911_77 t20; - nav__8911_77 t55; - nav__8911_77 t21; - nav__8911_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t54; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u16_29__7101 *t35; - uint16_t *t36; - uint32_t *const *t38; - uint32_t *t39; - bool *t41; - nav__8911_42 **t42; - nav__8911_42 *const *t43; - nav__8911_42 *t44; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **t45; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t46; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t47; - uintptr_t *t48; - nav__8911_42 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t40; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t52; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t57; - uint32_t t23; - uint32_t t49; - struct array_hash_map_IndexHeader__886 t32; - struct array_hash_map_Index_28u16_29__7101 t34; - struct array_hash_map_Index_28u16_29__7101 t33; - uint16_t t37; - uint16_t t53; - uint16_t t27; - uint16_t t56; - bool t30; - bool t50; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t7); - t11 = t10; - t12 = (nav__8911_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t7); - t14 = t13; - t15 = (nav__8911_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t7); - t17 = t16; - t18 = (nav__8911_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t19); - t21 = t20; - t22 = (nav__8911_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT16_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u16_29_isEmpty__8825(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint16_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint16_t *)&t35->entry_index; - t37 = (uint16_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t25]; - (*t39) = t23; - t41 = (bool *)&t40.found_existing; - (*t41) = false; - t42 = (nav__8911_42 **)&t40.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8911_42 *)&t44[t25]; - (*t42) = t44; - t45 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t40.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t47[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t40.index; - (*t48) = t25; - return t40; +zig_block_0:; + t6 = t2.ptr; + t7 = (uint8_t *)t6; + t8 = t7; + t9 = (uint8_t *const *)&t8; + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + t10 = (*t1); + t7 = (*t9); + t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul * sizeof(uint8_t))); + t2.ptr = t7; + t2.len = t3; + memcpy(&t11, &t2, sizeof(nav__9015_52)); + t12 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t3 = (uintptr_t)zig_return_address(); + t13 = t10; + t1 = (struct mem_Allocator__599 const *)&t13; + t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t15 = (*t14); + t16 = (void (*const *)(void *, nav__9015_52, uint8_t, uintptr_t))&t15->free; + t17 = (*t16); + t18 = t10.ptr; + t17(t18, t11, t12, t3); + return; +} + +static nav__9016_39 mem_Allocator_allocWithSizeAndAlignment__anon_8376__9016( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uintptr_t t2; + uintptr_t t5; + nav__9016_49 t3; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + nav__9016_39 t7; + bool t4; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = math_mul__anon_3766__7989((uintptr_t)16ul, a1); + t4 = t3.error == UINT16_C(0); + if (t4) { + t5 = t3.payload; + t2 = t5; + goto zig_block_0; } - goto zig_block_2; + return (nav__9016_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t49 = t10.ptr[t24]; - t30 = t23 == t49; - if (t30) { - t24 = (uintptr_t)t37; - t51 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t51, t24); - t50 = t30; - goto zig_block_4; - } - t50 = false; - goto zig_block_4; +zig_block_0:; + t6 = (*t1); + t7 = mem_Allocator_allocBytesWithAlignment__anon_3158__5094(t6, t2, a2); + return t7; +} - zig_block_4:; - if (t50) { - t41 = (bool *)&t52.found_existing; - (*t41) = true; - t42 = (nav__8911_42 **)&t52.key_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t13 = (*t15); - t44 = &t13.ptr[t25]; - (*t42) = t44; - t45 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t52.value_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t16 = (*t18); - t47 = &t16.ptr[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t52.index; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - (*t48) = t25; - return t52; +static nav__9017_39 mem_sliceAsBytes__anon_8383__9017(nav__9017_43 const a0) { + uintptr_t t0; + uint64_t t1; + nav__9017_41 *t4; + uint8_t *t5; + uint8_t *t6; + uint8_t *const *t7; + nav__9017_39 t8; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; } - goto zig_block_3; + t3 = false; + goto zig_block_1; - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t53 = t27; - t30 = t37 < t53; - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t5); - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t24]; - (*t39) = t23; - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint16_t *)&t35->entry_index; - t53 = (uint16_t)t24; - (*t36) = t53; - t36 = (uint16_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t34 = t33; - t53 = t34.distance_from_start_index; - t27 = t53; - t34 = t33; - t53 = t34.entry_index; - t56 = t53; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - zig_loop_200: - t54 = t26; - t29 = t54; - t28 = t25; - t30 = t29 != t28; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t54 = t26; - t54 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t54); - t31 = t54; - t54 = t31; - t34 = t20.ptr[t54]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u16_29_isEmpty__8825(t34); - if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint16_t *)&t35->entry_index; - t53 = t56; - (*t36) = t53; - t36 = (uint16_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t41 = (bool *)&t57.found_existing; - (*t41) = false; - t42 = (nav__8911_42 **)&t57.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8911_42 *)&t44[t24]; - (*t42) = t44; - t45 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t57.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t47[t24]; - (*t45) = t47; - t48 = (uintptr_t *)&t57.index; - (*t48) = t24; - return t57; - } - goto zig_block_8; +zig_block_1:; + if (t3) { + return (nav__9017_39){ + (uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } + goto zig_block_0; - zig_block_8:; - t34 = t33; - t53 = t34.distance_from_start_index; - t37 = t27; - t30 = t53 < t37; - if (t30) { - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint16_t *)&t35->entry_index; - t37 = t56; - (*t36) = t37; - t36 = (uint16_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t34 = t33; - t37 = t34.entry_index; - t56 = t37; - t34 = t33; - t37 = t34.distance_from_start_index; - t27 = t37; - goto zig_block_9; - } - goto zig_block_9; +zig_block_0:; + t4 = a0.ptr; + t5 = (uint8_t *)t4; + t6 = t5; + t7 = (uint8_t *const *)&t6; + t0 = a0.len; + t0 = t0 * (uintptr_t)16ul; + t5 = (*t7); + t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint8_t))); + t8.ptr = t5; + t8.len = t0; + return t8; +} - zig_block_9:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - goto zig_block_7; - } - goto zig_block_6; +uint8_t c_instrument_hooks_write_environment__254( + struct InstrumentHooks *const a0, int32_t const a1) { + struct InstrumentHooks *t1; + struct InstrumentHooks *t2; + struct InstrumentHooks *const *t3; + struct environment_root_Environment__559 *t4; + bool t0; + uint8_t t5; + t0 = a0 != NULL; + if (t0) { + t1 = a0; + t2 = t1; + t3 = (struct InstrumentHooks *const *)&t2; + t1 = (*t3); + t4 = (struct environment_root_Environment__559 *)&t1->environment; + t5 = environment_root_Environment_writeEnvironment__776(t4, a1); + return t5; + } + goto zig_block_0; - zig_block_7:; - goto zig_loop_200; +zig_block_0:; + return UINT8_C(0); +} - zig_block_6:; - zig_unreachable(); +static uint16_t environment_linked_libraries_root_LinkedLibraries_collect__3634( + struct environment_linked_libraries_root_LinkedLibraries__843 *const a0) { + struct environment_linked_libraries_root_LinkedLibraries__843 *const *t1; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t3; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t4; + nav__3634_50 t5; + uintptr_t t6; + uintptr_t t7; + uintptr_t t2; + uint64_t t8; + uint64_t t9; + struct environment_linked_libraries_root_LibraryInfo__940 t11; + struct mem_Allocator__599 *t12; + struct mem_Allocator__599 t13; + struct environment_linked_libraries_root_LinkedLibraries__843 *t14; + struct environment_linked_libraries_root_LinkedLibraries__843 *t0; + void *t15; + int t16; + int32_t t17; + bool t10; + t0 = a0; + t1 = (struct environment_linked_libraries_root_LinkedLibraries__843 *const + *)&t0; + t2 = (uintptr_t)0ul; + t3 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *)&a0->libraries; + t4 = (*t3); + t5 = t4.items; + t6 = t5.len; +zig_loop_13: + t7 = t2; + t8 = t7; + t9 = t6; + t10 = t8 < t9; + if (t10) { + t11 = t5.ptr[t7]; + t12 = (struct mem_Allocator__599 *)&a0->allocator; + t13 = (*t12); + environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3632( + t13, t11); + goto zig_block_1; } - goto zig_block_5; + goto zig_block_0; - zig_block_5:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8912(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, nav__8912_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t9; - nav__8912_66 t10; - nav__8912_66 t11; - nav__8912_66 const *t12; - nav__8912_69 t13; - nav__8912_69 t14; - nav__8912_69 const *t15; - nav__8912_72 t16; - nav__8912_72 t17; - nav__8912_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__8912_77 t20; - nav__8912_77 t53; - nav__8912_77 t21; - nav__8912_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t52; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u32_29__7105 *t35; - uint32_t *t36; - uint32_t *const *t38; - bool *t40; - nav__8912_42 **t41; - nav__8912_42 *const *t42; - nav__8912_42 *t43; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **t44; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *const *t45; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t46; - uintptr_t *t47; - nav__8912_42 t50; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t39; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7709 t55; - uint32_t t23; - uint32_t t37; - uint32_t t48; - uint32_t t27; - uint32_t t54; - struct array_hash_map_IndexHeader__886 t32; - struct array_hash_map_Index_28u32_29__7105 t34; - struct array_hash_map_Index_28u32_29__7105 t33; - bool t30; - bool t49; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t7); - t11 = t10; - t12 = (nav__8912_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t7); - t14 = t13; - t15 = (nav__8912_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8721(t7); - t17 = t16; - t18 = (nav__8912_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t19); - t21 = t20; - t22 = (nav__8912_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT32_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u32_29_isEmpty__8830(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint32_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint32_t *)&t35->entry_index; - t37 = (uint32_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t36 = (*t38); - t36 = (uint32_t *)&t36[t25]; - (*t36) = t23; - t40 = (bool *)&t39.found_existing; - (*t40) = false; - t41 = (nav__8912_42 **)&t39.key_ptr; - t42 = &t15->ptr; - t43 = (*t42); - t43 = (nav__8912_42 *)&t43[t25]; - (*t41) = t43; - t44 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t39.value_ptr; - t45 = &t18->ptr; - t46 = (*t45); - t46 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t46[t25]; - (*t44) = t46; - t47 = (uintptr_t *)&t39.index; - (*t47) = t25; - return t39; +zig_block_1:; + t7 = t7 + (uintptr_t)1ul; + t2 = t7; + goto zig_loop_13; + +zig_block_0:; + t14 = (*t1); + t3 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *)&t14->libraries; + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_clearRetainingCapaci__4369( + t3); + t15 = (void *)a0; + t16 = dl_iterate_phdr( + &environment_linked_libraries_root_LinkedLibraries_collect__struct_8426_callback__9473, + t15); + t17 = t16; + t10 = t17 != INT32_C(0); + if (t10) { + return zig_error_DlIteratePhdrFailed; } goto zig_block_2; - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t48 = t10.ptr[t24]; - t30 = t23 == t48; - if (t30) { - t24 = (uintptr_t)t37; - t50 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t50, t24); - t49 = t30; - goto zig_block_4; - } - t49 = false; - goto zig_block_4; +zig_block_2:; + return 0; +} - zig_block_4:; - if (t49) { - t40 = (bool *)&t51.found_existing; - (*t40) = true; - t41 = (nav__8912_42 **)&t51.key_ptr; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - t13 = (*t15); - t43 = &t13.ptr[t25]; - (*t41) = t43; - t44 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t51.value_ptr; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - t16 = (*t18); - t46 = &t16.ptr[t25]; - (*t44) = t46; - t47 = (uintptr_t *)&t51.index; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - (*t47) = t25; - return t51; +static uint16_t environment_root_Environment_populateLinkedLibraries__775( + struct environment_root_Environment__559 *const a0) { + struct environment_root_Environment__559 *const *t1; + struct environment_root_Environment__559 *t3; + struct environment_root_Environment__559 *t0; + struct environment_root_EnvironmentJson__839 *t4; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *t5; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t6; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t2; + nav__775_87 t9; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601 + t11; + struct mem_Allocator__599 *t12; + struct mem_Allocator__599 t13; + nav__775_44 *t14; + nav__775_44 t15; + nav__775_44 t26; + nav__775_44 t27; + struct environment_linked_libraries_root_LinkedLibraries__843 *t17; + struct environment_linked_libraries_root_LinkedLibraries__843 t18; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t19; + nav__775_76 t20; + uintptr_t t21; + uintptr_t t22; + uintptr_t t16; + uint64_t t23; + uint64_t t24; + struct environment_linked_libraries_root_LibraryInfo__940 t25; + nav__775_95 t28; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t30; + nav__775_99 t31; + nav__775_97 t32; + struct environment_linked_libraries_root_LibraryEntry__858 *t33; + uint16_t t29; + bool t10; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t5 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *)&t4->linked_libraries; + t6 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *)&t5->map; + t7 = (*t6); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4177( + t7); + t2 = t8; +zig_loop_14: + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8710( + &t2); + t10 = t9.is_null != true; + if (t10) { + t11 = t9.payload; + t3 = (*t1); + t12 = (struct mem_Allocator__599 *)&t3->allocator; + t13 = (*t12); + t14 = t11.key_ptr; + t15 = (*t14); + mem_Allocator_free__anon_3438__7838(t13, t15); + goto zig_block_1; } - goto zig_block_3; + goto zig_block_0; - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t48 = t27; - t30 = t37 < t48; - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3930(t5); - t38 = &t12->ptr; - t36 = (*t38); - t36 = (uint32_t *)&t36[t24]; - (*t36) = t23; - t52 = t31; - t53 = (*t22); - t35 = &t53.ptr[t52]; - t36 = (uint32_t *)&t35->entry_index; - t23 = (uint32_t)t24; - (*t36) = t23; - t36 = (uint32_t *)&t35->distance_from_start_index; - t23 = t27; - (*t36) = t23; - t34 = t33; - t23 = t34.distance_from_start_index; - t27 = t23; - t34 = t33; - t23 = t34.entry_index; - t54 = t23; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t23 = t27; - t23 = t23 + UINT32_C(1); - t27 = t23; - zig_loop_200: - t52 = t26; - t29 = t52; - t28 = t25; - t30 = t29 != t28; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t52 = t26; - t52 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t52); - t31 = t52; - t52 = t31; - t34 = t20.ptr[t52]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u32_29_isEmpty__8830(t34); - if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint32_t *)&t35->entry_index; - t23 = t54; - (*t36) = t23; - t36 = (uint32_t *)&t35->distance_from_start_index; - t23 = t27; - (*t36) = t23; - t40 = (bool *)&t55.found_existing; - (*t40) = false; - t41 = (nav__8912_42 **)&t55.key_ptr; - t42 = &t15->ptr; - t43 = (*t42); - t43 = (nav__8912_42 *)&t43[t24]; - (*t41) = t43; - t44 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 **)&t55.value_ptr; - t45 = &t18->ptr; - t46 = (*t45); - t46 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *)&t46[t24]; - (*t44) = t46; - t47 = (uintptr_t *)&t55.index; - (*t47) = t24; - return t55; +zig_block_1:; + goto zig_loop_14; + +zig_block_0:; + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t5 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *)&t4->linked_libraries; + t6 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *)&t5->map; + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4172( + t6); + t16 = (uintptr_t)0ul; + t17 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&a0 + ->libs; + t18 = (*t17); + t19 = t18.libraries; + t20 = t19.items; + t21 = t20.len; +zig_loop_46: + t22 = t16; + t23 = t22; + t24 = t21; + t10 = t23 < t24; + if (t10) { + t25 = t20.ptr[t22]; + t26 = t25.soname; + t10 = t26.ptr != NULL; + if (t10) { + t27 = t26; + t15 = t27; + goto zig_block_4; } - goto zig_block_8; + t26 = t25.path; + t15 = t26; + goto zig_block_4; - zig_block_8:; - t34 = t33; - t23 = t34.distance_from_start_index; - t48 = t27; - t30 = t23 < t48; - if (t30) { - t52 = t31; - t53 = (*t22); - t35 = &t53.ptr[t52]; - t36 = (uint32_t *)&t35->entry_index; - t48 = t54; - (*t36) = t48; - t36 = (uint32_t *)&t35->distance_from_start_index; - t48 = t27; - (*t36) = t48; - t34 = t33; - t48 = t34.entry_index; - t54 = t48; - t34 = t33; - t48 = t34.distance_from_start_index; - t27 = t48; - goto zig_block_9; + zig_block_4:; + t3 = (*t1); + t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; + t5 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *)&t4->linked_libraries; + t6 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *)&t5->map; + t12 = (struct mem_Allocator__599 *)&a0->allocator; + t13 = (*t12); + t28 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4179( + t6, t13, t15); + if (t28.error) { + t29 = t28.error; + return t29; } - goto zig_block_9; + t30 = t28.payload; + t14 = t30.key_ptr; + t3 = (*t1); + t12 = (struct mem_Allocator__599 *)&t3->allocator; + t13 = (*t12); + t31 = mem_Allocator_dupe__anon_7733__8902(t13, t15); + if (t31.error) { + t29 = t31.error; + return t29; + } + t32 = t31.payload; + memcpy(&t15, &t32, sizeof(nav__775_44)); + (*t14) = t15; + t33 = t30.value_ptr; + t14 = (nav__775_44 *)&t33->path; + t15 = t25.path; + (*t14) = t15; + t14 = (nav__775_44 *)&t33->build_id; + t15 = t25.build_id; + (*t14) = t15; + goto zig_block_3; + } + goto zig_block_2; - zig_block_9:; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t23 = t27; - t23 = t23 + UINT32_C(1); - t27 = t23; - goto zig_block_7; - } - goto zig_block_6; +zig_block_3:; + t22 = t22 + (uintptr_t)1ul; + t16 = t22; + goto zig_loop_46; - zig_block_7:; - goto zig_loop_200; +zig_block_2:; + return 0; +} - zig_block_6:; - zig_unreachable(); +static uint8_t environment_root_Environment_writeEnvironment__776( + struct environment_root_Environment__559 *const a0, int32_t const a1) { + struct environment_root_Environment__559 *const *t1; + struct environment_root_Environment__559 *t2; + struct environment_root_Environment__559 *t0; + struct environment_linked_libraries_root_LinkedLibraries__843 *t3; + struct environment_root_EnvironmentJson__839 *t6; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t9; + uintptr_t t10; + uint64_t t11; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *t13; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t14; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t15; + uint8_t const *t16; + uint8_t const *t17; + uint8_t const *t18; + nav__776_83 t19; + nav__776_86 t21; + nav__776_86 t22; + nav__776_86 t28; + nav__776_89 t23; + nav__776_91 t24; + struct mem_Allocator__599 *t25; + struct mem_Allocator__599 t26; + struct environment_root_EnvironmentJson__839 t27; + struct fs_File__646 const *t33; + struct fs_File__646 t29; + struct fs_File__646 t31; + struct fs_File__646 t32; + nav__776_100 t30; + uint16_t t4; + bool t5; + bool t12; + uint8_t t20[512]; + t0 = a0; + t1 = (struct environment_root_Environment__559 *const *)&t0; + t2 = (*t1); + t3 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&t2 + ->libs; + t4 = environment_linked_libraries_root_LinkedLibraries_collect__3634(t3); + t5 = t4 == UINT16_C(0); + if (t5) { + goto zig_block_0; } - goto zig_block_5; + logger_err__anon_8441__9474(); + goto zig_block_0; - zig_block_5:; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t37 = t27; - t37 = t37 + UINT32_C(1); - t27 = t37; +zig_block_0:; + t2 = (*t1); + t4 = environment_root_Environment_populateLinkedLibraries__775(t2); + t5 = t4 == UINT16_C(0); + if (t5) { + goto zig_block_1; + } + logger_err__anon_8468__9475(); goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4139(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *t1; - struct mem_Allocator__599 const *t3; - uintptr_t *t4; - uintptr_t t5; - uint64_t t6; - uint64_t t7; - struct mem_Allocator__599 t9; - struct mem_Allocator__599 t2; - nav__4139_54 t10; - nav__4139_52 t12; - nav__4139_52 t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t13; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t14; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t18; - uint8_t **t16; - uint8_t *t17; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t19; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t20; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t22; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t21; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t23; - nav__4139_62 t24; - nav__4139_62 t25; - uint32_t *t26; - nav__4139_67 t27; - nav__4139_67 t28; - nav__4139_65 *t29; - nav__4139_72 t30; - nav__4139_72 t31; - struct environment_root_EnvironmentValue__850 *t32; - uint16_t t11; - bool t8; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t6 = a2; - t7 = t5; - t8 = t6 >= t7; - debug_assert__180(t8); - t9 = (*t3); - t5 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4146(a2); - t10 = mem_Allocator_alignedAlloc__anon_7918__8922(t9, t5); - if (t10.error) { - t11 = t10.error; - return t11; - } - t12 = t10.payload; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t7 = t5; - t8 = t7 == UINT64_C(0); - if (t8) { - t9 = (*t3); - t13 = (*t1); - t14 = (*t13); - t15 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147(t14); - mem_Allocator_free__anon_7017__8813(t9, t15); - t13 = (*t1); - t16 = (uint8_t **)&t13->bytes; - t17 = t12.ptr; - (*t16) = t17; - t13 = (*t1); - t4 = (uintptr_t *)&t13->capacity; - (*t4) = a2; - return 0; - } - goto zig_block_0; - - zig_block_0:; - t17 = t12.ptr; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t14.bytes = t17; - t14.len = t5; - t14.capacity = a2; - t18 = t14; - t13 = (*t1); - t14 = (*t13); - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t14); - t20 = t19; - t21 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t20; - t14 = t18; - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t14); - t22 = t19; - t23 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t22; - t19 = (*t23); - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t19); - t19 = (*t21); - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t19); - t26 = t25.ptr; - if (t24.len != 0) memcpy(t24.ptr, t26, t24.len * sizeof(uint32_t)); - t19 = (*t23); - t27 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t19); - t19 = (*t21); - t28 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t19); - t29 = t28.ptr; - if (t27.len != 0) memcpy(t27.ptr, t29, t27.len * sizeof(nav__4139_65)); - t19 = (*t23); - t30 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t19); - t19 = (*t21); - t31 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t19); - t32 = t31.ptr; - if (t30.len != 0) memcpy(t30.ptr, t32, t30.len * sizeof(struct environment_root_EnvironmentValue__850)); - t9 = (*t3); - t13 = (*t1); - t14 = (*t13); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4147(t14); - mem_Allocator_free__anon_7017__8813(t9, t12); - t14 = t18; - (*a0) = t14; - return 0; -} - -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4135(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t0; - uint16_t t8; - uint16_t t9; - bool t6; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a2; - t6 = t4 >= t5; - if (t6) { - return 0; - } - goto zig_block_0; - - zig_block_0:; - t7 = (*t1); - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t3 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4137(t3, a2); - t8 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4139(t7, a1, t3); - memcpy(&t9, &t8, sizeof(uint16_t)); - return t9; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__4101(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct array_hash_map_IndexHeader__886 t5; - uint8_t t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = (*t4); - t6 = array_hash_map_IndexHeader_capacityIndexType__3959(t5); - switch (t6) { - case UINT8_C(0): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8935(t7, a1); - return; - } - case UINT8_C(1): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8936(t7, a1); - return; - } - case UINT8_C(2): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8937(t7, a1); - return; - } - default: zig_unreachable(); - } -} - -static uint32_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(nav__8913_40 const a0) { - uint32_t t0; - t0 = array_hash_map_StringContext_hash__3759(a0); - return t0; -} - -static nav__8914_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - uint32_t *t5; - uint32_t *t6; - uint32_t *const *t7; - nav__8914_39 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__8914_39){(uint32_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)0ul]; - t5 = (uint32_t *)t4; - t6 = t5; - t7 = (uint32_t *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (uint32_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint32_t))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static bool array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(nav__8915_40 const a0, nav__8915_40 const a1, uintptr_t const a2) { - bool t0; - t0 = array_hash_map_StringContext_eql__3760(a0, a1, a2); - return t0; -} - -static nav__8916_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8916(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8916_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__8916_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - nav__8916_38 t8; - bool t9; - struct array_hash_map_Index_28u8_29__7097 t11; - uint8_t t12; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8938(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__8916_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static nav__8917_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8917(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8917_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__8917_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - nav__8917_38 t8; - struct array_hash_map_Index_28u16_29__7101 t11; - uint16_t t12; - bool t9; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8939(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__8917_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static nav__8918_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8918(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8918_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__8918_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - nav__8918_38 t8; - struct array_hash_map_Index_28u32_29__7105 t11; - uint32_t t12; - bool t9; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8940(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__8918_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uintptr_t t4; - uint64_t t5; - uint64_t t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t0; - bool t7; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *const *)&t0; - t2 = (uintptr_t *)&a0->len; - t3 = (*t2); - t2 = (uintptr_t *)&a0->capacity; - t4 = (*t2); - t5 = t3; - t6 = t4; - t7 = t5 < t6; - debug_assert__180(t7); - t2 = (uintptr_t *)&a0->len; - t4 = (*t2); - t8 = (*t1); - t2 = (uintptr_t *)&t8->len; - t3 = (*t2); - t3 = t3 + (uintptr_t)1ul; - (*t2) = t3; - return t4; -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8919(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, nav__8919_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t9; - nav__8919_66 t10; - nav__8919_66 t11; - nav__8919_66 const *t12; - nav__8919_69 t13; - nav__8919_69 t14; - nav__8919_69 const *t15; - nav__8919_72 t16; - nav__8919_72 t17; - nav__8919_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__8919_77 t20; - nav__8919_77 t55; - nav__8919_77 t21; - nav__8919_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t54; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u8_29__7097 *t35; - uint8_t *t36; - uint32_t *const *t38; - uint32_t *t39; - bool *t41; - nav__8919_42 **t42; - nav__8919_42 *const *t43; - nav__8919_42 *t44; - struct environment_root_EnvironmentValue__850 **t45; - struct environment_root_EnvironmentValue__850 *const *t46; - struct environment_root_EnvironmentValue__850 *t47; - uintptr_t *t48; - nav__8919_42 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t40; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t52; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t57; - uint32_t t23; - uint32_t t49; - struct array_hash_map_IndexHeader__886 t32; - bool t30; - bool t50; - struct array_hash_map_Index_28u8_29__7097 t34; - struct array_hash_map_Index_28u8_29__7097 t33; - uint8_t t37; - uint8_t t53; - uint8_t t27; - uint8_t t56; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t7); - t11 = t10; - t12 = (nav__8919_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t7); - t14 = t13; - t15 = (nav__8919_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t7); - t17 = t16; - t18 = (nav__8919_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t19); - t21 = t20; - t22 = (nav__8919_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT8_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u8_29_isEmpty__8820(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint8_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint8_t *)&t35->entry_index; - t37 = (uint8_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t25]; - (*t39) = t23; - t41 = (bool *)&t40.found_existing; - (*t41) = false; - t42 = (nav__8919_42 **)&t40.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8919_42 *)&t44[t25]; - (*t42) = t44; - t45 = (struct environment_root_EnvironmentValue__850 **)&t40.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t40.index; - (*t48) = t25; - return t40; + +zig_block_1:; + t2 = (*t1); + t6 = (struct environment_root_EnvironmentJson__839 *)&t2->data; + t7 = + (struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + *)&t6->integration_environment; + t8 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + *)&t7->map; + t9 = (*t8); + t10 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3784( + t9); + t11 = t10; + t5 = t11 == UINT64_C(0); + if (t5) { + t2 = (*t1); + t6 = (struct environment_root_EnvironmentJson__839 *)&t2->data; + t13 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + *)&t6->linked_libraries; + t14 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *)&t13->map; + t15 = (*t14); + t10 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4174( + t15); + t11 = t10; + t5 = t11 == UINT64_C(0); + t12 = t5; + goto zig_block_3; } - goto zig_block_2; + t12 = false; + goto zig_block_3; - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t49 = t10.ptr[t24]; - t30 = t23 == t49; - if (t30) { - t24 = (uintptr_t)t37; - t51 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t51, t24); - t50 = t30; - goto zig_block_4; - } - t50 = false; - goto zig_block_4; +zig_block_3:; + if (t12) { + return UINT8_C(0); + } + goto zig_block_2; - zig_block_4:; - if (t50) { - t41 = (bool *)&t52.found_existing; - (*t41) = true; - t42 = (nav__8919_42 **)&t52.key_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t13 = (*t15); - t44 = &t13.ptr[t25]; - (*t42) = t44; - t45 = (struct environment_root_EnvironmentValue__850 **)&t52.value_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t16 = (*t18); - t47 = &t16.ptr[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t52.index; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - (*t48) = t25; - return t52; +zig_block_2:; + t17 = getenv((uint8_t const *)&__anon_8481); + t12 = t17 != NULL; + if (t12) { + t18 = t17; + t16 = t18; + goto zig_block_4; } - goto zig_block_3; + return UINT8_C(0); - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t53 = t27; - t30 = t37 < t53; - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t5); - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t24]; - (*t39) = t23; - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint8_t *)&t35->entry_index; - t53 = (uint8_t)t24; - (*t36) = t53; - t36 = (uint8_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t34 = t33; - t53 = t34.distance_from_start_index; - t27 = t53; - t34 = t33; - t53 = t34.entry_index; - t56 = t53; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; - zig_loop_200: - t54 = t26; - t29 = t54; - t28 = t25; - t30 = t29 != t28; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t54 = t26; - t54 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t54); - t31 = t54; - t54 = t31; - t34 = t20.ptr[t54]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u8_29_isEmpty__8820(t34); - if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint8_t *)&t35->entry_index; - t53 = t56; - (*t36) = t53; - t36 = (uint8_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t41 = (bool *)&t57.found_existing; - (*t41) = false; - t42 = (nav__8919_42 **)&t57.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8919_42 *)&t44[t24]; - (*t42) = t44; - t45 = (struct environment_root_EnvironmentValue__850 **)&t57.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t24]; - (*t45) = t47; - t48 = (uintptr_t *)&t57.index; - (*t48) = t24; - return t57; - } - goto zig_block_8; +zig_block_4:; + t19 = mem_span__anon_8491__9477(t16); + t22.ptr = &t20[(uintptr_t)0ul]; + t22.len = (uintptr_t)512ul; + t23.f0 = t19; + t23.f1 = a1; + t24 = fmt_bufPrint__anon_8500__9478(t22, t23); + t12 = t24.error == UINT16_C(0); + if (t12) { + t22 = t24.payload; + t21 = t22; + goto zig_block_5; + } + logger_err__anon_8507__9479(); + return UINT8_C(1); - zig_block_8:; - t34 = t33; - t53 = t34.distance_from_start_index; - t37 = t27; - t30 = t53 < t37; - if (t30) { - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint8_t *)&t35->entry_index; - t37 = t56; - (*t36) = t37; - t36 = (uint8_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t34 = t33; - t37 = t34.entry_index; - t56 = t37; - t34 = t33; - t37 = t34.distance_from_start_index; - t27 = t37; - goto zig_block_9; - } - goto zig_block_9; +zig_block_5:; + t25 = (struct mem_Allocator__599 *)&a0->allocator; + t26 = (*t25); + t6 = (struct environment_root_EnvironmentJson__839 *)&a0->data; + t27 = (*t6); + t24 = json_stringify_stringifyAlloc__anon_8522__9501( + t26, t27, + (struct json_stringify_StringifyOptions__8511){UINT8_C(2), true, false, + false, false}); + t12 = t24.error == UINT16_C(0); + if (t12) { + t28 = t24.payload; + t22 = t28; + goto zig_block_6; + } + logger_err__anon_8529__9502(); + return UINT8_C(1); - zig_block_9:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; +zig_block_6:; + memcpy(&t19, &t21, sizeof(nav__776_83)); + t30 = fs_createFileAbsolute__1229( + t19, (struct fs_File_CreateFlags__8531){(uintptr_t)438ul, false, true, + false, UINT8_C(0), false}); + t12 = t30.error == UINT16_C(0); + if (t12) { + t31 = t30.payload; + t29 = t31; goto zig_block_7; - } - goto zig_block_6; + } + logger_err__anon_8548__9503(); + t2 = (*t1); + t25 = (struct mem_Allocator__599 *)&t2->allocator; + t26 = (*t25); + mem_Allocator_free__anon_4161__8246(t26, t22); + return UINT8_C(1); + +zig_block_7:; + t32 = t29; + t33 = (struct fs_File__646 const *)&t32; + t29 = (*t33); + memcpy(&t19, &t22, sizeof(nav__776_83)); + t4 = fs_File_writeAll__1317(t29, t19); + t12 = t4 == UINT16_C(0); + if (t12) { + goto zig_block_8; + } + logger_err__anon_8548__9503(); + t29 = (*t33); + fs_File_close__1263(t29); + t2 = (*t1); + t25 = (struct mem_Allocator__599 *)&t2->allocator; + t26 = (*t25); + mem_Allocator_free__anon_4161__8246(t26, t22); + return UINT8_C(1); + +zig_block_8:; + t29 = (*t33); + fs_File_close__1263(t29); + t2 = (*t1); + t25 = (struct mem_Allocator__599 *)&t2->allocator; + t26 = (*t25); + mem_Allocator_free__anon_4161__8246(t26, t22); + return UINT8_C(0); +} - zig_block_7:; - goto zig_loop_200; +static void +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_clearRetainingCapaci__4369( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + a0) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *t1; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t2; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t0; + nav__4369_44 *t3; + uintptr_t *t4; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *)&t0; + t2 = (*t1); + t3 = (nav__4369_44 *)&t2->items; + t4 = &t3->len; + (*t4) = (uintptr_t)0ul; + return; +} - zig_block_6:; - zig_unreachable(); +static int +environment_linked_libraries_root_LinkedLibraries_collect__struct_8426_callback__9473( + struct os_linux_dl_phdr_info__8403 *const a0, uintptr_t const a1, + void *const a2) { + struct environment_linked_libraries_root_LinkedLibraries__843 *t0; + struct environment_linked_libraries_root_LinkedLibraries__843 *t1; + struct environment_linked_libraries_root_LinkedLibraries__843 *const *t2; + uint8_t const *t3; + uint8_t const *t5; + uint8_t const *t7; + uint8_t const **t4; + nav__9473_50 t8; + nav__9473_50 t11; + uintptr_t t9; + uint64_t t10; + uintptr_t *t12; + struct elf_Elf64_Phdr__8411 **t13; + struct elf_Elf64_Phdr__8411 *t14; + struct elf_Elf64_Phdr__8411 const *t15; + uint16_t *t16; + struct environment_linked_libraries_elf_view__8561 t18; + struct environment_linked_libraries_root_LibraryInfo__940 t19; + struct environment_linked_libraries_root_LibraryInfo__940 t23; + struct mem_Allocator__599 *t20; + struct mem_Allocator__599 t21; + nav__9473_75 t22; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t24; + uint16_t t17; + bool t6; + (void)a1; + t0 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)a2; + t1 = t0; + t2 = (struct environment_linked_libraries_root_LinkedLibraries__843 *const + *)&t1; + t4 = (uint8_t const **)&a0->name; + t5 = (*t4); + t6 = t5 != NULL; + if (t6) { + t7 = t5; + t3 = t7; + goto zig_block_0; } - goto zig_block_5; + return 0; - zig_block_5:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; +zig_block_0:; + t8 = mem_span__anon_8491__9477(t3); + t9 = t8.len; + t10 = t9; + t6 = t10 == UINT64_C(0); + if (t6) { + return 0; + } goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8920(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, nav__8920_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t9; - nav__8920_66 t10; - nav__8920_66 t11; - nav__8920_66 const *t12; - nav__8920_69 t13; - nav__8920_69 t14; - nav__8920_69 const *t15; - nav__8920_72 t16; - nav__8920_72 t17; - nav__8920_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__8920_77 t20; - nav__8920_77 t55; - nav__8920_77 t21; - nav__8920_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t54; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u16_29__7101 *t35; - uint16_t *t36; - uint32_t *const *t38; - uint32_t *t39; - bool *t41; - nav__8920_42 **t42; - nav__8920_42 *const *t43; - nav__8920_42 *t44; - struct environment_root_EnvironmentValue__850 **t45; - struct environment_root_EnvironmentValue__850 *const *t46; - struct environment_root_EnvironmentValue__850 *t47; - uintptr_t *t48; - nav__8920_42 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t40; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t52; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t57; - uint32_t t23; - uint32_t t49; - struct array_hash_map_IndexHeader__886 t32; - struct array_hash_map_Index_28u16_29__7101 t34; - struct array_hash_map_Index_28u16_29__7101 t33; - uint16_t t37; - uint16_t t53; - uint16_t t27; - uint16_t t56; - bool t30; - bool t50; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t7); - t11 = t10; - t12 = (nav__8920_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t7); - t14 = t13; - t15 = (nav__8920_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t7); - t17 = t16; - t18 = (nav__8920_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t19); - t21 = t20; - t22 = (nav__8920_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT16_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u16_29_isEmpty__8825(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint16_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint16_t *)&t35->entry_index; - t37 = (uint16_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t25]; - (*t39) = t23; - t41 = (bool *)&t40.found_existing; - (*t41) = false; - t42 = (nav__8920_42 **)&t40.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8920_42 *)&t44[t25]; - (*t42) = t44; - t45 = (struct environment_root_EnvironmentValue__850 **)&t40.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t40.index; - (*t48) = t25; - return t40; + +zig_block_1:; + memcpy(&t11, &t8, sizeof(nav__9473_50)); + t6 = mem_startsWith__anon_8560__9504( + t11, (nav__9473_50){(uint8_t const *)&__anon_8555, (uintptr_t)10ul}); + if (t6) { + return 0; } goto zig_block_2; - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t49 = t10.ptr[t24]; - t30 = t23 == t49; - if (t30) { - t24 = (uintptr_t)t37; - t51 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t51, t24); - t50 = t30; - goto zig_block_4; - } - t50 = false; - goto zig_block_4; - - zig_block_4:; - if (t50) { - t41 = (bool *)&t52.found_existing; - (*t41) = true; - t42 = (nav__8920_42 **)&t52.key_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t13 = (*t15); - t44 = &t13.ptr[t25]; - (*t42) = t44; - t45 = (struct environment_root_EnvironmentValue__850 **)&t52.value_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t16 = (*t18); - t47 = &t16.ptr[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t52.index; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - (*t48) = t25; - return t52; +zig_block_2:; + t12 = (uintptr_t *)&a0->addr; + t9 = (*t12); + t13 = (struct elf_Elf64_Phdr__8411 **)&a0->phdr; + t14 = (*t13); + t15 = (struct elf_Elf64_Phdr__8411 const *)t14; + t16 = (uint16_t *)&a0->phnum; + t17 = (*t16); + t18 = environment_linked_libraries_elf_view_init__9510(t9, t15, t17); + t20 = (struct mem_Allocator__599 *)&t0->allocator; + t21 = (*t20); + memcpy(&t11, &t8, sizeof(nav__9473_50)); + t22 = + environment_linked_libraries_root_LinkedLibraries_extractLibraryInfo__3633( + t21, t18, t11); + t6 = t22.is_null != true; + if (t6) { + t23 = t22.payload; + t19 = t23; + goto zig_block_3; } - goto zig_block_3; + return -1; + +zig_block_3:; + t0 = (*t2); + t24 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *)&t0->libraries; + t17 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_append__4350( + t24, t19); + t6 = t17 == UINT16_C(0); + if (t6) { + goto zig_block_4; + } + return -1; - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t53 = t27; - t30 = t37 < t53; - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t5); - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t24]; - (*t39) = t23; - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint16_t *)&t35->entry_index; - t53 = (uint16_t)t24; - (*t36) = t53; - t36 = (uint16_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t34 = t33; - t53 = t34.distance_from_start_index; - t27 = t53; - t34 = t33; - t53 = t34.entry_index; - t56 = t53; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - zig_loop_200: - t54 = t26; - t29 = t54; - t28 = t25; - t30 = t29 != t28; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t54 = t26; - t54 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t54); - t31 = t54; - t54 = t31; - t34 = t20.ptr[t54]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u16_29_isEmpty__8825(t34); - if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint16_t *)&t35->entry_index; - t53 = t56; - (*t36) = t53; - t36 = (uint16_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t41 = (bool *)&t57.found_existing; - (*t41) = false; - t42 = (nav__8920_42 **)&t57.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__8920_42 *)&t44[t24]; - (*t42) = t44; - t45 = (struct environment_root_EnvironmentValue__850 **)&t57.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_root_EnvironmentValue__850 *)&t47[t24]; - (*t45) = t47; - t48 = (uintptr_t *)&t57.index; - (*t48) = t24; - return t57; - } - goto zig_block_8; +zig_block_4:; + return 0; +} - zig_block_8:; - t34 = t33; - t53 = t34.distance_from_start_index; - t37 = t27; - t30 = t53 < t37; - if (t30) { - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint16_t *)&t35->entry_index; - t37 = t56; - (*t36) = t37; - t36 = (uint16_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t34 = t33; - t37 = t34.entry_index; - t56 = t37; - t34 = t33; - t37 = t34.distance_from_start_index; - t27 = t37; - goto zig_block_9; +static void logger_err__anon_8441__9474(void) { + logger_logWithPrefix__anon_8583__9531(); + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4172( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + void *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t4; + uintptr_t *t5; + struct array_hash_map_IndexHeader__886 **t6; + struct array_hash_map_IndexHeader__886 *t7; + struct array_hash_map_IndexHeader__886 *t9; + struct array_hash_map_IndexHeader__886 *t10; + struct array_hash_map_IndexHeader__886 *const *t11; + nav__4172_57 t14; + uintptr_t t15; + nav__4172_62 t16; + nav__4172_67 t17; + struct array_hash_map_IndexHeader__886 t12; + bool t8; + uint8_t t13; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_lock__3969(t3); + t2 = (*t1); + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t2->entries; + t5 = (uintptr_t *)&t4->len; + (*t5) = (uintptr_t)0ul; + t6 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t7 = (*t6); + t8 = t7 != NULL; + if (t8) { + t9 = t7; + t10 = t9; + t11 = (struct array_hash_map_IndexHeader__886 *const *)&t10; + t9 = (*t11); + t12 = (*t9); + t13 = array_hash_map_IndexHeader_capacityIndexType__3960(t12); + switch (t13) { + case UINT8_C(0): { + t9 = (*t11); + t14 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t9); + for (t15 = (uintptr_t)0ul; t15 != t14.len; ++t15) + ((struct array_hash_map_Index_28u8_29__7119 *)t14.ptr)[t15] = + (struct array_hash_map_Index_28u8_29__7119){UINT8_MAX, + UINT8_C(0xaa)}; + goto zig_block_1; + } + case UINT8_C(1): { + t9 = (*t11); + t16 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t9); + for (t15 = (uintptr_t)0ul; t15 != t16.len; ++t15) + ((struct array_hash_map_Index_28u16_29__7123 *)t16.ptr)[t15] = + (struct array_hash_map_Index_28u16_29__7123){UINT16_MAX, + UINT16_C(0xaaaa)}; + goto zig_block_1; + } + case UINT8_C(2): { + t9 = (*t11); + t17 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t9); + for (t15 = (uintptr_t)0ul; t15 != t17.len; ++t15) + ((struct array_hash_map_Index_28u32_29__7127 *)t17.ptr)[t15] = + (struct array_hash_map_Index_28u32_29__7127){ + UINT32_MAX, UINT32_C(0xaaaaaaaa)}; + goto zig_block_1; + } + default: + zig_unreachable(); } - goto zig_block_9; - zig_block_9:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - goto zig_block_7; - } - goto zig_block_6; + zig_block_1:; + goto zig_block_0; + } + goto zig_block_0; + +zig_block_0:; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return; +} + +static nav__4179_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4179( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct mem_Allocator__599 const a1, nav__4179_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + nav__4179_39 t3; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = (*t1); + t3 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4180( + t2, a1, a2); + return t3; +} + +static void logger_err__anon_8468__9475(void) { + logger_logWithPrefix__anon_8595__9532(); + return; +} + +static uintptr_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3784( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 + t0; + uintptr_t t1; + t0 = a0.entries; + t1 = t0.len; + return t1; +} + +static uintptr_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4174( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t0; + uintptr_t t1; + t0 = a0.entries; + t1 = t0.len; + return t1; +} - zig_block_7:; - goto zig_loop_200; +static nav__9477_39 mem_span__anon_8491__9477(uint8_t const *const a0) { + uint8_t const *const *t1; + uintptr_t t2; + uint8_t const *t3; + uint8_t const *t0; + nav__9477_39 t4; + t0 = a0; + t1 = (uint8_t const *const *)&t0; + t2 = mem_len__anon_8596__9533(a0); + t3 = (*t1); + t3 = (uint8_t const *)(((uintptr_t)t3) + ((uintptr_t)0ul * sizeof(uint8_t))); + t4.ptr = t3; + t4.len = t2; + return t4; +} - zig_block_6:; - zig_unreachable(); +static uint16_t fmt_format__anon_8597__9534(struct io_Writer__4352 const a0, + nav__9534_41 const a1) { + struct io_Writer__4352 const *t1; + nav__9534_40 t2; + struct io_Writer__4352 t4; + struct io_Writer__4352 t0; + int32_t t5; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = a1.f0; + t3 = fmt_formatType__anon_5193__8658( + t2, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; } - goto zig_block_5; + t4 = (*t1); + t3 = io_Writer_writeAll__8277( + t4, (nav__9534_40){(uint8_t const *)&__anon_8632, (uintptr_t)13ul}); + if (t3) { + return t3; + } + t5 = a1.f1; + t3 = fmt_formatType__anon_5859__8685( + t5, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t3) { + return t3; + } + t4 = (*t1); + t3 = io_Writer_writeAll__8277( + t4, (nav__9534_40){(uint8_t const *)&__anon_8649, (uintptr_t)5ul}); + if (t3) { + return t3; + } + return 0; +} - zig_block_5:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8921(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, nav__8921_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t9; - nav__8921_66 t10; - nav__8921_66 t11; - nav__8921_66 const *t12; - nav__8921_69 t13; - nav__8921_69 t14; - nav__8921_69 const *t15; - nav__8921_72 t16; - nav__8921_72 t17; - nav__8921_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__8921_77 t20; - nav__8921_77 t53; - nav__8921_77 t21; - nav__8921_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t52; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u32_29__7105 *t35; - uint32_t *t36; - uint32_t *const *t38; - bool *t40; - nav__8921_42 **t41; - nav__8921_42 *const *t42; - nav__8921_42 *t43; - struct environment_root_EnvironmentValue__850 **t44; - struct environment_root_EnvironmentValue__850 *const *t45; - struct environment_root_EnvironmentValue__850 *t46; - uintptr_t *t47; - nav__8921_42 t50; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t39; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__7720 t55; - uint32_t t23; - uint32_t t37; - uint32_t t48; - uint32_t t27; - uint32_t t54; - struct array_hash_map_IndexHeader__886 t32; - struct array_hash_map_Index_28u32_29__7105 t34; - struct array_hash_map_Index_28u32_29__7105 t33; - bool t30; - bool t49; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t7); - t11 = t10; - t12 = (nav__8921_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t7); - t14 = t13; - t15 = (nav__8921_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8730(t7); - t17 = t16; - t18 = (nav__8921_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t19); - t21 = t20; - t22 = (nav__8921_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT32_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u32_29_isEmpty__8830(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint32_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint32_t *)&t35->entry_index; - t37 = (uint32_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t36 = (*t38); - t36 = (uint32_t *)&t36[t25]; - (*t36) = t23; - t40 = (bool *)&t39.found_existing; - (*t40) = false; - t41 = (nav__8921_42 **)&t39.key_ptr; - t42 = &t15->ptr; - t43 = (*t42); - t43 = (nav__8921_42 *)&t43[t25]; - (*t41) = t43; - t44 = (struct environment_root_EnvironmentValue__850 **)&t39.value_ptr; - t45 = &t18->ptr; - t46 = (*t45); - t46 = (struct environment_root_EnvironmentValue__850 *)&t46[t25]; - (*t44) = t46; - t47 = (uintptr_t *)&t39.index; - (*t47) = t25; - return t39; +static nav__9478_40 fmt_bufPrint__anon_8500__9478(nav__9478_39 const a0, + nav__9478_43 const a1) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__9478_59 (**t11)(void const *, nav__9478_42); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__9478_39 t15; + nav__9478_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9478_59(**)(void const *, nav__9478_42)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_8597__9534(t12, a1); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; } - goto zig_block_2; + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__9478_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } + } + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t48 = t10.ptr[t24]; - t30 = t23 == t48; - if (t30) { - t24 = (uintptr_t)t37; - t50 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t50, t24); - t49 = t30; - goto zig_block_4; - } - t49 = false; - goto zig_block_4; +static void logger_err__anon_8507__9479(void) { + logger_logWithPrefix__anon_8655__9535(); + return; +} - zig_block_4:; - if (t49) { - t40 = (bool *)&t51.found_existing; - (*t40) = true; - t41 = (nav__8921_42 **)&t51.key_ptr; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - t13 = (*t15); - t43 = &t13.ptr[t25]; - (*t41) = t43; - t44 = (struct environment_root_EnvironmentValue__850 **)&t51.value_ptr; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - t16 = (*t18); - t46 = &t16.ptr[t25]; - (*t44) = t46; - t47 = (uintptr_t *)&t51.index; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - (*t47) = t25; - return t51; +static nav__9501_40 json_stringify_stringifyAlloc__anon_8522__9501( + struct mem_Allocator__599 const a0, + struct environment_root_EnvironmentJson__839 const a1, + struct json_stringify_StringifyOptions__8511 const a2) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + nav__9501_40 t4; + uint16_t t3; + bool t5; + t1 = array_list_ArrayListAligned_28u8_2cnull_29_init__1405(a0); + t0 = t1; + t2 = array_list_ArrayListAligned_28u8_2cnull_29_writer__1430(&t0); + t3 = json_stringify_stringifyArbitraryDepth__anon_8682__9565(a0, a1, a2, t2); + if (t3) { + t1 = t0; + array_list_ArrayListAligned_28u8_2cnull_29_deinit__1407(t1); + t4.payload = (nav__9501_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t4.error = t3; + return t4; } - goto zig_block_3; - - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t48 = t27; - t30 = t37 < t48; - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4124(t5); - t38 = &t12->ptr; - t36 = (*t38); - t36 = (uint32_t *)&t36[t24]; - (*t36) = t23; - t52 = t31; - t53 = (*t22); - t35 = &t53.ptr[t52]; - t36 = (uint32_t *)&t35->entry_index; - t23 = (uint32_t)t24; - (*t36) = t23; - t36 = (uint32_t *)&t35->distance_from_start_index; - t23 = t27; - (*t36) = t23; - t34 = t33; - t23 = t34.distance_from_start_index; - t27 = t23; - t34 = t33; - t23 = t34.entry_index; - t54 = t23; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t23 = t27; - t23 = t23 + UINT32_C(1); - t27 = t23; - zig_loop_200: - t52 = t26; - t29 = t52; - t28 = t25; - t30 = t29 != t28; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t52 = t26; - t52 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t52); - t31 = t52; - t52 = t31; - t34 = t20.ptr[t52]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u32_29_isEmpty__8830(t34); - if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint32_t *)&t35->entry_index; - t23 = t54; - (*t36) = t23; - t36 = (uint32_t *)&t35->distance_from_start_index; - t23 = t27; - (*t36) = t23; - t40 = (bool *)&t55.found_existing; - (*t40) = false; - t41 = (nav__8921_42 **)&t55.key_ptr; - t42 = &t15->ptr; - t43 = (*t42); - t43 = (nav__8921_42 *)&t43[t24]; - (*t41) = t43; - t44 = (struct environment_root_EnvironmentValue__850 **)&t55.value_ptr; - t45 = &t18->ptr; - t46 = (*t45); - t46 = (struct environment_root_EnvironmentValue__850 *)&t46[t24]; - (*t44) = t46; - t47 = (uintptr_t *)&t55.index; - (*t47) = t24; - return t55; - } - goto zig_block_8; + t4 = array_list_ArrayListAligned_28u8_2cnull_29_toOwnedSlice__1411(&t0); + t5 = t4.error == UINT16_C(0); + if (t5) { + return t4; + } + t1 = t0; + array_list_ArrayListAligned_28u8_2cnull_29_deinit__1407(t1); + return t4; +} - zig_block_8:; - t34 = t33; - t23 = t34.distance_from_start_index; - t48 = t27; - t30 = t23 < t48; - if (t30) { - t52 = t31; - t53 = (*t22); - t35 = &t53.ptr[t52]; - t36 = (uint32_t *)&t35->entry_index; - t48 = t54; - (*t36) = t48; - t36 = (uint32_t *)&t35->distance_from_start_index; - t48 = t27; - (*t36) = t48; - t34 = t33; - t48 = t34.entry_index; - t54 = t48; - t34 = t33; - t48 = t34.distance_from_start_index; - t27 = t48; - goto zig_block_9; - } - goto zig_block_9; +static void logger_err__anon_8529__9502(void) { + logger_logWithPrefix__anon_8687__9566(); + return; +} - zig_block_9:; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t23 = t27; - t23 = t23 + UINT32_C(1); - t27 = t23; - goto zig_block_7; - } - goto zig_block_6; +static nav__1229_39 fs_createFileAbsolute__1229( + nav__1229_41 const a0, struct fs_File_CreateFlags__8531 const a1) { + struct fs_Dir__2113 const *t3; + struct fs_Dir__2113 t1; + struct fs_Dir__2113 t2; + nav__1229_39 t4; + bool t0; + t0 = fs_path_isAbsolute__5129(a0); + debug_assert__180(t0); + t1 = fs_cwd__1218(); + t2 = t1; + t3 = (struct fs_Dir__2113 const *)&t2; + t1 = (*t3); + t4 = fs_Dir_createFile__4668(t1, a0, a1); + return t4; +} - zig_block_7:; - goto zig_loop_200; +static void logger_err__anon_8548__9503(void) { + logger_logWithPrefix__anon_8692__9567(); + return; +} - zig_block_6:; - zig_unreachable(); +static bool mem_startsWith__anon_8560__9504(nav__9504_39 const a0, + nav__9504_39 const a1) { + nav__9504_39 const *t1; + uintptr_t t3; + uintptr_t t4; + uint64_t t5; + uint64_t t6; + nav__9504_39 t8; + nav__9504_39 t0; + uint8_t const *t9; + bool t2; + bool t7; + t0 = a0; + t1 = (nav__9504_39 const *)&t0; + t3 = a1.len; + t4 = a0.len; + t5 = t3; + t6 = t4; + t7 = t5 > t6; + if (t7) { + t2 = false; + goto zig_block_0; } - goto zig_block_5; + t4 = a1.len; + t8 = (*t1); + t9 = t8.ptr; + t9 = (uint8_t const *)(((uintptr_t)t9) + ((uintptr_t)0ul * sizeof(uint8_t))); + t8.ptr = t9; + t8.len = t4; + t7 = mem_eql__anon_8262__9010(t8, a1); + t2 = t7; + goto zig_block_0; - zig_block_5:; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t37 = t27; - t37 = t37 + UINT32_C(1); - t27 = t37; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3943(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - uintptr_t t2; - uintptr_t t0; - uint64_t t3; - uint64_t t4; - bool t5; - t0 = a0; - zig_loop_6: - t1 = t0; - t2 = t0; - t2 = t2 / (uintptr_t)2ul; - t2 = t2 + (uintptr_t)4ul; - t2 = zig_adds_u64(t1, t2, UINT8_C(64)); - t0 = t2; - t2 = t0; - t3 = t2; - t4 = a1; - t5 = t3 >= t4; - if (t5) { - t2 = t0; +zig_block_0:; return t2; - } - goto zig_block_0; - - zig_block_0:; - goto zig_loop_6; -} - -static nav__8922_40 mem_Allocator_alignedAlloc__anon_7918__8922(struct mem_Allocator__599 const a0, uintptr_t const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t5; - uintptr_t t3; - nav__8922_40 t4; - nav__8922_40 t8; - nav__8922_51 t6; - uint8_t *t9; - uint8_t *t10; - uint8_t *const *t11; - nav__8922_39 t12; - uint16_t t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t5 = t2; - t1 = (struct mem_Allocator__599 const *)&t5; - t2 = (*t1); - t6 = mem_Allocator_allocWithSizeAndAlignment__anon_8191__8941(t2, a1, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = (nav__8922_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t7; - t4 = t8; - goto zig_block_0; - } - t9 = t6.payload; - t10 = t9; - t11 = (uint8_t *const *)&t10; - t9 = (*t11); - t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul*sizeof(uint8_t))); - t12.ptr = t9; - t12.len = a1; - t8.payload = t12; - t8.error = UINT16_C(0); - t4 = t8; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static uint8_t math_log2_int_ceil__anon_8071__8923(uintptr_t const a0) { - uint64_t t0; - uintptr_t t2; - bool t1; - uint8_t t3; - t0 = a0; - t1 = t0 != UINT64_C(0); - debug_assert__180(t1); - t0 = a0; - t1 = t0 == UINT64_C(1); - if (t1) { - return UINT8_C(0); - } - goto zig_block_0; - - zig_block_0:; - t2 = a0 - (uintptr_t)1ul; - t3 = math_log2_int__anon_8194__8942(t2); - t3 = t3 + UINT8_C(1); - return t3; -} - -static nav__8924_40 mem_Allocator_alignedAlloc__anon_8076__8924(struct mem_Allocator__599 const a0, uintptr_t const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t5; - uintptr_t t3; - nav__8924_40 t4; - nav__8924_40 t8; - nav__8924_51 t6; - uint8_t *t9; - uint8_t *t10; - uint8_t *const *t11; - nav__8924_39 t12; - uint16_t t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t5 = t2; - t1 = (struct mem_Allocator__599 const *)&t5; - t2 = (*t1); - t6 = mem_Allocator_allocWithSizeAndAlignment__anon_8198__8943(t2, a1, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = (nav__8924_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t7; - t4 = t8; - goto zig_block_0; - } - t9 = t6.payload; - t10 = t9; - t11 = (uint8_t *const *)&t10; - t9 = (*t11); - t9 = (uint8_t *)(((uintptr_t)t9) + ((uintptr_t)0ul*sizeof(uint8_t))); - t12.ptr = t9; - t12.len = a1; - t8.payload = t12; - t8.error = UINT16_C(0); - t4 = t8; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8925(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t9; - nav__8925_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__8925_60 t12; - nav__8925_60 t33; - nav__8925_60 t13; - nav__8925_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u8_29__7097 const *t31; - struct array_hash_map_Index_28u8_29__7097 *t34; - uint8_t *t35; - uint32_t t21; - struct array_hash_map_IndexHeader__886 t28; - bool t20; - uint8_t t26; - uint8_t t36; - uint8_t t25; - uint8_t t27; - struct array_hash_map_Index_28u8_29__7097 t29; - struct array_hash_map_Index_28u8_29__7097 t32; - struct array_hash_map_Index_28u8_29__7097 t30; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t11); - t13 = t12; - t14 = (nav__8925_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t26 = (uint8_t)t17; - t25 = t26; - t27 = UINT8_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t28 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t28, t22); - t29 = t12.ptr[t22]; - t30 = t29; - t31 = (struct array_hash_map_Index_28u8_29__7097 const *)&t30; - t32 = (*t31); - t20 = array_hash_map_Index_28u8_29_isEmpty__8820(t32); - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint8_t *)&t34->distance_from_start_index; - t26 = t27; - (*t35) = t26; - t35 = (uint8_t *)&t34->entry_index; - t26 = t25; - (*t35) = t26; - goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t26 = t29.distance_from_start_index; - t36 = t27; - t20 = t26 < t36; - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint8_t *)&t34->distance_from_start_index; - t36 = t27; - (*t35) = t36; - t35 = (uint8_t *)&t34->entry_index; - t36 = t25; - (*t35) = t36; - t36 = t29.distance_from_start_index; - t27 = t36; - t36 = t29.entry_index; - t25 = t36; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t36 = t27; - t36 = t36 + UINT8_C(1); - t27 = t36; - goto zig_block_3; - } - goto zig_block_2; +} - zig_block_3:; - goto zig_loop_53; +static struct environment_linked_libraries_elf_view__8561 +environment_linked_libraries_elf_view_init__9510( + uintptr_t const a0, struct elf_Elf64_Phdr__8411 const *const a1, + uint16_t const a2) { + uintptr_t *t1; + nav__9510_42 *t2; + struct elf_Elf64_Phdr__8411 const *const *t4; + struct elf_Elf64_Phdr__8411 const *t5; + struct elf_Elf64_Phdr__8411 const *t3; + uintptr_t t6; + nav__9510_42 t7; + struct environment_linked_libraries_elf_view__8561 t0; + t1 = (uintptr_t *)&t0.base_addr; + (*t1) = a0; + t2 = (nav__9510_42 *)&t0.phdrs; + t3 = a1; + t4 = (struct elf_Elf64_Phdr__8411 const *const *)&t3; + t5 = (*t4); + t5 = + (struct elf_Elf64_Phdr__8411 const *)(((uintptr_t)t5) + + ((uintptr_t)0ul * + sizeof( + struct elf_Elf64_Phdr__8411))); + t6 = (uintptr_t)a2; + t7.ptr = t5; + t7.len = t6; + (*t2) = t7; + return t0; +} - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8926(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t9; - nav__8926_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__8926_60 t12; - nav__8926_60 t33; - nav__8926_60 t13; - nav__8926_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u16_29__7101 const *t31; - struct array_hash_map_Index_28u16_29__7101 *t34; - uint16_t *t35; - uint32_t t21; - struct array_hash_map_IndexHeader__886 t28; - uint16_t t26; - uint16_t t36; - uint16_t t25; - uint16_t t27; - struct array_hash_map_Index_28u16_29__7101 t29; - struct array_hash_map_Index_28u16_29__7101 t32; - struct array_hash_map_Index_28u16_29__7101 t30; - bool t20; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t11); - t13 = t12; - t14 = (nav__8926_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t26 = (uint16_t)t17; - t25 = t26; - t27 = UINT16_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t28 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t28, t22); - t29 = t12.ptr[t22]; - t30 = t29; - t31 = (struct array_hash_map_Index_28u16_29__7101 const *)&t30; - t32 = (*t31); - t20 = array_hash_map_Index_28u16_29_isEmpty__8825(t32); - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint16_t *)&t34->distance_from_start_index; - t26 = t27; - (*t35) = t26; - t35 = (uint16_t *)&t34->entry_index; - t26 = t25; - (*t35) = t26; - goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t26 = t29.distance_from_start_index; - t36 = t27; - t20 = t26 < t36; - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint16_t *)&t34->distance_from_start_index; - t36 = t27; - (*t35) = t36; - t35 = (uint16_t *)&t34->entry_index; - t36 = t25; - (*t35) = t36; - t36 = t29.distance_from_start_index; - t27 = t36; - t36 = t29.entry_index; - t25 = t36; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t36 = t27; - t36 = t36 + UINT16_C(1); - t27 = t36; - goto zig_block_3; +static nav__3633_39 +environment_linked_libraries_root_LinkedLibraries_extractLibraryInfo__3633( + struct mem_Allocator__599 const a0, + struct environment_linked_libraries_elf_view__8561 const a1, + nav__3633_43 const a2) { + struct mem_Allocator__599 const *t1; + struct environment_linked_libraries_elf_view__8561 const *t3; + nav__3633_43 t4; + nav__3633_43 t6; + nav__3633_43 t8; + struct environment_linked_libraries_elf_view__8561 t5; + struct environment_linked_libraries_elf_view__8561 t2; + nav__3633_62 t9; + nav__3633_62 t10; + nav__3633_62 t11; + struct environment_linked_libraries_root_LibraryInfo__940 *t13; + nav__3633_43 *t14; + struct mem_Allocator__599 t15; + struct mem_Allocator__599 t0; + nav__3633_69 t16; + nav__3633_67 t17; + nav__3633_67 t21; + nav__3633_67 t22; + uint8_t const *t18; + uint8_t const *t19; + uint8_t const *t20; + nav__3633_39 t12; + nav__3633_39 t23; + bool t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = (struct environment_linked_libraries_elf_view__8561 const *)&t2; + t5 = (*t3); + t6 = environment_linked_libraries_elf_view_buildId__9519(t5); + t7 = t6.ptr != NULL; + if (t7) { + t8 = t6; + t8 = environment_linked_libraries_root_hexEncode__3625(a0, t8); + t4 = t8; + goto zig_block_0; } - goto zig_block_2; - - zig_block_3:; - goto zig_loop_53; + t4 = (nav__3633_43){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + goto zig_block_0; - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8927(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t9; - nav__8927_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__8927_60 t12; - nav__8927_60 t32; - nav__8927_60 t13; - nav__8927_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u32_29__7105 const *t30; - struct array_hash_map_Index_28u32_29__7105 *t33; - uint32_t *t34; - uint32_t t21; - uint32_t t35; - uint32_t t25; - uint32_t t26; - struct array_hash_map_IndexHeader__886 t27; - struct array_hash_map_Index_28u32_29__7105 t28; - struct array_hash_map_Index_28u32_29__7105 t31; - struct array_hash_map_Index_28u32_29__7105 t29; - bool t20; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t11); - t13 = t12; - t14 = (nav__8927_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t21 = (uint32_t)t17; - t25 = t21; - t26 = UINT32_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t27 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t27, t22); - t28 = t12.ptr[t22]; - t29 = t28; - t30 = (struct array_hash_map_Index_28u32_29__7105 const *)&t29; - t31 = (*t30); - t20 = array_hash_map_Index_28u32_29_isEmpty__8830(t31); - if (t20) { - t32 = (*t14); - t33 = &t32.ptr[t22]; - t34 = (uint32_t *)&t33->distance_from_start_index; - t21 = t26; - (*t34) = t21; - t34 = (uint32_t *)&t33->entry_index; - t21 = t25; - (*t34) = t21; +zig_block_0:; + t5 = (*t3); + t10 = environment_linked_libraries_elf_view_dynamicEntries__9514(t5); + t7 = t10.ptr != NULL; + if (t7) { + t11 = t10; + t9 = t11; goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t21 = t28.distance_from_start_index; - t35 = t26; - t20 = t21 < t35; - if (t20) { - t32 = (*t14); - t33 = &t32.ptr[t22]; - t34 = (uint32_t *)&t33->distance_from_start_index; - t35 = t26; - (*t34) = t35; - t34 = (uint32_t *)&t33->entry_index; - t35 = t25; - (*t34) = t35; - t35 = t28.distance_from_start_index; - t26 = t35; - t35 = t28.entry_index; - t25 = t35; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t35 = t26; - t35 = t35 + UINT32_C(1); - t26 = t35; - goto zig_block_3; } - goto zig_block_2; - - zig_block_3:; - goto zig_loop_53; - - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static uint32_t array_hash_map_StringContext_hash__3759(nav__3759_40 const a0) { - uint32_t t0; - t0 = array_hash_map_hashString__3722(a0); - return t0; -} - -static bool array_hash_map_StringContext_eql__3760(nav__3760_40 const a0, nav__3760_40 const a1, uintptr_t const a2) { - bool t0; - (void)a2; - t0 = array_hash_map_eqlString__3721(a0, a1); - return t0; -} - -static nav__8928_40 array_hash_map_IndexHeader_indexes__anon_8108__8928(struct array_hash_map_IndexHeader__886 *const a0) { - struct array_hash_map_IndexHeader__886 *const *t1; - uint8_t *t2; - struct array_hash_map_Index_28u8_29__7097 *t3; - struct array_hash_map_Index_28u8_29__7097 *t4; - struct array_hash_map_Index_28u8_29__7097 *const *t5; - struct array_hash_map_IndexHeader__886 *t6; - struct array_hash_map_IndexHeader__886 *t0; - uintptr_t t8; - nav__8928_40 t9; - struct array_hash_map_IndexHeader__886 t7; - t0 = a0; - t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; - t2 = (uint8_t *)a0; - t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)4ul*sizeof(uint8_t))); - t3 = (struct array_hash_map_Index_28u8_29__7097 *)t2; - t4 = t3; - t5 = (struct array_hash_map_Index_28u8_29__7097 *const *)&t4; - t6 = (*t1); - t7 = (*t6); - t8 = array_hash_map_IndexHeader_length__3961(t7); - t3 = (*t5); - t3 = (struct array_hash_map_Index_28u8_29__7097 *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(struct array_hash_map_Index_28u8_29__7097))); - t9.ptr = t3; - t9.len = t8; - return t9; -} - -static nav__8929_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8929(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8929_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__8929_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t8; - nav__8929_66 t9; - nav__8929_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u8_29__7097 const *t23; - nav__8929_41 t30; - nav__8929_38 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - uint32_t t11; - uint32_t t29; - struct array_hash_map_IndexHeader__886 t20; - bool t18; - bool t25; - struct array_hash_map_Index_28u8_29__7097 t21; - struct array_hash_map_Index_28u8_29__7097 t24; - struct array_hash_map_Index_28u8_29__7097 t22; - uint8_t t26; - uint8_t t27; - uint8_t t15; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT8_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u8_29__7097 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u8_29_isEmpty__8820(t24); - if (t18) { - t25 = true; - goto zig_block_3; + t12.is_null = false; + t13 = &t12.payload; + t14 = (nav__3633_43 *)&t13->path; + t15 = (*t1); + t16 = mem_Allocator_dupe__anon_7733__8902(t15, a2); + t7 = t16.error == UINT16_C(0); + if (t7) { + t17 = t16.payload; + memcpy(&t6, &t17, sizeof(nav__3633_43)); + t8 = t6; + goto zig_block_2; } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + return (nav__3633_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}, + true}; + +zig_block_2:; + (*t14) = t8; + t14 = (nav__3633_43 *)&t13->soname; + (*t14) = (nav__3633_43){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t14 = (nav__3633_43 *)&t13->build_id; + (*t14) = t4; + return t12; - zig_block_3:; - if (t25) { - return (nav__8929_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; +zig_block_1:; + t19 = environment_linked_libraries_elf_view_strtab__9516(t9); + t7 = t19 != NULL; + if (t7) { + t20 = t19; + t18 = t20; + goto zig_block_3; } - goto zig_block_2; - - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t29 = t9.ptr[t28]; - t25 = t11 == t29; - if (t25) { - t28 = (uintptr_t)t27; - t30 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t30, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; + return (nav__3633_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}, + true}; + +zig_block_3:; + t8 = environment_linked_libraries_elf_view_soname__9518(t9, t18); + t7 = t8.ptr != NULL; + if (t7) { + t6 = t8; + t15 = (*t1); + t16 = mem_Allocator_dupe__anon_7733__8902(t15, t6); + t7 = t16.error == UINT16_C(0); + if (t7) { + t22 = t16.payload; + t21 = t22; + goto zig_block_5; + } + return (nav__3633_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}, + true}; zig_block_5:; - if (t18) { - t31.is_null = false; - t31.payload = t12; - return t31; + t22 = t21; + t17 = t22; + goto zig_block_4; } + t17 = (nav__3633_67){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; goto zig_block_4; - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT8_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__8930_40 array_hash_map_IndexHeader_indexes__anon_8118__8930(struct array_hash_map_IndexHeader__886 *const a0) { - struct array_hash_map_IndexHeader__886 *const *t1; - uint8_t *t2; - struct array_hash_map_Index_28u16_29__7101 *t3; - struct array_hash_map_Index_28u16_29__7101 *t4; - struct array_hash_map_Index_28u16_29__7101 *const *t5; - struct array_hash_map_IndexHeader__886 *t6; - struct array_hash_map_IndexHeader__886 *t0; - uintptr_t t8; - nav__8930_40 t9; - struct array_hash_map_IndexHeader__886 t7; - t0 = a0; - t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; - t2 = (uint8_t *)a0; - t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)4ul*sizeof(uint8_t))); - t3 = (struct array_hash_map_Index_28u16_29__7101 *)t2; - t4 = t3; - t5 = (struct array_hash_map_Index_28u16_29__7101 *const *)&t4; - t6 = (*t1); - t7 = (*t6); - t8 = array_hash_map_IndexHeader_length__3961(t7); - t3 = (*t5); - t3 = (struct array_hash_map_Index_28u16_29__7101 *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(struct array_hash_map_Index_28u16_29__7101))); - t9.ptr = t3; - t9.len = t8; - return t9; -} - -static nav__8931_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8931(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8931_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__8931_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t8; - nav__8931_66 t9; - nav__8931_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u16_29__7101 const *t23; - nav__8931_41 t30; - nav__8931_38 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - uint32_t t11; - uint32_t t29; - struct array_hash_map_IndexHeader__886 t20; - struct array_hash_map_Index_28u16_29__7101 t21; - struct array_hash_map_Index_28u16_29__7101 t24; - struct array_hash_map_Index_28u16_29__7101 t22; - uint16_t t26; - uint16_t t27; - uint16_t t15; - bool t18; - bool t25; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT16_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u16_29__7101 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u16_29_isEmpty__8825(t24); - if (t18) { - t25 = true; - goto zig_block_3; +zig_block_4:; + t23.is_null = false; + t13 = &t23.payload; + t14 = (nav__3633_43 *)&t13->path; + t15 = (*t1); + t16 = mem_Allocator_dupe__anon_7733__8902(t15, a2); + t7 = t16.error == UINT16_C(0); + if (t7) { + t22 = t16.payload; + memcpy(&t6, &t22, sizeof(nav__3633_43)); + t8 = t6; + goto zig_block_7; } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + return (nav__3633_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + {(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}}, + true}; + +zig_block_7:; + (*t14) = t8; + t14 = (nav__3633_43 *)&t13->soname; + memcpy(&t8, &t17, sizeof(nav__3633_43)); + (*t14) = t8; + t14 = (nav__3633_43 *)&t13->build_id; + (*t14) = t4; + return t23; +} - zig_block_3:; - if (t25) { - return (nav__8931_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; +static uint16_t +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_append__4350( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + a0, + struct environment_linked_libraries_root_LibraryInfo__940 const a1) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *t1; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t2; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t0; + nav__4350_49 t3; + struct environment_linked_libraries_root_LibraryInfo__940 *t5; + uint16_t t4; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *)&t0; + t2 = (*t1); + t3 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOne__4375( + t2); + if (t3.error) { + t4 = t3.error; + return t4; } - goto zig_block_2; - - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t29 = t9.ptr[t28]; - t25 = t11 == t29; - if (t25) { - t28 = (uintptr_t)t27; - t30 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t30, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; + t5 = t3.payload; + (*t5) = a1; + return 0; +} - zig_block_5:; - if (t18) { - t31.is_null = false; - t31.payload = t12; - return t31; +static void logger_logWithPrefix__anon_8583__9531(void) { + nav__9531_41 t3; + nav__9531_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__9531_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; } - goto zig_block_4; + goto zig_block_0; - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT16_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__8932_40 array_hash_map_IndexHeader_indexes__anon_8124__8932(struct array_hash_map_IndexHeader__886 *const a0) { - struct array_hash_map_IndexHeader__886 *const *t1; - uint8_t *t2; - struct array_hash_map_Index_28u32_29__7105 *t3; - struct array_hash_map_Index_28u32_29__7105 *t4; - struct array_hash_map_Index_28u32_29__7105 *const *t5; - struct array_hash_map_IndexHeader__886 *t6; - struct array_hash_map_IndexHeader__886 *t0; - uintptr_t t8; - nav__8932_40 t9; - struct array_hash_map_IndexHeader__886 t7; - t0 = a0; - t1 = (struct array_hash_map_IndexHeader__886 *const *)&t0; - t2 = (uint8_t *)a0; - t2 = (uint8_t *)(((uintptr_t)t2) + ((uintptr_t)4ul*sizeof(uint8_t))); - t3 = (struct array_hash_map_Index_28u32_29__7105 *)t2; - t4 = t3; - t5 = (struct array_hash_map_Index_28u32_29__7105 *const *)&t4; - t6 = (*t1); - t7 = (*t6); - t8 = array_hash_map_IndexHeader_length__3961(t7); - t3 = (*t5); - t3 = (struct array_hash_map_Index_28u32_29__7105 *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(struct array_hash_map_Index_28u32_29__7105))); - t9.ptr = t3; - t9.len = t8; - return t9; -} - -static nav__8933_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8933(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0, nav__8933_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__8933_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *t8; - nav__8933_66 t9; - nav__8933_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u32_29__7105 const *t23; - nav__8933_41 t29; - nav__8933_38 t30; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t0; - uint32_t t11; - uint32_t t26; - uint32_t t27; - uint32_t t15; - struct array_hash_map_IndexHeader__886 t20; - struct array_hash_map_Index_28u32_29__7105 t21; - struct array_hash_map_Index_28u32_29__7105 t24; - struct array_hash_map_Index_28u32_29__7105 t22; - bool t18; - bool t25; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__3923(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6597 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8905(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHa__8720(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8904(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT32_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u32_29__7105 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u32_29_isEmpty__8830(t24); - if (t18) { - t25 = true; - goto zig_block_3; +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_8741__9568(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + (void)printf((char const *)&__anon_3953); + return; - zig_block_3:; - if (t25) { - return (nav__8933_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} + +static nav__4180_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4180( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct mem_Allocator__599 const a1, nav__4180_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + nav__4180_39 t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t5; + nav__4180_44 *t7; + uint16_t t4; + bool t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = (*t1); + t3 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9569( + t2, a1, a2); + if (t3.error) { + t4 = t3.error; + t3.payload = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453){ + ((nav__4180_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct environment_linked_libraries_root_LibraryEntry__858 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0xaaaaaaaaaaaaaaaaul, false}; + t3.error = t4; + return t3; } - goto zig_block_2; + t5 = t3.payload; + t6 = t5.found_existing; + t6 = !t6; + if (t6) { + t7 = t5.key_ptr; + (*t7) = a2; + goto zig_block_0; + } + goto zig_block_0; - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t26 = t9.ptr[t28]; - t25 = t11 == t26; - if (t25) { - t28 = (uintptr_t)t27; - t29 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8906(a1, t29, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; +zig_block_0:; + t3.payload = t5; + t3.error = UINT16_C(0); + return t3; +} - zig_block_5:; - if (t18) { - t30.is_null = false; - t30.payload = t12; - return t30; +static void logger_logWithPrefix__anon_8595__9532(void) { + nav__9532_41 t3; + nav__9532_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__9532_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; } - goto zig_block_4; + goto zig_block_0; - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT32_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static uintptr_t array_hash_map_safeTruncate__anon_8132__8934(uint32_t const a0) { - uintptr_t t0; - t0 = (uintptr_t)a0; - return t0; -} - -static uintptr_t array_hash_map_IndexHeader_constrainIndex__3957(struct array_hash_map_IndexHeader__886 const a0, uintptr_t const a1) { - struct array_hash_map_IndexHeader__886 const *t1; - uintptr_t t4; - struct array_hash_map_IndexHeader__886 t2; - struct array_hash_map_IndexHeader__886 t0; - uint32_t t3; - t0 = a0; - t1 = (struct array_hash_map_IndexHeader__886 const *)&t0; - t2 = (*t1); - t3 = array_hash_map_IndexHeader_mask__3962(t2); - t4 = (uintptr_t)t3; - t4 = a1 & t4; - return t4; -} - -static bool array_hash_map_Index_28u8_29_isEmpty__8820(struct array_hash_map_Index_28u8_29__7097 const a0) { - uint8_t t0; - bool t1; - t0 = a0.entry_index; - t1 = t0 == UINT8_MAX; - return t1; -} - -static bool array_hash_map_Index_28u16_29_isEmpty__8825(struct array_hash_map_Index_28u16_29__7101 const a0) { - uint16_t t0; - bool t1; - t0 = a0.entry_index; - t1 = t0 == UINT16_MAX; - return t1; -} - -static bool array_hash_map_Index_28u32_29_isEmpty__8830(struct array_hash_map_Index_28u32_29__7105 const a0) { - uint32_t t0; - bool t1; - t0 = a0.entry_index; - t1 = t0 == UINT32_MAX; - return t1; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4137(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - uintptr_t t2; - uintptr_t t0; - uint64_t t3; - uint64_t t4; - bool t5; - t0 = a0; - zig_loop_6: - t1 = t0; - t2 = t0; - t2 = t2 / (uintptr_t)2ul; - t2 = t2 + (uintptr_t)5ul; - t2 = zig_adds_u64(t1, t2, UINT8_C(64)); - t0 = t2; - t2 = t0; - t3 = t2; - t4 = a1; - t5 = t3 >= t4; - if (t5) { - t2 = t0; - return t2; - } - goto zig_block_0; - - zig_block_0:; - goto zig_loop_6; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8935(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t9; - nav__8935_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__8935_60 t12; - nav__8935_60 t33; - nav__8935_60 t13; - nav__8935_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u8_29__7097 const *t31; - struct array_hash_map_Index_28u8_29__7097 *t34; - uint8_t *t35; - uint32_t t21; - struct array_hash_map_IndexHeader__886 t28; - bool t20; - uint8_t t26; - uint8_t t36; - uint8_t t25; - uint8_t t27; - struct array_hash_map_Index_28u8_29__7097 t29; - struct array_hash_map_Index_28u8_29__7097 t32; - struct array_hash_map_Index_28u8_29__7097 t30; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t11); - t13 = t12; - t14 = (nav__8935_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t26 = (uint8_t)t17; - t25 = t26; - t27 = UINT8_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t28 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t28, t22); - t29 = t12.ptr[t22]; - t30 = t29; - t31 = (struct array_hash_map_Index_28u8_29__7097 const *)&t30; - t32 = (*t31); - t20 = array_hash_map_Index_28u8_29_isEmpty__8820(t32); - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint8_t *)&t34->distance_from_start_index; - t26 = t27; - (*t35) = t26; - t35 = (uint8_t *)&t34->entry_index; - t26 = t25; - (*t35) = t26; +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_8758__9570(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t26 = t29.distance_from_start_index; - t36 = t27; - t20 = t26 < t36; - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint8_t *)&t34->distance_from_start_index; - t36 = t27; - (*t35) = t36; - t35 = (uint8_t *)&t34->entry_index; - t36 = t25; - (*t35) = t36; - t36 = t29.distance_from_start_index; - t27 = t36; - t36 = t29.entry_index; - t25 = t36; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t36 = t27; - t36 = t36 + UINT8_C(1); - t27 = t36; - goto zig_block_3; } - goto zig_block_2; + (void)printf((char const *)&__anon_3953); + return; - zig_block_3:; - goto zig_loop_53; +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8936(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t9; - nav__8936_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__8936_60 t12; - nav__8936_60 t33; - nav__8936_60 t13; - nav__8936_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u16_29__7101 const *t31; - struct array_hash_map_Index_28u16_29__7101 *t34; - uint16_t *t35; - uint32_t t21; - struct array_hash_map_IndexHeader__886 t28; - uint16_t t26; - uint16_t t36; - uint16_t t25; - uint16_t t27; - struct array_hash_map_Index_28u16_29__7101 t29; - struct array_hash_map_Index_28u16_29__7101 t32; - struct array_hash_map_Index_28u16_29__7101 t30; - bool t20; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t11); - t13 = t12; - t14 = (nav__8936_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t26 = (uint16_t)t17; - t25 = t26; - t27 = UINT16_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t28 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t28, t22); - t29 = t12.ptr[t22]; - t30 = t29; - t31 = (struct array_hash_map_Index_28u16_29__7101 const *)&t30; - t32 = (*t31); - t20 = array_hash_map_Index_28u16_29_isEmpty__8825(t32); - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint16_t *)&t34->distance_from_start_index; - t26 = t27; - (*t35) = t26; - t35 = (uint16_t *)&t34->entry_index; - t26 = t25; - (*t35) = t26; +static uintptr_t mem_len__anon_8596__9533(uint8_t const *const a0) { + uintptr_t t0; + t0 = mem_indexOfSentinel__anon_7331__8845(a0); + return t0; +} + +static void logger_logWithPrefix__anon_8655__9535(void) { + nav__9535_41 t3; + nav__9535_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__9535_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; + } + goto zig_block_0; + +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_8767__9571(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t26 = t29.distance_from_start_index; - t36 = t27; - t20 = t26 < t36; - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint16_t *)&t34->distance_from_start_index; - t36 = t27; - (*t35) = t36; - t35 = (uint16_t *)&t34->entry_index; - t36 = t25; - (*t35) = t36; - t36 = t29.distance_from_start_index; - t27 = t36; - t36 = t29.entry_index; - t25 = t36; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t36 = t27; - t36 = t36 + UINT16_C(1); - t27 = t36; - goto zig_block_3; } - goto zig_block_2; + (void)printf((char const *)&__anon_3953); + return; - zig_block_3:; - goto zig_loop_53; +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8937(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t9; - nav__8937_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__8937_60 t12; - nav__8937_60 t32; - nav__8937_60 t13; - nav__8937_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u32_29__7105 const *t30; - struct array_hash_map_Index_28u32_29__7105 *t33; - uint32_t *t34; - uint32_t t21; - uint32_t t35; - uint32_t t25; - uint32_t t26; - struct array_hash_map_IndexHeader__886 t27; - struct array_hash_map_Index_28u32_29__7105 t28; - struct array_hash_map_Index_28u32_29__7105 t31; - struct array_hash_map_Index_28u32_29__7105 t29; - bool t20; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t11); - t13 = t12; - t14 = (nav__8937_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t21 = (uint32_t)t17; - t25 = t21; - t26 = UINT32_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t27 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t27, t22); - t28 = t12.ptr[t22]; - t29 = t28; - t30 = (struct array_hash_map_Index_28u32_29__7105 const *)&t29; - t31 = (*t30); - t20 = array_hash_map_Index_28u32_29_isEmpty__8830(t31); - if (t20) { - t32 = (*t14); - t33 = &t32.ptr[t22]; - t34 = (uint32_t *)&t33->distance_from_start_index; - t21 = t26; - (*t34) = t21; - t34 = (uint32_t *)&t33->entry_index; - t21 = t25; - (*t34) = t21; - goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t21 = t28.distance_from_start_index; - t35 = t26; - t20 = t21 < t35; - if (t20) { - t32 = (*t14); - t33 = &t32.ptr[t22]; - t34 = (uint32_t *)&t33->distance_from_start_index; - t35 = t26; - (*t34) = t35; - t34 = (uint32_t *)&t33->entry_index; - t35 = t25; - (*t34) = t35; - t35 = t28.distance_from_start_index; - t26 = t35; - t35 = t28.entry_index; - t25 = t35; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t35 = t26; - t35 = t35 + UINT32_C(1); - t26 = t35; - goto zig_block_3; +static uint16_t json_stringify_stringifyArbitraryDepth__anon_8682__9565( + struct mem_Allocator__599 const a0, + struct environment_root_EnvironmentJson__839 const a1, + struct json_stringify_StringifyOptions__8511 const a2, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a3) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + t0; + uint16_t t2; + t1 = json_stringify_writeStreamArbitraryDepth__anon_8775__9572(a0, a3, a2); + t0 = t1; + t2 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9573( + &t0, a1); + if (t2) { + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542( + &t0); + return t2; } - goto zig_block_2; + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542( + &t0); + return 0; +} - zig_block_3:; - goto zig_loop_53; +static nav__1411_40 +array_list_ArrayListAligned_28u8_2cnull_29_toOwnedSlice__1411( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct mem_Allocator__599 *t2; + struct mem_Allocator__599 t3; + struct mem_Allocator__599 t9; + struct mem_Allocator__599 t4; + struct mem_Allocator__599 const *t5; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t6; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t7; + nav__1411_39 t8; + nav__1411_39 t11; + nav__1411_39 *t10; + uintptr_t t12; + nav__1411_40 t14; + uint8_t *t16; + uint16_t t15; + bool t13; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (struct mem_Allocator__599 *)&a0->allocator; + t3 = (*t2); + t4 = t3; + t5 = (struct mem_Allocator__599 const *)&t4; + t6 = (*t1); + t7 = (*t6); + t8 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1453(t7); + t9 = (*t5); + t10 = (nav__1411_39 *)&a0->items; + t11 = (*t10); + t12 = t11.len; + t8 = mem_Allocator_remap__anon_4154__8244(t9, t8, t12); + t13 = t8.ptr != NULL; + if (t13) { + t11 = t8; + t7 = array_list_ArrayListAligned_28u8_2cnull_29_init__1405(t3); + (*a0) = t7; + t14.payload = t11; + t14.error = UINT16_C(0); + return t14; + } + goto zig_block_0; + +zig_block_0:; + t3 = (*t5); + t10 = (nav__1411_39 *)&a0->items; + t8 = (*t10); + t12 = t8.len; + t14 = mem_Allocator_alignedAlloc__anon_4159__8245(t3, t12); + if (t14.error) { + t15 = t14.error; + t14.payload = (nav__1411_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t14.error = t15; + return t14; + } + t8 = t14.payload; + t10 = (nav__1411_39 *)&a0->items; + t11 = (*t10); + t16 = t11.ptr; + if (t8.len != 0) memcpy(t8.ptr, t16, t8.len * sizeof(uint8_t)); + t6 = (*t1); + array_list_ArrayListAligned_28u8_2cnull_29_clearAndFree__1441(t6); + t14.payload = t8; + t14.error = UINT16_C(0); + return t14; +} - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static nav__8938_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8938(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8938_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__8938_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t8; - nav__8938_66 t9; - nav__8938_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u8_29__7097 const *t23; - nav__8938_41 t30; - nav__8938_38 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - uint32_t t11; - uint32_t t29; - struct array_hash_map_IndexHeader__886 t20; - bool t18; - bool t25; - struct array_hash_map_Index_28u8_29__7097 t21; - struct array_hash_map_Index_28u8_29__7097 t24; - struct array_hash_map_Index_28u8_29__7097 t22; - uint8_t t26; - uint8_t t27; - uint8_t t15; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT8_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u8_29__7097 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u8_29_isEmpty__8820(t24); - if (t18) { - t25 = true; - goto zig_block_3; +static void logger_logWithPrefix__anon_8687__9566(void) { + nav__9566_41 t3; + nav__9566_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__9566_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + goto zig_block_0; - zig_block_3:; - if (t25) { - return (nav__8938_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_8798__9574(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; } - goto zig_block_2; + (void)printf((char const *)&__anon_3953); + return; - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t29 = t9.ptr[t28]; - t25 = t11 == t29; - if (t25) { - t28 = (uintptr_t)t27; - t30 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t30, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} - zig_block_5:; - if (t18) { - t31.is_null = false; - t31.payload = t12; - return t31; +static nav__4668_39 fs_Dir_createFile__4668( + struct fs_Dir__2113 const a0, nav__4668_42 const a1, + struct fs_File_CreateFlags__8531 const a2) { + struct fs_Dir__2113 const *t1; + uint8_t const(*t7)[4096]; + uint8_t const *t9; + nav__4668_39 t4; + struct fs_Dir__2113 t8; + struct fs_Dir__2113 t0; + nav__4668_53 t2; + uint16_t t3; + uint8_t t5[4096]; + uint8_t t6[4096]; + t0 = a0; + t1 = (struct fs_Dir__2113 const *)&t0; + t2 = posix_toPosixPath__1900(a1); + if (t2.error) { + t3 = t2.error; + t4.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t4.error = t3; + return t4; } - goto zig_block_4; + memcpy(t5, t2.payload, sizeof(uint8_t[4096])); + memcpy((char *)&t6, t5, sizeof(uint8_t[4096])); + t7 = (uint8_t const(*)[4096]) & t6; + t8 = (*t1); + t9 = (uint8_t const *)t7; + t4 = fs_Dir_createFileZ__4669(t8, t9, a2); + return t4; +} - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT8_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__8939_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8939(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8939_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__8939_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t8; - nav__8939_66 t9; - nav__8939_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u16_29__7101 const *t23; - nav__8939_41 t30; - nav__8939_38 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - uint32_t t11; - uint32_t t29; - struct array_hash_map_IndexHeader__886 t20; - struct array_hash_map_Index_28u16_29__7101 t21; - struct array_hash_map_Index_28u16_29__7101 t24; - struct array_hash_map_Index_28u16_29__7101 t22; - uint16_t t26; - uint16_t t27; - uint16_t t15; - bool t18; - bool t25; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT16_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u16_29__7101 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u16_29_isEmpty__8825(t24); - if (t18) { - t25 = true; - goto zig_block_3; +static void logger_logWithPrefix__anon_8692__9567(void) { + nav__9567_41 t3; + nav__9567_41 t6; + uint8_t *t4; + uint8_t (*t5)[511]; + nav__9567_45 t7; + uintptr_t t8; + char const *t9; + uint8_t t0; + bool t1; + uint8_t t2[512]; + t0 = (*&logger_max_level__5084); + t1 = UINT8_C(3) < t0; + if (t1) { + return; } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + goto zig_block_0; - zig_block_3:; - if (t25) { - return (nav__8939_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; +zig_block_0:; + t4 = (uint8_t *)&t2; + t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uint8_t (*)[511])t4; + t6.ptr = &(*t5)[(uintptr_t)0ul]; + t6.len = (uintptr_t)511ul; + t7 = fmt_bufPrint__anon_8813__9575(t6); + t1 = t7.error == UINT16_C(0); + if (t1) { + t6 = t7.payload; + t3 = t6; + goto zig_block_1; } - goto zig_block_2; + (void)printf((char const *)&__anon_3953); + return; - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t29 = t9.ptr[t28]; - t25 = t11 == t29; - if (t25) { - t28 = (uintptr_t)t27; - t30 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t30, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; +zig_block_1:; + t8 = t3.len; + t4 = (uint8_t *)&t2[t8]; + (*t4) = UINT8_C(0); + t4 = t3.ptr; + t9 = (char const *)t4; + (void)printf(t9); + return; +} - zig_block_5:; - if (t18) { - t31.is_null = false; - t31.payload = t12; - return t31; - } - goto zig_block_4; +static nav__9519_39 environment_linked_libraries_elf_view_buildId__9519( + struct environment_linked_libraries_elf_view__8561 const a0) { + struct environment_linked_libraries_elf_view__8561 const *t1; + nav__9519_45 t3; + uintptr_t t4; + uintptr_t t5; + uintptr_t t12; + uintptr_t t13; + uintptr_t t2; + uint64_t t6; + uint64_t t7; + struct elf_Elf64_Phdr__8411 t9; + struct environment_linked_libraries_elf_view__8561 t11; + struct environment_linked_libraries_elf_view__8561 t0; + nav__9519_39 t14; + nav__9519_39 t21; + nav__9519_39 t15; + nav__9519_39 const *t16; + uint8_t const *t17; + uint8_t const(*t18)[4]; + uint32_t t10; + uint32_t t20; + bool t8; + uint8_t t19[4]; + t0 = a0; + t1 = (struct environment_linked_libraries_elf_view__8561 const *)&t0; + t2 = (uintptr_t)0ul; + t3 = a0.phdrs; + t4 = t3.len; +zig_loop_9: + t5 = t2; + t6 = t5; + t7 = t4; + t8 = t6 < t7; + if (t8) { + t9 = t3.ptr[t5]; + t10 = t9.p_type; + t8 = t10 != UINT32_C(4); + if (t8) { + goto zig_block_1; + } + goto zig_block_2; - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT16_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__8940_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8940(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const a0, nav__8940_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__8940_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *t8; - nav__8940_66 t9; - nav__8940_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u32_29__7105 const *t23; - nav__8940_41 t29; - nav__8940_38 t30; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t0; - uint32_t t11; - uint32_t t26; - uint32_t t27; - uint32_t t15; - struct array_hash_map_IndexHeader__886 t20; - struct array_hash_map_Index_28u32_29__7105 t21; - struct array_hash_map_Index_28u32_29__7105 t24; - struct array_hash_map_Index_28u32_29__7105 t22; - bool t18; - bool t25; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29__900 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__4117(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6744 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8914(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_Env__8729(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8913(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT32_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u32_29__7105 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u32_29_isEmpty__8830(t24); - if (t18) { - t25 = true; - goto zig_block_3; - } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + zig_block_2:; + t11 = (*t1); + t7 = t9.p_vaddr; + t12 = t7; + t7 = t9.p_memsz; + t13 = t7; + t14 = environment_linked_libraries_elf_view_slice__9512(t11, t12, t13); + t15 = t14; + t16 = (nav__9519_39 const *)&t15; + t13 = t14.len; + t7 = t13; + t8 = t7 < UINT64_C(16); + if (t8) { + goto zig_block_1; + } + goto zig_block_3; zig_block_3:; - if (t25) { - return (nav__8940_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - } - goto zig_block_2; + t14 = (*t16); + t17 = t14.ptr; + t17 = (uint8_t const *)(((uintptr_t)t17) + + ((uintptr_t)0ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t17; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t10, &t19, sizeof(uint32_t)); + t10 = zig_wrap_u32(t10, UINT8_C(32)); + t8 = t10 != UINT32_C(4); + if (t8) { + goto zig_block_1; + } + goto zig_block_4; - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t26 = t9.ptr[t28]; - t25 = t11 == t26; - if (t25) { - t28 = (uintptr_t)t27; - t29 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8915(a1, t29, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; + zig_block_4:; + t14 = (*t16); + t17 = t14.ptr; + t17 = (uint8_t const *)(((uintptr_t)t17) + + ((uintptr_t)4ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t17; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t10, &t19, sizeof(uint32_t)); + t10 = zig_wrap_u32(t10, UINT8_C(32)); + t14 = (*t16); + t17 = t14.ptr; + t17 = (uint8_t const *)(((uintptr_t)t17) + + ((uintptr_t)8ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t17; + memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); + memcpy(&t20, &t19, sizeof(uint32_t)); + t20 = zig_wrap_u32(t20, UINT8_C(32)); + t8 = t20 != UINT32_C(3); + if (t8) { + goto zig_block_1; + } + goto zig_block_5; zig_block_5:; - if (t18) { - t30.is_null = false; - t30.payload = t12; - return t30; - } - goto zig_block_4; + t14 = (*t16); + t17 = t14.ptr; + t17 = (uint8_t const *)(((uintptr_t)t17) + + ((uintptr_t)12ul * sizeof(uint8_t))); + t18 = (uint8_t const(*)[4])t17; + t14.ptr = &(*t18)[(uintptr_t)0ul]; + t14.len = (uintptr_t)4ul; + t8 = mem_eql__anon_8262__9010( + t14, (nav__9519_39){(uint8_t const *)&__anon_8822, (uintptr_t)4ul}); + t8 = !t8; + if (t8) { + goto zig_block_1; + } + goto zig_block_6; - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT32_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__8941_39 mem_Allocator_allocWithSizeAndAlignment__anon_8191__8941(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uintptr_t t2; - uintptr_t t5; - nav__8941_49 t3; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - nav__8941_39 t7; - bool t4; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = math_mul__anon_3752__7986((uintptr_t)1ul, a1); - t4 = t3.error == UINT16_C(0); - if (t4) { - t5 = t3.payload; - t2 = t5; + zig_block_6:; + t14 = (*t16); + t17 = t14.ptr; + t17 = (uint8_t const *)(((uintptr_t)t17) + + ((uintptr_t)16ul * sizeof(uint8_t))); + t5 = (uintptr_t)t10; + t14.ptr = t17; + t14.len = t5; + t21 = t14; + return t21; + } goto zig_block_0; - } - return (nav__8941_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_0:; - t6 = (*t1); - t7 = mem_Allocator_allocBytesWithAlignment__anon_3142__5091(t6, t2, a2); - return t7; -} - -static uint8_t math_log2_int__anon_8194__8942(uintptr_t const a0) { - uint64_t t0; - uint16_t t3; - bool t1; - uint8_t t2; - t0 = a0; - t1 = t0 != UINT64_C(0); - debug_assert__180(t1); - t2 = zig_clz_u64(a0, UINT8_C(64)); - t3 = (uint16_t)t2; - t3 = UINT16_C(63) - t3; - t2 = (uint8_t)t3; - return t2; -} - -static nav__8943_39 mem_Allocator_allocWithSizeAndAlignment__anon_8198__8943(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uintptr_t t2; - uintptr_t t5; - nav__8943_49 t3; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - nav__8943_39 t7; - bool t4; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = math_mul__anon_3752__7986((uintptr_t)1ul, a1); - t4 = t3.error == UINT16_C(0); - if (t4) { - t5 = t3.payload; + +zig_block_1:; + t5 = t5 + (uintptr_t)1ul; t2 = t5; - goto zig_block_0; - } - return (nav__8943_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_0:; - t6 = (*t1); - t7 = mem_Allocator_allocBytesWithAlignment__anon_8224__8944(t6, t2, a2); - return t7; -} - -static uint32_t array_hash_map_hashString__3722(nav__3722_39 const a0) { - uint64_t t0; - uint32_t t1; - t0 = hash_wyhash_Wyhash_hash__9004(UINT64_C(0), a0); - t1 = (uint32_t)t0; - return t1; -} - -static bool array_hash_map_eqlString__3721(nav__3721_39 const a0, nav__3721_39 const a1) { - bool t0; - t0 = mem_eql__anon_8236__9005(a0, a1); - return t0; -} - -static uint32_t array_hash_map_IndexHeader_mask__3962(struct array_hash_map_IndexHeader__886 const a0) { - struct array_hash_map_IndexHeader__886 const *t1; - uintptr_t t3; - struct array_hash_map_IndexHeader__886 t2; - struct array_hash_map_IndexHeader__886 t0; - uint32_t t4; - t0 = a0; - t1 = (struct array_hash_map_IndexHeader__886 const *)&t0; - t2 = (*t1); - t3 = array_hash_map_IndexHeader_length__3961(t2); - t3 = t3 - (uintptr_t)1ul; - t4 = (uint32_t)t3; - return t4; -} - -static nav__8944_39 mem_Allocator_allocBytesWithAlignment__anon_8224__8944(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uint64_t t2; - uint8_t *t4; - uint8_t *t13; - uint8_t *t14; - uint8_t *t15; - struct mem_Allocator__599 t5; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t7; - struct mem_Allocator_VTable__602 const *const *t8; - struct mem_Allocator_VTable__602 const *t9; - uint8_t *(*const *t10)(void *, uintptr_t, uint8_t, uintptr_t); - uint8_t *(*t11)(void *, uintptr_t, uint8_t, uintptr_t); - void *t12; - uint8_t *const *t16; - nav__8944_52 t17; - nav__8944_39 t18; - bool t3; - uint8_t t6; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = t2 == UINT64_C(0); - if (t3) { - return (nav__8944_39){(uint8_t *)(uintptr_t)0xfffffffffffffffcul,0}; - } - goto zig_block_0; - - zig_block_0:; - t5 = (*t1); - t6 = mem_Alignment_fromByteUnits__1108((uintptr_t)4ul); - t7 = t5; - t1 = (struct mem_Allocator__599 const *)&t7; - t8 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t9 = (*t8); - t10 = (uint8_t *(*const *)(void *, uintptr_t, uint8_t, uintptr_t))&t9->alloc; - t11 = (*t10); - t12 = t5.ptr; - t13 = t11(t12, a1, t6, a2); - t3 = t13 != NULL; - if (t3) { - t14 = t13; - t4 = t14; - goto zig_block_1; - } - return (nav__8944_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_1:; - t15 = t4; - t16 = (uint8_t *const *)&t15; - t14 = (*t16); - t14 = (uint8_t *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t17.ptr = t14; - t17.len = a1; - t14 = (uint8_t *)t4; - t18.payload = t14; - t18.error = UINT16_C(0); - return t18; -} - -static uint64_t hash_wyhash_Wyhash_hash__9004(uint64_t const a0, nav__9004_39 const a1) { - zig_u128 t41; - zig_u128 t42; - nav__9004_39 const *t1; - nav__9004_39 const *t17; - nav__9004_39 const *t61; - struct hash_wyhash_Wyhash__8229 t3; - struct hash_wyhash_Wyhash__8229 t2; - uintptr_t t4; - uintptr_t t10; - uintptr_t t15; - uintptr_t t26; - uintptr_t t58; - uint64_t t5; - uint64_t t22; - uint64_t t38; - uint64_t t39; - uint64_t t40; - uint64_t t47; - uint64_t t48; - uint64_t t52; - uint64_t t53; - uint64_t t63; - uint64_t t64; - uint64_t t70; - uint64_t t71; - struct hash_wyhash_Wyhash__8229 *const *t8; - struct hash_wyhash_Wyhash__8229 *t11; - struct hash_wyhash_Wyhash__8229 *t7; - struct hash_wyhash_Wyhash__8229 *t28; - struct hash_wyhash_Wyhash__8229 *t54; - struct hash_wyhash_Wyhash__8229 *t55; - struct hash_wyhash_Wyhash__8229 *t68; - uint64_t *t12; - uint64_t *t69; - nav__9004_39 t13; - nav__9004_39 t59; - nav__9004_39 t0; - nav__9004_39 t9; - nav__9004_39 t16; - nav__9004_39 t21; - nav__9004_39 t23; - nav__9004_39 t24; - nav__9004_39 t31; - nav__9004_39 t35; - nav__9004_39 t44; - nav__9004_39 t46; - nav__9004_39 t50; - nav__9004_39 t51; - nav__9004_39 t56; - nav__9004_39 t57; - nav__9004_39 t60; - nav__9004_39 t62; - nav__9004_39 t65; - nav__9004_39 t66; - uint8_t const *t14; - uint8_t const (*t18)[4]; - uint8_t const (*t27)[48]; - uint8_t const (*t29)[48]; - uint8_t const (*const *t30)[48]; - uint8_t const (*t32)[8]; - uint8_t const (*t34)[40]; - uint64_t (*t36)[3]; - uint64_t t37[3]; - uint8_t const (*t43)[32]; - uint8_t const (*t45)[24]; - uint8_t const (*t49)[16]; - uintptr_t *t67; - uint32_t t20; - bool t6; - uint8_t t19[4]; - uint8_t t25; - uint8_t t33[8]; - t0 = a1; - t1 = (nav__9004_39 const *)&t0; - t3 = hash_wyhash_Wyhash_init__8992(a0); - t2 = t3; - t4 = a1.len; - t5 = t4; - t6 = t5 <= UINT64_C(16); - if (t6) { - t7 = &t2; - t8 = (struct hash_wyhash_Wyhash__8229 *const *)&t7; - t9 = a1; - t1 = (nav__9004_39 const *)&t9; - t4 = a1.len; - t5 = t4; - t6 = t5 <= UINT64_C(16); - debug_assert__180(t6); + goto zig_loop_9; + +zig_block_0:; + return (nav__9519_39){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; +} + +static nav__3625_39 environment_linked_libraries_root_hexEncode__3625( + struct mem_Allocator__599 const a0, nav__3625_39 const a1) { + struct mem_Allocator__599 const *t1; + nav__3625_50 t2; + nav__3625_50 t7; + nav__3625_50 t8; + struct mem_Allocator__599 t3; + struct mem_Allocator__599 t0; + uintptr_t t4; + uintptr_t t11; + uintptr_t t15; + uintptr_t t10; + nav__3625_52 t5; + nav__3625_50 const *t9; + uint64_t t12; + uint64_t t13; + uint8_t *t16; + uint8_t const *t18; + nav__3625_39 t19; + nav__3625_39 t20; + bool t6; + uint8_t t14; + uint8_t t17; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = (*t1); t4 = a1.len; - t5 = t4; - t6 = t5 >= UINT64_C(4); + t4 = t4 * (uintptr_t)2ul; + t5 = mem_Allocator_alloc__anon_2715__5068(t3, t4); + t6 = t5.error == UINT16_C(0); if (t6) { - t4 = a1.len; - t4 = t4 - (uintptr_t)4ul; - t10 = a1.len; - t10 = zig_shr_u64(t10, UINT8_C(3)); - t10 = zig_shlw_u64(t10, UINT8_C(2), UINT8_C(64)); - t11 = (*t8); - t12 = (uint64_t *)&t11->a; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t15 = t13.len; - t13.ptr = t14; - t13.len = t15; - t16 = t13; - t17 = (nav__9004_39 const *)&t16; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t14; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t20, &t19, sizeof(uint32_t)); - t20 = zig_wrap_u32(t20, UINT8_C(32)); - t5 = (uint64_t)t20; - t5 = zig_shlw_u64(t5, UINT8_C(32), UINT8_C(64)); - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t10*sizeof(uint8_t))); - t15 = t13.len; - t15 = t15 - t10; - t13.ptr = t14; - t13.len = t15; - t21 = t13; - t17 = (nav__9004_39 const *)&t21; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t14; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t20, &t19, sizeof(uint32_t)); - t20 = zig_wrap_u32(t20, UINT8_C(32)); - t22 = (uint64_t)t20; - t22 = t5 | t22; - (*t12) = t22; - t11 = (*t8); - t12 = (uint64_t *)&t11->b; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t4*sizeof(uint8_t))); - t15 = t13.len; - t15 = t15 - t4; - t13.ptr = t14; - t13.len = t15; - t23 = t13; - t17 = (nav__9004_39 const *)&t23; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t14; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t20, &t19, sizeof(uint32_t)); - t20 = zig_wrap_u32(t20, UINT8_C(32)); - t22 = (uint64_t)t20; - t22 = zig_shlw_u64(t22, UINT8_C(32), UINT8_C(64)); - t10 = t4 - t10; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t10*sizeof(uint8_t))); - t4 = t13.len; - t10 = t4 - t10; - t13.ptr = t14; - t13.len = t10; - t24 = t13; - t1 = (nav__9004_39 const *)&t24; - debug_assert__180(true); - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t14; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t20, &t19, sizeof(uint32_t)); - t20 = zig_wrap_u32(t20, UINT8_C(32)); - t5 = (uint64_t)t20; - t5 = t22 | t5; - (*t12) = t5; - goto zig_block_1; + t7 = t5.payload; + t2 = t7; + goto zig_block_0; } - t15 = a1.len; - t22 = t15; - t6 = t22 > UINT64_C(0); + return (nav__3625_39){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_0:; + t8 = t2; + t9 = (nav__3625_50 const *)&t8; + t10 = (uintptr_t)0ul; + t4 = a1.len; +zig_loop_25: + t11 = t10; + t12 = t11; + t13 = t4; + t6 = t12 < t13; if (t6) { - t11 = (*t8); - t12 = (uint64_t *)&t11->a; - t25 = a1.ptr[(uintptr_t)0ul]; - t22 = (uint64_t)t25; - t22 = zig_shlw_u64(t22, UINT8_C(16), UINT8_C(64)); - t15 = a1.len; - t15 = zig_shr_u64(t15, UINT8_C(1)); - t25 = a1.ptr[t15]; - t5 = (uint64_t)t25; - t5 = zig_shlw_u64(t5, UINT8_C(8), UINT8_C(64)); - t5 = t22 | t5; - t15 = a1.len; - t15 = t15 - (uintptr_t)1ul; - t25 = a1.ptr[t15]; - t22 = (uint64_t)t25; - t22 = t5 | t22; - (*t12) = t22; - t11 = (*t8); - t12 = (uint64_t *)&t11->b; - (*t12) = UINT64_C(0); - goto zig_block_2; + t14 = a1.ptr[t11]; + t15 = t11 * (uintptr_t)2ul; + t7 = (*t9); + t16 = &t7.ptr[t15]; + t17 = zig_shr_u8(t14, UINT8_C(4)); + t15 = (uintptr_t)t17; + t18 = (uint8_t const *)&(*&__anon_8826)[t15]; + t17 = (*t18); + (*t16) = t17; + t15 = t11 * (uintptr_t)2ul; + t15 = t15 + (uintptr_t)1ul; + t7 = (*t9); + t16 = &t7.ptr[t15]; + t14 = t14 & UINT8_C(15); + t15 = (uintptr_t)t14; + t18 = (uint8_t const *)&(*&__anon_8826)[t15]; + t14 = (*t18); + (*t16) = t14; + goto zig_block_2; } - t11 = (*t8); - t12 = (uint64_t *)&t11->a; - (*t12) = UINT64_C(0); - t11 = (*t8); - t12 = (uint64_t *)&t11->b; - (*t12) = UINT64_C(0); - goto zig_block_2; - - zig_block_2:; goto zig_block_1; - zig_block_1:; - goto zig_block_0; - } - t26 = (uintptr_t)0ul; - t15 = a1.len; - t22 = t15; - t6 = t22 >= UINT64_C(48); - if (t6) { - zig_loop_180: - t15 = t26; - t15 = t15 + (uintptr_t)48ul; - t10 = a1.len; - t22 = t15; - t5 = t10; - t6 = t22 < t5; - if (t6) { - t10 = t26; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t10*sizeof(uint8_t))); - t27 = (uint8_t const (*)[48])t14; - t28 = &t2; - t8 = (struct hash_wyhash_Wyhash__8229 *const *)&t28; - t29 = t27; - t30 = (uint8_t const (*const *)[48])&t29; - t27 = (*t30); - t14 = (uint8_t const *)t27; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t27 = (uint8_t const (*)[48])t14; - t13.ptr = &(*t27)[(uintptr_t)0ul]; - t13.len = (uintptr_t)48ul; - t31 = t13; - t17 = (nav__9004_39 const *)&t31; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t5, &t33, sizeof(uint64_t)); - t5 = zig_wrap_u64(t5, UINT8_C(64)); - t27 = (*t30); - t14 = (uint8_t const *)t27; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)8ul*sizeof(uint8_t))); - t34 = (uint8_t const (*)[40])t14; - t13.ptr = &(*t34)[(uintptr_t)0ul]; - t13.len = (uintptr_t)40ul; - t35 = t13; - t17 = (nav__9004_39 const *)&t35; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t22, &t33, sizeof(uint64_t)); - t22 = zig_wrap_u64(t22, UINT8_C(64)); - t11 = (*t8); - t36 = (uint64_t (*)[3])&t11->state; - t12 = (uint64_t *)&(*t36)[(uintptr_t)0ul]; - t5 = t5 ^ UINT64_C(16646288086500911323); - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t38 = t37[(uintptr_t)0ul]; - t38 = t22 ^ t38; - t39 = t5; - t40 = t38; - t38 = t39; - t41 = zig_make_u128(0, t38); - t38 = t40; - t42 = zig_make_u128(0, t38); - t42 = zig_mulw_u128(t41, t42, UINT8_C(128)); - t38 = zig_lo_u128(t42); - t39 = t38; - t42 = zig_shr_u128(t42, UINT8_C(64)); - t38 = zig_lo_u128(t42); - t40 = t38; - t38 = t39; - t5 = t40; - t5 = t38 ^ t5; - (*t12) = t5; - t27 = (*t30); - t14 = (uint8_t const *)t27; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)16ul*sizeof(uint8_t))); - t43 = (uint8_t const (*)[32])t14; - t13.ptr = &(*t43)[(uintptr_t)0ul]; - t13.len = (uintptr_t)32ul; - t44 = t13; - t17 = (nav__9004_39 const *)&t44; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t5, &t33, sizeof(uint64_t)); - t5 = zig_wrap_u64(t5, UINT8_C(64)); - t27 = (*t30); - t14 = (uint8_t const *)t27; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)24ul*sizeof(uint8_t))); - t45 = (uint8_t const (*)[24])t14; - t13.ptr = &(*t45)[(uintptr_t)0ul]; - t13.len = (uintptr_t)24ul; - t46 = t13; - t17 = (nav__9004_39 const *)&t46; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t38, &t33, sizeof(uint64_t)); - t38 = zig_wrap_u64(t38, UINT8_C(64)); - t11 = (*t8); - t36 = (uint64_t (*)[3])&t11->state; - t12 = (uint64_t *)&(*t36)[(uintptr_t)1ul]; - t5 = t5 ^ UINT64_C(10285213230658275043); - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t22 = t37[(uintptr_t)1ul]; - t22 = t38 ^ t22; - t47 = t5; - t48 = t22; - t22 = t47; - t42 = zig_make_u128(0, t22); - t22 = t48; - t41 = zig_make_u128(0, t22); - t41 = zig_mulw_u128(t42, t41, UINT8_C(128)); - t22 = zig_lo_u128(t41); - t47 = t22; - t41 = zig_shr_u128(t41, UINT8_C(64)); - t22 = zig_lo_u128(t41); - t48 = t22; - t22 = t47; - t5 = t48; - t5 = t22 ^ t5; - (*t12) = t5; - t27 = (*t30); - t14 = (uint8_t const *)t27; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)32ul*sizeof(uint8_t))); - t49 = (uint8_t const (*)[16])t14; - t13.ptr = &(*t49)[(uintptr_t)0ul]; - t13.len = (uintptr_t)16ul; - t50 = t13; - t17 = (nav__9004_39 const *)&t50; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t5, &t33, sizeof(uint64_t)); - t5 = zig_wrap_u64(t5, UINT8_C(64)); - t27 = (*t30); - t14 = (uint8_t const *)t27; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)40ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - t13.ptr = &(*t32)[(uintptr_t)0ul]; - t13.len = (uintptr_t)8ul; - t51 = t13; - t17 = (nav__9004_39 const *)&t51; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t22, &t33, sizeof(uint64_t)); - t22 = zig_wrap_u64(t22, UINT8_C(64)); - t11 = (*t8); - t36 = (uint64_t (*)[3])&t11->state; - t12 = (uint64_t *)&(*t36)[(uintptr_t)2ul]; - t5 = t5 ^ UINT64_C(6384245875588680899); - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t38 = t37[(uintptr_t)2ul]; - t38 = t22 ^ t38; - t52 = t5; - t53 = t38; - t38 = t52; - t41 = zig_make_u128(0, t38); - t38 = t53; - t42 = zig_make_u128(0, t38); - t42 = zig_mulw_u128(t41, t42, UINT8_C(128)); - t38 = zig_lo_u128(t42); - t52 = t38; - t42 = zig_shr_u128(t42, UINT8_C(64)); - t38 = zig_lo_u128(t42); - t53 = t38; - t38 = t52; - t5 = t53; - t5 = t38 ^ t5; - (*t12) = t5; - t10 = t26; - t10 = t10 + (uintptr_t)48ul; - t26 = t10; - goto zig_block_5; - } - goto zig_block_4; +zig_block_2:; + t11 = t11 + (uintptr_t)1ul; + t10 = t11; + goto zig_loop_25; - zig_block_5:; - goto zig_loop_180; +zig_block_1:; + memcpy(&t19, &t2, sizeof(nav__3625_39)); + t20 = t19; + return t20; +} - zig_block_4:; - t54 = &t2; - t8 = (struct hash_wyhash_Wyhash__8229 *const *)&t54; - t11 = (*t8); - t36 = (uint64_t (*)[3])&t11->state; - t12 = (uint64_t *)&(*t36)[(uintptr_t)0ul]; - t38 = (*t12); - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t22 = t37[(uintptr_t)1ul]; - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t5 = t37[(uintptr_t)2ul]; - t5 = t22 ^ t5; - t5 = t38 ^ t5; - (*t12) = t5; - goto zig_block_3; - } - goto zig_block_3; - - zig_block_3:; - t15 = t26; - t55 = &t2; - t8 = (struct hash_wyhash_Wyhash__8229 *const *)&t55; - t56 = a1; - t1 = (nav__9004_39 const *)&t56; - t10 = a1.len; - t38 = t10; - t6 = t38 >= UINT64_C(16); - debug_assert__180(t6); - t10 = a1.len; - t10 = t10 - t15; - t38 = t10; - t6 = t38 <= UINT64_C(48); - debug_assert__180(t6); - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t15*sizeof(uint8_t))); - t10 = t13.len; - t15 = t10 - t15; - t13.ptr = t14; - t13.len = t15; - t57 = t13; - t17 = (nav__9004_39 const *)&t57; - t58 = (uintptr_t)0ul; - zig_loop_483: - t15 = t58; - t15 = t15 + (uintptr_t)16ul; - t10 = t13.len; - t38 = t15; - t22 = t10; - t6 = t38 < t22; - if (t6) { - t11 = (*t8); - t36 = (uint64_t (*)[3])&t11->state; - t12 = (uint64_t *)&(*t36)[(uintptr_t)0ul]; - t10 = t58; - t59 = (*t17); - t14 = t59.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t10*sizeof(uint8_t))); - t15 = t59.len; - t10 = t15 - t10; - t59.ptr = t14; - t59.len = t10; - t60 = t59; - t61 = (nav__9004_39 const *)&t60; - debug_assert__180(true); - t59 = (*t61); - t14 = t59.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t22, &t33, sizeof(uint64_t)); - t22 = zig_wrap_u64(t22, UINT8_C(64)); - t22 = t22 ^ UINT64_C(16646288086500911323); - t10 = t58; - t10 = t10 + (uintptr_t)8ul; - t59 = (*t17); - t14 = t59.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t10*sizeof(uint8_t))); - t15 = t59.len; - t10 = t15 - t10; - t59.ptr = t14; - t59.len = t10; - t62 = t59; - t61 = (nav__9004_39 const *)&t62; - debug_assert__180(true); - t59 = (*t61); - t14 = t59.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t38, &t33, sizeof(uint64_t)); - t38 = zig_wrap_u64(t38, UINT8_C(64)); - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t5 = t37[(uintptr_t)0ul]; - t5 = t38 ^ t5; - t63 = t22; - t64 = t5; - t5 = t63; - t42 = zig_make_u128(0, t5); - t5 = t64; - t41 = zig_make_u128(0, t5); - t41 = zig_mulw_u128(t42, t41, UINT8_C(128)); - t5 = zig_lo_u128(t41); - t63 = t5; - t41 = zig_shr_u128(t41, UINT8_C(64)); - t5 = zig_lo_u128(t41); - t64 = t5; - t5 = t63; - t22 = t64; - t22 = t5 ^ t22; - (*t12) = t22; - t10 = t58; - t10 = t10 + (uintptr_t)16ul; - t58 = t10; - goto zig_block_7; - } - goto zig_block_6; - - zig_block_7:; - goto zig_loop_483; - - zig_block_6:; - t11 = (*t8); - t12 = (uint64_t *)&t11->a; - t15 = a1.len; - t15 = t15 - (uintptr_t)16ul; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t15*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - t13.ptr = &(*t32)[(uintptr_t)0ul]; - t13.len = (uintptr_t)8ul; - t65 = t13; - t17 = (nav__9004_39 const *)&t65; - debug_assert__180(true); - t13 = (*t17); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t38, &t33, sizeof(uint64_t)); - t38 = zig_wrap_u64(t38, UINT8_C(64)); - (*t12) = t38; - t11 = (*t8); - t12 = (uint64_t *)&t11->b; - t15 = a1.len; - t15 = t15 - (uintptr_t)8ul; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t15*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - t13.ptr = &(*t32)[(uintptr_t)0ul]; - t13.len = (uintptr_t)8ul; - t66 = t13; - t1 = (nav__9004_39 const *)&t66; - debug_assert__180(true); - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + ((uintptr_t)0ul*sizeof(uint8_t))); - t32 = (uint8_t const (*)[8])t14; - memcpy(t33, (const char *)t32, sizeof(uint8_t[8])); - memcpy(&t38, &t33, sizeof(uint64_t)); - t38 = zig_wrap_u64(t38, UINT8_C(64)); - (*t12) = t38; - goto zig_block_0; - - zig_block_0:; - t67 = (uintptr_t *)&t2.total_len; - t15 = a1.len; - (*t67) = t15; - t68 = &t2; - t8 = (struct hash_wyhash_Wyhash__8229 *const *)&t68; - t11 = (*t8); - t12 = (uint64_t *)&t11->a; - t38 = (*t12); - t38 = t38 ^ UINT64_C(16646288086500911323); - (*t12) = t38; - t11 = (*t8); - t12 = (uint64_t *)&t11->b; - t38 = (*t12); - t36 = (uint64_t (*)[3])&t2.state; - memcpy(t37, (const char *)t36, sizeof(uint64_t[3])); - t22 = t37[(uintptr_t)0ul]; - t22 = t38 ^ t22; - (*t12) = t22; - t11 = (*t8); - t12 = (uint64_t *)&t11->a; - t11 = (*t8); - t69 = (uint64_t *)&t11->b; - t22 = (*t12); - t42 = zig_make_u128(0, t22); - t22 = (*t69); - t41 = zig_make_u128(0, t22); - t41 = zig_mulw_u128(t42, t41, UINT8_C(128)); - t22 = zig_lo_u128(t41); - (*t12) = t22; - t41 = zig_shr_u128(t41, UINT8_C(64)); - t22 = zig_lo_u128(t41); - (*t69) = t22; - t69 = (uint64_t *)&t2.a; - t22 = (*t69); - t22 = t22 ^ UINT64_C(11562461410679940143); - t67 = (uintptr_t *)&t2.total_len; - t15 = (*t67); - t38 = t15; - t38 = t22 ^ t38; - t69 = (uint64_t *)&t2.b; - t22 = (*t69); - t22 = t22 ^ UINT64_C(16646288086500911323); - t70 = t38; - t71 = t22; - t22 = t70; - t41 = zig_make_u128(0, t22); - t22 = t71; - t42 = zig_make_u128(0, t22); - t42 = zig_mulw_u128(t41, t42, UINT8_C(128)); - t22 = zig_lo_u128(t42); - t70 = t22; - t42 = zig_shr_u128(t42, UINT8_C(64)); - t22 = zig_lo_u128(t42); - t71 = t22; - t22 = t70; - t38 = t71; - t38 = t22 ^ t38; - return t38; -} - -static bool mem_eql__anon_8236__9005(nav__9005_39 const a0, nav__9005_39 const a1) { - nav__9005_39 t0; - nav__9005_39 t1; - bool t2; - t0 = mem_sliceAsBytes__anon_3884__7989(a0); - t1 = mem_sliceAsBytes__anon_3884__7989(a1); - t2 = mem_eqlBytes__851(t0, t1); - return t2; -} - -static struct hash_wyhash_Wyhash__8229 hash_wyhash_Wyhash_init__8992(uint64_t const a0) { - zig_u128 t6; - zig_u128 t7; - uint64_t (*t1)[3]; - uint64_t *t2; - uint64_t t3; - uint64_t t8; - uint64_t t4; - uint64_t t5; - struct hash_wyhash_Wyhash__8229 t9; - struct hash_wyhash_Wyhash__8229 t0; - uint64_t t10[3]; - t0 = (struct hash_wyhash_Wyhash__8229){UINT64_C(0xaaaaaaaaaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa),{UINT64_C(0xaaaaaaaaaaaaaaaa), UINT64_C(0xaaaaaaaaaaaaaaaa), UINT64_C(0xaaaaaaaaaaaaaaaa)},(uintptr_t)0ul,(uintptr_t)0ul,"\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252"}; - t1 = (uint64_t (*)[3])&t0.state; - t2 = (uint64_t *)&(*t1)[(uintptr_t)0ul]; - t3 = a0 ^ UINT64_C(11562461410679940143); - t4 = t3; - t5 = UINT64_C(16646288086500911323); - t3 = t4; - t6 = zig_make_u128(0, t3); - t3 = t5; - t7 = zig_make_u128(0, t3); - t7 = zig_mulw_u128(t6, t7, UINT8_C(128)); - t3 = zig_lo_u128(t7); - t4 = t3; - t7 = zig_shr_u128(t7, UINT8_C(64)); - t3 = zig_lo_u128(t7); - t5 = t3; - t3 = t4; - t8 = t5; - t8 = t3 ^ t8; - t8 = a0 ^ t8; - (*t2) = t8; - t1 = (uint64_t (*)[3])&t0.state; - t2 = (uint64_t *)&(*t1)[(uintptr_t)1ul]; - t9 = t0; - memcpy(t10, t9.state, sizeof(uint64_t[3])); - t8 = t10[(uintptr_t)0ul]; - (*t2) = t8; - t1 = (uint64_t (*)[3])&t0.state; - t2 = (uint64_t *)&(*t1)[(uintptr_t)2ul]; - t9 = t0; - memcpy(t10, t9.state, sizeof(uint64_t[3])); - t8 = t10[(uintptr_t)0ul]; - (*t2) = t8; - t9 = t0; - return t9; -} - -static bool mem_eqlBytes__851(nav__851_39 const a0, nav__851_39 const a1) { - static uint8_t const t32[16] = "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"; - nav__851_39 const *t1; - nav__851_39 const *t3; - uintptr_t t4; - uintptr_t t5; - uintptr_t t17; - uintptr_t t18; - uintptr_t t16; - uintptr_t t34; - uint64_t t6; - uint64_t t7; - uint8_t const *t10; - uint8_t const *t11; - uintptr_t t19[4]; - nav__851_39 t21; - nav__851_39 t0; - nav__851_39 t2; - uint8_t const (*t22)[4]; - uint8_t const (*t27)[16]; - uint8_t const (*t35)[32]; - uint32_t t20; - uint32_t t24; - uint32_t t25; - uint32_t t15; - bool t8; - bool t9; - uint8_t t12; - uint8_t t13; - uint8_t t14; - uint8_t t23[4]; - uint8_t t28[16]; - uint8_t t29[16]; - uint8_t t30[16]; - uint8_t t31[16]; - uint8_t t26[16]; - bool t33[16]; - uint8_t t36[32]; - uint8_t t37[32]; - uint8_t t38[32]; - bool t39[32]; - t0 = a0; - t1 = (nav__851_39 const *)&t0; - t2 = a1; - t3 = (nav__851_39 const *)&t2; - t4 = a0.len; - t5 = a1.len; - t6 = t4; - t7 = t5; - t8 = t6 != t7; - if (t8) { - return false; - } - goto zig_block_0; - - zig_block_0:; - t5 = a0.len; - t7 = t5; - t8 = t7 == UINT64_C(0); - if (t8) { - t9 = true; - goto zig_block_2; - } - t10 = a0.ptr; - t11 = a1.ptr; - t8 = t10 == t11; - t9 = t8; - goto zig_block_2; - - zig_block_2:; - if (t9) { - return true; - } - goto zig_block_1; - - zig_block_1:; - t5 = a0.len; - t7 = t5; - t9 = t7 <= UINT64_C(16); - if (t9) { - t5 = a0.len; - t7 = t5; - t9 = t7 < UINT64_C(4); - if (t9) { - t12 = a0.ptr[(uintptr_t)0ul]; - t13 = a1.ptr[(uintptr_t)0ul]; - t13 = t12 ^ t13; - t5 = a0.len; - t5 = t5 - (uintptr_t)1ul; - t12 = a0.ptr[t5]; - t5 = a0.len; - t5 = t5 - (uintptr_t)1ul; - t14 = a1.ptr[t5]; - t14 = t12 ^ t14; - t14 = t13 | t14; - t5 = a0.len; - t5 = t5 / (uintptr_t)2ul; - t13 = a0.ptr[t5]; - t5 = a0.len; - t5 = t5 / (uintptr_t)2ul; - t12 = a1.ptr[t5]; - t12 = t13 ^ t12; - t12 = t14 | t12; - t9 = t12 == UINT8_C(0); - return t9; - } - goto zig_block_4; +static nav__9514_40 environment_linked_libraries_elf_view_dynamicEntries__9514( + struct environment_linked_libraries_elf_view__8561 const a0) { + struct environment_linked_libraries_elf_view__8561 const *t1; + struct elf_Elf64_Phdr__8411 t2; + struct elf_Elf64_Phdr__8411 t6; + struct environment_linked_libraries_elf_view__8561 t3; + struct environment_linked_libraries_elf_view__8561 t0; + nav__9514_52 t4; + uintptr_t t7; + uintptr_t t9; + uint64_t t8; + struct elf_Elf64_Dyn__8706 const *t10; + struct elf_Elf64_Dyn__8706 const *t11; + struct elf_Elf64_Dyn__8706 const *const *t12; + nav__9514_40 t13; + nav__9514_40 t14; + bool t5; + t0 = a0; + t1 = (struct environment_linked_libraries_elf_view__8561 const *)&t0; + t3 = (*t1); + t4 = environment_linked_libraries_elf_view_findPhdr__9513(t3, UINT32_C(2)); + t5 = t4.is_null != true; + if (t5) { + t6 = t4.payload; + t2 = t6; + goto zig_block_0; + } + return (nav__9514_40){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_0:; + t7 = a0.base_addr; + t8 = t2.p_vaddr; + t9 = t8; + t9 = t7 + t9; + t10 = (struct elf_Elf64_Dyn__8706 const *)t9; + t11 = t10; + t12 = (struct elf_Elf64_Dyn__8706 const *const *)&t11; + t8 = t2.p_memsz; + t8 = t8 / UINT64_C(16); + t10 = (*t12); + t10 = (struct elf_Elf64_Dyn__8706 const *)(((uintptr_t)t10) + + ((uintptr_t)0ul * + sizeof( + struct elf_Elf64_Dyn__8706))); + t9 = t8; + t13.ptr = t10; + t13.len = t9; + t14 = t13; + return t14; +} - zig_block_4:; - t15 = UINT32_C(0); - t16 = (uintptr_t)0ul; - t5 = a0.len; - t5 = t5 - (uintptr_t)4ul; - t4 = a0.len; - t4 = t4 / (uintptr_t)8ul; - t4 = t4 * (uintptr_t)4ul; - t17 = a0.len; - t17 = t17 - (uintptr_t)4ul; - t18 = a0.len; - t18 = t18 / (uintptr_t)8ul; - t18 = t18 * (uintptr_t)4ul; - t18 = t17 - t18; - t19[0] = (uintptr_t)0ul; - t19[1] = t5; - t19[2] = t4; - t19[3] = t18; - zig_loop_79: - t18 = t16; - t7 = t18; - t9 = t7 < UINT64_C(4); - if (t9) { - t4 = t19[t18]; - t20 = t15; - t21 = (*t1); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t4*sizeof(uint8_t))); - t22 = (uint8_t const (*)[4])t11; - memcpy(t23, (const char *)t22, sizeof(uint8_t[4])); - memcpy(&t24, &t23, sizeof(uint32_t)); - t24 = zig_wrap_u32(t24, UINT8_C(32)); - t21 = (*t3); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t4*sizeof(uint8_t))); - t22 = (uint8_t const (*)[4])t11; - memcpy(t23, (const char *)t22, sizeof(uint8_t[4])); - memcpy(&t25, &t23, sizeof(uint32_t)); - t25 = zig_wrap_u32(t25, UINT8_C(32)); - t25 = t24 ^ t25; - t25 = t20 | t25; - t15 = t25; - goto zig_block_6; +static uint8_t const *environment_linked_libraries_elf_view_strtab__9516( + nav__9516_41 const a0) { + uintptr_t t0; + uintptr_t t3; + nav__9516_45 t1; + uint8_t const *t4; + bool t2; + t1 = environment_linked_libraries_elf_view_dynVal__9515(a0, INT64_C(5)); + t2 = t1.is_null != true; + if (t2) { + t3 = t1.payload; + t0 = t3; + goto zig_block_0; } - goto zig_block_5; + return NULL; - zig_block_6:; - t18 = t18 + (uintptr_t)1ul; - t16 = t18; - goto zig_loop_79; +zig_block_0:; + t4 = (uint8_t const *)t0; + return t4; +} - zig_block_5:; - t25 = t15; - t9 = t25 == UINT32_C(0); - return t9; - } - goto zig_block_3; - - zig_block_3:; - t18 = a0.len; - t7 = t18; - t9 = t7 <= UINT64_C(32); - if (t9) { - t21 = (*t1); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + ((uintptr_t)0ul*sizeof(uint8_t))); - t27 = (uint8_t const (*)[16])t11; - memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); - memcpy(&t29, &t28, sizeof(uint8_t[16])); - t21 = (*t3); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + ((uintptr_t)0ul*sizeof(uint8_t))); - t27 = (uint8_t const (*)[16])t11; - memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); - memcpy(&t30, &t28, sizeof(uint8_t[16])); - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { - t30[t18] = t29[t18] ^ t30[t18]; - } - memcpy((char *)&t26, t30, sizeof(uint8_t[16])); - memcpy(t30, (const char *)&t26, sizeof(uint8_t[16])); - t18 = a0.len; - t18 = t18 - (uintptr_t)16ul; - t21 = (*t1); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t18*sizeof(uint8_t))); - t27 = (uint8_t const (*)[16])t11; - memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); - memcpy(&t29, &t28, sizeof(uint8_t[16])); - t18 = a0.len; - t18 = t18 - (uintptr_t)16ul; - t21 = (*t3); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t18*sizeof(uint8_t))); - t27 = (uint8_t const (*)[16])t11; - memcpy(t28, (const char *)t27, sizeof(uint8_t[16])); - memcpy(&t31, &t28, sizeof(uint8_t[16])); - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { - t31[t18] = t29[t18] ^ t31[t18]; +static nav__9518_39 environment_linked_libraries_elf_view_soname__9518( + nav__9518_42 const a0, uint8_t const *const a1) { + uintptr_t t0; + uintptr_t t3; + nav__9518_47 t1; + nav__9518_39 t4; + nav__9518_39 t5; + bool t2; + t1 = environment_linked_libraries_elf_view_dynVal__9515(a0, INT64_C(14)); + t2 = t1.is_null != true; + if (t2) { + t3 = t1.payload; + t0 = t3; + goto zig_block_0; } - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { - t31[t18] = t30[t18] | t31[t18]; + return (nav__9518_39){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_0:; + t4 = environment_linked_libraries_elf_view_strFromTable__9517(a1, t0); + t5 = t4; + return t5; +} + +static nav__4375_40 +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOne__4375( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + a0) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *t1; + nav__4375_47 *t2; + nav__4375_47 t3; + uintptr_t t4; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t5; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t0; + nav__4375_40 t7; + struct environment_linked_libraries_root_LibraryInfo__940 *t8; + uint16_t t6; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *)&t0; + t2 = (nav__4375_47 *)&a0->items; + t3 = (*t2); + t4 = t3.len; + t4 = t4 + (uintptr_t)1ul; + t5 = (*t1); + t6 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacity__4371( + t5, t4); + if (t6) { + t7.payload = ((struct environment_linked_libraries_root_LibraryInfo__940 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul); + t7.error = t6; + return t7; } - memcpy((char *)&t26, t31, sizeof(uint8_t[16])); - memcpy(t31, (const char *)&t26, sizeof(uint8_t[16])); - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { - t33[t18] = t31[t18] != t32[t18]; + t5 = (*t1); + t8 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOneAssumeCapacity__4376( + t5); + t7.payload = t8; + t7.error = UINT16_C(0); + return t7; +} + +static uint16_t fmt_format__anon_8858__9576(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__9576_43){(uint8_t const *)&__anon_8927, (uintptr_t)61ul}); + if (t3) { + return t3; } - t9 = false; - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)16ul; t18 += (uintptr_t)1ul) { - t9 |= t33[t18]; + return 0; +} + +static nav__9568_40 fmt_bufPrint__anon_8741__9568(nav__9568_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__9568_54 (**t11)(void const *, nav__9568_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__9568_39 t15; + nav__9568_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9568_54(**)(void const *, nav__9568_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_8858__9576(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; } - t9 = !t9; - return t9; - } - goto zig_block_7; - - zig_block_7:; - t34 = (uintptr_t)0ul; - t18 = a0.len; - t18 = t18 - (uintptr_t)1ul; - t18 = t18 / (uintptr_t)32ul; - zig_loop_179: - t17 = t34; - t7 = t17; - t6 = t18; - t9 = t7 < t6; - if (t9) { - t5 = t17 * (uintptr_t)32ul; - t21 = (*t1); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t5*sizeof(uint8_t))); - t35 = (uint8_t const (*)[32])t11; - memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); - memcpy(&t37, &t36, sizeof(uint8_t[32])); - t5 = t17 * (uintptr_t)32ul; - t21 = (*t3); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t5*sizeof(uint8_t))); - t35 = (uint8_t const (*)[32])t11; - memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); - memcpy(&t38, &t36, sizeof(uint8_t[32])); - for (t5 = (uintptr_t)0ul; t5 < (uintptr_t)32ul; t5 += (uintptr_t)1ul) { - t39[t5] = t37[t5] != t38[t5]; + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__9568_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } } - t9 = false; - for (t5 = (uintptr_t)0ul; t5 < (uintptr_t)32ul; t5 += (uintptr_t)1ul) { - t9 |= t39[t5]; + +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static nav__9569_39 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9569( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct mem_Allocator__599 const a1, nav__9569_44 const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t4; + uintptr_t t5; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t8; + nav__9569_67 t9; + nav__9569_39 t11; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t12; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t13; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t14; + nav__9569_73 t15; + nav__9569_73 t16; + nav__9569_73 const *t17; + nav__9569_44 *t18; + nav__9569_76 t19; + nav__9569_76 t20; + nav__9569_76 const *t21; + struct environment_linked_libraries_root_LibraryEntry__858 *t22; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t23; + uint16_t t6; + bool t7; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = (*t1); + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&a0->entries; + t4 = (*t3); + t5 = t4.len; + t5 = t5 + (uintptr_t)1ul; + t6 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4189( + t2, a1, t5); + t7 = t6 == UINT16_C(0); + if (t7) { + goto zig_block_0; } - if (t9) { - return false; + t2 = (*t1); + t8 = (*t2); + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9577( + t8, a2); + t7 = t9.is_null != true; + if (t7) { + t10 = t9.payload; + t5 = t10; + goto zig_block_1; } - goto zig_block_10; + t11.payload = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453){ + ((nav__9569_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct environment_linked_libraries_root_LibraryEntry__858 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0xaaaaaaaaaaaaaaaaul, false}; + t11.error = t6; + return t11; - zig_block_10:; - goto zig_block_9; - } - goto zig_block_8; - - zig_block_9:; - t17 = t17 + (uintptr_t)1ul; - t34 = t17; - goto zig_loop_179; - - zig_block_8:; - t18 = a0.len; - t18 = t18 - (uintptr_t)32ul; - t21 = (*t1); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t18*sizeof(uint8_t))); - t35 = (uint8_t const (*)[32])t11; - memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); - memcpy(&t38, &t36, sizeof(uint8_t[32])); - t18 = a0.len; - t18 = t18 - (uintptr_t)32ul; - t21 = (*t3); - t11 = t21.ptr; - t11 = (uint8_t const *)(((uintptr_t)t11) + (t18*sizeof(uint8_t))); - t35 = (uint8_t const (*)[32])t11; - memcpy(t36, (const char *)t35, sizeof(uint8_t[32])); - memcpy(&t37, &t36, sizeof(uint8_t[32])); - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)32ul; t18 += (uintptr_t)1ul) { - t39[t18] = t38[t18] != t37[t18]; - } - t9 = false; - for (t18 = (uintptr_t)0ul; t18 < (uintptr_t)32ul; t18 += (uintptr_t)1ul) { - t9 |= t39[t18]; - } - t9 = !t9; - return t9; -} - -static uint16_t environment_root_Environment_setIntegrationEnvironmentList__771(struct environment_root_Environment__559 *const a0, nav__771_41 const a1, nav__771_41 const a2, nav__771_43 const a3) { - struct environment_root_Environment__559 *const *t1; - struct environment_root_Environment__559 *t2; - struct environment_root_Environment__559 *t0; - struct mem_Allocator__599 *t3; - struct mem_Allocator__599 t4; - uintptr_t t5; - uintptr_t t12; - uintptr_t t11; - uintptr_t t20; - uintptr_t t24; - nav__771_85 t6; - nav__771_83 t8; - nav__771_83 t16; - nav__771_83 t9; - nav__771_83 const *t10; - uint64_t t13; - uint64_t t14; - nav__771_41 *t17; - nav__771_41 t18; - nav__771_90 t19; - nav__771_88 t21; - nav__771_43 t22; - struct environment_root_EnvironmentValue__850 t23; - uint16_t t7; - bool t15; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; - t4 = (*t3); - t5 = a3.len; - t6 = mem_Allocator_alloc__anon_8339__9009(t4, t5); - if (t6.error) { - t7 = t6.error; - return t7; - } - t8 = t6.payload; - t9 = t8; - t10 = (nav__771_83 const *)&t9; - t11 = (uintptr_t)0ul; - zig_loop_25: - t5 = t11; - t12 = a3.len; - t13 = t5; - t14 = t12; - t15 = t13 < t14; - if (t15) { - t12 = t11; - t16 = (*t10); - t17 = &t16.ptr[t12]; +zig_block_1:; t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; + t3 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t2->entries; t4 = (*t3); - t12 = t11; - t18 = a3.ptr[t12]; - t19 = mem_Allocator_dupe__anon_7707__8897(t4, t18); - if (t19.error) { - t7 = t19.error; - t20 = (uintptr_t)0ul; - t12 = t11; - t16 = (*t10); - t17 = t16.ptr; - t17 = (nav__771_41 *)(((uintptr_t)t17) + ((uintptr_t)0ul*sizeof(nav__771_41))); - t16.ptr = t17; - t16.len = t12; - t12 = t16.len; - zig_loop_55: - t5 = t20; - t14 = t5; - t13 = t12; - t15 = t14 < t13; - if (t15) { - t18 = t16.ptr[t5]; - t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; - t4 = (*t3); - mem_Allocator_free__anon_3423__7835(t4, t18); - goto zig_block_3; - } - goto zig_block_2; - - zig_block_3:; - t5 = t5 + (uintptr_t)1ul; - t20 = t5; - goto zig_loop_55; - - zig_block_2:; - t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; - t4 = (*t3); - mem_Allocator_free__anon_8341__9010(t4, t8); - return t7; - } - t21 = t19.payload; - memcpy(&t18, &t21, sizeof(nav__771_41)); - (*t17) = t18; - t12 = t11; - t12 = t12 + (uintptr_t)1ul; - t11 = t12; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_25; - - zig_block_0:; - t2 = (*t1); - memcpy(&t22, &t8, sizeof(nav__771_43)); - t23.tag = UINT8_C(1); - t23.payload.list = t22; - t7 = environment_root_Environment_setIntegrationEnvironmentValue__773(t2, a1, a2, t23); - if (t7) { - t24 = (uintptr_t)0ul; - t12 = t11; - t16 = (*t10); - t17 = t16.ptr; - t17 = (nav__771_41 *)(((uintptr_t)t17) + ((uintptr_t)0ul*sizeof(nav__771_41))); - t16.ptr = t17; - t16.len = t12; - t12 = t16.len; - zig_loop_110: - t5 = t24; - t14 = t5; + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t4); t13 = t12; - t15 = t14 < t13; - if (t15) { - t18 = t16.ptr[t5]; - t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; - t4 = (*t3); - mem_Allocator_free__anon_3423__7835(t4, t18); - goto zig_block_5; - } - goto zig_block_4; - - zig_block_5:; - t5 = t5 + (uintptr_t)1ul; - t24 = t5; - goto zig_loop_110; + t14 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t13; + t12 = (*t14); + t15 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t12); + t16 = t15; + t17 = (nav__9569_73 const *)&t16; + t15 = (*t17); + t18 = &t15.ptr[t5]; + t12 = (*t14); + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t12); + t20 = t19; + t21 = (nav__9569_76 const *)&t20; + t19 = (*t21); + t22 = &t19.ptr[t5]; + t23.key_ptr = t18; + t23.value_ptr = t22; + t23.index = t5; + t23.found_existing = true; + t11.payload = t23; + t11.error = UINT16_C(0); + return t11; - zig_block_4:; +zig_block_0:; t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; - t4 = (*t3); - mem_Allocator_free__anon_8341__9010(t4, t8); - return t7; - } - return 0; -} - -uint8_t c_instrument_hooks_set_environment_list__252(struct instrument_hooks_InstrumentHooks__547 *const a0, uint8_t const *const a1, uint8_t const *const a2, uint8_t const *const *const a3, uint32_t const a4) { - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *t3; - struct instrument_hooks_InstrumentHooks__547 *const *t4; - nav__252_46 t5; - nav__252_46 t8; - nav__252_46 t9; - uintptr_t t6; - uintptr_t t12; - uintptr_t t11; - nav__252_53 t7; - nav__252_46 const *t10; - uint64_t t13; - uint64_t t14; - uint8_t const *t15; - nav__252_44 *t16; - nav__252_44 t17; - nav__252_44 t18; - nav__252_44 t20; - struct environment_root_Environment__559 *t19; - nav__252_118 t21; - uint16_t t22; - bool t0; - bool t1; - t0 = a1 == NULL; - if (t0) { - t1 = true; - goto zig_block_1; - } - t0 = a2 == NULL; - t1 = t0; - goto zig_block_1; - - zig_block_1:; - if (t1) { - t0 = true; - goto zig_block_2; - } - t1 = a3 == NULL; - t0 = t1; - goto zig_block_2; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9578( + t2, a2); + t11.payload = t23; + t11.error = UINT16_C(0); + return t11; +} - zig_block_2:; - if (t0) { - return UINT8_C(1); - } - goto zig_block_0; +static uint16_t fmt_format__anon_8951__9579(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__9579_43){(uint8_t const *)&__anon_9021, (uintptr_t)62ul}); + if (t3) { + return t3; + } + return 0; +} - zig_block_0:; - t1 = a0 != NULL; - if (t1) { - t2 = a0; +static nav__9570_40 fmt_bufPrint__anon_8758__9570(nav__9570_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__9570_54 (**t11)(void const *, nav__9570_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__9570_39 t15; + nav__9570_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); t3 = t2; - t4 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t3; - t6 = (uintptr_t)a4; - t7 = mem_Allocator_alloc__anon_8339__9009((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}, t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t8 = t7.payload; - t5 = t8; - goto zig_block_4; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9570_54(**)(void const *, nav__9570_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_8951__9579(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; } - return UINT8_C(1); - - zig_block_4:; - t9 = t5; - t10 = (nav__252_46 const *)&t9; - t11 = (uintptr_t)0ul; - t6 = (uintptr_t)a4; - zig_loop_44: - t12 = t11; - t13 = t12; - t14 = t6; - t1 = t13 < t14; - if (t1) { - t15 = a3[t12]; - t1 = t15 == NULL; - if (t1) { - mem_Allocator_free__anon_8341__9010((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}, t5); - return UINT8_C(1); - } - goto zig_block_7; - - zig_block_7:; - t8 = (*t10); - t16 = &t8.ptr[t12]; - t15 = a3[t12]; - t17 = mem_span__anon_7281__8838(t15); - memcpy(&t18, &t17, sizeof(nav__252_44)); - (*t16) = t18; - goto zig_block_6; + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__9570_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } } - goto zig_block_5; - zig_block_6:; - t12 = t12 + (uintptr_t)1ul; - t11 = t12; - goto zig_loop_44; +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} - zig_block_5:; - t2 = (*t4); - t19 = (struct environment_root_Environment__559 *)&t2->environment; - t18 = mem_span__anon_7281__8838(a1); - memcpy(&t17, &t18, sizeof(nav__252_44)); - t18 = mem_span__anon_7281__8838(a2); - memcpy(&t20, &t18, sizeof(nav__252_44)); - memcpy(&t21, &t5, sizeof(nav__252_118)); - t22 = environment_root_Environment_setIntegrationEnvironmentList__771(t19, t17, t20, t21); - t1 = t22 == UINT16_C(0); - if (t1) { - goto zig_block_8; +static uint16_t fmt_format__anon_9027__9580(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__9580_43){(uint8_t const *)&__anon_9088, (uintptr_t)55ul}); + if (t3) { + return t3; } - mem_Allocator_free__anon_8341__9010((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}, t5); - return UINT8_C(1); + return 0; +} - zig_block_8:; - mem_Allocator_free__anon_8341__9010((struct mem_Allocator__599){((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}, t5); - return UINT8_C(0); - } - goto zig_block_3; - - zig_block_3:; - return UINT8_C(1); -} - -static nav__9009_42 mem_Allocator_alloc__anon_8339__9009(struct mem_Allocator__599 const a0, uintptr_t const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t5; - uintptr_t t3; - nav__9009_42 t4; - nav__9009_42 t8; - nav__9009_54 t6; - uint8_t *t9; - nav__9009_39 *t10; - nav__9009_39 *t11; - nav__9009_39 *const *t12; - nav__9009_41 t13; - uint16_t t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t5 = t2; - t1 = (struct mem_Allocator__599 const *)&t5; - t2 = (*t1); - t6 = mem_Allocator_allocWithSizeAndAlignment__anon_8349__9011(t2, a1, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = (nav__9009_41){(nav__9009_39 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t7; - t4 = t8; - goto zig_block_0; - } - t9 = t6.payload; - t10 = (nav__9009_39 *)t9; - t11 = t10; - t12 = (nav__9009_39 *const *)&t11; - t10 = (*t12); - t10 = (nav__9009_39 *)(((uintptr_t)t10) + ((uintptr_t)0ul*sizeof(nav__9009_39))); - t13.ptr = t10; - t13.len = a1; - t8.payload = t13; - t8.error = UINT16_C(0); - t4 = t8; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static void mem_Allocator_free__anon_8341__9010(struct mem_Allocator__599 const a0, nav__9010_42 const a1) { - struct mem_Allocator__599 const *t1; - nav__9010_52 t2; - nav__9010_52 t11; - uintptr_t t3; - uint64_t t4; - uint8_t *t6; - uint8_t *t7; - uint8_t *t8; - uint8_t *const *t9; - struct mem_Allocator__599 t10; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t13; - struct mem_Allocator_VTable__602 const *const *t14; - struct mem_Allocator_VTable__602 const *t15; - void (*const *t16)(void *, nav__9010_52, uint8_t, uintptr_t); - void (*t17)(void *, nav__9010_52, uint8_t, uintptr_t); - void *t18; - bool t5; - uint8_t t12; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = mem_sliceAsBytes__anon_8356__9012(a1); - t3 = t2.len; - t4 = t3; - t5 = t4 == UINT64_C(0); - if (t5) { - return; - } - goto zig_block_0; - - zig_block_0:; - t6 = t2.ptr; - t7 = (uint8_t *)t6; - t8 = t7; - t9 = (uint8_t *const *)&t8; - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - t10 = (*t1); - t7 = (*t9); - t7 = (uint8_t *)(((uintptr_t)t7) + ((uintptr_t)0ul*sizeof(uint8_t))); - t2.ptr = t7; - t2.len = t3; - memcpy(&t11, &t2, sizeof(nav__9010_52)); - t12 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t3 = (uintptr_t)zig_return_address(); - t13 = t10; - t1 = (struct mem_Allocator__599 const *)&t13; - t14 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t15 = (*t14); - t16 = (void (*const *)(void *, nav__9010_52, uint8_t, uintptr_t))&t15->free; - t17 = (*t16); - t18 = t10.ptr; - t17(t18, t11, t12, t3); - return; -} - -static nav__9011_39 mem_Allocator_allocWithSizeAndAlignment__anon_8349__9011(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uintptr_t t2; - uintptr_t t5; - nav__9011_49 t3; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - nav__9011_39 t7; - bool t4; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = math_mul__anon_3752__7986((uintptr_t)16ul, a1); - t4 = t3.error == UINT16_C(0); - if (t4) { - t5 = t3.payload; - t2 = t5; - goto zig_block_0; - } - return (nav__9011_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_0:; - t6 = (*t1); - t7 = mem_Allocator_allocBytesWithAlignment__anon_3142__5091(t6, t2, a2); - return t7; -} - -static nav__9012_39 mem_sliceAsBytes__anon_8356__9012(nav__9012_43 const a0) { - uintptr_t t0; - uint64_t t1; - nav__9012_41 *t4; - uint8_t *t5; - uint8_t *t6; - uint8_t *const *t7; - nav__9012_39 t8; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; - goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__9012_39){(uint8_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = (uint8_t *)t4; - t6 = t5; - t7 = (uint8_t *const *)&t6; - t0 = a0.len; - t0 = t0 * (uintptr_t)16ul; - t5 = (*t7); - t5 = (uint8_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint8_t))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -uint8_t c_instrument_hooks_write_environment__253(struct instrument_hooks_InstrumentHooks__547 *const a0, uint32_t const a1) { - struct instrument_hooks_InstrumentHooks__547 *t1; - struct instrument_hooks_InstrumentHooks__547 *t2; - struct instrument_hooks_InstrumentHooks__547 *const *t3; - struct environment_root_Environment__559 *t4; - bool t0; - uint8_t t5; - t0 = a0 != NULL; - if (t0) { - t1 = a0; - t2 = t1; - t3 = (struct instrument_hooks_InstrumentHooks__547 *const *)&t2; - t1 = (*t3); - t4 = (struct environment_root_Environment__559 *)&t1->environment; - t5 = environment_root_Environment_writeEnvironment__775(t4, a1); - return t5; - } - goto zig_block_0; - - zig_block_0:; - return UINT8_C(0); -} - -static uint16_t environment_linked_libraries_root_LinkedLibraries_collect__3633(struct environment_linked_libraries_root_LinkedLibraries__843 *const a0) { - struct environment_linked_libraries_root_LinkedLibraries__843 *const *t1; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t3; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t4; - nav__3633_50 t5; - uintptr_t t6; - uintptr_t t7; - uintptr_t t2; - uint64_t t8; - uint64_t t9; - struct environment_linked_libraries_root_LibraryInfo__940 t11; - struct mem_Allocator__599 *t12; - struct mem_Allocator__599 t13; - struct environment_linked_libraries_root_LinkedLibraries__843 *t14; - struct environment_linked_libraries_root_LinkedLibraries__843 *t0; - void *t15; - int t16; - int32_t t17; - bool t10; - t0 = a0; - t1 = (struct environment_linked_libraries_root_LinkedLibraries__843 *const *)&t0; - t2 = (uintptr_t)0ul; - t3 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *)&a0->libraries; - t4 = (*t3); - t5 = t4.items; - t6 = t5.len; - zig_loop_13: - t7 = t2; - t8 = t7; - t9 = t6; - t10 = t8 < t9; - if (t10) { - t11 = t5.ptr[t7]; - t12 = (struct mem_Allocator__599 *)&a0->allocator; - t13 = (*t12); - environment_linked_libraries_root_LinkedLibraries_freeLibraryInfo__3631(t13, t11); - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t7 = t7 + (uintptr_t)1ul; - t2 = t7; - goto zig_loop_13; - - zig_block_0:; - t14 = (*t1); - t3 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *)&t14->libraries; - array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_clearRetainingCapaci__4368(t3); - t15 = (void *)a0; - t16 = dl_iterate_phdr(&environment_linked_libraries_root_LinkedLibraries_collect__struct_8399_callback__9468, t15); - t17 = t16; - t10 = t17 != INT32_C(0); - if (t10) { - return zig_error_DlIteratePhdrFailed; - } - goto zig_block_2; - - zig_block_2:; - return 0; -} - -static uint16_t environment_root_Environment_populateLinkedLibraries__774(struct environment_root_Environment__559 *const a0) { - struct environment_root_Environment__559 *const *t1; - struct environment_root_Environment__559 *t3; - struct environment_root_Environment__559 *t0; - struct environment_root_EnvironmentJson__839 *t4; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *t5; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t6; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t2; - nav__774_87 t9; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579 t11; - struct mem_Allocator__599 *t12; - struct mem_Allocator__599 t13; - nav__774_44 *t14; - nav__774_44 t15; - nav__774_44 t26; - nav__774_44 t27; - struct environment_linked_libraries_root_LinkedLibraries__843 *t17; - struct environment_linked_libraries_root_LinkedLibraries__843 t18; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t19; - nav__774_76 t20; - uintptr_t t21; - uintptr_t t22; - uintptr_t t16; - uint64_t t23; - uint64_t t24; - struct environment_linked_libraries_root_LibraryInfo__940 t25; - nav__774_95 t28; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t30; - nav__774_99 t31; - nav__774_97 t32; - struct environment_linked_libraries_root_LibraryEntry__858 *t33; - uint16_t t29; - bool t10; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t5 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *)&t4->linked_libraries; - t6 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *)&t5->map; - t7 = (*t6); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4176(t7); - t2 = t8; - zig_loop_14: - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8705(&t2); - t10 = t9.is_null != true; - if (t10) { - t11 = t9.payload; - t3 = (*t1); - t12 = (struct mem_Allocator__599 *)&t3->allocator; - t13 = (*t12); - t14 = t11.key_ptr; - t15 = (*t14); - mem_Allocator_free__anon_3423__7835(t13, t15); - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_14; - - zig_block_0:; - t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t5 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *)&t4->linked_libraries; - t6 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *)&t5->map; - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4171(t6); - t16 = (uintptr_t)0ul; - t17 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&a0->libs; - t18 = (*t17); - t19 = t18.libraries; - t20 = t19.items; - t21 = t20.len; - zig_loop_46: - t22 = t16; - t23 = t22; - t24 = t21; - t10 = t23 < t24; - if (t10) { - t25 = t20.ptr[t22]; - t26 = t25.soname; - t10 = t26.ptr != NULL; - if (t10) { - t27 = t26; - t15 = t27; - goto zig_block_4; +static nav__9571_40 fmt_bufPrint__anon_8767__9571(nav__9571_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__9571_54 (**t11)(void const *, nav__9571_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__9571_39 t15; + nav__9571_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9571_54(**)(void const *, nav__9571_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_9027__9580(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__9571_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } } - t26 = t25.path; - t15 = t26; - goto zig_block_4; - zig_block_4:; +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + json_stringify_writeStreamArbitraryDepth__anon_8775__9572( + struct mem_Allocator__599 const a0, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a1, + struct json_stringify_StringifyOptions__8511 const a2) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + t0; + t0 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541( + a0, a1, a2); + return t0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9573( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + struct environment_root_EnvironmentJson__839 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + t7; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + t9; + struct environment_root_EnvironmentJson__839 t2; + uint16_t t4; + bool t6; + bool t5; + bool t8; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a1; t3 = (*t1); - t4 = (struct environment_root_EnvironmentJson__839 *)&t3->data; - t5 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *)&t4->linked_libraries; - t6 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *)&t5->map; - t12 = (struct mem_Allocator__599 *)&a0->allocator; - t13 = (*t12); - t28 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4178(t6, t13, t15); - if (t28.error) { - t29 = t28.error; - return t29; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + t3); + if (t4) { + return t4; } - t30 = t28.payload; - t14 = t30.key_ptr; - t3 = (*t1); - t12 = (struct mem_Allocator__599 *)&t3->allocator; - t13 = (*t12); - t31 = mem_Allocator_dupe__anon_7707__8897(t13, t15); - if (t31.error) { - t29 = t31.error; - return t29; + t5 = true; + t6 = t5; + if (t6) { + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t3, + (nav__9573_62){((uint8_t const *)&__anon_9101), (uintptr_t)23ul}); + if (t4) { + return t4; + } + t3 = (*t1); + t7 = a1.integration_environment; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9581( + t3, t7); + if (t4) { + return t4; + } + goto zig_block_0; } - t32 = t31.payload; - memcpy(&t15, &t32, sizeof(nav__774_44)); - (*t14) = t15; - t33 = t30.value_ptr; - t14 = (nav__774_44 *)&t33->path; - t15 = t25.path; - (*t14) = t15; - t14 = (nav__774_44 *)&t33->build_id; - t15 = t25.build_id; - (*t14) = t15; - goto zig_block_3; - } - goto zig_block_2; - - zig_block_3:; - t22 = t22 + (uintptr_t)1ul; - t16 = t22; - goto zig_loop_46; - - zig_block_2:; - return 0; -} - -static uint8_t environment_root_Environment_writeEnvironment__775(struct environment_root_Environment__559 *const a0, uint32_t const a1) { - struct environment_root_Environment__559 *const *t1; - struct environment_root_Environment__559 *t2; - struct environment_root_Environment__559 *t0; - struct environment_linked_libraries_root_LinkedLibraries__843 *t3; - struct environment_root_EnvironmentJson__839 *t6; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t9; - uintptr_t t10; - uint64_t t11; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *t13; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t14; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t15; - uint8_t const *t16; - uint8_t const *t17; - uint8_t const *t18; - nav__775_83 t19; - nav__775_86 t21; - nav__775_86 t22; - nav__775_86 t28; - nav__775_89 t23; - nav__775_91 t24; - struct mem_Allocator__599 *t25; - struct mem_Allocator__599 t26; - struct environment_root_EnvironmentJson__839 t27; - struct fs_File__646 const *t33; - struct fs_File__646 t29; - struct fs_File__646 t31; - struct fs_File__646 t32; - nav__775_100 t30; - uint16_t t4; - bool t5; - bool t12; - uint8_t t20[512]; - t0 = a0; - t1 = (struct environment_root_Environment__559 *const *)&t0; - t2 = (*t1); - t3 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)&t2->libs; - t4 = environment_linked_libraries_root_LinkedLibraries_collect__3633(t3); - t5 = t4 == UINT16_C(0); - if (t5) { goto zig_block_0; - } - logger_err__anon_8414__9469(); - goto zig_block_0; - - zig_block_0:; - t2 = (*t1); - t4 = environment_root_Environment_populateLinkedLibraries__774(t2); - t5 = t4 == UINT16_C(0); - if (t5) { - goto zig_block_1; - } - logger_err__anon_8441__9470(); - goto zig_block_1; - - zig_block_1:; - t2 = (*t1); - t6 = (struct environment_root_EnvironmentJson__839 *)&t2->data; - t7 = (struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 *)&t6->integration_environment; - t8 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 *)&t7->map; - t9 = (*t8); - t10 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3783(t9); - t11 = t10; - t5 = t11 == UINT64_C(0); - if (t5) { - t2 = (*t1); - t6 = (struct environment_root_EnvironmentJson__839 *)&t2->data; - t13 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 *)&t6->linked_libraries; - t14 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *)&t13->map; - t15 = (*t14); - t10 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4173(t15); - t11 = t10; - t5 = t11 == UINT64_C(0); - t12 = t5; - goto zig_block_3; - } - t12 = false; - goto zig_block_3; - zig_block_3:; - if (t12) { - return UINT8_C(0); - } - goto zig_block_2; +zig_block_0:; + t8 = true; + t6 = t8; + if (t6) { + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t3, + (nav__9573_62){((uint8_t const *)&__anon_9109), (uintptr_t)16ul}); + if (t4) { + return t4; + } + t3 = (*t1); + t9 = a1.linked_libraries; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9582( + t3, t9); + if (t4) { + return t4; + } + goto zig_block_1; + } + goto zig_block_1; - zig_block_2:; - t17 = getenv((uint8_t const *)&__anon_8454); - t12 = t17 != NULL; - if (t12) { - t18 = t17; - t16 = t18; - goto zig_block_4; - } - return UINT8_C(0); - - zig_block_4:; - t19 = mem_span__anon_8464__9472(t16); - t22.ptr = &t20[(uintptr_t)0ul]; - t22.len = (uintptr_t)512ul; - t23.f0 = t19; - t23.f1 = a1; - t24 = fmt_bufPrint__anon_8473__9473(t22, t23); - t12 = t24.error == UINT16_C(0); - if (t12) { - t22 = t24.payload; - t21 = t22; - goto zig_block_5; - } - logger_err__anon_8480__9474(); - return UINT8_C(1); - - zig_block_5:; - t25 = (struct mem_Allocator__599 *)&a0->allocator; - t26 = (*t25); - t6 = (struct environment_root_EnvironmentJson__839 *)&a0->data; - t27 = (*t6); - t24 = json_stringify_stringifyAlloc__anon_8495__9496(t26, t27, (struct json_stringify_StringifyOptions__8484){UINT8_C(2),true,false,false,false}); - t12 = t24.error == UINT16_C(0); - if (t12) { - t28 = t24.payload; - t22 = t28; - goto zig_block_6; - } - logger_err__anon_8502__9497(); - return UINT8_C(1); - - zig_block_6:; - memcpy(&t19, &t21, sizeof(nav__775_83)); - t30 = fs_createFileAbsolute__1228(t19, (struct fs_File_CreateFlags__8504){(uintptr_t)438ul,false,true,false,UINT8_C(0),false}); - t12 = t30.error == UINT16_C(0); - if (t12) { - t31 = t30.payload; - t29 = t31; - goto zig_block_7; - } - logger_err__anon_8521__9498(); - t2 = (*t1); - t25 = (struct mem_Allocator__599 *)&t2->allocator; - t26 = (*t25); - mem_Allocator_free__anon_4147__8243(t26, t22); - return UINT8_C(1); - - zig_block_7:; - t32 = t29; - t33 = (struct fs_File__646 const *)&t32; - t29 = (*t33); - memcpy(&t19, &t22, sizeof(nav__775_83)); - t4 = fs_File_writeAll__1316(t29, t19); - t12 = t4 == UINT16_C(0); - if (t12) { - goto zig_block_8; - } - logger_err__anon_8521__9498(); - t29 = (*t33); - fs_File_close__1262(t29); - t2 = (*t1); - t25 = (struct mem_Allocator__599 *)&t2->allocator; - t26 = (*t25); - mem_Allocator_free__anon_4147__8243(t26, t22); - return UINT8_C(1); - - zig_block_8:; - t29 = (*t33); - fs_File_close__1262(t29); - t2 = (*t1); - t25 = (struct mem_Allocator__599 *)&t2->allocator; - t26 = (*t25); - mem_Allocator_free__anon_4147__8243(t26, t22); - return UINT8_C(0); -} - -static void array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_clearRetainingCapaci__4368(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const a0) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *t1; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t2; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t0; - nav__4368_44 *t3; - uintptr_t *t4; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *)&t0; - t2 = (*t1); - t3 = (nav__4368_44 *)&t2->items; - t4 = &t3->len; - (*t4) = (uintptr_t)0ul; - return; -} - -static int environment_linked_libraries_root_LinkedLibraries_collect__struct_8399_callback__9468(struct os_linux_dl_phdr_info__8376 *const a0, uintptr_t const a1, void *const a2) { - struct environment_linked_libraries_root_LinkedLibraries__843 *t0; - struct environment_linked_libraries_root_LinkedLibraries__843 *t1; - struct environment_linked_libraries_root_LinkedLibraries__843 *const *t2; - uint8_t const *t3; - uint8_t const *t5; - uint8_t const *t7; - uint8_t const **t4; - nav__9468_50 t8; - nav__9468_50 t11; - uintptr_t t9; - uint64_t t10; - uintptr_t *t12; - struct elf_Elf64_Phdr__8384 **t13; - struct elf_Elf64_Phdr__8384 *t14; - struct elf_Elf64_Phdr__8384 const *t15; - uint16_t *t16; - struct environment_linked_libraries_elf_view__8534 t18; - struct environment_linked_libraries_root_LibraryInfo__940 t19; - struct environment_linked_libraries_root_LibraryInfo__940 t23; - struct mem_Allocator__599 *t20; - struct mem_Allocator__599 t21; - nav__9468_75 t22; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t24; - uint16_t t17; - bool t6; - (void)a1; - t0 = (struct environment_linked_libraries_root_LinkedLibraries__843 *)a2; - t1 = t0; - t2 = (struct environment_linked_libraries_root_LinkedLibraries__843 *const *)&t1; - t4 = (uint8_t const **)&a0->name; - t5 = (*t4); - t6 = t5 != NULL; - if (t6) { - t7 = t5; - t3 = t7; - goto zig_block_0; - } - return 0; - - zig_block_0:; - t8 = mem_span__anon_8464__9472(t3); - t9 = t8.len; - t10 = t9; - t6 = t10 == UINT64_C(0); - if (t6) { +zig_block_1:; + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + t3); + if (t4) { + return t4; + } return 0; - } - goto zig_block_1; +} - zig_block_1:; - memcpy(&t11, &t8, sizeof(nav__9468_50)); - t6 = mem_startsWith__anon_8533__9499(t11, (nav__9468_50){(uint8_t const *)&__anon_8528,(uintptr_t)10ul}); - if (t6) { - return 0; - } - goto zig_block_2; - - zig_block_2:; - t12 = (uintptr_t *)&a0->addr; - t9 = (*t12); - t13 = (struct elf_Elf64_Phdr__8384 **)&a0->phdr; - t14 = (*t13); - t15 = (struct elf_Elf64_Phdr__8384 const *)t14; - t16 = (uint16_t *)&a0->phnum; - t17 = (*t16); - t18 = environment_linked_libraries_elf_view_init__9505(t9, t15, t17); - t20 = (struct mem_Allocator__599 *)&t0->allocator; - t21 = (*t20); - memcpy(&t11, &t8, sizeof(nav__9468_50)); - t22 = environment_linked_libraries_root_LinkedLibraries_extractLibraryInfo__3632(t21, t18, t11); - t6 = t22.is_null != true; - if (t6) { - t23 = t22.payload; - t19 = t23; - goto zig_block_3; - } - return -1; - - zig_block_3:; - t0 = (*t2); - t24 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *)&t0->libraries; - t17 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_append__4349(t24, t19); - t6 = t17 == UINT16_C(0); - if (t6) { - goto zig_block_4; - } - return -1; - - zig_block_4:; - return 0; -} - -static void logger_err__anon_8414__9469(void) { - logger_logWithPrefix__anon_8556__9526(); - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4171(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - void *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t4; - uintptr_t *t5; - struct array_hash_map_IndexHeader__886 **t6; - struct array_hash_map_IndexHeader__886 *t7; - struct array_hash_map_IndexHeader__886 *t9; - struct array_hash_map_IndexHeader__886 *t10; - struct array_hash_map_IndexHeader__886 *const *t11; - nav__4171_57 t14; - uintptr_t t15; - nav__4171_62 t16; - nav__4171_67 t17; - struct array_hash_map_IndexHeader__886 t12; - bool t8; - uint8_t t13; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_lock__3968(t3); - t2 = (*t1); - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t2->entries; - t5 = (uintptr_t *)&t4->len; - (*t5) = (uintptr_t)0ul; - t6 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t7 = (*t6); - t8 = t7 != NULL; - if (t8) { - t9 = t7; - t10 = t9; - t11 = (struct array_hash_map_IndexHeader__886 *const *)&t10; - t9 = (*t11); - t12 = (*t9); - t13 = array_hash_map_IndexHeader_capacityIndexType__3959(t12); - switch (t13) { - case UINT8_C(0): { - t9 = (*t11); - t14 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t9); - for (t15 = (uintptr_t)0ul; t15 != t14.len; ++t15) ((struct array_hash_map_Index_28u8_29__7097 *)t14.ptr)[t15] = (struct array_hash_map_Index_28u8_29__7097){UINT8_MAX,UINT8_C(0xaa)}; - goto zig_block_1; - } - case UINT8_C(1): { - t9 = (*t11); - t16 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t9); - for (t15 = (uintptr_t)0ul; t15 != t16.len; ++t15) ((struct array_hash_map_Index_28u16_29__7101 *)t16.ptr)[t15] = (struct array_hash_map_Index_28u16_29__7101){UINT16_MAX,UINT16_C(0xaaaa)}; - goto zig_block_1; - } - case UINT8_C(2): { - t9 = (*t11); - t17 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t9); - for (t15 = (uintptr_t)0ul; t15 != t17.len; ++t15) ((struct array_hash_map_Index_28u32_29__7105 *)t17.ptr)[t15] = (struct array_hash_map_Index_28u32_29__7105){UINT32_MAX,UINT32_C(0xaaaaaaaa)}; - goto zig_block_1; - } - default: zig_unreachable(); - } +static void +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + t0 = a0; + return; +} - zig_block_1:; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return; -} - -static nav__4178_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4178(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct mem_Allocator__599 const a1, nav__4178_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - nav__4178_39 t3; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = (*t1); - t3 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4179(t2, a1, a2); - return t3; -} - -static void logger_err__anon_8441__9470(void) { - logger_logWithPrefix__anon_8568__9527(); - return; -} - -static uintptr_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3783(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Data_29__883 t0; - uintptr_t t1; - t0 = a0.entries; - t1 = t0.len; - return t1; -} - -static uintptr_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4173(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t0; - uintptr_t t1; - t0 = a0.entries; - t1 = t0.len; - return t1; -} - -static nav__9472_39 mem_span__anon_8464__9472(uint8_t const *const a0) { - uint8_t const *const *t1; - uintptr_t t2; - uint8_t const *t3; - uint8_t const *t0; - nav__9472_39 t4; - t0 = a0; - t1 = (uint8_t const *const *)&t0; - t2 = mem_len__anon_8569__9528(a0); - t3 = (*t1); - t3 = (uint8_t const *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(uint8_t))); - t4.ptr = t3; - t4.len = t2; - return t4; -} - -static uint16_t fmt_format__anon_8570__9529(struct io_Writer__4338 const a0, nav__9529_41 const a1) { - struct io_Writer__4338 const *t1; - nav__9529_40 t2; - struct io_Writer__4338 t4; - struct io_Writer__4338 t0; - uint32_t t5; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = a1.f0; - t3 = fmt_formatType__anon_5179__8655(t2, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t4 = (*t1); - t3 = io_Writer_writeAll__8274(t4, (nav__9529_40){(uint8_t const *)&__anon_8605,(uintptr_t)13ul}); - if (t3) { - return t3; - } - t5 = a1.f1; - t3 = fmt_formatType__anon_5840__8680(t5, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t3) { - return t3; - } - t4 = (*t1); - t3 = io_Writer_writeAll__8274(t4, (nav__9529_40){(uint8_t const *)&__anon_8622,(uintptr_t)5ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__9473_40 fmt_bufPrint__anon_8473__9473(nav__9473_39 const a0, nav__9473_43 const a1) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__9473_59 (**t11)(void const *, nav__9473_42); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__9473_39 t15; - nav__9473_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9473_59 (**)(void const *, nav__9473_42))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_8570__9529(t12, a1); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__9473_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static void logger_err__anon_8480__9474(void) { - logger_logWithPrefix__anon_8628__9530(); - return; -} - -static nav__9496_40 json_stringify_stringifyAlloc__anon_8495__9496(struct mem_Allocator__599 const a0, struct environment_root_EnvironmentJson__839 const a1, struct json_stringify_StringifyOptions__8484 const a2) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - nav__9496_40 t4; - uint16_t t3; - bool t5; - t1 = array_list_ArrayListAligned_28u8_2cnull_29_init__1404(a0); - t0 = t1; - t2 = array_list_ArrayListAligned_28u8_2cnull_29_writer__1429(&t0); - t3 = json_stringify_stringifyArbitraryDepth__anon_8655__9560(a0, a1, a2, t2); - if (t3) { - t1 = t0; - array_list_ArrayListAligned_28u8_2cnull_29_deinit__1406(t1); - t4.payload = (nav__9496_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t4.error = t3; - return t4; - } - t4 = array_list_ArrayListAligned_28u8_2cnull_29_toOwnedSlice__1410(&t0); - t5 = t4.error == UINT16_C(0); - if (t5) { - return t4; - } - t1 = t0; - array_list_ArrayListAligned_28u8_2cnull_29_deinit__1406(t1); - return t4; -} - -static void logger_err__anon_8502__9497(void) { - logger_logWithPrefix__anon_8660__9561(); - return; -} - -static nav__1228_39 fs_createFileAbsolute__1228(nav__1228_41 const a0, struct fs_File_CreateFlags__8504 const a1) { - struct fs_Dir__2113 const *t3; - struct fs_Dir__2113 t1; - struct fs_Dir__2113 t2; - nav__1228_39 t4; - bool t0; - t0 = fs_path_isAbsolute__5126(a0); - debug_assert__180(t0); - t1 = fs_cwd__1217(); - t2 = t1; - t3 = (struct fs_Dir__2113 const *)&t2; - t1 = (*t3); - t4 = fs_Dir_createFile__4667(t1, a0, a1); - return t4; -} - -static void logger_err__anon_8521__9498(void) { - logger_logWithPrefix__anon_8665__9562(); - return; -} - -static bool mem_startsWith__anon_8533__9499(nav__9499_39 const a0, nav__9499_39 const a1) { - nav__9499_39 const *t1; - uintptr_t t3; - uintptr_t t4; - uint64_t t5; - uint64_t t6; - nav__9499_39 t8; - nav__9499_39 t0; - uint8_t const *t9; - bool t2; - bool t7; - t0 = a0; - t1 = (nav__9499_39 const *)&t0; - t3 = a1.len; - t4 = a0.len; - t5 = t3; - t6 = t4; - t7 = t5 > t6; - if (t7) { - t2 = false; - goto zig_block_0; - } - t4 = a1.len; - t8 = (*t1); - t9 = t8.ptr; - t9 = (uint8_t const *)(((uintptr_t)t9) + ((uintptr_t)0ul*sizeof(uint8_t))); - t8.ptr = t9; - t8.len = t4; - t7 = mem_eql__anon_8236__9005(t8, a1); - t2 = t7; - goto zig_block_0; - - zig_block_0:; - return t2; -} - -static struct environment_linked_libraries_elf_view__8534 environment_linked_libraries_elf_view_init__9505(uintptr_t const a0, struct elf_Elf64_Phdr__8384 const *const a1, uint16_t const a2) { - uintptr_t *t1; - nav__9505_42 *t2; - struct elf_Elf64_Phdr__8384 const *const *t4; - struct elf_Elf64_Phdr__8384 const *t5; - struct elf_Elf64_Phdr__8384 const *t3; - uintptr_t t6; - nav__9505_42 t7; - struct environment_linked_libraries_elf_view__8534 t0; - t1 = (uintptr_t *)&t0.base_addr; - (*t1) = a0; - t2 = (nav__9505_42 *)&t0.phdrs; - t3 = a1; - t4 = (struct elf_Elf64_Phdr__8384 const *const *)&t3; - t5 = (*t4); - t5 = (struct elf_Elf64_Phdr__8384 const *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(struct elf_Elf64_Phdr__8384))); - t6 = (uintptr_t)a2; - t7.ptr = t5; - t7.len = t6; - (*t2) = t7; - return t0; -} - -static nav__3632_39 environment_linked_libraries_root_LinkedLibraries_extractLibraryInfo__3632(struct mem_Allocator__599 const a0, struct environment_linked_libraries_elf_view__8534 const a1, nav__3632_43 const a2) { - struct mem_Allocator__599 const *t1; - struct environment_linked_libraries_elf_view__8534 const *t3; - nav__3632_43 t4; - nav__3632_43 t6; - nav__3632_43 t8; - struct environment_linked_libraries_elf_view__8534 t5; - struct environment_linked_libraries_elf_view__8534 t2; - nav__3632_62 t9; - nav__3632_62 t10; - nav__3632_62 t11; - struct environment_linked_libraries_root_LibraryInfo__940 *t13; - nav__3632_43 *t14; - struct mem_Allocator__599 t15; - struct mem_Allocator__599 t0; - nav__3632_69 t16; - nav__3632_67 t17; - nav__3632_67 t21; - nav__3632_67 t22; - uint8_t const *t18; - uint8_t const *t19; - uint8_t const *t20; - nav__3632_39 t12; - nav__3632_39 t23; - bool t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = (struct environment_linked_libraries_elf_view__8534 const *)&t2; - t5 = (*t3); - t6 = environment_linked_libraries_elf_view_buildId__9514(t5); - t7 = t6.ptr != NULL; - if (t7) { - t8 = t6; - t8 = environment_linked_libraries_root_hexEncode__3624(a0, t8); - t4 = t8; - goto zig_block_0; - } - t4 = (nav__3632_43){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - goto zig_block_0; - - zig_block_0:; - t5 = (*t3); - t10 = environment_linked_libraries_elf_view_dynamicEntries__9509(t5); - t7 = t10.ptr != NULL; - if (t7) { - t11 = t10; - t9 = t11; - goto zig_block_1; - } - t12.is_null = false; - t13 = &t12.payload; - t14 = (nav__3632_43 *)&t13->path; - t15 = (*t1); - t16 = mem_Allocator_dupe__anon_7707__8897(t15, a2); - t7 = t16.error == UINT16_C(0); - if (t7) { - t17 = t16.payload; - memcpy(&t6, &t17, sizeof(nav__3632_43)); - t8 = t6; - goto zig_block_2; - } - return (nav__3632_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}},true}; - - zig_block_2:; - (*t14) = t8; - t14 = (nav__3632_43 *)&t13->soname; - (*t14) = (nav__3632_43){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t14 = (nav__3632_43 *)&t13->build_id; - (*t14) = t4; - return t12; - - zig_block_1:; - t19 = environment_linked_libraries_elf_view_strtab__9511(t9); - t7 = t19 != NULL; - if (t7) { - t20 = t19; - t18 = t20; - goto zig_block_3; - } - return (nav__3632_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}},true}; +static void array_list_ArrayListAligned_28u8_2cnull_29_clearAndFree__1441( + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; + struct mem_Allocator__599 *t3; + struct mem_Allocator__599 t4; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 t5; + nav__1441_43 t6; + nav__1441_43 *t7; + uintptr_t *t8; + t0 = a0; + t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; + t2 = (*t1); + t3 = (struct mem_Allocator__599 *)&t2->allocator; + t4 = (*t3); + t2 = (*t1); + t5 = (*t2); + t6 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1453(t5); + mem_Allocator_free__anon_4161__8246(t4, t6); + t2 = (*t1); + t7 = (nav__1441_43 *)&t2->items; + t8 = &t7->len; + (*t8) = (uintptr_t)0ul; + t2 = (*t1); + t8 = (uintptr_t *)&t2->capacity; + (*t8) = (uintptr_t)0ul; + return; +} - zig_block_3:; - t8 = environment_linked_libraries_elf_view_soname__9513(t9, t18); - t7 = t8.ptr != NULL; - if (t7) { - t6 = t8; - t15 = (*t1); - t16 = mem_Allocator_dupe__anon_7707__8897(t15, t6); - t7 = t16.error == UINT16_C(0); - if (t7) { - t22 = t16.payload; - t21 = t22; - goto zig_block_5; +static uint16_t fmt_format__anon_9191__9583(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__9583_43){(uint8_t const *)&__anon_9260, (uintptr_t)63ul}); + if (t3) { + return t3; + } + return 0; +} + +static nav__9574_40 fmt_bufPrint__anon_8798__9574(nav__9574_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__9574_54 (**t11)(void const *, nav__9574_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__9574_39 t15; + nav__9574_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9574_54(**)(void const *, nav__9574_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_9191__9583(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__9574_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } } - return (nav__3632_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}},true}; - zig_block_5:; - t22 = t21; - t17 = t22; - goto zig_block_4; +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} - } - t17 = (nav__3632_67){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - goto zig_block_4; - - zig_block_4:; - t23.is_null = false; - t13 = &t23.payload; - t14 = (nav__3632_43 *)&t13->path; - t15 = (*t1); - t16 = mem_Allocator_dupe__anon_7707__8897(t15, a2); - t7 = t16.error == UINT16_C(0); - if (t7) { - t22 = t16.payload; - memcpy(&t6, &t22, sizeof(nav__3632_43)); - t8 = t6; - goto zig_block_7; - } - return (nav__3632_39){{{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},{(uint8_t const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}},true}; - - zig_block_7:; - (*t14) = t8; - t14 = (nav__3632_43 *)&t13->soname; - memcpy(&t8, &t17, sizeof(nav__3632_43)); - (*t14) = t8; - t14 = (nav__3632_43 *)&t13->build_id; - (*t14) = t4; - return t23; -} - -static uint16_t array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_append__4349(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const a0, struct environment_linked_libraries_root_LibraryInfo__940 const a1) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *t1; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t2; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t0; - nav__4349_49 t3; - struct environment_linked_libraries_root_LibraryInfo__940 *t5; - uint16_t t4; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *)&t0; - t2 = (*t1); - t3 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOne__4374(t2); - if (t3.error) { - t4 = t3.error; - return t4; - } - t5 = t3.payload; - (*t5) = a1; - return 0; -} - -static void logger_logWithPrefix__anon_8556__9526(void) { - nav__9526_41 t3; - nav__9526_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__9526_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_8714__9563(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static nav__4179_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4179(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct mem_Allocator__599 const a1, nav__4179_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - nav__4179_39 t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t5; - nav__4179_44 *t7; - uint16_t t4; - bool t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = (*t1); - t3 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9564(t2, a1, a2); - if (t3.error) { - t4 = t3.error; - t3.payload = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426){((nav__4179_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct environment_linked_libraries_root_LibraryEntry__858 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0xaaaaaaaaaaaaaaaaul,false}; - t3.error = t4; - return t3; - } - t5 = t3.payload; - t6 = t5.found_existing; - t6 = !t6; - if (t6) { - t7 = t5.key_ptr; - (*t7) = a2; - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t3.payload = t5; - t3.error = UINT16_C(0); - return t3; -} - -static void logger_logWithPrefix__anon_8568__9527(void) { - nav__9527_41 t3; - nav__9527_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__9527_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_8731__9565(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static uintptr_t mem_len__anon_8569__9528(uint8_t const *const a0) { - uintptr_t t0; - t0 = mem_indexOfSentinel__anon_7305__8840(a0); - return t0; -} - -static void logger_logWithPrefix__anon_8628__9530(void) { - nav__9530_41 t3; - nav__9530_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__9530_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_8740__9566(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static uint16_t json_stringify_stringifyArbitraryDepth__anon_8655__9560(struct mem_Allocator__599 const a0, struct environment_root_EnvironmentJson__839 const a1, struct json_stringify_StringifyOptions__8484 const a2, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a3) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 t0; - uint16_t t2; - t1 = json_stringify_writeStreamArbitraryDepth__anon_8748__9567(a0, a3, a2); - t0 = t1; - t2 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9568(&t0, a1); - if (t2) { - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9537(&t0); - return t2; - } - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9537(&t0); - return 0; -} - -static nav__1410_40 array_list_ArrayListAligned_28u8_2cnull_29_toOwnedSlice__1410(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct mem_Allocator__599 *t2; - struct mem_Allocator__599 t3; - struct mem_Allocator__599 t9; - struct mem_Allocator__599 t4; - struct mem_Allocator__599 const *t5; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t6; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t7; - nav__1410_39 t8; - nav__1410_39 t11; - nav__1410_39 *t10; - uintptr_t t12; - nav__1410_40 t14; - uint8_t *t16; - uint16_t t15; - bool t13; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (struct mem_Allocator__599 *)&a0->allocator; - t3 = (*t2); - t4 = t3; - t5 = (struct mem_Allocator__599 const *)&t4; - t6 = (*t1); - t7 = (*t6); - t8 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1452(t7); - t9 = (*t5); - t10 = (nav__1410_39 *)&a0->items; - t11 = (*t10); - t12 = t11.len; - t8 = mem_Allocator_remap__anon_4140__8241(t9, t8, t12); - t13 = t8.ptr != NULL; - if (t13) { - t11 = t8; - t7 = array_list_ArrayListAligned_28u8_2cnull_29_init__1404(t3); - (*a0) = t7; - t14.payload = t11; - t14.error = UINT16_C(0); - return t14; - } - goto zig_block_0; - - zig_block_0:; - t3 = (*t5); - t10 = (nav__1410_39 *)&a0->items; - t8 = (*t10); - t12 = t8.len; - t14 = mem_Allocator_alignedAlloc__anon_4145__8242(t3, t12); - if (t14.error) { - t15 = t14.error; - t14.payload = (nav__1410_39){(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t14.error = t15; - return t14; - } - t8 = t14.payload; - t10 = (nav__1410_39 *)&a0->items; - t11 = (*t10); - t16 = t11.ptr; - if (t8.len != 0) memcpy(t8.ptr, t16, t8.len * sizeof(uint8_t)); - t6 = (*t1); - array_list_ArrayListAligned_28u8_2cnull_29_clearAndFree__1440(t6); - t14.payload = t8; - t14.error = UINT16_C(0); - return t14; -} - -static void logger_logWithPrefix__anon_8660__9561(void) { - nav__9561_41 t3; - nav__9561_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__9561_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_8771__9569(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static nav__4667_39 fs_Dir_createFile__4667(struct fs_Dir__2113 const a0, nav__4667_42 const a1, struct fs_File_CreateFlags__8504 const a2) { - struct fs_Dir__2113 const *t1; - uint8_t const (*t7)[4096]; - uint8_t const *t9; - nav__4667_39 t4; - struct fs_Dir__2113 t8; - struct fs_Dir__2113 t0; - nav__4667_53 t2; - uint16_t t3; - uint8_t t5[4096]; - uint8_t t6[4096]; - t0 = a0; - t1 = (struct fs_Dir__2113 const *)&t0; - t2 = posix_toPosixPath__1899(a1); - if (t2.error) { - t3 = t2.error; - t4.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t4.error = t3; - return t4; - } - memcpy(t5, t2.payload, sizeof(uint8_t[4096])); - memcpy((char *)&t6, t5, sizeof(uint8_t[4096])); - t7 = (uint8_t const (*)[4096])&t6; - t8 = (*t1); - t9 = (uint8_t const *)t7; - t4 = fs_Dir_createFileZ__4668(t8, t9, a2); - return t4; -} - -static void logger_logWithPrefix__anon_8665__9562(void) { - nav__9562_41 t3; - nav__9562_41 t6; - uint8_t *t4; - uint8_t (*t5)[511]; - nav__9562_45 t7; - uintptr_t t8; - char const *t9; - uint8_t t0; - bool t1; - uint8_t t2[512]; - t0 = (*&logger_max_level__5081); - t1 = UINT8_C(3) < t0; - if (t1) { - return; - } - goto zig_block_0; - - zig_block_0:; - t4 = (uint8_t *)&t2; - t4 = (uint8_t *)(((uintptr_t)t4) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uint8_t (*)[511])t4; - t6.ptr = &(*t5)[(uintptr_t)0ul]; - t6.len = (uintptr_t)511ul; - t7 = fmt_bufPrint__anon_8786__9570(t6); - t1 = t7.error == UINT16_C(0); - if (t1) { - t6 = t7.payload; - t3 = t6; - goto zig_block_1; - } - (void)printf((char const *)&__anon_3939); - return; - - zig_block_1:; - t8 = t3.len; - t4 = (uint8_t *)&t2[t8]; - (*t4) = UINT8_C(0); - t4 = t3.ptr; - t9 = (char const *)t4; - (void)printf(t9); - return; -} - -static nav__9514_39 environment_linked_libraries_elf_view_buildId__9514(struct environment_linked_libraries_elf_view__8534 const a0) { - struct environment_linked_libraries_elf_view__8534 const *t1; - nav__9514_45 t3; - uintptr_t t4; - uintptr_t t5; - uintptr_t t12; - uintptr_t t13; - uintptr_t t2; - uint64_t t6; - uint64_t t7; - struct elf_Elf64_Phdr__8384 t9; - struct environment_linked_libraries_elf_view__8534 t11; - struct environment_linked_libraries_elf_view__8534 t0; - nav__9514_39 t14; - nav__9514_39 t21; - nav__9514_39 t15; - nav__9514_39 const *t16; - uint8_t const *t17; - uint8_t const (*t18)[4]; - uint32_t t10; - uint32_t t20; - bool t8; - uint8_t t19[4]; - t0 = a0; - t1 = (struct environment_linked_libraries_elf_view__8534 const *)&t0; - t2 = (uintptr_t)0ul; - t3 = a0.phdrs; - t4 = t3.len; - zig_loop_9: - t5 = t2; - t6 = t5; - t7 = t4; - t8 = t6 < t7; - if (t8) { - t9 = t3.ptr[t5]; - t10 = t9.p_type; - t8 = t10 != UINT32_C(4); - if (t8) { - goto zig_block_1; +static nav__4669_39 fs_Dir_createFileZ__4669( + struct fs_Dir__2113 const a0, uint8_t const *const a1, + struct fs_File_CreateFlags__8531 const a2) { + uint32_t *t2; + uintptr_t t7; + struct fs_File__646 *t14; + int32_t *t15; + int32_t t5; + int32_t t11; + int32_t t12; + uint32_t t6; + uint32_t t1; + nav__4669_50 t8; + nav__4669_39 t10; + nav__4669_39 t13; + struct fs_Dir__2113 t0; + uint16_t t9; + uint8_t t3; + bool t4; + t0 = a0; + t2 = (uint32_t *)&t1; + t4 = a2.read; + if (t4) { + t3 = UINT8_C(2); + goto zig_block_0; } - goto zig_block_2; + t3 = UINT8_C(1); + goto zig_block_0; + +zig_block_0:; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffffc)), + zig_shl_u32((uint32_t)t3, UINT8_C(0))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffbf)), + zig_shl_u32((uint32_t)true, UINT8_C(6))); + t2 = (uint32_t *)&t1; + t4 = a2.truncate; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffdff)), + zig_shl_u32((uint32_t)t4, UINT8_C(9))); + t2 = (uint32_t *)&t1; + t4 = a2.exclusive; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffff7f)), + zig_shl_u32((uint32_t)t4, UINT8_C(7))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffc3)), + zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(2))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffeff)), + zig_shl_u32((uint32_t)false, UINT8_C(8))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffbff)), + zig_shl_u32((uint32_t)false, UINT8_C(10))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffff7ff)), + zig_shl_u32((uint32_t)false, UINT8_C(11))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffefff)), + zig_shl_u32((uint32_t)false, UINT8_C(12))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffdfff)), + zig_shl_u32((uint32_t)false, UINT8_C(13))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffbfff)), + zig_shl_u32((uint32_t)false, UINT8_C(14))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffff7fff)), + zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(15))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffeffff)), + zig_shl_u32((uint32_t)false, UINT8_C(16))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffdffff)), + zig_shl_u32((uint32_t)false, UINT8_C(17))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffbffff)), + zig_shl_u32((uint32_t)false, UINT8_C(18))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), + zig_shl_u32((uint32_t)false, UINT8_C(19))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffefffff)), + zig_shl_u32((uint32_t)false, UINT8_C(20))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffdfffff)), + zig_shl_u32((uint32_t)false, UINT8_C(21))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffbfffff)), + zig_shl_u32((uint32_t)false, UINT8_C(22))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0x7fffff)), + zig_shl_u32((uint32_t)UINT16_C(0), UINT8_C(23))); + t2 = (uint32_t *)&t1; + (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), + zig_shl_u32((uint32_t)true, UINT8_C(19))); + t5 = a0.fd; + t6 = t1; + t7 = a2.mode; + t8 = posix_openatZ__1647(t5, a1, t6, t7); + if (t8.error) { + t9 = t8.error; + t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t10.error = t9; + return t10; + } + t5 = t8.payload; + t3 = a2.lock; + t4 = t3 != UINT8_C(0); + if (t4) { + t4 = a2.lock_nonblocking; + if (t4) { + t11 = INT32_C(4); + goto zig_block_2; + } + t11 = INT32_C(0); + goto zig_block_2; zig_block_2:; - t11 = (*t1); - t7 = t9.p_vaddr; - t12 = t7; - t7 = t9.p_memsz; - t13 = t7; - t14 = environment_linked_libraries_elf_view_slice__9507(t11, t12, t13); - t15 = t14; - t16 = (nav__9514_39 const *)&t15; - t13 = t14.len; - t7 = t13; - t8 = t7 < UINT64_C(16); - if (t8) { - goto zig_block_1; - } - goto zig_block_3; + t3 = a2.lock; + switch (t3) { + case UINT8_C(0): { + zig_unreachable(); + } + case UINT8_C(1): { + t11 = INT32_C(1) | t11; + t12 = t11; + goto zig_block_3; + } + case UINT8_C(2): { + t11 = INT32_C(2) | t11; + t12 = t11; + goto zig_block_3; + } + default: + zig_unreachable(); + } zig_block_3:; - t14 = (*t16); - t17 = t14.ptr; - t17 = (uint8_t const *)(((uintptr_t)t17) + ((uintptr_t)0ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t17; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t10, &t19, sizeof(uint32_t)); - t10 = zig_wrap_u32(t10, UINT8_C(32)); - t8 = t10 != UINT32_C(4); - if (t8) { - goto zig_block_1; + t9 = posix_flock__1808(t5, t12); + if (t9) { + posix_close__1605(t5); + t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; + t10.error = t9; + return t10; + } + goto zig_block_1; } - goto zig_block_4; + goto zig_block_1; - zig_block_4:; - t14 = (*t16); - t17 = t14.ptr; - t17 = (uint8_t const *)(((uintptr_t)t17) + ((uintptr_t)4ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t17; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t10, &t19, sizeof(uint32_t)); - t10 = zig_wrap_u32(t10, UINT8_C(32)); - t14 = (*t16); - t17 = t14.ptr; - t17 = (uint8_t const *)(((uintptr_t)t17) + ((uintptr_t)8ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t17; - memcpy(t19, (const char *)t18, sizeof(uint8_t[4])); - memcpy(&t20, &t19, sizeof(uint32_t)); - t20 = zig_wrap_u32(t20, UINT8_C(32)); - t8 = t20 != UINT32_C(3); - if (t8) { - goto zig_block_1; +zig_block_1:; + t13.error = UINT16_C(0); + t14 = &t13.payload; + t15 = (int32_t *)&t14->handle; + (*t15) = t5; + return t13; +} + +static uint16_t fmt_format__anon_9266__9584(struct io_Writer__4352 const a0) { + struct io_Writer__4352 const *t1; + struct io_Writer__4352 t2; + struct io_Writer__4352 t0; + uint16_t t3; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2 = (*t1); + t3 = io_Writer_writeAll__8277( + t2, (nav__9584_43){(uint8_t const *)&__anon_9333, (uintptr_t)59ul}); + if (t3) { + return t3; } - goto zig_block_5; + return 0; +} - zig_block_5:; - t14 = (*t16); - t17 = t14.ptr; - t17 = (uint8_t const *)(((uintptr_t)t17) + ((uintptr_t)12ul*sizeof(uint8_t))); - t18 = (uint8_t const (*)[4])t17; - t14.ptr = &(*t18)[(uintptr_t)0ul]; - t14.len = (uintptr_t)4ul; - t8 = mem_eql__anon_8236__9005(t14, (nav__9514_39){(uint8_t const *)&__anon_8795,(uintptr_t)4ul}); - t8 = !t8; - if (t8) { - goto zig_block_1; +static nav__9575_40 fmt_bufPrint__anon_8813__9575(nav__9575_39 const a0) { + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t2; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 + t3; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t4; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *t5; + struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *t6; + void const **t8; + struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const + *t9; + void const *t10; + nav__9575_54 (**t11)(void const *, nav__9575_56); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + nav__9575_39 t15; + nav__9575_40 t16; + uint16_t t13; + bool t14; + t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4985(a0); + t0 = t1; + t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4975(&t0); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4342 const *const + *)&t5; + t8 = (void const **)&t7.context; + t4 = (*t6); + t9 = + (struct + io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9575_54(**)(void const *, nav__9575_56)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8269; + t12 = t7; + t13 = fmt_format__anon_9266__9584(t12); + t14 = t13 == UINT16_C(0); + if (t14) { + goto zig_block_0; + } + switch (t13) { + case zig_error_NoSpaceLeft: { + return (nav__9575_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}, + zig_error_NoSpaceLeft}; + } + default: { + zig_unreachable(); + } } - goto zig_block_6; - zig_block_6:; - t14 = (*t16); - t17 = t14.ptr; - t17 = (uint8_t const *)(((uintptr_t)t17) + ((uintptr_t)16ul*sizeof(uint8_t))); - t5 = (uintptr_t)t10; - t14.ptr = t17; - t14.len = t5; - t21 = t14; - return t21; - } - goto zig_block_0; - - zig_block_1:; - t5 = t5 + (uintptr_t)1ul; - t2 = t5; - goto zig_loop_9; - - zig_block_0:; - return (nav__9514_39){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; -} - -static nav__3624_39 environment_linked_libraries_root_hexEncode__3624(struct mem_Allocator__599 const a0, nav__3624_39 const a1) { - struct mem_Allocator__599 const *t1; - nav__3624_50 t2; - nav__3624_50 t7; - nav__3624_50 t8; - struct mem_Allocator__599 t3; - struct mem_Allocator__599 t0; - uintptr_t t4; - uintptr_t t11; - uintptr_t t15; - uintptr_t t10; - nav__3624_52 t5; - nav__3624_50 const *t9; - uint64_t t12; - uint64_t t13; - uint8_t *t16; - uint8_t const *t18; - nav__3624_39 t19; - nav__3624_39 t20; - bool t6; - uint8_t t14; - uint8_t t17; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = (*t1); - t4 = a1.len; - t4 = t4 * (uintptr_t)2ul; - t5 = mem_Allocator_alloc__anon_2699__5065(t3, t4); - t6 = t5.error == UINT16_C(0); - if (t6) { - t7 = t5.payload; - t2 = t7; - goto zig_block_0; - } - return (nav__3624_39){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_0:; - t8 = t2; - t9 = (nav__3624_50 const *)&t8; - t10 = (uintptr_t)0ul; - t4 = a1.len; - zig_loop_25: - t11 = t10; - t12 = t11; - t13 = t4; - t6 = t12 < t13; - if (t6) { - t14 = a1.ptr[t11]; - t15 = t11 * (uintptr_t)2ul; - t7 = (*t9); - t16 = &t7.ptr[t15]; - t17 = zig_shr_u8(t14, UINT8_C(4)); - t15 = (uintptr_t)t17; - t18 = (uint8_t const *)&(*&__anon_8799)[t15]; - t17 = (*t18); - (*t16) = t17; - t15 = t11 * (uintptr_t)2ul; - t15 = t15 + (uintptr_t)1ul; - t7 = (*t9); - t16 = &t7.ptr[t15]; - t14 = t14 & UINT8_C(15); - t15 = (uintptr_t)t14; - t18 = (uint8_t const *)&(*&__anon_8799)[t15]; - t14 = (*t18); - (*t16) = t14; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t11 = t11 + (uintptr_t)1ul; - t10 = t11; - goto zig_loop_25; - - zig_block_1:; - memcpy(&t19, &t2, sizeof(nav__3624_39)); - t20 = t19; - return t20; -} - -static nav__9509_40 environment_linked_libraries_elf_view_dynamicEntries__9509(struct environment_linked_libraries_elf_view__8534 const a0) { - struct environment_linked_libraries_elf_view__8534 const *t1; - struct elf_Elf64_Phdr__8384 t2; - struct elf_Elf64_Phdr__8384 t6; - struct environment_linked_libraries_elf_view__8534 t3; - struct environment_linked_libraries_elf_view__8534 t0; - nav__9509_52 t4; - uintptr_t t7; - uintptr_t t9; - uint64_t t8; - struct elf_Elf64_Dyn__8679 const *t10; - struct elf_Elf64_Dyn__8679 const *t11; - struct elf_Elf64_Dyn__8679 const *const *t12; - nav__9509_40 t13; - nav__9509_40 t14; - bool t5; - t0 = a0; - t1 = (struct environment_linked_libraries_elf_view__8534 const *)&t0; - t3 = (*t1); - t4 = environment_linked_libraries_elf_view_findPhdr__9508(t3, UINT32_C(2)); - t5 = t4.is_null != true; - if (t5) { - t6 = t4.payload; - t2 = t6; - goto zig_block_0; - } - return (nav__9509_40){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_0:; - t7 = a0.base_addr; - t8 = t2.p_vaddr; - t9 = t8; - t9 = t7 + t9; - t10 = (struct elf_Elf64_Dyn__8679 const *)t9; - t11 = t10; - t12 = (struct elf_Elf64_Dyn__8679 const *const *)&t11; - t8 = t2.p_memsz; - t8 = t8 / UINT64_C(16); - t10 = (*t12); - t10 = (struct elf_Elf64_Dyn__8679 const *)(((uintptr_t)t10) + ((uintptr_t)0ul*sizeof(struct elf_Elf64_Dyn__8679))); - t9 = t8; - t13.ptr = t10; - t13.len = t9; - t14 = t13; - return t14; -} - -static uint8_t const *environment_linked_libraries_elf_view_strtab__9511(nav__9511_41 const a0) { - uintptr_t t0; - uintptr_t t3; - nav__9511_45 t1; - uint8_t const *t4; - bool t2; - t1 = environment_linked_libraries_elf_view_dynVal__9510(a0, INT64_C(5)); - t2 = t1.is_null != true; - if (t2) { - t3 = t1.payload; - t0 = t3; +zig_block_0:; + t1 = t0; + t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4983( + t1); + t16.payload = t15; + t16.error = UINT16_C(0); + return t16; +} + +static nav__9512_39 environment_linked_libraries_elf_view_slice__9512( + struct environment_linked_libraries_elf_view__8561 const a0, + uintptr_t const a1, uintptr_t const a2) { + uintptr_t t0; + uint8_t const *t1; + uint8_t const *t2; + uint8_t const *const *t3; + nav__9512_39 t4; + t0 = a0.base_addr; + t0 = t0 + a1; + t1 = (uint8_t const *)t0; + t2 = t1; + t3 = (uint8_t const *const *)&t2; + t1 = (*t3); + t1 = (uint8_t const *)(((uintptr_t)t1) + ((uintptr_t)0ul * sizeof(uint8_t))); + t4.ptr = t1; + t4.len = a2; + return t4; +} + +static nav__9513_39 environment_linked_libraries_elf_view_findPhdr__9513( + struct environment_linked_libraries_elf_view__8561 const a0, + uint32_t const a1) { + nav__9513_45 t1; + uintptr_t t2; + uintptr_t t3; + uintptr_t t0; + uint64_t t4; + uint64_t t5; + struct elf_Elf64_Phdr__8411 t7; + nav__9513_39 t9; + uint32_t t8; + bool t6; + t0 = (uintptr_t)0ul; + t1 = a0.phdrs; + t2 = t1.len; +zig_loop_7: + t3 = t0; + t4 = t3; + t5 = t2; + t6 = t4 < t5; + if (t6) { + t7 = t1.ptr[t3]; + t8 = t7.p_type; + t6 = t8 == a1; + if (t6) { + t9.is_null = false; + t9.payload = t7; + return t9; + } + goto zig_block_2; + + zig_block_2:; + goto zig_block_1; + } goto zig_block_0; - } - return NULL; - - zig_block_0:; - t4 = (uint8_t const *)t0; - return t4; -} - -static nav__9513_39 environment_linked_libraries_elf_view_soname__9513(nav__9513_42 const a0, uint8_t const *const a1) { - uintptr_t t0; - uintptr_t t3; - nav__9513_47 t1; - nav__9513_39 t4; - nav__9513_39 t5; - bool t2; - t1 = environment_linked_libraries_elf_view_dynVal__9510(a0, INT64_C(14)); - t2 = t1.is_null != true; - if (t2) { - t3 = t1.payload; + +zig_block_1:; + t3 = t3 + (uintptr_t)1ul; t0 = t3; + goto zig_loop_7; + +zig_block_0:; + return (nav__9513_39){ + {UINT32_C(0xaaaaaaaa), UINT32_C(0xaaaaaaaa), UINT64_C(0xaaaaaaaaaaaaaaaa), + UINT64_C(0xaaaaaaaaaaaaaaaa), UINT64_C(0xaaaaaaaaaaaaaaaa), + UINT64_C(0xaaaaaaaaaaaaaaaa), UINT64_C(0xaaaaaaaaaaaaaaaa), + UINT64_C(0xaaaaaaaaaaaaaaaa)}, + true}; +} + +static nav__9515_38 environment_linked_libraries_elf_view_dynVal__9515( + nav__9515_41 const a0, int64_t const a1) { + uintptr_t t1; + uintptr_t t2; + uintptr_t t0; + uint64_t t3; + uint64_t t4; + struct elf_Elf64_Dyn__8706 t6; + int64_t t7; + nav__9515_38 t8; + bool t5; + t0 = (uintptr_t)0ul; + t1 = a0.len; +zig_loop_6: + t2 = t0; + t3 = t2; + t4 = t1; + t5 = t3 < t4; + if (t5) { + t6 = a0.ptr[t2]; + t7 = t6.d_tag; + t5 = t7 == a1; + if (t5) { + t4 = t6.d_val; + t2 = t4; + t8.is_null = false; + t8.payload = t2; + return t8; + } + goto zig_block_2; + + zig_block_2:; + t7 = t6.d_tag; + t5 = t7 == INT64_C(0); + if (t5) { + goto zig_block_0; + } + goto zig_block_3; + + zig_block_3:; + goto zig_block_1; + } goto zig_block_0; - } - return (nav__9513_39){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_0:; - t4 = environment_linked_libraries_elf_view_strFromTable__9512(a1, t0); - t5 = t4; - return t5; -} - -static nav__4374_40 array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOne__4374(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const a0) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *t1; - nav__4374_47 *t2; - nav__4374_47 t3; - uintptr_t t4; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t5; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t0; - nav__4374_40 t7; - struct environment_linked_libraries_root_LibraryInfo__940 *t8; - uint16_t t6; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *)&t0; - t2 = (nav__4374_47 *)&a0->items; - t3 = (*t2); - t4 = t3.len; - t4 = t4 + (uintptr_t)1ul; - t5 = (*t1); - t6 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacity__4370(t5, t4); - if (t6) { - t7.payload = ((struct environment_linked_libraries_root_LibraryInfo__940 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul); - t7.error = t6; - return t7; - } - t5 = (*t1); - t8 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOneAssumeCapacity__4375(t5); - t7.payload = t8; - t7.error = UINT16_C(0); - return t7; -} - -static uint16_t fmt_format__anon_8831__9571(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__9571_43){(uint8_t const *)&__anon_8900,(uintptr_t)61ul}); - if (t3) { + +zig_block_1:; + t2 = t2 + (uintptr_t)1ul; + t0 = t2; + goto zig_loop_6; + +zig_block_0:; + return (nav__9515_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; +} + +static nav__9517_39 environment_linked_libraries_elf_view_strFromTable__9517( + uint8_t const *const a0, uintptr_t const a1) { + uintptr_t t0; + uint8_t const *t1; + nav__9517_39 t2; + nav__9517_39 t3; + t0 = (uintptr_t)a0; + t0 = t0 + a1; + t1 = (uint8_t const *)t0; + t2 = mem_span__anon_8491__9477(t1); + memcpy(&t3, &t2, sizeof(nav__9517_39)); return t3; - } - return 0; -} - -static nav__9563_40 fmt_bufPrint__anon_8714__9563(nav__9563_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__9563_54 (**t11)(void const *, nav__9563_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__9563_39 t15; - nav__9563_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9563_54 (**)(void const *, nav__9563_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_8831__9571(t12); - t14 = t13 == UINT16_C(0); - if (t14) { +} + +static uint16_t +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacity__4371( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + a0, + uintptr_t const a1) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t7; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t0; + uint16_t t8; + bool t6; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a1; + t6 = t4 >= t5; + if (t6) { + return 0; + } goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__9563_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static nav__9564_39 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9564(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct mem_Allocator__599 const a1, nav__9564_44 const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t4; - uintptr_t t5; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t8; - nav__9564_67 t9; - nav__9564_39 t11; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t12; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t13; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t14; - nav__9564_73 t15; - nav__9564_73 t16; - nav__9564_73 const *t17; - nav__9564_44 *t18; - nav__9564_76 t19; - nav__9564_76 t20; - nav__9564_76 const *t21; - struct environment_linked_libraries_root_LibraryEntry__858 *t22; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t23; - uint16_t t6; - bool t7; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&a0->entries; - t4 = (*t3); - t5 = t4.len; - t5 = t5 + (uintptr_t)1ul; - t6 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4188(t2, a1, t5); - t7 = t6 == UINT16_C(0); - if (t7) { + +zig_block_0:; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t3 = + array_list_ArrayListAlignedUnmanaged_28environment_linked_libraries_root_LibraryInfo_2cnull_29_growCapacit__9643( + t3, a1); + t7 = (*t1); + t8 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacityP__4372( + t7, t3); + return t8; +} + +static struct environment_linked_libraries_root_LibraryInfo__940 * +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOneAssumeCapacity__4376( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + a0) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *t1; + nav__4376_44 *t2; + nav__4376_44 *t11; + nav__4376_44 t3; + uintptr_t t4; + uintptr_t t6; + uintptr_t *t5; + uint64_t t7; + uint64_t t8; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t10; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t0; + struct environment_linked_libraries_root_LibraryInfo__940 *t12; + bool t9; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *)&t0; + t2 = (nav__4376_44 *)&a0->items; + t3 = (*t2); + t4 = t3.len; + t5 = (uintptr_t *)&a0->capacity; + t6 = (*t5); + t7 = t4; + t8 = t6; + t9 = t7 < t8; + debug_assert__180(t9); + t10 = (*t1); + t2 = (nav__4376_44 *)&t10->items; + t5 = &t2->len; + t6 = (*t5); + t6 = t6 + (uintptr_t)1ul; + (*t5) = t6; + t10 = (*t1); + t2 = (nav__4376_44 *)&t10->items; + t11 = (nav__4376_44 *)&a0->items; + t3 = (*t11); + t6 = t3.len; + t6 = t6 - (uintptr_t)1ul; + t3 = (*t2); + t12 = &t3.ptr[t6]; + return t12; +} + +static uint16_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4189( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + void *t3; + uint64_t t4; + uint64_t t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t6; + struct array_hash_map_IndexHeader__886 **t8; + struct array_hash_map_IndexHeader__886 *t9; + struct array_hash_map_IndexHeader__886 *t10; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t20; + struct array_hash_map_IndexHeader__886 *const *t12; + nav__4189_62 t18; + struct array_hash_map_IndexHeader__886 t13; + uint32_t t14; + uint16_t t7; + nav__4189_60 t16; + bool t5; + uint8_t t17; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_lock__3969(t3); + t4 = a2; + t5 = t4 <= UINT64_C(8); + if (t5) { + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4315( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; + } goto zig_block_0; - } - t2 = (*t1); - t8 = (*t2); - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9572(t8, a2); - t7 = t9.is_null != true; - if (t7) { - t10 = t9.payload; - t5 = t10; + +zig_block_0:; + t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t9 = (*t8); + t5 = t9 != NULL; + if (t5) { + t10 = t9; + t11 = t10; + t12 = (struct array_hash_map_IndexHeader__886 *const *)&t11; + t10 = (*t12); + t13 = (*t10); + t14 = array_hash_map_IndexHeader_capacity__3961(t13); + t4 = a2; + t15 = (uint64_t)t14; + t5 = t4 <= t15; + if (t5) { + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4315( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; + } + goto zig_block_2; + + zig_block_2:; + goto zig_block_1; + } goto zig_block_1; - } - t11.payload = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426){((nav__9564_44 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct environment_linked_libraries_root_LibraryEntry__858 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0xaaaaaaaaaaaaaaaaul,false}; - t11.error = t6; - return t11; - - zig_block_1:; - t2 = (*t1); - t3 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t2->entries; - t4 = (*t3); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t4); - t13 = t12; - t14 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t13; - t12 = (*t14); - t15 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t12); - t16 = t15; - t17 = (nav__9564_73 const *)&t16; - t15 = (*t17); - t18 = &t15.ptr[t5]; - t12 = (*t14); - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t12); - t20 = t19; - t21 = (nav__9564_76 const *)&t20; - t19 = (*t21); - t22 = &t19.ptr[t5]; - t23.key_ptr = t18; - t23.value_ptr = t22; - t23.index = t5; - t23.found_existing = true; - t11.payload = t23; - t11.error = UINT16_C(0); - return t11; - - zig_block_0:; - t2 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9573(t2, a2); - t11.payload = t23; - t11.error = UINT16_C(0); - return t11; -} - -static uint16_t fmt_format__anon_8924__9574(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__9574_43){(uint8_t const *)&__anon_8994,(uintptr_t)62ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__9565_40 fmt_bufPrint__anon_8731__9565(nav__9565_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__9565_54 (**t11)(void const *, nav__9565_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__9565_39 t15; - nav__9565_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9565_54 (**)(void const *, nav__9565_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_8924__9574(t12); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__9565_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static uint16_t fmt_format__anon_9000__9575(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__9575_43){(uint8_t const *)&__anon_9061,(uintptr_t)55ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__9566_40 fmt_bufPrint__anon_8740__9566(nav__9566_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__9566_54 (**t11)(void const *, nav__9566_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__9566_39 t15; - nav__9566_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9566_54 (**)(void const *, nav__9566_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_9000__9575(t12); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__9566_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 json_stringify_writeStreamArbitraryDepth__anon_8748__9567(struct mem_Allocator__599 const a0, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a1, struct json_stringify_StringifyOptions__8484 const a2) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 t0; - t0 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9536(a0, a1, a2); - return t0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9568(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, struct environment_root_EnvironmentJson__839 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 t7; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 t9; - struct environment_root_EnvironmentJson__839 t2; - uint16_t t4; - bool t6; - bool t5; - bool t8; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a1; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(t3); - if (t4) { - return t4; - } - t5 = true; - t6 = t5; - if (t6) { - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t3, (nav__9568_62){((uint8_t const *)&__anon_9074),(uintptr_t)23ul}); - if (t4) { - return t4; + +zig_block_1:; + t2 = (*t1); + t6 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t2->entries; + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4315( + t6, a1, a2); + if (t7) { + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; } - t3 = (*t1); - t7 = a1.integration_environment; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9576(t3, t7); - if (t4) { - return t4; + t16 = array_hash_map_IndexHeader_findBitIndex__3964(a2); + if (t16.error) { + t7 = t16.error; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; } - goto zig_block_0; - } - goto zig_block_0; + t17 = t16.payload; + t18 = array_hash_map_IndexHeader_alloc__3965(a1, t17); + if (t18.error) { + t7 = t18.error; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return t7; + } + t10 = t18.payload; + t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t9 = (*t8); + t5 = t9 != NULL; + if (t5) { + t19 = t9; + t20 = t19; + t12 = (struct array_hash_map_IndexHeader__886 *const *)&t20; + t19 = (*t12); + array_hash_map_IndexHeader_free__3966(t19, a1); + goto zig_block_3; + } + goto zig_block_3; - zig_block_0:; - t8 = true; - t6 = t8; - if (t6) { - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t3, (nav__9568_62){((uint8_t const *)&__anon_9082),(uintptr_t)16ul}); +zig_block_3:; + t2 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4281( + t2, t10); + t2 = (*t1); + t8 = (struct array_hash_map_IndexHeader__886 **)&t2->index_header; + t19 = (struct array_hash_map_IndexHeader__886 *)t10; + (*t8) = t19; + t2 = (*t1); + t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); + debug_SafetyLock_unlock__3970(t3); + return 0; +} + +static nav__9577_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9577( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9577_41 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_IndexHeader__886 *t3; + struct array_hash_map_IndexHeader__886 *t5; + struct array_hash_map_IndexHeader__886 *t24; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t10; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t11; + nav__9577_61 t12; + nav__9577_64 t13; + uintptr_t t15; + uintptr_t t16; + uintptr_t t14; + uint64_t t17; + uint64_t t18; + nav__9577_41 *t19; + nav__9577_41 t22; + nav__9577_38 t23; + struct array_hash_map_IndexHeader__886 *const *t25; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t28; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + uint32_t t6; + uint32_t t20; + struct array_hash_map_IndexHeader__886 t26; + bool t4; + bool t21; + uint8_t t27; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t3 = a0.index_header; + t4 = t3 != NULL; if (t4) { - return t4; - } - t3 = (*t1); - t9 = a1.linked_libraries; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9577(t3, t9); + t5 = t3; + t2 = t5; + goto zig_block_0; + } + t6 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t7 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *)&t1->entries; + t8 = (*t7); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t8); + t10 = t9; + t11 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t10; + t9 = (*t11); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t9); + t9 = (*t11); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t9); + t14 = (uintptr_t)0ul; + t15 = t13.len; +zig_loop_32: + t16 = t14; + t17 = t16; + t18 = t15; + t4 = t17 < t18; if (t4) { - return t4; + t19 = &t13.ptr[t16]; + t20 = t12.ptr[t16]; + t4 = t20 == t6; + if (t4) { + t22 = (*t19); + t4 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t22, t16); + t21 = t4; + goto zig_block_4; + } + t21 = false; + goto zig_block_4; + + zig_block_4:; + if (t21) { + t23.is_null = false; + t23.payload = t16; + return t23; + } + goto zig_block_3; + + zig_block_3:; + goto zig_block_2; } goto zig_block_1; - } - goto zig_block_1; - zig_block_1:; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(t3); - if (t4) { - return t4; - } - return 0; -} - -static void json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9537(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - t0 = a0; - return; -} - -static void array_list_ArrayListAligned_28u8_2cnull_29_clearAndFree__1440(struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const a0) { - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t1; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t2; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *t0; - struct mem_Allocator__599 *t3; - struct mem_Allocator__599 t4; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 t5; - nav__1440_43 t6; - nav__1440_43 *t7; - uintptr_t *t8; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t0; - t2 = (*t1); - t3 = (struct mem_Allocator__599 *)&t2->allocator; - t4 = (*t3); - t2 = (*t1); - t5 = (*t2); - t6 = array_list_ArrayListAligned_28u8_2cnull_29_allocatedSlice__1452(t5); - mem_Allocator_free__anon_4147__8243(t4, t6); - t2 = (*t1); - t7 = (nav__1440_43 *)&t2->items; - t8 = &t7->len; - (*t8) = (uintptr_t)0ul; - t2 = (*t1); - t8 = (uintptr_t *)&t2->capacity; - (*t8) = (uintptr_t)0ul; - return; -} - -static uint16_t fmt_format__anon_9164__9578(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__9578_43){(uint8_t const *)&__anon_9233,(uintptr_t)63ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__9569_40 fmt_bufPrint__anon_8771__9569(nav__9569_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__9569_54 (**t11)(void const *, nav__9569_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__9569_39 t15; - nav__9569_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9569_54 (**)(void const *, nav__9569_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_9164__9578(t12); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__9569_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static nav__4668_39 fs_Dir_createFileZ__4668(struct fs_Dir__2113 const a0, uint8_t const *const a1, struct fs_File_CreateFlags__8504 const a2) { - uint32_t *t2; - uintptr_t t7; - struct fs_File__646 *t14; - int32_t *t15; - int32_t t5; - int32_t t11; - int32_t t12; - uint32_t t6; - uint32_t t1; - nav__4668_50 t8; - nav__4668_39 t10; - nav__4668_39 t13; - struct fs_Dir__2113 t0; - uint16_t t9; - uint8_t t3; - bool t4; - t0 = a0; - t2 = (uint32_t *)&t1; - t4 = a2.read; - if (t4) { - t3 = UINT8_C(2); - goto zig_block_0; - } - t3 = UINT8_C(1); - goto zig_block_0; - - zig_block_0:; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffffc)), zig_shl_u32((uint32_t)t3, UINT8_C(0))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffbf)), zig_shl_u32((uint32_t)true, UINT8_C(6))); - t2 = (uint32_t *)&t1; - t4 = a2.truncate; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffdff)), zig_shl_u32((uint32_t)t4, UINT8_C(9))); - t2 = (uint32_t *)&t1; - t4 = a2.exclusive; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffff7f)), zig_shl_u32((uint32_t)t4, UINT8_C(7))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffffc3)), zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(2))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffeff)), zig_shl_u32((uint32_t)false, UINT8_C(8))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffffbff)), zig_shl_u32((uint32_t)false, UINT8_C(10))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffff7ff)), zig_shl_u32((uint32_t)false, UINT8_C(11))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffefff)), zig_shl_u32((uint32_t)false, UINT8_C(12))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffdfff)), zig_shl_u32((uint32_t)false, UINT8_C(13))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffffbfff)), zig_shl_u32((uint32_t)false, UINT8_C(14))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffff7fff)), zig_shl_u32((uint32_t)UINT8_C(0), UINT8_C(15))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffeffff)), zig_shl_u32((uint32_t)false, UINT8_C(16))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffdffff)), zig_shl_u32((uint32_t)false, UINT8_C(17))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfffbffff)), zig_shl_u32((uint32_t)false, UINT8_C(18))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), zig_shl_u32((uint32_t)false, UINT8_C(19))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffefffff)), zig_shl_u32((uint32_t)false, UINT8_C(20))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffdfffff)), zig_shl_u32((uint32_t)false, UINT8_C(21))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xffbfffff)), zig_shl_u32((uint32_t)false, UINT8_C(22))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0x7fffff)), zig_shl_u32((uint32_t)UINT16_C(0), UINT8_C(23))); - t2 = (uint32_t *)&t1; - (*t2) = zig_or_u32(zig_and_u32((*t2), UINT32_C(0xfff7ffff)), zig_shl_u32((uint32_t)true, UINT8_C(19))); - t5 = a0.fd; - t6 = t1; - t7 = a2.mode; - t8 = posix_openatZ__1646(t5, a1, t6, t7); - if (t8.error) { - t9 = t8.error; - t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t10.error = t9; - return t10; - } - t5 = t8.payload; - t3 = a2.lock; - t4 = t3 != UINT8_C(0); - if (t4) { - t4 = a2.lock_nonblocking; - if (t4) { - t11 = INT32_C(4); - goto zig_block_2; - } - t11 = INT32_C(0); - goto zig_block_2; +zig_block_2:; + t16 = t16 + (uintptr_t)1ul; + t14 = t16; + goto zig_loop_32; - zig_block_2:; - t3 = a2.lock; - switch (t3) { - case UINT8_C(0): { - zig_unreachable(); - } - case UINT8_C(1): { - t11 = INT32_C(1) | t11; - t12 = t11; - goto zig_block_3; - } - case UINT8_C(2): { - t11 = INT32_C(2) | t11; - t12 = t11; +zig_block_1:; + return (nav__9577_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t24 = t2; + t25 = (struct array_hash_map_IndexHeader__886 *const *)&t24; + t5 = (*t25); + t26 = (*t5); + t27 = array_hash_map_IndexHeader_capacityIndexType__3960(t26); + switch (t27) { + case UINT8_C(0): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9647( + t28, a1, t2); + return t23; + } + case UINT8_C(1): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9648( + t28, a1, t2); + return t23; + } + case UINT8_C(2): { + t28 = (*t1); + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9649( + t28, a1, t2); + return t23; + } + default: + zig_unreachable(); + } +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9578( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + nav__9578_42 const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t6; + struct array_hash_map_IndexHeader__886 *t39; + struct array_hash_map_IndexHeader__886 **t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t9; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t10; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t11; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t12; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t13; + nav__9578_66 t14; + nav__9578_66 t15; + nav__9578_66 const *t16; + nav__9578_69 t17; + nav__9578_69 t18; + nav__9578_69 const *t19; + uintptr_t t21; + uintptr_t t22; + uintptr_t t20; + uint64_t t23; + uint64_t t24; + nav__9578_42 *t25; + nav__9578_42 t28; + nav__9578_72 t29; + nav__9578_72 t30; + nav__9578_72 t37; + nav__9578_72 const *t31; + struct environment_linked_libraries_root_LibraryEntry__858 *t32; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t33; + uint32_t *const *t34; + uint32_t *t35; + nav__9578_42 *const *t36; + struct environment_linked_libraries_root_LibraryEntry__858 *const *t38; + struct array_hash_map_IndexHeader__886 *const *t40; + uint32_t t7; + uint32_t t26; + struct array_hash_map_IndexHeader__886 t41; + bool t5; + bool t27; + uint8_t t42; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t3 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; + t4 = (*t3); + t5 = t4 != NULL; + if (t5) { + t6 = t4; + t2 = t6; + goto zig_block_0; + } + t7 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t8 = (*t1); + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t8->entries; + t10 = (*t9); + t11 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t10); + t12 = t11; + t13 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t12; + t11 = (*t13); + t14 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t11); + t15 = t14; + t16 = (nav__9578_66 const *)&t15; + t11 = (*t13); + t17 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t11); + t18 = t17; + t19 = (nav__9578_69 const *)&t18; + t20 = (uintptr_t)0ul; + t21 = t17.len; +zig_loop_39: + t22 = t20; + t23 = t22; + t24 = t21; + t5 = t23 < t24; + if (t5) { + t25 = &t17.ptr[t22]; + t26 = t14.ptr[t22]; + t5 = t26 == t7; + if (t5) { + t28 = (*t25); + t5 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t28, t22); + t27 = t5; + goto zig_block_4; + } + t27 = false; + goto zig_block_4; + + zig_block_4:; + if (t27) { + t11 = (*t13); + t29 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t11); + t30 = t29; + t31 = (nav__9578_72 const *)&t30; + t29 = (*t31); + t32 = &t29.ptr[t22]; + t33.key_ptr = t25; + t33.value_ptr = t32; + t33.index = t22; + t33.found_existing = true; + return t33; + } goto zig_block_3; - } - default: zig_unreachable(); - } zig_block_3:; - t9 = posix_flock__1807(t5, t12); - if (t9) { - posix_close__1604(t5); - t10.payload = (struct fs_File__646){-INT32_C(0x55555556)}; - t10.error = t9; - return t10; + goto zig_block_2; } goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t13.error = UINT16_C(0); - t14 = &t13.payload; - t15 = (int32_t *)&t14->handle; - (*t15) = t5; - return t13; -} - -static uint16_t fmt_format__anon_9239__9579(struct io_Writer__4338 const a0) { - struct io_Writer__4338 const *t1; - struct io_Writer__4338 t2; - struct io_Writer__4338 t0; - uint16_t t3; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2 = (*t1); - t3 = io_Writer_writeAll__8274(t2, (nav__9579_43){(uint8_t const *)&__anon_9306,(uintptr_t)59ul}); - if (t3) { - return t3; - } - return 0; -} - -static nav__9570_40 fmt_bufPrint__anon_8786__9570(nav__9570_39 const a0) { - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t1; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 t0; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t2; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 t3; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t4; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *t5; - struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *t6; - void const **t8; - struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *t9; - void const *t10; - nav__9570_54 (**t11)(void const *, nav__9570_56); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - nav__9570_39 t15; - nav__9570_40 t16; - uint16_t t13; - bool t14; - t1 = io_fixed_buffer_stream_fixedBufferStream__anon_2399__4984(a0); - t0 = t1; - t2 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_writer__4974(&t0); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write_27_29_29__4328 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29__2396 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9570_54 (**)(void const *, nav__9570_56))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aio_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_2cerror_7bNoSpaceLeft_7d_2c_28function_20_27write__8266; - t12 = t7; - t13 = fmt_format__anon_9239__9579(t12); - t14 = t13 == UINT16_C(0); - if (t14) { - goto zig_block_0; - } - switch (t13) { - case zig_error_NoSpaceLeft: { - return (nav__9570_40){{(uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul},zig_error_NoSpaceLeft}; - } - default: { - zig_unreachable(); - } - } - - zig_block_0:; - t1 = t0; - t15 = io_fixed_buffer_stream_FixedBufferStream_28_5b_5du8_29_getWritten__4982(t1); - t16.payload = t15; - t16.error = UINT16_C(0); - return t16; -} - -static nav__9507_39 environment_linked_libraries_elf_view_slice__9507(struct environment_linked_libraries_elf_view__8534 const a0, uintptr_t const a1, uintptr_t const a2) { - uintptr_t t0; - uint8_t const *t1; - uint8_t const *t2; - uint8_t const *const *t3; - nav__9507_39 t4; - t0 = a0.base_addr; - t0 = t0 + a1; - t1 = (uint8_t const *)t0; - t2 = t1; - t3 = (uint8_t const *const *)&t2; - t1 = (*t3); - t1 = (uint8_t const *)(((uintptr_t)t1) + ((uintptr_t)0ul*sizeof(uint8_t))); - t4.ptr = t1; - t4.len = a2; - return t4; -} - -static nav__9508_39 environment_linked_libraries_elf_view_findPhdr__9508(struct environment_linked_libraries_elf_view__8534 const a0, uint32_t const a1) { - nav__9508_45 t1; - uintptr_t t2; - uintptr_t t3; - uintptr_t t0; - uint64_t t4; - uint64_t t5; - struct elf_Elf64_Phdr__8384 t7; - nav__9508_39 t9; - uint32_t t8; - bool t6; - t0 = (uintptr_t)0ul; - t1 = a0.phdrs; - t2 = t1.len; - zig_loop_7: - t3 = t0; - t4 = t3; - t5 = t2; - t6 = t4 < t5; - if (t6) { - t7 = t1.ptr[t3]; - t8 = t7.p_type; - t6 = t8 == a1; - if (t6) { - t9.is_null = false; - t9.payload = t7; - return t9; - } - goto zig_block_2; - zig_block_2:; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t3 = t3 + (uintptr_t)1ul; - t0 = t3; - goto zig_loop_7; - - zig_block_0:; - return (nav__9508_39){{UINT32_C(0xaaaaaaaa),UINT32_C(0xaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa),UINT64_C(0xaaaaaaaaaaaaaaaa)},true}; -} - -static nav__9510_38 environment_linked_libraries_elf_view_dynVal__9510(nav__9510_41 const a0, int64_t const a1) { - uintptr_t t1; - uintptr_t t2; - uintptr_t t0; - uint64_t t3; - uint64_t t4; - struct elf_Elf64_Dyn__8679 t6; - int64_t t7; - nav__9510_38 t8; - bool t5; - t0 = (uintptr_t)0ul; - t1 = a0.len; - zig_loop_6: - t2 = t0; - t3 = t2; - t4 = t1; - t5 = t3 < t4; - if (t5) { - t6 = a0.ptr[t2]; - t7 = t6.d_tag; - t5 = t7 == a1; - if (t5) { - t4 = t6.d_val; - t2 = t4; - t8.is_null = false; - t8.payload = t2; - return t8; - } - goto zig_block_2; +zig_block_2:; + t22 = t22 + (uintptr_t)1ul; + t20 = t22; + goto zig_loop_39; + +zig_block_1:; + t8 = (*t1); + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t8->entries; + t21 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t9); + t34 = &t16->ptr; + t35 = (*t34); + t35 = (uint32_t *)&t35[t21]; + (*t35) = t7; + t36 = &t19->ptr; + t25 = (*t36); + t25 = (nav__9578_42 *)&t25[t21]; + t11 = (*t13); + t29 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t11); + t37 = t29; + t31 = (nav__9578_72 const *)&t37; + t38 = &t31->ptr; + t32 = (*t38); + t32 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t32[t21]; + t33.key_ptr = t25; + t33.value_ptr = t32; + t33.index = t21; + t33.found_existing = false; + return t33; + +zig_block_0:; + t39 = t2; + t40 = (struct array_hash_map_IndexHeader__886 *const *)&t39; + t6 = (*t40); + t41 = (*t6); + t42 = array_hash_map_IndexHeader_capacityIndexType__3960(t41); + switch (t42) { + case UINT8_C(0): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9650( + t8, a1, t2); + return t33; + } + case UINT8_C(1): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9651( + t8, a1, t2); + return t33; + } + case UINT8_C(2): { + t8 = (*t1); + t33 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9652( + t8, a1, t2); + return t33; + } + default: + zig_unreachable(); + } +} + +static struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541( + struct mem_Allocator__599 const a0, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a1, + struct json_stringify_StringifyOptions__8511 const a2) { + struct json_stringify_StringifyOptions__8511 *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t2; + uintptr_t *t3; + uint8_t *t4; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + t0; + (void)a0; + t1 = (struct json_stringify_StringifyOptions__8511 *)&t0.options; + (*t1) = a2; + t2 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t0.stream; + (*t2) = a1; + t3 = (uintptr_t *)&t0.indent_level; + (*t3) = (uintptr_t)0ul; + t4 = (uint8_t *)&t0.next_punctuation; + (*t4) = UINT8_C(0); + return t0; +} - zig_block_2:; - t7 = t6.d_tag; - t5 = t7 == INT64_C(0); - if (t5) { - goto zig_block_0; +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct json_stringify_StringifyOptions__8511 *t3; + uintptr_t t6; + uintptr_t t8; + uintptr_t *t7; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t9; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t10; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t11; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t12; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t26; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t13; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t14; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t27; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t15; + void const **t17; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t18; + void const *t19; + nav__9549_56 (**t20)(void const *, nav__9549_58); + struct io_Writer__4352 t21; + struct io_Writer__4352 t16; + struct io_Writer__4352 t22; + struct io_Writer__4352 t28; + struct io_Writer__4352 t29; + struct io_Writer__4352 const *t23; + uint16_t t24; + uint16_t t25; + struct json_stringify_StringifyOptions__8511 t4; + uint8_t t5; + uint8_t t2; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = UINT8_C(32); + t3 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t4 = (*t3); + t5 = t4.whitespace; + switch (t5) { + case UINT8_C(0): { + return 0; + } + case UINT8_C(1): { + t7 = (uintptr_t *)&a0->indent_level; + t8 = (*t7); + t6 = t8; + goto zig_block_0; + } + case UINT8_C(2): { + t7 = (uintptr_t *)&a0->indent_level; + t8 = (*t7); + t8 = (uintptr_t)2ul * t8; + t6 = t8; + goto zig_block_0; + } + case UINT8_C(3): { + t7 = (uintptr_t *)&a0->indent_level; + t8 = (*t7); + t8 = (uintptr_t)3ul * t8; + t6 = t8; + goto zig_block_0; + } + case UINT8_C(4): { + t7 = (uintptr_t *)&a0->indent_level; + t8 = (*t7); + t8 = (uintptr_t)4ul * t8; + t6 = t8; + goto zig_block_0; + } + case UINT8_C(5): { + t7 = (uintptr_t *)&a0->indent_level; + t8 = (*t7); + t8 = (uintptr_t)8ul * t8; + t6 = t8; + goto zig_block_0; + } + case UINT8_C(6): { + t2 = UINT8_C(9); + t7 = (uintptr_t *)&a0->indent_level; + t8 = (*t7); + t6 = t8; + goto zig_block_0; + } + default: + zig_unreachable(); } - goto zig_block_3; - zig_block_3:; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t2 = t2 + (uintptr_t)1ul; - t0 = t2; - goto zig_loop_6; - - zig_block_0:; - return (nav__9510_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; -} - -static nav__9512_39 environment_linked_libraries_elf_view_strFromTable__9512(uint8_t const *const a0, uintptr_t const a1) { - uintptr_t t0; - uint8_t const *t1; - nav__9512_39 t2; - nav__9512_39 t3; - t0 = (uintptr_t)a0; - t0 = t0 + a1; - t1 = (uint8_t const *)t0; - t2 = mem_span__anon_8464__9472(t1); - memcpy(&t3, &t2, sizeof(nav__9512_39)); - return t3; -} - -static uint16_t array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacity__4370(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const a0, uintptr_t const a1) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t7; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t0; - uint16_t t8; - bool t6; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a1; - t6 = t4 >= t5; - if (t6) { +zig_block_0:; + t9 = (*t1); + t10 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t9->stream; + t11 = (*t10); + t12 = t11; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t12; + t14 = t13; + t15 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t14; + t17 = (void const **)&t16.context; + t13 = (*t15); + t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t13 + ->context; + t19 = (void const *)t18; + (*t17) = t19; + t20 = (nav__9549_56(**)(void const *, nav__9549_58)) & t16.writeFn; + (*t20) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t21 = t16; + t22 = t21; + t23 = (struct io_Writer__4352 const *)&t22; + t21 = (*t23); + t24 = io_Writer_writeByte__8279(t21, UINT8_C(10)); + memcpy(&t25, &t24, sizeof(uint16_t)); + if (t25) { + return t25; + } + t9 = (*t1); + t10 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t9->stream; + t11 = (*t10); + t5 = t2; + t26 = t11; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t26; + t27 = t13; + t15 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t27; + t17 = (void const **)&t28.context; + t13 = (*t15); + t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t13 + ->context; + t19 = (void const *)t18; + (*t17) = t19; + t20 = (nav__9549_56(**)(void const *, nav__9549_58)) & t28.writeFn; + (*t20) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t21 = t28; + t29 = t21; + t23 = (struct io_Writer__4352 const *)&t29; + t21 = (*t23); + t25 = io_Writer_writeByteNTimes__8280(t21, t5, t6); + memcpy(&t24, &t25, sizeof(uint16_t)); + if (t24) { + return t24; + } return 0; - } - goto zig_block_0; - - zig_block_0:; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t3 = array_list_ArrayListAlignedUnmanaged_28environment_linked_libraries_root_LibraryInfo_2cnull_29_growCapacit__9638(t3, a1); - t7 = (*t1); - t8 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacityP__4371(t7, t3); - return t8; -} - -static struct environment_linked_libraries_root_LibraryInfo__940 *array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_addOneAssumeCapacity__4375(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const a0) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *t1; - nav__4375_44 *t2; - nav__4375_44 *t11; - nav__4375_44 t3; - uintptr_t t4; - uintptr_t t6; - uintptr_t *t5; - uint64_t t7; - uint64_t t8; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t10; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t0; - struct environment_linked_libraries_root_LibraryInfo__940 *t12; - bool t9; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *)&t0; - t2 = (nav__4375_44 *)&a0->items; - t3 = (*t2); - t4 = t3.len; - t5 = (uintptr_t *)&a0->capacity; - t6 = (*t5); - t7 = t4; - t8 = t6; - t9 = t7 < t8; - debug_assert__180(t9); - t10 = (*t1); - t2 = (nav__4375_44 *)&t10->items; - t5 = &t2->len; - t6 = (*t5); - t6 = t6 + (uintptr_t)1ul; - (*t5) = t6; - t10 = (*t1); - t2 = (nav__4375_44 *)&t10->items; - t11 = (nav__4375_44 *)&a0->items; - t3 = (*t11); - t6 = t3.len; - t6 = t6 - (uintptr_t)1ul; - t3 = (*t2); - t12 = &t3.ptr[t6]; - return t12; -} - -static uint16_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4188(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - void *t3; - uint64_t t4; - uint64_t t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t6; - struct array_hash_map_IndexHeader__886 **t8; - struct array_hash_map_IndexHeader__886 *t9; - struct array_hash_map_IndexHeader__886 *t10; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t20; - struct array_hash_map_IndexHeader__886 *const *t12; - nav__4188_62 t18; - struct array_hash_map_IndexHeader__886 t13; - uint32_t t14; - uint16_t t7; - nav__4188_60 t16; - bool t5; - uint8_t t17; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_lock__3968(t3); - t4 = a2; - t5 = t4 <= UINT64_C(8); - if (t5) { +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9552( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *t3; + uint8_t *t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t9; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t10; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t23; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t29; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t11; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t12; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t24; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t30; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t13; + void const **t15; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t16; + void const *t17; + nav__9552_56 (**t18)(void const *, nav__9552_58); + struct io_Writer__4352 t19; + struct io_Writer__4352 t14; + struct io_Writer__4352 t20; + struct io_Writer__4352 t25; + struct io_Writer__4352 t26; + struct io_Writer__4352 t31; + struct io_Writer__4352 t32; + struct io_Writer__4352 const *t21; + struct json_stringify_StringifyOptions__8511 *t27; + uint16_t t7; + uint16_t t22; + bool t4; + uint8_t t6; + struct json_stringify_StringifyOptions__8511 t28; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4314(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; + t3 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *)t2; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9555( + t3); + t4 = !t4; + debug_assert__180(t4); + t5 = (uint8_t *)&a0->next_punctuation; + t6 = (*t5); + switch (t6) { + case UINT8_C(0): { + goto zig_block_0; + } + case UINT8_C(1): { + t2 = (*t1); + t7 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549( + t2); + if (t7) { + return t7; + } + goto zig_block_0; + } + case UINT8_C(2): { + t2 = (*t1); + t8 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t9 = (*t8); + t10 = t9; + t11 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t10; + t12 = t11; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t12; + t15 = (void const **)&t14.context; + t11 = (*t13); + t16 = + (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t11 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9552_56(**)(void const *, nav__9552_58)) & t14.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t14; + t20 = t19; + t21 = (struct io_Writer__4352 const *)&t20; + t19 = (*t21); + t7 = io_Writer_writeByte__8279(t19, UINT8_C(44)); + memcpy(&t22, &t7, sizeof(uint16_t)); + if (t22) { + return t22; + } + t2 = (*t1); + t22 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549( + t2); + if (t22) { + return t22; + } + goto zig_block_0; + } + case UINT8_C(3): { + t2 = (*t1); + t8 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t9 = (*t8); + t23 = t9; + t11 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t23; + t24 = t11; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t24; + t15 = (void const **)&t25.context; + t11 = (*t13); + t16 = + (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t11 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9552_56(**)(void const *, nav__9552_58)) & t25.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t25; + t26 = t19; + t21 = (struct io_Writer__4352 const *)&t26; + t19 = (*t21); + t22 = io_Writer_writeByte__8279(t19, UINT8_C(58)); + memcpy(&t7, &t22, sizeof(uint16_t)); + if (t7) { + return t7; + } + t27 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t28 = (*t27); + t6 = t28.whitespace; + t4 = t6 != UINT8_C(0); + if (t4) { + t2 = (*t1); + t8 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t9 = (*t8); + t29 = t9; + t11 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t29; + t30 = t11; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t30; + t15 = (void const **)&t31.context; + t11 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t11->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9552_56(**)(void const *, nav__9552_58)) & t31.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t31; + t32 = t19; + t21 = (struct io_Writer__4352 const *)&t32; + t19 = (*t21); + t7 = io_Writer_writeByte__8279(t19, UINT8_C(32)); + memcpy(&t22, &t7, sizeof(uint16_t)); + if (t22) { + return t22; + } + goto zig_block_1; + } + goto zig_block_1; + + zig_block_1:; + goto zig_block_0; + } + default: + zig_unreachable(); } - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); + +zig_block_0:; return 0; - } - goto zig_block_0; - - zig_block_0:; - t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t9 = (*t8); - t5 = t9 != NULL; - if (t5) { - t10 = t9; - t11 = t10; - t12 = (struct array_hash_map_IndexHeader__886 *const *)&t11; - t10 = (*t12); - t13 = (*t10); - t14 = array_hash_map_IndexHeader_capacity__3960(t13); - t4 = a2; - t15 = (uint64_t)t14; - t5 = t4 <= t15; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *t3; + uint16_t t6; + uint16_t t7; + nav__9550_43 t4; + bool t5; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *)t2; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554( + t3); + t5 = t4.is_null != true; if (t5) { - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4314(t6, a1, a2); - if (t7) { - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; + t5 = t4.payload; + t5 = !t5; + debug_assert__180(t5); + goto zig_block_0; } - goto zig_block_2; + goto zig_block_0; - zig_block_2:; - goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - t2 = (*t1); - t6 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t2->entries; - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4314(t6, a1, a2); - if (t7) { +zig_block_0:; t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); + t6 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9552( + t2); + memcpy(&t7, &t6, sizeof(uint16_t)); return t7; - } - t16 = array_hash_map_IndexHeader_findBitIndex__3963(a2); - if (t16.error) { - t7 = t16.error; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + uint8_t const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uintptr_t *t3; + uintptr_t t4; + (void)a1; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t17 = t16.payload; - t18 = array_hash_map_IndexHeader_alloc__3964(a1, t17); - if (t18.error) { - t7 = t18.error; + t3 = (uintptr_t *)&t2->indent_level; + t4 = (*t3); + t4 = t4 + (uintptr_t)1ul; + (*t3) = t4; + return 0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t7; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t9; + void const **t11; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t12; + void const *t13; + nav__9544_54 (**t14)(void const *, nav__9544_56); + struct io_Writer__4352 t15; + struct io_Writer__4352 t10; + struct io_Writer__4352 t16; + struct io_Writer__4352 const *t17; + uint8_t *t19; + uint16_t t3; + uint16_t t18; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return t7; - } - t10 = t18.payload; - t8 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t9 = (*t8); - t5 = t9 != NULL; - if (t5) { - t19 = t9; - t20 = t19; - t12 = (struct array_hash_map_IndexHeader__886 *const *)&t20; - t19 = (*t12); - array_hash_map_IndexHeader_free__3965(t19, a1); - goto zig_block_3; - } - goto zig_block_3; - - zig_block_3:; - t2 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4280(t2, t10); - t2 = (*t1); - t8 = (struct array_hash_map_IndexHeader__886 **)&t2->index_header; - t19 = (struct array_hash_map_IndexHeader__886 *)t10; - (*t8) = t19; - t2 = (*t1); - t3 = (void *)((uint8_t *)t2 + (uintptr_t)32ul); - debug_SafetyLock_unlock__3969(t3); - return 0; -} - -static nav__9572_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9572(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9572_41 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_IndexHeader__886 *t3; - struct array_hash_map_IndexHeader__886 *t5; - struct array_hash_map_IndexHeader__886 *t24; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t10; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t11; - nav__9572_61 t12; - nav__9572_64 t13; - uintptr_t t15; - uintptr_t t16; - uintptr_t t14; - uint64_t t17; - uint64_t t18; - nav__9572_41 *t19; - nav__9572_41 t22; - nav__9572_38 t23; - struct array_hash_map_IndexHeader__886 *const *t25; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t28; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - uint32_t t6; - uint32_t t20; - struct array_hash_map_IndexHeader__886 t26; - bool t4; - bool t21; - uint8_t t27; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t3 = a0.index_header; - t4 = t3 != NULL; - if (t4) { - t5 = t3; - t2 = t5; - goto zig_block_0; - } - t6 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t7 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *)&t1->entries; - t8 = (*t7); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t8); - t10 = t9; - t11 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t10; - t9 = (*t11); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t9); - t9 = (*t11); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t9); - t14 = (uintptr_t)0ul; - t15 = t13.len; - zig_loop_32: - t16 = t14; - t17 = t16; - t18 = t15; - t4 = t17 < t18; - if (t4) { - t19 = &t13.ptr[t16]; - t20 = t12.ptr[t16]; - t4 = t20 == t6; - if (t4) { - t22 = (*t19); - t4 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t22, t16); - t21 = t4; - goto zig_block_4; + t3 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + t2); + if (t3) { + return t3; } - t21 = false; - goto zig_block_4; - - zig_block_4:; - if (t21) { - t23.is_null = false; - t23.payload = t16; - return t23; + t2 = (*t1); + t4 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t5 = (*t4); + t6 = t5; + t7 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t6; + t8 = t7; + t9 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t8; + t11 = (void const **)&t10.context; + t7 = (*t9); + t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t7 + ->context; + t13 = (void const *)t12; + (*t11) = t13; + t14 = (nav__9544_54(**)(void const *, nav__9544_56)) & t10.writeFn; + (*t14) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t15 = t10; + t16 = t15; + t17 = (struct io_Writer__4352 const *)&t16; + t15 = (*t17); + t3 = io_Writer_writeByte__8279(t15, UINT8_C(123)); + memcpy(&t18, &t3, sizeof(uint16_t)); + if (t18) { + return t18; } - goto zig_block_3; + t2 = (*t1); + (void) + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547( + t2, UINT8_C(0)); + t2 = (*t1); + t19 = (uint8_t *)&t2->next_punctuation; + (*t19) = UINT8_C(1); + return 0; +} - zig_block_3:; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t16 = t16 + (uintptr_t)1ul; - t14 = t16; - goto zig_loop_32; - - zig_block_1:; - return (nav__9572_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t24 = t2; - t25 = (struct array_hash_map_IndexHeader__886 *const *)&t24; - t5 = (*t25); - t26 = (*t5); - t27 = array_hash_map_IndexHeader_capacityIndexType__3959(t26); - switch (t27) { - case UINT8_C(0): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9642(t28, a1, t2); - return t23; - } - case UINT8_C(1): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9643(t28, a1, t2); - return t23; - } - case UINT8_C(2): { - t28 = (*t1); - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644(t28, a1, t2); - return t23; - } - default: zig_unreachable(); - } -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9573(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, nav__9573_42 const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t6; - struct array_hash_map_IndexHeader__886 *t39; - struct array_hash_map_IndexHeader__886 **t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t9; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t10; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t11; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t12; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t13; - nav__9573_66 t14; - nav__9573_66 t15; - nav__9573_66 const *t16; - nav__9573_69 t17; - nav__9573_69 t18; - nav__9573_69 const *t19; - uintptr_t t21; - uintptr_t t22; - uintptr_t t20; - uint64_t t23; - uint64_t t24; - nav__9573_42 *t25; - nav__9573_42 t28; - nav__9573_72 t29; - nav__9573_72 t30; - nav__9573_72 t37; - nav__9573_72 const *t31; - struct environment_linked_libraries_root_LibraryEntry__858 *t32; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t33; - uint32_t *const *t34; - uint32_t *t35; - nav__9573_42 *const *t36; - struct environment_linked_libraries_root_LibraryEntry__858 *const *t38; - struct array_hash_map_IndexHeader__886 *const *t40; - uint32_t t7; - uint32_t t26; - struct array_hash_map_IndexHeader__886 t41; - bool t5; - bool t27; - uint8_t t42; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t3 = (struct array_hash_map_IndexHeader__886 **)&a0->index_header; - t4 = (*t3); - t5 = t4 != NULL; - if (t5) { - t6 = t4; - t2 = t6; - goto zig_block_0; - } - t7 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t8 = (*t1); - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t8->entries; - t10 = (*t9); - t11 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t10); - t12 = t11; - t13 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t12; - t11 = (*t13); - t14 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t11); - t15 = t14; - t16 = (nav__9573_66 const *)&t15; - t11 = (*t13); - t17 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t11); - t18 = t17; - t19 = (nav__9573_69 const *)&t18; - t20 = (uintptr_t)0ul; - t21 = t17.len; - zig_loop_39: - t22 = t20; - t23 = t22; - t24 = t21; - t5 = t23 < t24; - if (t5) { - t25 = &t17.ptr[t22]; - t26 = t14.ptr[t22]; - t5 = t26 == t7; +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9551( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *t3; + uint16_t t6; + uint16_t t7; + nav__9551_43 t4; + bool t5; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *)t2; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554( + t3); + t5 = t4.is_null != true; if (t5) { - t28 = (*t25); - t5 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t28, t22); - t27 = t5; - goto zig_block_4; + t5 = t4.payload; + debug_assert__180(t5); + goto zig_block_0; } - t27 = false; - goto zig_block_4; + goto zig_block_0; - zig_block_4:; - if (t27) { - t11 = (*t13); - t29 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t11); - t30 = t29; - t31 = (nav__9573_72 const *)&t30; - t29 = (*t31); - t32 = &t29.ptr[t22]; - t33.key_ptr = t25; - t33.value_ptr = t32; - t33.index = t22; - t33.found_existing = true; - return t33; - } - goto zig_block_3; +zig_block_0:; + t2 = (*t1); + t6 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9552( + t2); + memcpy(&t7, &t6, sizeof(uint16_t)); + return t7; +} + +static uint16_t fmt_formatBuf__anon_9588__9659( + nav__9659_39 const a0, struct fmt_FormatOptions__4759 const a1, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a2) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t33; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t12; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t34; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t38; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t42; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t46; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t50; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t54; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t58; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t62; + nav__9659_44 t2; + uintptr_t t4; + uintptr_t t5; + uintptr_t t7; + nav__9659_52 t6; + uint64_t t8; + uint64_t t9; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t10; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t11; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t32; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t37; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t41; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t45; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t49; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t53; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t57; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t61; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t13; + void const **t15; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t16; + void const *t17; + nav__9659_52 (**t18)(void const *, nav__9659_39); + struct io_Writer__4352 t19; + struct io_Writer__4352 t14; + struct io_Writer__4352 t20; + struct io_Writer__4352 t35; + struct io_Writer__4352 t36; + struct io_Writer__4352 t39; + struct io_Writer__4352 t40; + struct io_Writer__4352 t43; + struct io_Writer__4352 t44; + struct io_Writer__4352 t47; + struct io_Writer__4352 t48; + struct io_Writer__4352 t51; + struct io_Writer__4352 t52; + struct io_Writer__4352 t55; + struct io_Writer__4352 t56; + struct io_Writer__4352 t59; + struct io_Writer__4352 t60; + struct io_Writer__4352 t63; + struct io_Writer__4352 t64; + struct io_Writer__4352 const *t21; + nav__9659_67 t26; + nav__9659_39 t28; + nav__9659_39 t31; + uint8_t *t30; + uint32_t t25; + uint16_t t22; + uint16_t t23; + nav__9659_70 t27; + bool t3; + uint8_t t29; + uint8_t t24[4]; + t0 = a2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = a1.width; + t3 = t2.is_null != true; + if (t3) { + t4 = t2.payload; + t6 = unicode_utf8CountCodepoints__8314(a0); + t3 = t6.error == UINT16_C(0); + if (t3) { + t7 = t6.payload; + t5 = t7; + goto zig_block_1; + } + t7 = a0.len; + t5 = t7; + goto zig_block_1; + + zig_block_1:; + t8 = t5; + t9 = t4; + t3 = t8 < t9; + if (t3) { + t5 = t4 - t5; + t7 = t5; + goto zig_block_2; + } + t7 = (uintptr_t)0ul; + goto zig_block_2; + + zig_block_2:; + t9 = t7; + t3 = t9 == UINT64_C(0); + if (t3) { + t10 = (*t1); + t11 = t10; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t11; + t12 = t1; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t12; + t15 = (void const **)&t14.context; + t1 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t14.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t14; + t20 = t19; + t21 = (struct io_Writer__4352 const *)&t20; + t19 = (*t21); + t22 = io_Writer_writeAll__8277(t19, a0); + memcpy(&t23, &t22, sizeof(uint16_t)); + memcpy(&t22, &t23, sizeof(uint16_t)); + return t22; + } + goto zig_block_3; zig_block_3:; - goto zig_block_2; - } - goto zig_block_1; - - zig_block_2:; - t22 = t22 + (uintptr_t)1ul; - t20 = t22; - goto zig_loop_39; - - zig_block_1:; - t8 = (*t1); - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t8->entries; - t21 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t9); - t34 = &t16->ptr; - t35 = (*t34); - t35 = (uint32_t *)&t35[t21]; - (*t35) = t7; - t36 = &t19->ptr; - t25 = (*t36); - t25 = (nav__9573_42 *)&t25[t21]; - t11 = (*t13); - t29 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t11); - t37 = t29; - t31 = (nav__9573_72 const *)&t37; - t38 = &t31->ptr; - t32 = (*t38); - t32 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t32[t21]; - t33.key_ptr = t25; - t33.value_ptr = t32; - t33.index = t21; - t33.found_existing = false; - return t33; - - zig_block_0:; - t39 = t2; - t40 = (struct array_hash_map_IndexHeader__886 *const *)&t39; - t6 = (*t40); - t41 = (*t6); - t42 = array_hash_map_IndexHeader_capacityIndexType__3959(t41); - switch (t42) { - case UINT8_C(0): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9645(t8, a1, t2); - return t33; - } - case UINT8_C(1): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646(t8, a1, t2); - return t33; - } - case UINT8_C(2): { - t8 = (*t1); - t33 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9647(t8, a1, t2); - return t33; - } - default: zig_unreachable(); - } -} - -static struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9536(struct mem_Allocator__599 const a0, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a1, struct json_stringify_StringifyOptions__8484 const a2) { - struct json_stringify_StringifyOptions__8484 *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t2; - uintptr_t *t3; - uint8_t *t4; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 t0; - (void)a0; - t1 = (struct json_stringify_StringifyOptions__8484 *)&t0.options; - (*t1) = a2; - t2 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t0.stream; - (*t2) = a1; - t3 = (uintptr_t *)&t0.indent_level; - (*t3) = (uintptr_t)0ul; - t4 = (uint8_t *)&t0.next_punctuation; - (*t4) = UINT8_C(0); - return t0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_StringifyOptions__8484 *t3; - uintptr_t t6; - uintptr_t t8; - uintptr_t *t7; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t9; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t10; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t11; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t12; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t26; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t13; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t14; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t27; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t15; - void const **t17; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t18; - void const *t19; - nav__9544_56 (**t20)(void const *, nav__9544_58); - struct io_Writer__4338 t21; - struct io_Writer__4338 t16; - struct io_Writer__4338 t22; - struct io_Writer__4338 t28; - struct io_Writer__4338 t29; - struct io_Writer__4338 const *t23; - uint16_t t24; - uint16_t t25; - struct json_stringify_StringifyOptions__8484 t4; - uint8_t t5; - uint8_t t2; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = UINT8_C(32); - t3 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t4 = (*t3); - t5 = t4.whitespace; - switch (t5) { - case UINT8_C(0): { - return 0; - } - case UINT8_C(1): { - t7 = (uintptr_t *)&a0->indent_level; - t8 = (*t7); - t6 = t8; - goto zig_block_0; - } - case UINT8_C(2): { - t7 = (uintptr_t *)&a0->indent_level; - t8 = (*t7); - t8 = (uintptr_t)2ul * t8; - t6 = t8; - goto zig_block_0; - } - case UINT8_C(3): { - t7 = (uintptr_t *)&a0->indent_level; - t8 = (*t7); - t8 = (uintptr_t)3ul * t8; - t6 = t8; - goto zig_block_0; - } - case UINT8_C(4): { - t7 = (uintptr_t *)&a0->indent_level; - t8 = (*t7); - t8 = (uintptr_t)4ul * t8; - t6 = t8; - goto zig_block_0; - } - case UINT8_C(5): { - t7 = (uintptr_t *)&a0->indent_level; - t8 = (*t7); - t8 = (uintptr_t)8ul * t8; - t6 = t8; - goto zig_block_0; - } - case UINT8_C(6): { - t2 = UINT8_C(9); - t7 = (uintptr_t *)&a0->indent_level; - t8 = (*t7); - t6 = t8; - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - t9 = (*t1); - t10 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t9->stream; - t11 = (*t10); - t12 = t11; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t12; - t14 = t13; - t15 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t14; - t17 = (void const **)&t16.context; - t13 = (*t15); - t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t13->context; - t19 = (void const *)t18; - (*t17) = t19; - t20 = (nav__9544_56 (**)(void const *, nav__9544_58))&t16.writeFn; - (*t20) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t21 = t16; - t22 = t21; - t23 = (struct io_Writer__4338 const *)&t22; - t21 = (*t23); - t24 = io_Writer_writeByte__8276(t21, UINT8_C(10)); - memcpy(&t25, &t24, sizeof(uint16_t)); - if (t25) { - return t25; - } - t9 = (*t1); - t10 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t9->stream; - t11 = (*t10); - t5 = t2; - t26 = t11; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t26; - t27 = t13; - t15 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t27; - t17 = (void const **)&t28.context; - t13 = (*t15); - t18 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t13->context; - t19 = (void const *)t18; - (*t17) = t19; - t20 = (nav__9544_56 (**)(void const *, nav__9544_58))&t28.writeFn; - (*t20) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t21 = t28; - t29 = t21; - t23 = (struct io_Writer__4338 const *)&t29; - t21 = (*t23); - t25 = io_Writer_writeByteNTimes__8277(t21, t5, t6); - memcpy(&t24, &t25, sizeof(uint16_t)); - if (t24) { - return t24; - } - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *t3; - uint8_t *t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t9; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t10; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t23; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t29; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t11; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t12; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t24; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t30; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t13; - void const **t15; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t16; - void const *t17; - nav__9547_56 (**t18)(void const *, nav__9547_58); - struct io_Writer__4338 t19; - struct io_Writer__4338 t14; - struct io_Writer__4338 t20; - struct io_Writer__4338 t25; - struct io_Writer__4338 t26; - struct io_Writer__4338 t31; - struct io_Writer__4338 t32; - struct io_Writer__4338 const *t21; - struct json_stringify_StringifyOptions__8484 *t27; - uint16_t t7; - uint16_t t22; - bool t4; - uint8_t t6; - struct json_stringify_StringifyOptions__8484 t28; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *)t2; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550(t3); - t4 = !t4; - debug_assert__180(t4); - t5 = (uint8_t *)&a0->next_punctuation; - t6 = (*t5); - switch (t6) { - case UINT8_C(0): { - goto zig_block_0; - } - case UINT8_C(1): { - t2 = (*t1); - t7 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544(t2); - if (t7) { - return t7; - } - goto zig_block_0; - } - case UINT8_C(2): { - t2 = (*t1); - t8 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t9 = (*t8); - t10 = t9; - t11 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t10; - t12 = t11; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t12; - t15 = (void const **)&t14.context; - t11 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t11->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9547_56 (**)(void const *, nav__9547_58))&t14.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t14; - t20 = t19; - t21 = (struct io_Writer__4338 const *)&t20; - t19 = (*t21); - t7 = io_Writer_writeByte__8276(t19, UINT8_C(44)); - memcpy(&t22, &t7, sizeof(uint16_t)); - if (t22) { - return t22; - } - t2 = (*t1); - t22 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544(t2); - if (t22) { + t25 = a1.fill; + t26.ptr = &t24[(uintptr_t)0ul]; + t26.len = (uintptr_t)4ul; + t27 = unicode_utf8Encode__8299(t25, t26); + t3 = t27.error == UINT16_C(0); + if (t3) { + t29 = t27.payload; + t30 = (uint8_t *)&t24; + t30 = (uint8_t *)(((uintptr_t)t30) + ((uintptr_t)0ul * sizeof(uint8_t))); + t5 = (uintptr_t)t29; + t26.ptr = t30; + t26.len = t5; + memcpy(&t31, &t26, sizeof(nav__9659_39)); + t28 = t31; + goto zig_block_4; + } + t23 = t27.error; + switch (t23) { + case zig_error_Utf8CannotEncodeSurrogateHalf: + case zig_error_CodepointTooLarge: { + t28 = (nav__9659_39){(uint8_t const *)&__anon_5736, (uintptr_t)3ul}; + goto zig_block_4; + } + default: + zig_unreachable(); + } + + zig_block_4:; + t29 = a1.alignment; + switch (t29) { + case UINT8_C(0): { + t10 = (*t1); + t32 = t10; + t33 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t32; + t34 = t33; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t34; + t15 = (void const **)&t35.context; + t33 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t33->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t35.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t35; + t36 = t19; + t21 = (struct io_Writer__4352 const *)&t36; + t19 = (*t21); + t23 = io_Writer_writeAll__8277(t19, a0); + memcpy(&t22, &t23, sizeof(uint16_t)); + if (t22) { + return t22; + } + t10 = (*t1); + t37 = t10; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t37; + t38 = t1; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t38; + t15 = (void const **)&t39.context; + t1 = (*t13); + t16 = + (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t39.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t39; + t40 = t19; + t21 = (struct io_Writer__4352 const *)&t40; + t19 = (*t21); + t22 = io_Writer_writeBytesNTimes__8281(t19, t28, t7); + memcpy(&t23, &t22, sizeof(uint16_t)); + if (t23) { + return t23; + } + goto zig_block_6; + } + case UINT8_C(1): { + t5 = t7 / (uintptr_t)2ul; + t7 = t7 + (uintptr_t)1ul; + t7 = t7 / (uintptr_t)2ul; + t10 = (*t1); + t41 = t10; + t33 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t41; + t42 = t33; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t42; + t15 = (void const **)&t43.context; + t33 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t33->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t43.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t43; + t44 = t19; + t21 = (struct io_Writer__4352 const *)&t44; + t19 = (*t21); + t23 = io_Writer_writeBytesNTimes__8281(t19, t28, t5); + memcpy(&t22, &t23, sizeof(uint16_t)); + if (t22) { + return t22; + } + t10 = (*t1); + t45 = t10; + t33 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t45; + t46 = t33; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t46; + t15 = (void const **)&t47.context; + t33 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t33->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t47.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t47; + t48 = t19; + t21 = (struct io_Writer__4352 const *)&t48; + t19 = (*t21); + t22 = io_Writer_writeAll__8277(t19, a0); + memcpy(&t23, &t22, sizeof(uint16_t)); + if (t23) { + return t23; + } + t10 = (*t1); + t49 = t10; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t49; + t50 = t1; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t50; + t15 = (void const **)&t51.context; + t1 = (*t13); + t16 = + (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t51.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t51; + t52 = t19; + t21 = (struct io_Writer__4352 const *)&t52; + t19 = (*t21); + t23 = io_Writer_writeBytesNTimes__8281(t19, t28, t7); + memcpy(&t22, &t23, sizeof(uint16_t)); + if (t22) { + return t22; + } + goto zig_block_6; + } + case UINT8_C(2): { + t10 = (*t1); + t53 = t10; + t33 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t53; + t54 = t33; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t54; + t15 = (void const **)&t55.context; + t33 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t33->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t55.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t55; + t56 = t19; + t21 = (struct io_Writer__4352 const *)&t56; + t19 = (*t21); + t23 = io_Writer_writeBytesNTimes__8281(t19, t28, t7); + memcpy(&t22, &t23, sizeof(uint16_t)); + if (t22) { + return t22; + } + t10 = (*t1); + t57 = t10; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t57; + t58 = t1; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t58; + t15 = (void const **)&t59.context; + t1 = (*t13); + t16 = + (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t59.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t59; + t60 = t19; + t21 = (struct io_Writer__4352 const *)&t60; + t19 = (*t21); + t22 = io_Writer_writeAll__8277(t19, a0); + memcpy(&t23, &t22, sizeof(uint16_t)); + if (t23) { + return t23; + } + goto zig_block_6; + } + default: + zig_unreachable(); + } + + zig_block_6:; + goto zig_block_0; + } + t10 = (*t1); + t61 = t10; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t61; + t62 = t1; + t13 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t62; + t15 = (void const **)&t63.context; + t1 = (*t13); + t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t17 = (void const *)t16; + (*t15) = t17; + t18 = (nav__9659_52(**)(void const *, nav__9659_39)) & t63.writeFn; + (*t18) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t19 = t63; + t64 = t19; + t21 = (struct io_Writer__4352 const *)&t64; + t19 = (*t21); + t23 = io_Writer_writeAll__8277(t19, a0); + memcpy(&t22, &t23, sizeof(uint16_t)); + if (t22) { return t22; - } - goto zig_block_0; - } - case UINT8_C(3): { - t2 = (*t1); - t8 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t9 = (*t8); - t23 = t9; - t11 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t23; - t24 = t11; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t24; - t15 = (void const **)&t25.context; - t11 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t11->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9547_56 (**)(void const *, nav__9547_58))&t25.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t25; - t26 = t19; - t21 = (struct io_Writer__4338 const *)&t26; - t19 = (*t21); - t22 = io_Writer_writeByte__8276(t19, UINT8_C(58)); - memcpy(&t7, &t22, sizeof(uint16_t)); - if (t7) { - return t7; - } - t27 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t28 = (*t27); - t6 = t28.whitespace; - t4 = t6 != UINT8_C(0); - if (t4) { - t2 = (*t1); - t8 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t9 = (*t8); - t29 = t9; - t11 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t29; - t30 = t11; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t30; - t15 = (void const **)&t31.context; - t11 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t11->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9547_56 (**)(void const *, nav__9547_58))&t31.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t31; - t32 = t19; - t21 = (struct io_Writer__4338 const *)&t32; - t19 = (*t21); - t7 = io_Writer_writeByte__8276(t19, UINT8_C(32)); - memcpy(&t22, &t7, sizeof(uint16_t)); - if (t22) { - return t22; + } + goto zig_block_0; + +zig_block_0:; + return 0; +} + +static uint16_t fmt_formatInt__anon_9578__9658( + uint32_t const a0, uint8_t const a1, uint8_t const a2, + struct fmt_FormatOptions__4759 const a3, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a4) { + uintptr_t t5; + uintptr_t t3; + uint8_t *t6; + uint8_t (*t7)[2]; + nav__9658_54 t12; + nav__9658_57 t13; + uint32_t t4; + uint32_t t11; + uint32_t t2; + uint16_t t14; + uint16_t t15; + bool t0; + uint8_t t8; + nav__9658_52 t9; + uint8_t t10[2]; + uint8_t t1[22]; + t0 = a1 >= UINT8_C(2); + debug_assert__180(t0); + t2 = a0; + t3 = (uintptr_t)22ul; + t0 = a1 == UINT8_C(10); + if (t0) { + zig_loop_20: + t4 = t2; + t0 = t4 >= UINT32_C(100); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t4 = t4 % UINT32_C(100); + t8 = (uint8_t)t4; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + t4 = t2; + t4 = t4 / UINT32_C(100); + t2 = t4; + goto zig_block_2; } goto zig_block_1; - } - goto zig_block_1; - - zig_block_1:; - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *t3; - uint16_t t6; - uint16_t t7; - nav__9545_43 t4; - bool t5; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *)t2; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549(t3); - t5 = t4.is_null != true; - if (t5) { - t5 = t4.payload; - t5 = !t5; - debug_assert__180(t5); - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t2 = (*t1); - t6 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547(t2); - memcpy(&t7, &t6, sizeof(uint16_t)); - return t7; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, uint8_t const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uintptr_t *t3; - uintptr_t t4; - (void)a1; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = (uintptr_t *)&t2->indent_level; - t4 = (*t3); - t4 = t4 + (uintptr_t)1ul; - (*t3) = t4; - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t7; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t9; - void const **t11; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t12; - void const *t13; - nav__9539_54 (**t14)(void const *, nav__9539_56); - struct io_Writer__4338 t15; - struct io_Writer__4338 t10; - struct io_Writer__4338 t16; - struct io_Writer__4338 const *t17; - uint8_t *t19; - uint16_t t3; - uint16_t t18; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(t2); - if (t3) { - return t3; - } - t2 = (*t1); - t4 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t5 = (*t4); - t6 = t5; - t7 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t6; - t8 = t7; - t9 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t8; - t11 = (void const **)&t10.context; - t7 = (*t9); - t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t7->context; - t13 = (void const *)t12; - (*t11) = t13; - t14 = (nav__9539_54 (**)(void const *, nav__9539_56))&t10.writeFn; - (*t14) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t15 = t10; - t16 = t15; - t17 = (struct io_Writer__4338 const *)&t16; - t15 = (*t17); - t3 = io_Writer_writeByte__8276(t15, UINT8_C(123)); - memcpy(&t18, &t3, sizeof(uint16_t)); - if (t18) { - return t18; - } - t2 = (*t1); - (void)json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542(t2, UINT8_C(0)); - t2 = (*t1); - t19 = (uint8_t *)&t2->next_punctuation; - (*t19) = UINT8_C(1); - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *t3; - uint16_t t6; - uint16_t t7; - nav__9546_43 t4; - bool t5; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *)t2; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549(t3); - t5 = t4.is_null != true; - if (t5) { - t5 = t4.payload; - debug_assert__180(t5); - goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t2 = (*t1); - t6 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547(t2); - memcpy(&t7, &t6, sizeof(uint16_t)); - return t7; -} - -static uint16_t fmt_formatBuf__anon_9561__9654(nav__9654_39 const a0, struct fmt_FormatOptions__4745 const a1, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a2) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t33; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t12; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t34; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t38; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t42; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t46; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t50; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t54; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t58; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t62; - nav__9654_44 t2; - uintptr_t t4; - uintptr_t t5; - uintptr_t t7; - nav__9654_52 t6; - uint64_t t8; - uint64_t t9; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t10; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t11; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t32; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t37; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t41; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t45; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t49; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t53; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t57; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t61; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t13; - void const **t15; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t16; - void const *t17; - nav__9654_52 (**t18)(void const *, nav__9654_39); - struct io_Writer__4338 t19; - struct io_Writer__4338 t14; - struct io_Writer__4338 t20; - struct io_Writer__4338 t35; - struct io_Writer__4338 t36; - struct io_Writer__4338 t39; - struct io_Writer__4338 t40; - struct io_Writer__4338 t43; - struct io_Writer__4338 t44; - struct io_Writer__4338 t47; - struct io_Writer__4338 t48; - struct io_Writer__4338 t51; - struct io_Writer__4338 t52; - struct io_Writer__4338 t55; - struct io_Writer__4338 t56; - struct io_Writer__4338 t59; - struct io_Writer__4338 t60; - struct io_Writer__4338 t63; - struct io_Writer__4338 t64; - struct io_Writer__4338 const *t21; - nav__9654_67 t26; - nav__9654_39 t28; - nav__9654_39 t31; - uint8_t *t30; - uint32_t t25; - uint16_t t22; - uint16_t t23; - nav__9654_70 t27; - bool t3; - uint8_t t29; - uint8_t t24[4]; - t0 = a2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - t2 = a1.width; - t3 = t2.is_null != true; - if (t3) { - t4 = t2.payload; - t6 = unicode_utf8CountCodepoints__8311(a0); - t3 = t6.error == UINT16_C(0); - if (t3) { - t7 = t6.payload; - t5 = t7; - goto zig_block_1; - } - t7 = a0.len; - t5 = t7; - goto zig_block_1; + + zig_block_2:; + goto zig_loop_20; zig_block_1:; - t8 = t5; - t9 = t4; - t3 = t8 < t9; - if (t3) { - t5 = t4 - t5; - t7 = t5; - goto zig_block_2; + t4 = t2; + t0 = t4 < UINT32_C(10); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t4 = t2; + t8 = (uint8_t)t4; + t8 = UINT8_C(48) + t8; + (*t6) = t8; + goto zig_block_3; + } + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t8 = (uint8_t)t4; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + goto zig_block_3; + + zig_block_3:; + goto zig_block_0; } - t7 = (uintptr_t)0ul; - goto zig_block_2; +zig_loop_75: + t4 = t2; + t11 = (uint32_t)a1; + t11 = t4 % t11; + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t8 = (uint8_t)t11; + t8 = fmt_digitToChar__8069(t8, a2); + (*t6) = t8; + t11 = t2; + t4 = (uint32_t)a1; + t4 = t11 / t4; + t2 = t4; + t4 = t2; + t0 = t4 == UINT32_C(0); + if (t0) { + goto zig_block_4; + } + goto zig_block_5; + +zig_block_5:; + goto zig_loop_75; + +zig_block_4:; + goto zig_block_0; + +zig_block_0:; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t5 = (uintptr_t)22ul - t5; + t12.ptr = t6; + t12.len = t5; + memcpy(&t13, &t12, sizeof(nav__9658_57)); + t14 = fmt_formatBuf__anon_9588__9659(t13, a3, a4); + memcpy(&t15, &t14, sizeof(uint16_t)); + return t15; +} + +static uint16_t fmt_formatIntValue__anon_9553__9657( + uint32_t const a0, struct fmt_FormatOptions__4759 const a1, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatInt__anon_9578__9658(a0, UINT8_C(16), UINT8_C(0), a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t fmt_formatInt__anon_9605__9661( + uint16_t const a0, uint8_t const a1, uint8_t const a2, + struct fmt_FormatOptions__4759 const a3, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a4) { + uintptr_t t5; + uintptr_t t3; + uint8_t *t6; + uint8_t (*t7)[2]; + nav__9661_54 t12; + nav__9661_57 t13; + uint16_t t4; + uint16_t t11; + uint16_t t2; + bool t0; + uint8_t t8; + nav__9661_52 t9; + uint8_t t10[2]; + uint8_t t1[17]; + t0 = a1 >= UINT8_C(2); + debug_assert__180(t0); + t2 = a0; + t3 = (uintptr_t)17ul; + t0 = a1 == UINT8_C(10); + if (t0) { + zig_loop_20: + t4 = t2; + t0 = t4 >= UINT16_C(100); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t4 = t4 % UINT16_C(100); + t8 = (uint8_t)t4; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + t4 = t2; + t4 = t4 / UINT16_C(100); + t2 = t4; + goto zig_block_2; + } + goto zig_block_1; zig_block_2:; - t9 = t7; - t3 = t9 == UINT64_C(0); - if (t3) { - t10 = (*t1); - t11 = t10; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t11; - t12 = t1; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t12; - t15 = (void const **)&t14.context; - t1 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t14.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t14; - t20 = t19; - t21 = (struct io_Writer__4338 const *)&t20; - t19 = (*t21); - t22 = io_Writer_writeAll__8274(t19, a0); - memcpy(&t23, &t22, sizeof(uint16_t)); - memcpy(&t22, &t23, sizeof(uint16_t)); - return t22; + goto zig_loop_20; + + zig_block_1:; + t4 = t2; + t0 = t4 < UINT16_C(10); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t4 = t2; + t8 = (uint8_t)t4; + t8 = UINT8_C(48) + t8; + (*t6) = t8; + goto zig_block_3; + } + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t8 = (uint8_t)t4; + t9 = fmt_digits2__8053(t8); + memcpy(t10, t9.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t10, sizeof(uint8_t[2])); + goto zig_block_3; + + zig_block_3:; + goto zig_block_0; + } +zig_loop_75: + t4 = t2; + t11 = (uint16_t)a1; + t11 = t4 % t11; + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t8 = (uint8_t)t11; + t8 = fmt_digitToChar__8069(t8, a2); + (*t6) = t8; + t11 = t2; + t4 = (uint16_t)a1; + t4 = t11 / t4; + t2 = t4; + t4 = t2; + t0 = t4 == UINT16_C(0); + if (t0) { + goto zig_block_4; + } + goto zig_block_5; + +zig_block_5:; + goto zig_loop_75; + +zig_block_4:; + goto zig_block_0; + +zig_block_0:; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t5 = (uintptr_t)17ul - t5; + t12.ptr = t6; + t12.len = t5; + memcpy(&t13, &t12, sizeof(nav__9661_57)); + t11 = fmt_formatBuf__anon_9588__9659(t13, a3, a4); + memcpy(&t4, &t11, sizeof(uint16_t)); + return t4; +} + +static uint16_t fmt_formatIntValue__anon_9601__9660( + uint16_t const a0, struct fmt_FormatOptions__4759 const a1, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatInt__anon_9605__9661(a0, UINT8_C(16), UINT8_C(0), a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; +} + +static uint16_t json_stringify_outputUnicodeEscape__anon_9537__9656( + uint32_t const a0, struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a1) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t19; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t20; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t26; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t18; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t25; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t6; + void const **t8; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t9; + void const *t10; + nav__9656_48 (**t11)(void const *, nav__9656_50); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + struct io_Writer__4352 t13; + struct io_Writer__4352 t21; + struct io_Writer__4352 t22; + struct io_Writer__4352 t27; + struct io_Writer__4352 t28; + struct io_Writer__4352 const *t14; + uint32_t t17; + uint16_t t15; + uint16_t t16; + uint16_t t23; + uint16_t t24; + bool t2; + t0 = a1; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = a0 <= UINT32_C(65535); + if (t2) { + t3 = (*t1); + t4 = t3; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t4; + t5 = t1; + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t5; + t8 = (void const **)&t7.context; + t1 = (*t6); + t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9656_48(**)(void const *, nav__9656_50)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t12 = t7; + t13 = t12; + t14 = (struct io_Writer__4352 const *)&t13; + t12 = (*t14); + t15 = io_Writer_writeAll__8277( + t12, (nav__9656_50){(uint8_t const *)&__anon_9543, (uintptr_t)2ul}); + memcpy(&t16, &t15, sizeof(uint16_t)); + if (t16) { + return t16; + } + t16 = fmt_formatIntValue__anon_9553__9657( + a0, + (struct fmt_FormatOptions__4759){ + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)4ul, false}, + UINT32_C(48), + UINT8_C(2)}, + a1); + if (t16) { + return t16; + } + goto zig_block_0; + } + t2 = a0 <= UINT32_C(1114111); + debug_assert__180(t2); + t17 = a0 - UINT32_C(65536); + t17 = zig_shr_u32(t17, UINT8_C(10)); + t16 = (uint16_t)t17; + t16 = t16 + UINT16_C(55296); + t17 = a0 & UINT32_C(1023); + t15 = (uint16_t)t17; + t15 = t15 + UINT16_C(56320); + t3 = (*t1); + t18 = t3; + t19 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t18; + t20 = t19; + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t20; + t8 = (void const **)&t21.context; + t19 = (*t6); + t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t19 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9656_48(**)(void const *, nav__9656_50)) & t21.writeFn; + (*t11) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t12 = t21; + t22 = t12; + t14 = (struct io_Writer__4352 const *)&t22; + t12 = (*t14); + t23 = io_Writer_writeAll__8277( + t12, (nav__9656_50){(uint8_t const *)&__anon_9543, (uintptr_t)2ul}); + memcpy(&t24, &t23, sizeof(uint16_t)); + if (t24) { + return t24; + } + t16 = fmt_formatIntValue__anon_9601__9660( + t16, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)4ul, false}, + UINT32_C(48), + UINT8_C(2)}, + a1); + if (t16) { + return t16; } - goto zig_block_3; - - zig_block_3:; - t25 = a1.fill; - t26.ptr = &t24[(uintptr_t)0ul]; - t26.len = (uintptr_t)4ul; - t27 = unicode_utf8Encode__8296(t25, t26); - t3 = t27.error == UINT16_C(0); - if (t3) { - t29 = t27.payload; - t30 = (uint8_t *)&t24; - t30 = (uint8_t *)(((uintptr_t)t30) + ((uintptr_t)0ul*sizeof(uint8_t))); - t5 = (uintptr_t)t29; - t26.ptr = t30; - t26.len = t5; - memcpy(&t31, &t26, sizeof(nav__9654_39)); - t28 = t31; - goto zig_block_4; - - } - t23 = t27.error; - switch (t23) { - case zig_error_Utf8CannotEncodeSurrogateHalf: - case zig_error_CodepointTooLarge: { - t28 = (nav__9654_39){(uint8_t const *)&__anon_5719,(uintptr_t)3ul}; - goto zig_block_4; - } - default: zig_unreachable(); + t3 = (*t1); + t25 = t3; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t25; + t26 = t1; + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t26; + t8 = (void const **)&t27.context; + t1 = (*t6); + t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9656_48(**)(void const *, nav__9656_50)) & t27.writeFn; + (*t11) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t12 = t27; + t28 = t12; + t14 = (struct io_Writer__4352 const *)&t28; + t12 = (*t14); + t16 = io_Writer_writeAll__8277( + t12, (nav__9656_50){(uint8_t const *)&__anon_9543, (uintptr_t)2ul}); + memcpy(&t24, &t16, sizeof(uint16_t)); + if (t24) { + return t24; + } + t15 = fmt_formatIntValue__anon_9601__9660( + t15, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)4ul, false}, + UINT32_C(48), + UINT8_C(2)}, + a1); + if (t15) { + return t15; } + goto zig_block_0; - zig_block_4:; - t29 = a1.alignment; - switch (t29) { - case UINT8_C(0): { - t10 = (*t1); - t32 = t10; - t33 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t32; - t34 = t33; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t34; - t15 = (void const **)&t35.context; - t33 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t33->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t35.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t35; - t36 = t19; - t21 = (struct io_Writer__4338 const *)&t36; - t19 = (*t21); - t23 = io_Writer_writeAll__8274(t19, a0); - memcpy(&t22, &t23, sizeof(uint16_t)); - if (t22) { - return t22; +zig_block_0:; + return 0; +} + +static uint16_t json_stringify_outputSpecialEscape__anon_9497__9655( + uint8_t const a0, struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a1) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t17; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t21; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t25; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t29; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t33; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t37; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t16; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t20; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t24; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t28; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t32; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t36; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t5; + void const **t7; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; + void const *t9; + nav__9655_48 (**t10)(void const *, nav__9655_50); + struct io_Writer__4352 t11; + struct io_Writer__4352 t6; + struct io_Writer__4352 t12; + struct io_Writer__4352 t18; + struct io_Writer__4352 t19; + struct io_Writer__4352 t22; + struct io_Writer__4352 t23; + struct io_Writer__4352 t26; + struct io_Writer__4352 t27; + struct io_Writer__4352 t30; + struct io_Writer__4352 t31; + struct io_Writer__4352 t34; + struct io_Writer__4352 t35; + struct io_Writer__4352 t38; + struct io_Writer__4352 t39; + struct io_Writer__4352 const *t13; + uint32_t t40; + uint16_t t14; + uint16_t t15; + t0 = a1; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + switch (a0) { + case UINT8_C(92): { + t2 = (*t1); + t3 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t3; + t4 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t4; + t7 = (void const **)&t6.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t6.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t6; + t12 = t11; + t13 = (struct io_Writer__4352 const *)&t12; + t11 = (*t13); + t14 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9502, (uintptr_t)2ul}); + memcpy(&t15, &t14, sizeof(uint16_t)); + if (t15) { + return t15; + } + goto zig_block_0; } - t10 = (*t1); - t37 = t10; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t37; - t38 = t1; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t38; - t15 = (void const **)&t39.context; - t1 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t39.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t39; - t40 = t19; - t21 = (struct io_Writer__4338 const *)&t40; - t19 = (*t21); - t22 = io_Writer_writeBytesNTimes__8278(t19, t28, t7); - memcpy(&t23, &t22, sizeof(uint16_t)); - if (t23) { - return t23; + case UINT8_C(34): { + t2 = (*t1); + t16 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t16; + t17 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t17; + t7 = (void const **)&t18.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t18.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t18; + t19 = t11; + t13 = (struct io_Writer__4352 const *)&t19; + t11 = (*t13); + t15 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9507, (uintptr_t)2ul}); + memcpy(&t14, &t15, sizeof(uint16_t)); + if (t14) { + return t14; + } + goto zig_block_0; } - goto zig_block_6; - } - case UINT8_C(1): { - t5 = t7 / (uintptr_t)2ul; - t7 = t7 + (uintptr_t)1ul; - t7 = t7 / (uintptr_t)2ul; - t10 = (*t1); - t41 = t10; - t33 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t41; - t42 = t33; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t42; - t15 = (void const **)&t43.context; - t33 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t33->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t43.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t43; - t44 = t19; - t21 = (struct io_Writer__4338 const *)&t44; - t19 = (*t21); - t23 = io_Writer_writeBytesNTimes__8278(t19, t28, t5); - memcpy(&t22, &t23, sizeof(uint16_t)); - if (t22) { - return t22; + case UINT8_C(8): { + t2 = (*t1); + t20 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t20; + t21 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t21; + t7 = (void const **)&t22.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t22.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t22; + t23 = t11; + t13 = (struct io_Writer__4352 const *)&t23; + t11 = (*t13); + t15 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9511, (uintptr_t)2ul}); + memcpy(&t14, &t15, sizeof(uint16_t)); + if (t14) { + return t14; + } + goto zig_block_0; } - t10 = (*t1); - t45 = t10; - t33 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t45; - t46 = t33; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t46; - t15 = (void const **)&t47.context; - t33 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t33->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t47.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t47; - t48 = t19; - t21 = (struct io_Writer__4338 const *)&t48; - t19 = (*t21); - t22 = io_Writer_writeAll__8274(t19, a0); - memcpy(&t23, &t22, sizeof(uint16_t)); - if (t23) { - return t23; + case UINT8_C(12): { + t2 = (*t1); + t24 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t24; + t25 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t25; + t7 = (void const **)&t26.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t26.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t26; + t27 = t11; + t13 = (struct io_Writer__4352 const *)&t27; + t11 = (*t13); + t15 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9515, (uintptr_t)2ul}); + memcpy(&t14, &t15, sizeof(uint16_t)); + if (t14) { + return t14; + } + goto zig_block_0; } - t10 = (*t1); - t49 = t10; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t49; - t50 = t1; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t50; - t15 = (void const **)&t51.context; - t1 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t51.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t51; - t52 = t19; - t21 = (struct io_Writer__4338 const *)&t52; - t19 = (*t21); - t23 = io_Writer_writeBytesNTimes__8278(t19, t28, t7); - memcpy(&t22, &t23, sizeof(uint16_t)); - if (t22) { - return t22; + case UINT8_C(10): { + t2 = (*t1); + t28 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t28; + t29 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t29; + t7 = (void const **)&t30.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t30.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t30; + t31 = t11; + t13 = (struct io_Writer__4352 const *)&t31; + t11 = (*t13); + t15 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9519, (uintptr_t)2ul}); + memcpy(&t14, &t15, sizeof(uint16_t)); + if (t14) { + return t14; + } + goto zig_block_0; } - goto zig_block_6; - } - case UINT8_C(2): { - t10 = (*t1); - t53 = t10; - t33 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t53; - t54 = t33; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t54; - t15 = (void const **)&t55.context; - t33 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t33->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t55.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t55; - t56 = t19; - t21 = (struct io_Writer__4338 const *)&t56; - t19 = (*t21); - t23 = io_Writer_writeBytesNTimes__8278(t19, t28, t7); - memcpy(&t22, &t23, sizeof(uint16_t)); - if (t22) { - return t22; + case UINT8_C(13): { + t2 = (*t1); + t32 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t32; + t33 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t33; + t7 = (void const **)&t34.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t34.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t34; + t35 = t11; + t13 = (struct io_Writer__4352 const *)&t35; + t11 = (*t13); + t15 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9523, (uintptr_t)2ul}); + memcpy(&t14, &t15, sizeof(uint16_t)); + if (t14) { + return t14; + } + goto zig_block_0; } - t10 = (*t1); - t57 = t10; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t57; - t58 = t1; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t58; - t15 = (void const **)&t59.context; - t1 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t59.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t59; - t60 = t19; - t21 = (struct io_Writer__4338 const *)&t60; - t19 = (*t21); - t22 = io_Writer_writeAll__8274(t19, a0); - memcpy(&t23, &t22, sizeof(uint16_t)); - if (t23) { - return t23; + case UINT8_C(9): { + t2 = (*t1); + t36 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t36; + t37 = t1; + t5 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t37; + t7 = (void const **)&t38.context; + t1 = (*t5); + t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t9 = (void const *)t8; + (*t7) = t9; + t10 = (nav__9655_48(**)(void const *, nav__9655_50)) & t38.writeFn; + (*t10) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t11 = t38; + t39 = t11; + t13 = (struct io_Writer__4352 const *)&t39; + t11 = (*t13); + t15 = io_Writer_writeAll__8277( + t11, (nav__9655_50){(uint8_t const *)&__anon_9527, (uintptr_t)2ul}); + memcpy(&t14, &t15, sizeof(uint16_t)); + if (t14) { + return t14; + } + goto zig_block_0; + } + default: { + t40 = (uint32_t)a0; + t15 = json_stringify_outputUnicodeEscape__anon_9537__9656(t40, a1); + if (t15) { + return t15; + } + goto zig_block_0; } - goto zig_block_6; - } - default: zig_unreachable(); } - zig_block_6:; - goto zig_block_0; - } - t10 = (*t1); - t61 = t10; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t61; - t62 = t1; - t13 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t62; - t15 = (void const **)&t63.context; - t1 = (*t13); - t16 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t17 = (void const *)t16; - (*t15) = t17; - t18 = (nav__9654_52 (**)(void const *, nav__9654_39))&t63.writeFn; - (*t18) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t19 = t63; - t64 = t19; - t21 = (struct io_Writer__4338 const *)&t64; - t19 = (*t21); - t23 = io_Writer_writeAll__8274(t19, a0); - memcpy(&t22, &t23, sizeof(uint16_t)); - if (t22) { - return t22; - } - goto zig_block_0; - - zig_block_0:; - return 0; -} - -static uint16_t fmt_formatInt__anon_9551__9653(uint32_t const a0, uint8_t const a1, uint8_t const a2, struct fmt_FormatOptions__4745 const a3, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a4) { - uintptr_t t5; - uintptr_t t3; - uint8_t *t6; - uint8_t (*t7)[2]; - nav__9653_54 t12; - nav__9653_57 t13; - uint32_t t4; - uint32_t t11; - uint32_t t2; - uint16_t t14; - uint16_t t15; - bool t0; - uint8_t t8; - nav__9653_52 t9; - uint8_t t10[2]; - uint8_t t1[22]; - t0 = a1 >= UINT8_C(2); - debug_assert__180(t0); - t2 = a0; - t3 = (uintptr_t)22ul; - t0 = a1 == UINT8_C(10); - if (t0) { - zig_loop_20: - t4 = t2; - t0 = t4 >= UINT32_C(100); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t4 = t4 % UINT32_C(100); - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - t4 = t2; - t4 = t4 / UINT32_C(100); - t2 = t4; - goto zig_block_2; - } - goto zig_block_1; +zig_block_0:; + return 0; +} + +static uint16_t json_stringify_encodeJsonStringChars__anon_9487__9654( + nav__9654_39 const a0, + struct json_stringify_StringifyOptions__8511 const a1, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a2) { + nav__9654_39 const *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t16; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t17; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t30; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t39; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t43; + uintptr_t t7; + uintptr_t t8; + uintptr_t t4; + uintptr_t t5; + uint64_t t9; + uint64_t t10; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t12; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t15; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t29; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t38; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t42; + nav__9654_39 t13; + nav__9654_39 t0; + uint8_t const *t14; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t18; + void const **t20; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t21; + void const *t22; + nav__9654_54 (**t23)(void const *, nav__9654_39); + struct io_Writer__4352 t24; + struct io_Writer__4352 t19; + struct io_Writer__4352 t25; + struct io_Writer__4352 t31; + struct io_Writer__4352 t32; + struct io_Writer__4352 t40; + struct io_Writer__4352 t41; + struct io_Writer__4352 t44; + struct io_Writer__4352 t45; + struct io_Writer__4352 const *t26; + uint32_t t35; + uint32_t t37; + nav__9654_66 t36; + uint16_t t27; + uint16_t t28; + nav__9654_64 t34; + bool t6; + uint8_t t11; + uint8_t t33; + t0 = a0; + t1 = (nav__9654_39 const *)&t0; + t2 = a2; + t3 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t2; + t4 = (uintptr_t)0ul; + t5 = (uintptr_t)0ul; + t6 = a1.escape_unicode; + if (t6) { + zig_loop_16: + t7 = t5; + t8 = a0.len; + t9 = t7; + t10 = t8; + t6 = t9 < t10; + if (t6) { + t8 = t5; + t11 = a0.ptr[t8]; + switch (t11) { + default: + if ((t11 >= UINT8_C(32) && t11 <= UINT8_C(33)) || + (t11 >= UINT8_C(35) && t11 <= UINT8_C(91)) || + (t11 >= UINT8_C(93) && t11 <= UINT8_C(126))) { + goto zig_block_3; + } + if (t11 == UINT8_C(92) || t11 == UINT8_C(34) || + (t11 >= UINT8_C(0) && t11 <= UINT8_C(31))) { + t12 = (*t3); + t8 = t4; + t7 = t5; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t8 * sizeof(uint8_t))); + t8 = t7 - t8; + t13.ptr = t14; + t13.len = t8; + t15 = t12; + t16 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t15; + t17 = t16; + t18 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t17; + t20 = (void const **)&t19.context; + t16 = (*t18); + t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t16->context; + t22 = (void const *)t21; + (*t20) = t22; + t23 = (nav__9654_54(**)(void const *, nav__9654_39)) & t19.writeFn; + (*t23) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t24 = t19; + t25 = t24; + t26 = (struct io_Writer__4352 const *)&t25; + t24 = (*t26); + t27 = io_Writer_writeAll__8277(t24, t13); + memcpy(&t28, &t27, sizeof(uint16_t)); + if (t28) { + return t28; + } + t8 = t5; + t11 = a0.ptr[t8]; + t28 = json_stringify_outputSpecialEscape__anon_9497__9655(t11, a2); + if (t28) { + return t28; + } + t8 = t5; + t8 = t8 + (uintptr_t)1ul; + t4 = t8; + goto zig_block_3; + } + if ((t11 >= UINT8_C(127) && t11 <= UINT8_MAX)) { + t12 = (*t3); + t8 = t4; + t7 = t5; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t8 * sizeof(uint8_t))); + t8 = t7 - t8; + t13.ptr = t14; + t13.len = t8; + t29 = t12; + t16 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t29; + t30 = t16; + t18 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t30; + t20 = (void const **)&t31.context; + t16 = (*t18); + t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t16->context; + t22 = (void const *)t21; + (*t20) = t22; + t23 = (nav__9654_54(**)(void const *, nav__9654_39)) & t31.writeFn; + (*t23) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t24 = t31; + t32 = t24; + t26 = (struct io_Writer__4352 const *)&t32; + t24 = (*t26); + t28 = io_Writer_writeAll__8277(t24, t13); + memcpy(&t27, &t28, sizeof(uint16_t)); + if (t27) { + return t27; + } + t8 = t5; + t33 = a0.ptr[t8]; + t34 = unicode_utf8ByteSequenceLength__8298(t33); + t6 = t34.error == UINT16_C(0); + if (t6) { + t33 = t34.payload; + t11 = t33; + goto zig_block_4; + } + zig_unreachable(); + + zig_block_4:; + t8 = t5; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t8 * sizeof(uint8_t))); + t8 = (uintptr_t)t11; + t13.ptr = t14; + t13.len = t8; + t36 = unicode_utf8Decode__8304(t13); + t6 = t36.error == UINT16_C(0); + if (t6) { + t37 = t36.payload; + t35 = t37; + goto zig_block_5; + } + zig_unreachable(); + + zig_block_5:; + t27 = json_stringify_outputUnicodeEscape__anon_9537__9656(t35, a2); + if (t27) { + return t27; + } + t8 = t5; + t11 = t11 - UINT8_C(1); + t7 = (uintptr_t)t11; + t7 = t8 + t7; + t5 = t7; + t7 = t5; + t7 = t7 + (uintptr_t)1ul; + t4 = t7; + goto zig_block_3; + } + zig_unreachable(); + } + + zig_block_3:; + t8 = t5; + t8 = t8 + (uintptr_t)1ul; + t5 = t8; + goto zig_block_2; + } + goto zig_block_1; zig_block_2:; - goto zig_loop_20; + goto zig_loop_16; zig_block_1:; - t4 = t2; - t0 = t4 < UINT32_C(10); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t4 = t2; - t8 = (uint8_t)t4; - t8 = UINT8_C(48) + t8; - (*t6) = t8; - goto zig_block_3; + goto zig_block_0; } - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - goto zig_block_3; +zig_loop_172: + t8 = t5; + t7 = a0.len; + t10 = t8; + t9 = t7; + t6 = t10 < t9; + if (t6) { + t7 = t5; + t33 = a0.ptr[t7]; + switch (t33) { + default: + if ((t33 >= UINT8_C(32) && t33 <= UINT8_C(33)) || + (t33 >= UINT8_C(35) && t33 <= UINT8_C(91)) || + (t33 >= UINT8_C(93) && t33 <= UINT8_MAX)) { + goto zig_block_8; + } + if (t33 == UINT8_C(92) || t33 == UINT8_C(34) || + (t33 >= UINT8_C(0) && t33 <= UINT8_C(31))) { + t12 = (*t3); + t7 = t4; + t8 = t5; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t7 * sizeof(uint8_t))); + t7 = t8 - t7; + t13.ptr = t14; + t13.len = t7; + t38 = t12; + t16 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t38; + t39 = t16; + t18 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t39; + t20 = (void const **)&t40.context; + t16 = (*t18); + t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const + *)&t16->context; + t22 = (void const *)t21; + (*t20) = t22; + t23 = (nav__9654_54(**)(void const *, nav__9654_39)) & t40.writeFn; + (*t23) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t24 = t40; + t41 = t24; + t26 = (struct io_Writer__4352 const *)&t41; + t24 = (*t26); + t28 = io_Writer_writeAll__8277(t24, t13); + memcpy(&t27, &t28, sizeof(uint16_t)); + if (t27) { + return t27; + } + t7 = t5; + t33 = a0.ptr[t7]; + t27 = json_stringify_outputSpecialEscape__anon_9497__9655(t33, a2); + if (t27) { + return t27; + } + t7 = t5; + t7 = t7 + (uintptr_t)1ul; + t4 = t7; + goto zig_block_8; + } + zig_unreachable(); + } - zig_block_3:; - goto zig_block_0; - } - zig_loop_75: - t4 = t2; - t11 = (uint32_t)a1; - t11 = t4 % t11; - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t8 = (uint8_t)t11; - t8 = fmt_digitToChar__8066(t8, a2); - (*t6) = t8; - t11 = t2; - t4 = (uint32_t)a1; - t4 = t11 / t4; - t2 = t4; - t4 = t2; - t0 = t4 == UINT32_C(0); - if (t0) { - goto zig_block_4; - } - goto zig_block_5; - - zig_block_5:; - goto zig_loop_75; - - zig_block_4:; - goto zig_block_0; - - zig_block_0:; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t5 = (uintptr_t)22ul - t5; - t12.ptr = t6; - t12.len = t5; - memcpy(&t13, &t12, sizeof(nav__9653_57)); - t14 = fmt_formatBuf__anon_9561__9654(t13, a3, a4); - memcpy(&t15, &t14, sizeof(uint16_t)); - return t15; -} - -static uint16_t fmt_formatIntValue__anon_9526__9652(uint32_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatInt__anon_9551__9653(a0, UINT8_C(16), UINT8_C(0), a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t fmt_formatInt__anon_9578__9656(uint16_t const a0, uint8_t const a1, uint8_t const a2, struct fmt_FormatOptions__4745 const a3, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a4) { - uintptr_t t5; - uintptr_t t3; - uint8_t *t6; - uint8_t (*t7)[2]; - nav__9656_54 t12; - nav__9656_57 t13; - uint16_t t4; - uint16_t t11; - uint16_t t2; - bool t0; - uint8_t t8; - nav__9656_52 t9; - uint8_t t10[2]; - uint8_t t1[17]; - t0 = a1 >= UINT8_C(2); - debug_assert__180(t0); - t2 = a0; - t3 = (uintptr_t)17ul; - t0 = a1 == UINT8_C(10); - if (t0) { - zig_loop_20: - t4 = t2; - t0 = t4 >= UINT16_C(100); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t4 = t4 % UINT16_C(100); - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - t4 = t2; - t4 = t4 / UINT16_C(100); - t2 = t4; - goto zig_block_2; + zig_block_8:; + t7 = t5; + t7 = t7 + (uintptr_t)1ul; + t5 = t7; + goto zig_block_7; } - goto zig_block_1; + goto zig_block_6; - zig_block_2:; - goto zig_loop_20; +zig_block_7:; + goto zig_loop_172; - zig_block_1:; - t4 = t2; - t0 = t4 < UINT16_C(10); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t4 = t2; - t8 = (uint8_t)t4; - t8 = UINT8_C(48) + t8; - (*t6) = t8; - goto zig_block_3; +zig_block_6:; + goto zig_block_0; + +zig_block_0:; + t12 = (*t3); + t8 = t4; + t7 = a0.len; + t13 = (*t1); + t14 = t13.ptr; + t14 = (uint8_t const *)(((uintptr_t)t14) + (t8 * sizeof(uint8_t))); + t8 = t7 - t8; + t13.ptr = t14; + t13.len = t8; + t42 = t12; + t3 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t42; + t43 = t3; + t18 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t43; + t20 = (void const **)&t44.context; + t3 = (*t18); + t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t3 + ->context; + t22 = (void const *)t21; + (*t20) = t22; + t23 = (nav__9654_54(**)(void const *, nav__9654_39)) & t44.writeFn; + (*t23) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t24 = t44; + t45 = t24; + t26 = (struct io_Writer__4352 const *)&t45; + t24 = (*t26); + t28 = io_Writer_writeAll__8277(t24, t13); + memcpy(&t27, &t28, sizeof(uint16_t)); + if (t27) { + return t27; } - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t8 = (uint8_t)t4; - t9 = fmt_digits2__8050(t8); - memcpy(t10, t9.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t10, sizeof(uint8_t[2])); - goto zig_block_3; + return 0; +} - zig_block_3:; - goto zig_block_0; - } - zig_loop_75: - t4 = t2; - t11 = (uint16_t)a1; - t11 = t4 % t11; - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t8 = (uint8_t)t11; - t8 = fmt_digitToChar__8066(t8, a2); - (*t6) = t8; - t11 = t2; - t4 = (uint16_t)a1; - t4 = t11 / t4; - t2 = t4; - t4 = t2; - t0 = t4 == UINT16_C(0); - if (t0) { - goto zig_block_4; - } - goto zig_block_5; - - zig_block_5:; - goto zig_loop_75; - - zig_block_4:; - goto zig_block_0; - - zig_block_0:; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t5 = (uintptr_t)17ul - t5; - t12.ptr = t6; - t12.len = t5; - memcpy(&t13, &t12, sizeof(nav__9656_57)); - t11 = fmt_formatBuf__anon_9561__9654(t13, a3, a4); - memcpy(&t4, &t11, sizeof(uint16_t)); - return t4; -} - -static uint16_t fmt_formatIntValue__anon_9574__9655(uint16_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatInt__anon_9578__9656(a0, UINT8_C(16), UINT8_C(0), a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; -} - -static uint16_t json_stringify_outputUnicodeEscape__anon_9510__9651(uint32_t const a0, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a1) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t19; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t20; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t26; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t18; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t25; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t6; - void const **t8; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t9; - void const *t10; - nav__9651_48 (**t11)(void const *, nav__9651_50); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - struct io_Writer__4338 t13; - struct io_Writer__4338 t21; - struct io_Writer__4338 t22; - struct io_Writer__4338 t27; - struct io_Writer__4338 t28; - struct io_Writer__4338 const *t14; - uint32_t t17; - uint16_t t15; - uint16_t t16; - uint16_t t23; - uint16_t t24; - bool t2; - t0 = a1; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - t2 = a0 <= UINT32_C(65535); - if (t2) { - t3 = (*t1); - t4 = t3; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t4; - t5 = t1; - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t5; +static uint16_t json_stringify_encodeJsonString__anon_9477__9653( + nav__9653_39 const a0, + struct json_stringify_StringifyOptions__8511 const a1, + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + a2) { + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t1; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t18; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t2; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t17; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t6; + void const **t8; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t9; + void const *t10; + nav__9653_53 (**t11)(void const *, nav__9653_39); + struct io_Writer__4352 t12; + struct io_Writer__4352 t7; + struct io_Writer__4352 t13; + struct io_Writer__4352 t19; + struct io_Writer__4352 t20; + struct io_Writer__4352 const *t14; + uint16_t t15; + uint16_t t16; + t0 = a2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t0; + t2 = (*t1); + t3 = t2; + t4 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t3; + t5 = t4; + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t5; t8 = (void const **)&t7.context; - t1 = (*t6); - t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; + t4 = (*t6); + t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t4 + ->context; t10 = (void const *)t9; (*t8) = t10; - t11 = (nav__9651_48 (**)(void const *, nav__9651_50))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; + t11 = (nav__9653_53(**)(void const *, nav__9653_39)) & t7.writeFn; + (*t11) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; t12 = t7; t13 = t12; - t14 = (struct io_Writer__4338 const *)&t13; + t14 = (struct io_Writer__4352 const *)&t13; t12 = (*t14); - t15 = io_Writer_writeAll__8274(t12, (nav__9651_50){(uint8_t const *)&__anon_9516,(uintptr_t)2ul}); + t15 = io_Writer_writeByte__8279(t12, UINT8_C(34)); memcpy(&t16, &t15, sizeof(uint16_t)); if (t16) { - return t16; + return t16; } - t16 = fmt_formatIntValue__anon_9526__9652(a0, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)4ul,false},UINT32_C(48),UINT8_C(2)}, a1); + t16 = json_stringify_encodeJsonStringChars__anon_9487__9654(a0, a1, a2); if (t16) { - return t16; - } - goto zig_block_0; - } - t2 = a0 <= UINT32_C(1114111); - debug_assert__180(t2); - t17 = a0 - UINT32_C(65536); - t17 = zig_shr_u32(t17, UINT8_C(10)); - t16 = (uint16_t)t17; - t16 = t16 + UINT16_C(55296); - t17 = a0 & UINT32_C(1023); - t15 = (uint16_t)t17; - t15 = t15 + UINT16_C(56320); - t3 = (*t1); - t18 = t3; - t19 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t18; - t20 = t19; - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t20; - t8 = (void const **)&t21.context; - t19 = (*t6); - t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t19->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9651_48 (**)(void const *, nav__9651_50))&t21.writeFn; - (*t11) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t12 = t21; - t22 = t12; - t14 = (struct io_Writer__4338 const *)&t22; - t12 = (*t14); - t23 = io_Writer_writeAll__8274(t12, (nav__9651_50){(uint8_t const *)&__anon_9516,(uintptr_t)2ul}); - memcpy(&t24, &t23, sizeof(uint16_t)); - if (t24) { - return t24; - } - t16 = fmt_formatIntValue__anon_9574__9655(t16, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)4ul,false},UINT32_C(48),UINT8_C(2)}, a1); - if (t16) { - return t16; - } - t3 = (*t1); - t25 = t3; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t25; - t26 = t1; - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t26; - t8 = (void const **)&t27.context; - t1 = (*t6); - t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9651_48 (**)(void const *, nav__9651_50))&t27.writeFn; - (*t11) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t12 = t27; - t28 = t12; - t14 = (struct io_Writer__4338 const *)&t28; - t12 = (*t14); - t16 = io_Writer_writeAll__8274(t12, (nav__9651_50){(uint8_t const *)&__anon_9516,(uintptr_t)2ul}); - memcpy(&t24, &t16, sizeof(uint16_t)); - if (t24) { - return t24; - } - t15 = fmt_formatIntValue__anon_9574__9655(t15, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)4ul,false},UINT32_C(48),UINT8_C(2)}, a1); - if (t15) { - return t15; - } - goto zig_block_0; - - zig_block_0:; - return 0; -} - -static uint16_t json_stringify_outputSpecialEscape__anon_9470__9650(uint8_t const a0, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a1) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t17; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t21; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t25; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t29; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t33; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t37; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t16; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t20; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t24; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t28; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t32; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t36; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t5; - void const **t7; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t8; - void const *t9; - nav__9650_48 (**t10)(void const *, nav__9650_50); - struct io_Writer__4338 t11; - struct io_Writer__4338 t6; - struct io_Writer__4338 t12; - struct io_Writer__4338 t18; - struct io_Writer__4338 t19; - struct io_Writer__4338 t22; - struct io_Writer__4338 t23; - struct io_Writer__4338 t26; - struct io_Writer__4338 t27; - struct io_Writer__4338 t30; - struct io_Writer__4338 t31; - struct io_Writer__4338 t34; - struct io_Writer__4338 t35; - struct io_Writer__4338 t38; - struct io_Writer__4338 t39; - struct io_Writer__4338 const *t13; - uint32_t t40; - uint16_t t14; - uint16_t t15; - t0 = a1; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - switch (a0) { - case UINT8_C(92): { - t2 = (*t1); - t3 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t3; - t4 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t4; - t7 = (void const **)&t6.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t6.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t6; - t12 = t11; - t13 = (struct io_Writer__4338 const *)&t12; - t11 = (*t13); - t14 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9475,(uintptr_t)2ul}); - memcpy(&t15, &t14, sizeof(uint16_t)); - if (t15) { - return t15; - } - goto zig_block_0; - } - case UINT8_C(34): { - t2 = (*t1); - t16 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t16; - t17 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t17; - t7 = (void const **)&t18.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t18.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t18; - t19 = t11; - t13 = (struct io_Writer__4338 const *)&t19; - t11 = (*t13); - t15 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9480,(uintptr_t)2ul}); - memcpy(&t14, &t15, sizeof(uint16_t)); - if (t14) { - return t14; - } - goto zig_block_0; - } - case UINT8_C(8): { - t2 = (*t1); - t20 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t20; - t21 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t21; - t7 = (void const **)&t22.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t22.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t22; - t23 = t11; - t13 = (struct io_Writer__4338 const *)&t23; - t11 = (*t13); - t15 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9484,(uintptr_t)2ul}); - memcpy(&t14, &t15, sizeof(uint16_t)); - if (t14) { - return t14; - } - goto zig_block_0; - } - case UINT8_C(12): { - t2 = (*t1); - t24 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t24; - t25 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t25; - t7 = (void const **)&t26.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t26.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t26; - t27 = t11; - t13 = (struct io_Writer__4338 const *)&t27; - t11 = (*t13); - t15 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9488,(uintptr_t)2ul}); - memcpy(&t14, &t15, sizeof(uint16_t)); - if (t14) { - return t14; - } - goto zig_block_0; - } - case UINT8_C(10): { - t2 = (*t1); - t28 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t28; - t29 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t29; - t7 = (void const **)&t30.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t30.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t30; - t31 = t11; - t13 = (struct io_Writer__4338 const *)&t31; - t11 = (*t13); - t15 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9492,(uintptr_t)2ul}); - memcpy(&t14, &t15, sizeof(uint16_t)); - if (t14) { - return t14; - } - goto zig_block_0; - } - case UINT8_C(13): { - t2 = (*t1); - t32 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t32; - t33 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t33; - t7 = (void const **)&t34.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t34.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t34; - t35 = t11; - t13 = (struct io_Writer__4338 const *)&t35; - t11 = (*t13); - t15 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9496,(uintptr_t)2ul}); - memcpy(&t14, &t15, sizeof(uint16_t)); - if (t14) { - return t14; - } - goto zig_block_0; - } - case UINT8_C(9): { - t2 = (*t1); - t36 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t36; - t37 = t1; - t5 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t37; - t7 = (void const **)&t38.context; - t1 = (*t5); - t8 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t9 = (void const *)t8; - (*t7) = t9; - t10 = (nav__9650_48 (**)(void const *, nav__9650_50))&t38.writeFn; - (*t10) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t11 = t38; - t39 = t11; - t13 = (struct io_Writer__4338 const *)&t39; - t11 = (*t13); - t15 = io_Writer_writeAll__8274(t11, (nav__9650_50){(uint8_t const *)&__anon_9500,(uintptr_t)2ul}); - memcpy(&t14, &t15, sizeof(uint16_t)); - if (t14) { - return t14; - } - goto zig_block_0; + return t16; } - default: { - t40 = (uint32_t)a0; - t15 = json_stringify_outputUnicodeEscape__anon_9510__9651(t40, a1); - if (t15) { + t2 = (*t1); + t17 = t2; + t1 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t17; + t18 = t1; + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t18; + t8 = (void const **)&t19.context; + t1 = (*t6); + t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1 + ->context; + t10 = (void const *)t9; + (*t8) = t10; + t11 = (nav__9653_53(**)(void const *, nav__9653_39)) & t19.writeFn; + (*t11) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t12 = t19; + t20 = t12; + t14 = (struct io_Writer__4352 const *)&t20; + t12 = (*t14); + t16 = io_Writer_writeByte__8279(t12, UINT8_C(34)); + memcpy(&t15, &t16, sizeof(uint16_t)); + if (t15) { return t15; - } - goto zig_block_0; - } - } - - zig_block_0:; - return 0; -} - -static uint16_t json_stringify_encodeJsonStringChars__anon_9460__9649(nav__9649_39 const a0, struct json_stringify_StringifyOptions__8484 const a1, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a2) { - nav__9649_39 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t16; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t17; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t30; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t39; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t43; - uintptr_t t7; - uintptr_t t8; - uintptr_t t4; - uintptr_t t5; - uint64_t t9; - uint64_t t10; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t12; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t15; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t29; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t38; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t42; - nav__9649_39 t13; - nav__9649_39 t0; - uint8_t const *t14; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t18; - void const **t20; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t21; - void const *t22; - nav__9649_54 (**t23)(void const *, nav__9649_39); - struct io_Writer__4338 t24; - struct io_Writer__4338 t19; - struct io_Writer__4338 t25; - struct io_Writer__4338 t31; - struct io_Writer__4338 t32; - struct io_Writer__4338 t40; - struct io_Writer__4338 t41; - struct io_Writer__4338 t44; - struct io_Writer__4338 t45; - struct io_Writer__4338 const *t26; - uint32_t t35; - uint32_t t37; - nav__9649_66 t36; - uint16_t t27; - uint16_t t28; - nav__9649_64 t34; - bool t6; - uint8_t t11; - uint8_t t33; - t0 = a0; - t1 = (nav__9649_39 const *)&t0; - t2 = a2; - t3 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t2; - t4 = (uintptr_t)0ul; - t5 = (uintptr_t)0ul; - t6 = a1.escape_unicode; - if (t6) { - zig_loop_16: - t7 = t5; - t8 = a0.len; - t9 = t7; - t10 = t8; - t6 = t9 < t10; - if (t6) { - t8 = t5; - t11 = a0.ptr[t8]; - switch (t11) { - default: if ((t11 >= UINT8_C(32) && t11 <= UINT8_C(33)) || (t11 >= UINT8_C(35) && t11 <= UINT8_C(91)) || (t11 >= UINT8_C(93) && t11 <= UINT8_C(126))) { - goto zig_block_3; - }if (t11 == UINT8_C(92) || t11 == UINT8_C(34) || (t11 >= UINT8_C(0) && t11 <= UINT8_C(31))) { - t12 = (*t3); - t8 = t4; - t7 = t5; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t8*sizeof(uint8_t))); - t8 = t7 - t8; - t13.ptr = t14; - t13.len = t8; - t15 = t12; - t16 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t15; - t17 = t16; - t18 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t17; - t20 = (void const **)&t19.context; - t16 = (*t18); - t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t16->context; - t22 = (void const *)t21; - (*t20) = t22; - t23 = (nav__9649_54 (**)(void const *, nav__9649_39))&t19.writeFn; - (*t23) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t24 = t19; - t25 = t24; - t26 = (struct io_Writer__4338 const *)&t25; - t24 = (*t26); - t27 = io_Writer_writeAll__8274(t24, t13); - memcpy(&t28, &t27, sizeof(uint16_t)); - if (t28) { - return t28; - } - t8 = t5; - t11 = a0.ptr[t8]; - t28 = json_stringify_outputSpecialEscape__anon_9470__9650(t11, a2); - if (t28) { - return t28; - } - t8 = t5; - t8 = t8 + (uintptr_t)1ul; - t4 = t8; - goto zig_block_3; - }if ((t11 >= UINT8_C(127) && t11 <= UINT8_MAX)) { - t12 = (*t3); - t8 = t4; - t7 = t5; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t8*sizeof(uint8_t))); - t8 = t7 - t8; - t13.ptr = t14; - t13.len = t8; - t29 = t12; - t16 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t29; - t30 = t16; - t18 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t30; - t20 = (void const **)&t31.context; - t16 = (*t18); - t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t16->context; - t22 = (void const *)t21; - (*t20) = t22; - t23 = (nav__9649_54 (**)(void const *, nav__9649_39))&t31.writeFn; - (*t23) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t24 = t31; - t32 = t24; - t26 = (struct io_Writer__4338 const *)&t32; - t24 = (*t26); - t28 = io_Writer_writeAll__8274(t24, t13); - memcpy(&t27, &t28, sizeof(uint16_t)); - if (t27) { - return t27; - } - t8 = t5; - t33 = a0.ptr[t8]; - t34 = unicode_utf8ByteSequenceLength__8295(t33); - t6 = t34.error == UINT16_C(0); - if (t6) { - t33 = t34.payload; - t11 = t33; - goto zig_block_4; - } - zig_unreachable(); - - zig_block_4:; - t8 = t5; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t8*sizeof(uint8_t))); - t8 = (uintptr_t)t11; - t13.ptr = t14; - t13.len = t8; - t36 = unicode_utf8Decode__8301(t13); - t6 = t36.error == UINT16_C(0); - if (t6) { - t37 = t36.payload; - t35 = t37; - goto zig_block_5; - } - zig_unreachable(); - - zig_block_5:; - t27 = json_stringify_outputUnicodeEscape__anon_9510__9651(t35, a2); - if (t27) { - return t27; - } - t8 = t5; - t11 = t11 - UINT8_C(1); - t7 = (uintptr_t)t11; - t7 = t8 + t7; - t5 = t7; - t7 = t5; - t7 = t7 + (uintptr_t)1ul; - t4 = t7; - goto zig_block_3; - }zig_unreachable(); - } - - zig_block_3:; - t8 = t5; - t8 = t8 + (uintptr_t)1ul; - t5 = t8; - goto zig_block_2; } - goto zig_block_1; + return 0; +} - zig_block_2:; - goto zig_loop_16; +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + nav__9559_41 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct json_stringify_StringifyOptions__8511 *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t7; + uint8_t *t8; + uint16_t t3; + struct json_stringify_StringifyOptions__8511 t5; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9551( + t2); + if (t3) { + return t3; + } + t4 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t5 = (*t4); + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&a0->stream; + t7 = (*t6); + t3 = json_stringify_encodeJsonString__anon_9477__9653(a1, t5, t7); + if (t3) { + return t3; + } + t2 = (*t1); + t8 = (uint8_t *)&t2->next_punctuation; + (*t8) = UINT8_C(3); + return 0; +} - zig_block_1:; - goto zig_block_0; - } - zig_loop_172: - t8 = t5; - t7 = a0.len; - t10 = t8; - t9 = t7; - t6 = t10 < t9; - if (t6) { - t7 = t5; - t33 = a0.ptr[t7]; - switch (t33) { - default: if ((t33 >= UINT8_C(32) && t33 <= UINT8_C(33)) || (t33 >= UINT8_C(35) && t33 <= UINT8_C(91)) || (t33 >= UINT8_C(93) && t33 <= UINT8_MAX)) { - goto zig_block_8; - }if (t33 == UINT8_C(92) || t33 == UINT8_C(34) || (t33 >= UINT8_C(0) && t33 <= UINT8_C(31))) { - t12 = (*t3); - t7 = t4; - t8 = t5; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t7*sizeof(uint8_t))); - t7 = t8 - t7; - t13.ptr = t14; - t13.len = t7; - t38 = t12; - t16 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t38; - t39 = t16; - t18 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t39; - t20 = (void const **)&t40.context; - t16 = (*t18); - t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t16->context; - t22 = (void const *)t21; - (*t20) = t22; - t23 = (nav__9649_54 (**)(void const *, nav__9649_39))&t40.writeFn; - (*t23) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t24 = t40; - t41 = t24; - t26 = (struct io_Writer__4338 const *)&t41; - t24 = (*t26); - t28 = io_Writer_writeAll__8274(t24, t13); - memcpy(&t27, &t28, sizeof(uint16_t)); - if (t27) { - return t27; +static uint16_t +json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29_jsonStringif__9662( + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const + a0, + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a1) { + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t4; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 + t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + t9; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6540 + t6; + nav__9662_65 t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6549 + t12; + nav__9662_56 *t13; + nav__9662_56 t14; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + *t15; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + t16; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + t0; + uint16_t t5; + bool t11; + t0 = a0; + t1 = + (struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const + *)&t0; + t2 = a1; + t3 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t2; + t4 = (*t3); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + t4); + if (t5) { + return t5; + } + t7 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + *)&t1->map; + t8 = (*t7); + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3787( + t8); + t6 = t9; +zig_loop_22: + t10 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8706( + &t6); + t11 = t10.is_null != true; + if (t11) { + t12 = t10.payload; + t4 = (*t3); + t13 = t12.key_ptr; + t14 = (*t13); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t4, t14); + if (t5) { + return t5; } - t7 = t5; - t33 = a0.ptr[t7]; - t27 = json_stringify_outputSpecialEscape__anon_9470__9650(t33, a2); - if (t27) { - return t27; + t4 = (*t3); + t15 = t12.value_ptr; + t16 = (*t15); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9663( + t4, t16); + if (t5) { + return t5; } - t7 = t5; - t7 = t7 + (uintptr_t)1ul; - t4 = t7; - goto zig_block_8; - }zig_unreachable(); + goto zig_block_1; } + goto zig_block_0; - zig_block_8:; - t7 = t5; - t7 = t7 + (uintptr_t)1ul; - t5 = t7; - goto zig_block_7; - } - goto zig_block_6; - - zig_block_7:; - goto zig_loop_172; - - zig_block_6:; - goto zig_block_0; - - zig_block_0:; - t12 = (*t3); - t8 = t4; - t7 = a0.len; - t13 = (*t1); - t14 = t13.ptr; - t14 = (uint8_t const *)(((uintptr_t)t14) + (t8*sizeof(uint8_t))); - t8 = t7 - t8; - t13.ptr = t14; - t13.len = t8; - t42 = t12; - t3 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t42; - t43 = t3; - t18 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t43; - t20 = (void const **)&t44.context; - t3 = (*t18); - t21 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t3->context; - t22 = (void const *)t21; - (*t20) = t22; - t23 = (nav__9649_54 (**)(void const *, nav__9649_39))&t44.writeFn; - (*t23) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t24 = t44; - t45 = t24; - t26 = (struct io_Writer__4338 const *)&t45; - t24 = (*t26); - t28 = io_Writer_writeAll__8274(t24, t13); - memcpy(&t27, &t28, sizeof(uint16_t)); - if (t27) { - return t27; - } - return 0; -} - -static uint16_t json_stringify_encodeJsonString__anon_9450__9648(nav__9648_39 const a0, struct json_stringify_StringifyOptions__8484 const a1, struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const a2) { - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t1; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t18; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t2; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t17; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t6; - void const **t8; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t9; - void const *t10; - nav__9648_53 (**t11)(void const *, nav__9648_39); - struct io_Writer__4338 t12; - struct io_Writer__4338 t7; - struct io_Writer__4338 t13; - struct io_Writer__4338 t19; - struct io_Writer__4338 t20; - struct io_Writer__4338 const *t14; - uint16_t t15; - uint16_t t16; - t0 = a2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t0; - t2 = (*t1); - t3 = t2; - t4 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t3; - t5 = t4; - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t5; - t8 = (void const **)&t7.context; - t4 = (*t6); - t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t4->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9648_53 (**)(void const *, nav__9648_39))&t7.writeFn; - (*t11) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t12 = t7; - t13 = t12; - t14 = (struct io_Writer__4338 const *)&t13; - t12 = (*t14); - t15 = io_Writer_writeByte__8276(t12, UINT8_C(34)); - memcpy(&t16, &t15, sizeof(uint16_t)); - if (t16) { - return t16; - } - t16 = json_stringify_encodeJsonStringChars__anon_9460__9649(a0, a1, a2); - if (t16) { - return t16; - } - t2 = (*t1); - t17 = t2; - t1 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t17; - t18 = t1; - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t18; - t8 = (void const **)&t19.context; - t1 = (*t6); - t9 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t1->context; - t10 = (void const *)t9; - (*t8) = t10; - t11 = (nav__9648_53 (**)(void const *, nav__9648_39))&t19.writeFn; - (*t11) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t12 = t19; - t20 = t12; - t14 = (struct io_Writer__4338 const *)&t20; - t12 = (*t14); - t16 = io_Writer_writeByte__8276(t12, UINT8_C(34)); - memcpy(&t15, &t16, sizeof(uint16_t)); - if (t15) { - return t15; - } - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, nav__9554_41 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_stringify_StringifyOptions__8484 *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t7; - uint8_t *t8; - uint16_t t3; - struct json_stringify_StringifyOptions__8484 t5; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546(t2); - if (t3) { - return t3; - } - t4 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t5 = (*t4); - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&a0->stream; - t7 = (*t6); - t3 = json_stringify_encodeJsonString__anon_9450__9648(a1, t5, t7); - if (t3) { - return t3; - } - t2 = (*t1); - t8 = (uint8_t *)&t2->next_punctuation; - (*t8) = UINT8_C(3); - return 0; -} - -static uint16_t json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29_jsonStringif__9657(struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const a0, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a1) { - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t4; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 t9; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Iterator__6518 t6; - nav__9657_65 t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29_Entry__6527 t12; - nav__9657_56 *t13; - nav__9657_56 t14; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 *t15; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 t16; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 t0; - uint16_t t5; - bool t11; - t0 = a0; - t1 = (struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const *)&t0; - t2 = a1; - t3 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t2; - t4 = (*t3); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(t4); - if (t5) { - return t5; - } - t7 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const *)&t1->map; - t8 = (*t7); - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3786(t8); - t6 = t9; - zig_loop_22: - t10 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__8701(&t6); - t11 = t10.is_null != true; - if (t11) { - t12 = t10.payload; +zig_block_1:; + goto zig_loop_22; + +zig_block_0:; t4 = (*t3); - t13 = t12.key_ptr; - t14 = (*t13); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t4, t14); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + t4); if (t5) { - return t5; + return t5; } + return 0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9581( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const + a1) { + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const + *t2; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + t3; + struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 + t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint16_t t4; + uint16_t t5; + t0 = a0; + t1 = a1; + t2 = + (struct + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const + *)&t1; + t3 = (*t2); + t4 = + json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29_jsonStringif__9662( + t3, a0); + memcpy(&t5, &t4, sizeof(uint16_t)); + return t5; +} + +static uint16_t +json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29_jsonStringify__anon_9652__9664( + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const + a0, + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a1) { + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t4; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t9; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6593 + t6; + nav__9664_65 t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6601 + t12; + nav__9664_56 *t13; + nav__9664_56 t14; + struct environment_linked_libraries_root_LibraryEntry__858 *t15; + struct environment_linked_libraries_root_LibraryEntry__858 t16; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + t0; + uint16_t t5; + bool t11; + t0 = a0; + t1 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const + *)&t0; + t2 = a1; + t3 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t2; t4 = (*t3); - t15 = t12.value_ptr; - t16 = (*t15); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9658(t4, t16); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + t4); if (t5) { - return t5; + return t5; } - goto zig_block_1; - } - goto zig_block_0; + t7 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t1->map; + t8 = (*t7); + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4177( + t8); + t6 = t9; +zig_loop_22: + t10 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8710( + &t6); + t11 = t10.is_null != true; + if (t11) { + t12 = t10.payload; + t4 = (*t3); + t13 = t12.key_ptr; + t14 = (*t13); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t4, t14); + if (t5) { + return t5; + } + t4 = (*t3); + t15 = t12.value_ptr; + t16 = (*t15); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9665( + t4, t16); + if (t5) { + return t5; + } + goto zig_block_1; + } + goto zig_block_0; - zig_block_1:; - goto zig_loop_22; +zig_block_1:; + goto zig_loop_22; - zig_block_0:; - t4 = (*t3); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(t4); - if (t5) { - return t5; - } - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9576(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const a1) { - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const *t2; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 t3; - struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint16_t t4; - uint16_t t5; - t0 = a0; - t1 = a1; - t2 = (struct json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29__855 const *)&t1; - t3 = (*t2); - t4 = json_hashmap_ArrayHashMap_28json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_29_jsonStringif__9657(t3, a0); - memcpy(&t5, &t4, sizeof(uint16_t)); - return t5; -} - -static uint16_t json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29_jsonStringify__anon_9625__9659(struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const a0, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a1) { - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t4; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t9; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Iterator__6571 t6; - nav__9659_65 t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Entry__6579 t12; - nav__9659_56 *t13; - nav__9659_56 t14; - struct environment_linked_libraries_root_LibraryEntry__858 *t15; - struct environment_linked_libraries_root_LibraryEntry__858 t16; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 t0; - uint16_t t5; - bool t11; - t0 = a0; - t1 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const *)&t0; - t2 = a1; - t3 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t2; - t4 = (*t3); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(t4); - if (t5) { - return t5; - } - t7 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t1->map; - t8 = (*t7); - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4176(t8); - t6 = t9; - zig_loop_22: - t10 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__8705(&t6); - t11 = t10.is_null != true; - if (t11) { - t12 = t10.payload; +zig_block_0:; t4 = (*t3); - t13 = t12.key_ptr; - t14 = (*t13); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t4, t14); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + t4); if (t5) { - return t5; + return t5; } + return 0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9582( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const + a1) { + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const + *t2; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + t3; + struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 + t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint16_t t4; + uint16_t t5; + t0 = a0; + t1 = a1; + t2 = + (struct + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const + *)&t1; + t3 = (*t2); + t4 = + json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29_jsonStringify__anon_9652__9664( + t3, a0); + memcpy(&t5, &t4, sizeof(uint16_t)); + return t5; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint8_t *t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t7; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t9; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t10; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t11; + void const **t13; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t14; + void const *t15; + nav__9546_55 (**t16)(void const *, nav__9546_57); + struct io_Writer__4352 t17; + struct io_Writer__4352 t12; + struct io_Writer__4352 t18; + struct io_Writer__4352 const *t19; + uint16_t t5; + uint16_t t20; + uint8_t t4; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548( + t2, UINT8_C(0)); + t3 = (uint8_t *)&a0->next_punctuation; t4 = (*t3); - t15 = t12.value_ptr; - t16 = (*t15); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9660(t4, t16); - if (t5) { - return t5; + switch (t4) { + case UINT8_C(1): { + goto zig_block_0; + } + case UINT8_C(2): { + t2 = (*t1); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549( + t2); + if (t5) { + return t5; + } + goto zig_block_0; + } + case UINT8_C(0): + case UINT8_C(3): { + zig_unreachable(); + } + default: + zig_unreachable(); } - goto zig_block_1; - } - goto zig_block_0; - zig_block_1:; - goto zig_loop_22; +zig_block_0:; + t2 = (*t1); + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t7 = (*t6); + t8 = t7; + t9 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t8; + t10 = t9; + t11 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t10; + t13 = (void const **)&t12.context; + t9 = (*t11); + t14 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t9 + ->context; + t15 = (void const *)t14; + (*t13) = t15; + t16 = (nav__9546_55(**)(void const *, nav__9546_57)) & t12.writeFn; + (*t16) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t17 = t12; + t18 = t17; + t19 = (struct io_Writer__4352 const *)&t18; + t17 = (*t19); + t5 = io_Writer_writeByte__8279(t17, UINT8_C(125)); + memcpy(&t20, &t5, sizeof(uint16_t)); + if (t20) { + return t20; + } + t2 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + t2); + return 0; +} - zig_block_0:; - t4 = (*t3); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(t4); - if (t5) { - return t5; - } - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9577(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const a1) { - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const *t2; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 t3; - struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint16_t t4; - uint16_t t5; - t0 = a0; - t1 = a1; - t2 = (struct json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29__860 const *)&t1; - t3 = (*t2); - t4 = json_hashmap_ArrayHashMap_28environment_linked_libraries_root_LibraryEntry_29_jsonStringify__anon_9625__9659(t3, a0); - memcpy(&t5, &t4, sizeof(uint16_t)); - return t5; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint8_t *t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t7; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t9; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t10; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t11; - void const **t13; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t14; - void const *t15; - nav__9541_55 (**t16)(void const *, nav__9541_57); - struct io_Writer__4338 t17; - struct io_Writer__4338 t12; - struct io_Writer__4338 t18; - struct io_Writer__4338 const *t19; - uint16_t t5; - uint16_t t20; - uint8_t t4; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543(t2, UINT8_C(0)); - t3 = (uint8_t *)&a0->next_punctuation; - t4 = (*t3); - switch (t4) { - case UINT8_C(1): { - goto zig_block_0; - } - case UINT8_C(2): { - t2 = (*t1); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544(t2); - if (t5) { - return t5; - } - goto zig_block_0; - } - case UINT8_C(0): - case UINT8_C(3): { - zig_unreachable(); - } - default: zig_unreachable(); - } - - zig_block_0:; - t2 = (*t1); - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t7 = (*t6); - t8 = t7; - t9 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t8; - t10 = t9; - t11 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t10; - t13 = (void const **)&t12.context; - t9 = (*t11); - t14 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t9->context; - t15 = (void const *)t14; - (*t13) = t15; - t16 = (nav__9541_55 (**)(void const *, nav__9541_57))&t12.writeFn; - (*t16) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t17 = t12; - t18 = t17; - t19 = (struct io_Writer__4338 const *)&t18; - t17 = (*t19); - t5 = io_Writer_writeByte__8276(t17, UINT8_C(125)); - memcpy(&t20, &t5, sizeof(uint16_t)); - if (t20) { - return t20; - } - t2 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(t2); - return 0; -} - -static uintptr_t array_list_ArrayListAlignedUnmanaged_28environment_linked_libraries_root_LibraryInfo_2cnull_29_growCapacit__9638(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - uintptr_t t2; - uintptr_t t0; - uint64_t t3; - uint64_t t4; - bool t5; - t0 = a0; - zig_loop_6: - t1 = t0; - t2 = t0; - t2 = t2 / (uintptr_t)2ul; - t2 = t2 + (uintptr_t)2ul; - t2 = zig_adds_u64(t1, t2, UINT8_C(64)); - t0 = t2; - t2 = t0; - t3 = t2; - t4 = a1; - t5 = t3 >= t4; - if (t5) { +static uintptr_t +array_list_ArrayListAlignedUnmanaged_28environment_linked_libraries_root_LibraryInfo_2cnull_29_growCapacit__9643( + uintptr_t const a0, uintptr_t const a1) { + uintptr_t t1; + uintptr_t t2; + uintptr_t t0; + uint64_t t3; + uint64_t t4; + bool t5; + t0 = a0; +zig_loop_6: + t1 = t0; t2 = t0; - return t2; - } - goto zig_block_0; - - zig_block_0:; - goto zig_loop_6; -} - -static uint16_t array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacityP__4371(struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const a0, uintptr_t const a1) { - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t7; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *t0; - struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 t8; - nav__4371_44 t9; - nav__4371_44 t12; - nav__4371_44 t20; - nav__4371_44 t21; - nav__4371_44 t18; - struct mem_Allocator__599 *t10; - struct mem_Allocator__599 t11; - nav__4371_44 *t13; - struct environment_linked_libraries_root_LibraryInfo__940 **t14; - struct environment_linked_libraries_root_LibraryInfo__940 *t15; - nav__4371_56 t16; - nav__4371_44 const *t19; - uint16_t t17; - bool t6; - t0 = a0; - t1 = (struct array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a1; - t6 = t4 >= t5; - if (t6) { - return 0; - } - goto zig_block_0; - - zig_block_0:; - t7 = (*t1); - t8 = (*t7); - t9 = array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4381(t8); - t7 = (*t1); - t10 = (struct mem_Allocator__599 *)&t7->allocator; - t11 = (*t10); - t12 = mem_Allocator_remap__anon_9642__9661(t11, t9, a1); - t6 = t12.ptr != NULL; - if (t6) { - t9 = t12; + t2 = t2 / (uintptr_t)2ul; + t2 = t2 + (uintptr_t)2ul; + t2 = zig_adds_u64(t1, t2, UINT8_C(64)); + t0 = t2; + t2 = t0; + t3 = t2; + t4 = a1; + t5 = t3 >= t4; + if (t5) { + t2 = t0; + return t2; + } + goto zig_block_0; + +zig_block_0:; + goto zig_loop_6; +} + +static uint16_t +array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_ensureTotalCapacityP__4372( + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + a0, + uintptr_t const a1) { + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t7; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + *t0; + struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 + t8; + nav__4372_44 t9; + nav__4372_44 t12; + nav__4372_44 t20; + nav__4372_44 t21; + nav__4372_44 t18; + struct mem_Allocator__599 *t10; + struct mem_Allocator__599 t11; + nav__4372_44 *t13; + struct environment_linked_libraries_root_LibraryInfo__940 **t14; + struct environment_linked_libraries_root_LibraryInfo__940 *t15; + nav__4372_56 t16; + nav__4372_44 const *t19; + uint16_t t17; + bool t6; + t0 = a0; + t1 = + (struct + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29__942 *const + *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a1; + t6 = t4 >= t5; + if (t6) { + return 0; + } + goto zig_block_0; + +zig_block_0:; + t7 = (*t1); + t8 = (*t7); + t9 = + array_list_ArrayListAligned_28environment_linked_libraries_root_LibraryInfo_2cnull_29_allocatedSlice__4382( + t8); + t7 = (*t1); + t10 = (struct mem_Allocator__599 *)&t7->allocator; + t11 = (*t10); + t12 = mem_Allocator_remap__anon_9669__9666(t11, t9, a1); + t6 = t12.ptr != NULL; + if (t6) { + t9 = t12; + t7 = (*t1); + t13 = (nav__4372_44 *)&t7->items; + t14 = &t13->ptr; + t15 = t9.ptr; + (*t14) = t15; + t7 = (*t1); + t2 = (uintptr_t *)&t7->capacity; + t3 = t9.len; + (*t2) = t3; + goto zig_block_1; + } + t7 = (*t1); + t10 = (struct mem_Allocator__599 *)&t7->allocator; + t11 = (*t10); + t16 = mem_Allocator_alignedAlloc__anon_9673__9667(t11, a1); + if (t16.error) { + t17 = t16.error; + return t17; + } + t12 = t16.payload; + t18 = t12; + t19 = (nav__4372_44 const *)&t18; + t13 = (nav__4372_44 *)&a0->items; + t20 = (*t13); + t3 = t20.len; + t20 = (*t19); + t15 = t20.ptr; + t15 = + (struct environment_linked_libraries_root_LibraryInfo__940 + *)(((uintptr_t)t15) + + ((uintptr_t)0ul * + sizeof( + struct environment_linked_libraries_root_LibraryInfo__940))); + t20.ptr = t15; + t20.len = t3; + t13 = (nav__4372_44 *)&a0->items; + t21 = (*t13); + t15 = t21.ptr; + if (t20.len != 0) + memcpy( + t20.ptr, t15, + t20.len * + sizeof(struct environment_linked_libraries_root_LibraryInfo__940)); + t7 = (*t1); + t10 = (struct mem_Allocator__599 *)&t7->allocator; + t11 = (*t10); + mem_Allocator_free__anon_7085__8820(t11, t9); t7 = (*t1); - t13 = (nav__4371_44 *)&t7->items; + t13 = (nav__4372_44 *)&t7->items; t14 = &t13->ptr; - t15 = t9.ptr; + t15 = t12.ptr; (*t14) = t15; t7 = (*t1); t2 = (uintptr_t *)&t7->capacity; - t3 = t9.len; + t3 = t12.len; (*t2) = t3; goto zig_block_1; - } - t7 = (*t1); - t10 = (struct mem_Allocator__599 *)&t7->allocator; - t11 = (*t10); - t16 = mem_Allocator_alignedAlloc__anon_9646__9662(t11, a1); - if (t16.error) { - t17 = t16.error; - return t17; - } - t12 = t16.payload; - t18 = t12; - t19 = (nav__4371_44 const *)&t18; - t13 = (nav__4371_44 *)&a0->items; - t20 = (*t13); - t3 = t20.len; - t20 = (*t19); - t15 = t20.ptr; - t15 = (struct environment_linked_libraries_root_LibraryInfo__940 *)(((uintptr_t)t15) + ((uintptr_t)0ul*sizeof(struct environment_linked_libraries_root_LibraryInfo__940))); - t20.ptr = t15; - t20.len = t3; - t13 = (nav__4371_44 *)&a0->items; - t21 = (*t13); - t15 = t21.ptr; - if (t20.len != 0) memcpy(t20.ptr, t15, t20.len * sizeof(struct environment_linked_libraries_root_LibraryInfo__940)); - t7 = (*t1); - t10 = (struct mem_Allocator__599 *)&t7->allocator; - t11 = (*t10); - mem_Allocator_free__anon_7063__8815(t11, t9); - t7 = (*t1); - t13 = (nav__4371_44 *)&t7->items; - t14 = &t13->ptr; - t15 = t12.ptr; - (*t14) = t15; - t7 = (*t1); - t2 = (uintptr_t *)&t7->capacity; - t3 = t12.len; - (*t2) = t3; - goto zig_block_1; - - zig_block_1:; - return 0; -} - -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4318(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *t1; - struct mem_Allocator__599 const *t3; - uintptr_t *t4; - uintptr_t t5; - uint64_t t6; - uint64_t t7; - struct mem_Allocator__599 t9; - struct mem_Allocator__599 t2; - nav__4318_54 t10; - nav__4318_52 t12; - nav__4318_52 t15; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t13; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t14; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t18; - uint8_t **t16; - uint8_t *t17; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t19; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t20; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t22; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t21; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t23; - nav__4318_62 t24; - nav__4318_62 t25; - uint32_t *t26; - nav__4318_67 t27; - nav__4318_67 t28; - nav__4318_65 *t29; - nav__4318_72 t30; - nav__4318_72 t31; - struct environment_linked_libraries_root_LibraryEntry__858 *t32; - uint16_t t11; - bool t8; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *)&t0; - t2 = a1; - t3 = (struct mem_Allocator__599 const *)&t2; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t6 = a2; - t7 = t5; - t8 = t6 >= t7; - debug_assert__180(t8); - t9 = (*t3); - t5 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4325(a2); - t10 = mem_Allocator_alignedAlloc__anon_7918__8922(t9, t5); - if (t10.error) { - t11 = t10.error; - return t11; - } - t12 = t10.payload; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t7 = t5; - t8 = t7 == UINT64_C(0); - if (t8) { + +zig_block_1:; + return 0; +} + +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4319( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *t1; + struct mem_Allocator__599 const *t3; + uintptr_t *t4; + uintptr_t t5; + uint64_t t6; + uint64_t t7; + struct mem_Allocator__599 t9; + struct mem_Allocator__599 t2; + nav__4319_54 t10; + nav__4319_52 t12; + nav__4319_52 t15; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t13; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t14; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t18; + uint8_t **t16; + uint8_t *t17; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t19; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t20; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t22; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t21; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t23; + nav__4319_62 t24; + nav__4319_62 t25; + uint32_t *t26; + nav__4319_67 t27; + nav__4319_67 t28; + nav__4319_65 *t29; + nav__4319_72 t30; + nav__4319_72 t31; + struct environment_linked_libraries_root_LibraryEntry__858 *t32; + uint16_t t11; + bool t8; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *)&t0; + t2 = a1; + t3 = (struct mem_Allocator__599 const *)&t2; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t6 = a2; + t7 = t5; + t8 = t6 >= t7; + debug_assert__180(t8); t9 = (*t3); + t5 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326( + a2); + t10 = mem_Allocator_alignedAlloc__anon_7944__8927(t9, t5); + if (t10.error) { + t11 = t10.error; + return t11; + } + t12 = t10.payload; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t7 = t5; + t8 = t7 == UINT64_C(0); + if (t8) { + t9 = (*t3); + t13 = (*t1); + t14 = (*t13); + t15 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4327( + t14); + mem_Allocator_free__anon_7039__8818(t9, t15); + t13 = (*t1); + t16 = (uint8_t **)&t13->bytes; + t17 = t12.ptr; + (*t16) = t17; + t13 = (*t1); + t4 = (uintptr_t *)&t13->capacity; + (*t4) = a2; + return 0; + } + goto zig_block_0; + +zig_block_0:; + t17 = t12.ptr; + t4 = (uintptr_t *)&a0->len; + t5 = (*t4); + t14.bytes = t17; + t14.len = t5; + t14.capacity = a2; + t18 = t14; t13 = (*t1); t14 = (*t13); - t15 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326(t14); - mem_Allocator_free__anon_7017__8813(t9, t15); - t13 = (*t1); - t16 = (uint8_t **)&t13->bytes; - t17 = t12.ptr; - (*t16) = t17; + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t14); + t20 = t19; + t21 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t20; + t14 = t18; + t19 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t14); + t22 = t19; + t23 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t22; + t19 = (*t23); + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t19); + t19 = (*t21); + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t19); + t26 = t25.ptr; + if (t24.len != 0) memcpy(t24.ptr, t26, t24.len * sizeof(uint32_t)); + t19 = (*t23); + t27 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t19); + t19 = (*t21); + t28 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t19); + t29 = t28.ptr; + if (t27.len != 0) memcpy(t27.ptr, t29, t27.len * sizeof(nav__4319_65)); + t19 = (*t23); + t30 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t19); + t19 = (*t21); + t31 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t19); + t32 = t31.ptr; + if (t30.len != 0) + memcpy( + t30.ptr, t32, + t30.len * + sizeof(struct environment_linked_libraries_root_LibraryEntry__858)); + t9 = (*t3); t13 = (*t1); - t4 = (uintptr_t *)&t13->capacity; - (*t4) = a2; - return 0; - } - goto zig_block_0; - - zig_block_0:; - t17 = t12.ptr; - t4 = (uintptr_t *)&a0->len; - t5 = (*t4); - t14.bytes = t17; - t14.len = t5; - t14.capacity = a2; - t18 = t14; - t13 = (*t1); - t14 = (*t13); - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t14); - t20 = t19; - t21 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t20; - t14 = t18; - t19 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t14); - t22 = t19; - t23 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t22; - t19 = (*t23); - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t19); - t19 = (*t21); - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t19); - t26 = t25.ptr; - if (t24.len != 0) memcpy(t24.ptr, t26, t24.len * sizeof(uint32_t)); - t19 = (*t23); - t27 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t19); - t19 = (*t21); - t28 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t19); - t29 = t28.ptr; - if (t27.len != 0) memcpy(t27.ptr, t29, t27.len * sizeof(nav__4318_65)); - t19 = (*t23); - t30 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t19); - t19 = (*t21); - t31 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t19); - t32 = t31.ptr; - if (t30.len != 0) memcpy(t30.ptr, t32, t30.len * sizeof(struct environment_linked_libraries_root_LibraryEntry__858)); - t9 = (*t3); - t13 = (*t1); - t14 = (*t13); - t12 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4326(t14); - mem_Allocator_free__anon_7017__8813(t9, t12); - t14 = t18; - (*a0) = t14; - return 0; -} - -static uint16_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4314(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const a0, struct mem_Allocator__599 const a1, uintptr_t const a2) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uint64_t t4; - uint64_t t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t0; - uint16_t t8; - uint16_t t9; - bool t6; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *)&t0; - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t4 = t3; - t5 = a2; - t6 = t4 >= t5; - if (t6) { + t14 = (*t13); + t12 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4327( + t14); + mem_Allocator_free__anon_7039__8818(t9, t12); + t14 = t18; + (*a0) = t14; return 0; - } - goto zig_block_0; - - zig_block_0:; - t7 = (*t1); - t2 = (uintptr_t *)&a0->capacity; - t3 = (*t2); - t3 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4316(t3, a2); - t8 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4318(t7, a1, t3); - memcpy(&t9, &t8, sizeof(uint16_t)); - return t9; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4280(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct array_hash_map_IndexHeader__886 t5; - uint8_t t6; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = (*t4); - t6 = array_hash_map_IndexHeader_capacityIndexType__3959(t5); - switch (t6) { - case UINT8_C(0): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9663(t7, a1); - return; - } - case UINT8_C(1): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9664(t7, a1); - return; - } - case UINT8_C(2): { - t7 = (*t1); - array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9665(t7, a1); - return; - } - default: zig_unreachable(); - } -} - -static uint32_t array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(nav__9639_40 const a0) { - uint32_t t0; - t0 = array_hash_map_StringContext_hash__3759(a0); - return t0; -} - -static nav__9640_39 multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t3[3]; - uint8_t *t4; - uint32_t *t5; - uint32_t *t6; - uint32_t *const *t7; - nav__9640_39 t8; - bool t2; - t0 = a0.capacity; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - return (nav__9640_39){(uint32_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); - t4 = t3[(uintptr_t)0ul]; - t5 = (uint32_t *)t4; - t6 = t5; - t7 = (uint32_t *const *)&t6; - t0 = a0.len; - t5 = (*t7); - t5 = (uint32_t *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint32_t))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static bool array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(nav__9641_40 const a0, nav__9641_40 const a1, uintptr_t const a2) { - bool t0; - t0 = array_hash_map_StringContext_eql__3760(a0, a1, a2); - return t0; -} - -static nav__9642_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9642(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9642_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__9642_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - nav__9642_38 t8; - bool t9; - struct array_hash_map_Index_28u8_29__7097 t11; - uint8_t t12; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9666(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__9642_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static nav__9643_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9643(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9643_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__9643_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - nav__9643_38 t8; - struct array_hash_map_Index_28u16_29__7101 t11; - uint16_t t12; - bool t9; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9667(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; - goto zig_block_0; - } - return (nav__9643_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static nav__9644_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9644_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_IndexHeader__886 *t4; - struct array_hash_map_IndexHeader__886 *t2; - nav__9644_58 t5; - uintptr_t t6; - uintptr_t t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - nav__9644_38 t8; - struct array_hash_map_Index_28u32_29__7105 t11; - uint32_t t12; - bool t9; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t3); - t5 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t4); - t7 = (*t1); - t8 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9668(t7, a1, a2, t5); - t9 = t8.is_null != true; - if (t9) { - t10 = t8.payload; - t6 = t10; +} + +static uint16_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4315( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + a0, + struct mem_Allocator__599 const a1, uintptr_t const a2) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uint64_t t4; + uint64_t t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t0; + uint16_t t8; + uint16_t t9; + bool t6; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *)&t0; + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t4 = t3; + t5 = a2; + t6 = t4 >= t5; + if (t6) { + return 0; + } goto zig_block_0; - } - return (nav__9644_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - - zig_block_0:; - t11 = t5.ptr[t6]; - t12 = t11.entry_index; - t6 = (uintptr_t)t12; - t8.is_null = false; - t8.payload = t6; - return t8; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const a0) { - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *t1; - uintptr_t *t2; - uintptr_t t3; - uintptr_t t4; - uint64_t t5; - uint64_t t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t0; - bool t7; - t0 = a0; - t1 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const *)&t0; - t2 = (uintptr_t *)&a0->len; - t3 = (*t2); - t2 = (uintptr_t *)&a0->capacity; - t4 = (*t2); - t5 = t3; - t6 = t4; - t7 = t5 < t6; - debug_assert__180(t7); - t2 = (uintptr_t *)&a0->len; - t4 = (*t2); - t8 = (*t1); - t2 = (uintptr_t *)&t8->len; - t3 = (*t2); - t3 = t3 + (uintptr_t)1ul; - (*t2) = t3; - return t4; -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9645(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, nav__9645_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t9; - nav__9645_66 t10; - nav__9645_66 t11; - nav__9645_66 const *t12; - nav__9645_69 t13; - nav__9645_69 t14; - nav__9645_69 const *t15; - nav__9645_72 t16; - nav__9645_72 t17; - nav__9645_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__9645_77 t20; - nav__9645_77 t55; - nav__9645_77 t21; - nav__9645_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t54; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u8_29__7097 *t35; - uint8_t *t36; - uint32_t *const *t38; - uint32_t *t39; - bool *t41; - nav__9645_42 **t42; - nav__9645_42 *const *t43; - nav__9645_42 *t44; - struct environment_linked_libraries_root_LibraryEntry__858 **t45; - struct environment_linked_libraries_root_LibraryEntry__858 *const *t46; - struct environment_linked_libraries_root_LibraryEntry__858 *t47; - uintptr_t *t48; - nav__9645_42 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t40; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t52; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t57; - uint32_t t23; - uint32_t t49; - struct array_hash_map_IndexHeader__886 t32; - bool t30; - bool t50; - struct array_hash_map_Index_28u8_29__7097 t34; - struct array_hash_map_Index_28u8_29__7097 t33; - uint8_t t37; - uint8_t t53; - uint8_t t27; - uint8_t t56; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t7); - t11 = t10; - t12 = (nav__9645_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t7); - t14 = t13; - t15 = (nav__9645_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t7); - t17 = t16; - t18 = (nav__9645_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t19); - t21 = t20; - t22 = (nav__9645_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT8_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { - t19 = (*t3); - t32 = (*t19); - t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u8_29_isEmpty__8820(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint8_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint8_t *)&t35->entry_index; - t37 = (uint8_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t25]; - (*t39) = t23; - t41 = (bool *)&t40.found_existing; - (*t41) = false; - t42 = (nav__9645_42 **)&t40.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__9645_42 *)&t44[t25]; - (*t42) = t44; - t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t40.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t47[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t40.index; - (*t48) = t25; - return t40; + +zig_block_0:; + t7 = (*t1); + t2 = (uintptr_t *)&a0->capacity; + t3 = (*t2); + t3 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4317( + t3, a2); + t8 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4319( + t7, a1, t3); + memcpy(&t9, &t8, sizeof(uint16_t)); + return t9; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4281( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct array_hash_map_IndexHeader__886 t5; + uint8_t t6; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = (*t4); + t6 = array_hash_map_IndexHeader_capacityIndexType__3960(t5); + switch (t6) { + case UINT8_C(0): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9668( + t7, a1); + return; + } + case UINT8_C(1): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9669( + t7, a1); + return; + } + case UINT8_C(2): { + t7 = (*t1); + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9670( + t7, a1); + return; + } + default: + zig_unreachable(); } - goto zig_block_2; +} - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t49 = t10.ptr[t24]; - t30 = t23 == t49; - if (t30) { - t24 = (uintptr_t)t37; - t51 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t51, t24); - t50 = t30; - goto zig_block_4; - } - t50 = false; - goto zig_block_4; +static uint32_t +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + nav__9644_40 const a0) { + uint32_t t0; + t0 = array_hash_map_StringContext_hash__3760(a0); + return t0; +} - zig_block_4:; - if (t50) { - t41 = (bool *)&t52.found_existing; - (*t41) = true; - t42 = (nav__9645_42 **)&t52.key_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t13 = (*t15); - t44 = &t13.ptr[t25]; - (*t42) = t44; - t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t52.value_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t16 = (*t18); - t47 = &t16.ptr[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t52.index; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - (*t48) = t25; - return t52; +static nav__9645_39 +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t3[3]; + uint8_t *t4; + uint32_t *t5; + uint32_t *t6; + uint32_t *const *t7; + nav__9645_39 t8; + bool t2; + t0 = a0.capacity; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + return (nav__9645_39){ + (uint32_t *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; } - goto zig_block_3; + goto zig_block_0; - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t53 = t27; - t30 = t37 < t53; +zig_block_0:; + memcpy(t3, a0.ptrs, sizeof(uint8_t *[3])); + t4 = t3[(uintptr_t)0ul]; + t5 = (uint32_t *)t4; + t6 = t5; + t7 = (uint32_t *const *)&t6; + t0 = a0.len; + t5 = (*t7); + t5 = (uint32_t *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint32_t))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static bool +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + nav__9646_40 const a0, nav__9646_40 const a1, uintptr_t const a2) { + bool t0; + t0 = array_hash_map_StringContext_eql__3761(a0, a1, a2); + return t0; +} + +static nav__9647_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9647( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9647_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__9647_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + nav__9647_38 t8; + bool t9; + struct array_hash_map_Index_28u8_29__7119 t11; + uint8_t t12; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9671( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__9647_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static nav__9648_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9648( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9648_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__9648_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + nav__9648_38 t8; + struct array_hash_map_Index_28u16_29__7123 t11; + uint16_t t12; + bool t9; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9672( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__9648_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static nav__9649_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9649( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9649_41 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct array_hash_map_IndexHeader__886 *t4; + struct array_hash_map_IndexHeader__886 *t2; + nav__9649_58 t5; + uintptr_t t6; + uintptr_t t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + nav__9649_38 t8; + struct array_hash_map_Index_28u32_29__7127 t11; + uint32_t t12; + bool t9; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t3); + t5 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t4); + t7 = (*t1); + t8 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9673( + t7, a1, a2, t5); + t9 = t8.is_null != true; + if (t9) { + t10 = t8.payload; + t6 = t10; + goto zig_block_0; + } + return (nav__9649_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + +zig_block_0:; + t11 = t5.ptr[t6]; + t12 = t11.entry_index; + t6 = (uintptr_t)t12; + t8.is_null = false; + t8.payload = t6; + return t8; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + a0) { + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *t1; + uintptr_t *t2; + uintptr_t t3; + uintptr_t t4; + uint64_t t5; + uint64_t t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t0; + bool t7; + t0 = a0; + t1 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *const + *)&t0; + t2 = (uintptr_t *)&a0->len; + t3 = (*t2); + t2 = (uintptr_t *)&a0->capacity; + t4 = (*t2); + t5 = t3; + t6 = t4; + t7 = t5 < t6; + debug_assert__180(t7); + t2 = (uintptr_t *)&a0->len; + t4 = (*t2); + t8 = (*t1); + t2 = (uintptr_t *)&t8->len; + t3 = (*t2); + t3 = t3 + (uintptr_t)1ul; + (*t2) = t3; + return t4; +} + +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9650( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + nav__9650_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t9; + nav__9650_66 t10; + nav__9650_66 t11; + nav__9650_66 const *t12; + nav__9650_69 t13; + nav__9650_69 t14; + nav__9650_69 const *t15; + nav__9650_72 t16; + nav__9650_72 t17; + nav__9650_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__9650_77 t20; + nav__9650_77 t55; + nav__9650_77 t21; + nav__9650_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t54; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u8_29__7119 *t35; + uint8_t *t36; + uint32_t *const *t38; + uint32_t *t39; + bool *t41; + nav__9650_42 **t42; + nav__9650_42 *const *t43; + nav__9650_42 *t44; + struct environment_linked_libraries_root_LibraryEntry__858 **t45; + struct environment_linked_libraries_root_LibraryEntry__858 *const *t46; + struct environment_linked_libraries_root_LibraryEntry__858 *t47; + uintptr_t *t48; + nav__9650_42 t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t40; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t52; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t57; + uint32_t t23; + uint32_t t49; + struct array_hash_map_IndexHeader__886 t32; + bool t30; + bool t50; + struct array_hash_map_Index_28u8_29__7119 t34; + struct array_hash_map_Index_28u8_29__7119 t33; + uint8_t t37; + uint8_t t53; + uint8_t t27; + uint8_t t56; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t7); + t11 = t10; + t12 = (nav__9650_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t7); + t14 = t13; + t15 = (nav__9650_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t7); + t17 = t16; + t18 = (nav__9650_72 const *)&t17; + t19 = (*t3); + t20 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t19); + t21 = t20; + t22 = (nav__9650_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT8_C(0); +zig_loop_55: + t24 = t26; + t28 = t24; + t29 = t25; + t30 = t28 != t29; if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t5); - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t24]; - (*t39) = t23; - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint8_t *)&t35->entry_index; - t53 = (uint8_t)t24; - (*t36) = t53; - t36 = (uint8_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t34 = t33; - t53 = t34.distance_from_start_index; - t27 = t53; - t34 = t33; - t53 = t34.entry_index; - t56 = t53; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; - zig_loop_200: - t54 = t26; - t29 = t54; - t28 = t25; - t30 = t29 != t28; - if (t30) { t19 = (*t3); t32 = (*t19); - t54 = t26; - t54 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t54); - t31 = t54; - t54 = t31; - t34 = t20.ptr[t54]; + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; t33 = t34; t34 = t33; - t30 = array_hash_map_Index_28u8_29_isEmpty__8820(t34); + t30 = array_hash_map_Index_28u8_29_isEmpty__8825(t34); if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint8_t *)&t35->entry_index; - t53 = t56; - (*t36) = t53; - t36 = (uint8_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t41 = (bool *)&t57.found_existing; - (*t41) = false; - t42 = (nav__9645_42 **)&t57.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__9645_42 *)&t44[t24]; - (*t42) = t44; - t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t57.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t47[t24]; - (*t45) = t47; - t48 = (uintptr_t *)&t57.index; - (*t48) = t24; - return t57; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint8_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint8_t *)&t35->entry_index; + t37 = (uint8_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t25]; + (*t39) = t23; + t41 = (bool *)&t40.found_existing; + (*t41) = false; + t42 = (nav__9650_42 **)&t40.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__9650_42 *)&t44[t25]; + (*t42) = t44; + t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t40 + .value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)&t47[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t40.index; + (*t48) = t25; + return t40; } - goto zig_block_8; + goto zig_block_2; - zig_block_8:; + zig_block_2:; t34 = t33; - t53 = t34.distance_from_start_index; - t37 = t27; - t30 = t53 < t37; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t49 = t10.ptr[t24]; + t30 = t23 == t49; if (t30) { - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint8_t *)&t35->entry_index; - t37 = t56; - (*t36) = t37; - t36 = (uint8_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t34 = t33; - t37 = t34.entry_index; - t56 = t37; - t34 = t33; - t37 = t34.distance_from_start_index; - t27 = t37; - goto zig_block_9; + t24 = (uintptr_t)t37; + t51 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t51, t24); + t50 = t30; + goto zig_block_4; } - goto zig_block_9; + t50 = false; + goto zig_block_4; + + zig_block_4:; + if (t50) { + t41 = (bool *)&t52.found_existing; + (*t41) = true; + t42 = (nav__9650_42 **)&t52.key_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t13 = (*t15); + t44 = &t13.ptr[t25]; + (*t42) = t44; + t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t52 + .value_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t16 = (*t18); + t47 = &t16.ptr[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t52.index; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + (*t48) = t25; + return t52; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t53 = t27; + t30 = t37 < t53; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t5); + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t24]; + (*t39) = t23; + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint8_t *)&t35->entry_index; + t53 = (uint8_t)t24; + (*t36) = t53; + t36 = (uint8_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t34 = t33; + t53 = t34.distance_from_start_index; + t27 = t53; + t34 = t33; + t53 = t34.entry_index; + t56 = t53; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + zig_loop_200: + t54 = t26; + t29 = t54; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t54 = t26; + t54 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t54); + t31 = t54; + t54 = t31; + t34 = t20.ptr[t54]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u8_29_isEmpty__8825(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint8_t *)&t35->entry_index; + t53 = t56; + (*t36) = t53; + t36 = (uint8_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t41 = (bool *)&t57.found_existing; + (*t41) = false; + t42 = (nav__9650_42 **)&t57.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__9650_42 *)&t44[t24]; + (*t42) = t44; + t45 = (struct environment_linked_libraries_root_LibraryEntry__858 * + *)&t57.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)&t47[t24]; + (*t45) = t47; + t48 = (uintptr_t *)&t57.index; + (*t48) = t24; + return t57; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t53 = t34.distance_from_start_index; + t37 = t27; + t30 = t53 < t37; + if (t30) { + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint8_t *)&t35->entry_index; + t37 = t56; + (*t36) = t37; + t36 = (uint8_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t34 = t33; + t37 = t34.entry_index; + t56 = t37; + t34 = t33; + t37 = t34.distance_from_start_index; + t27 = t37; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT8_C(1); + t27 = t53; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; - zig_block_9:; + zig_block_5:; t54 = t26; t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); t26 = t54; t53 = t27; t53 = t53 + UINT8_C(1); t27 = t53; - goto zig_block_7; - } - goto zig_block_6; + goto zig_block_1; + } + goto zig_block_0; - zig_block_7:; - goto zig_loop_200; +zig_block_1:; + goto zig_loop_55; - zig_block_6:; - zig_unreachable(); - } - goto zig_block_5; +zig_block_0:; + zig_unreachable(); +} - zig_block_5:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT8_C(1); - t27 = t53; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, nav__9646_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t9; - nav__9646_66 t10; - nav__9646_66 t11; - nav__9646_66 const *t12; - nav__9646_69 t13; - nav__9646_69 t14; - nav__9646_69 const *t15; - nav__9646_72 t16; - nav__9646_72 t17; - nav__9646_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__9646_77 t20; - nav__9646_77 t55; - nav__9646_77 t21; - nav__9646_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t54; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u16_29__7101 *t35; - uint16_t *t36; - uint32_t *const *t38; - uint32_t *t39; - bool *t41; - nav__9646_42 **t42; - nav__9646_42 *const *t43; - nav__9646_42 *t44; - struct environment_linked_libraries_root_LibraryEntry__858 **t45; - struct environment_linked_libraries_root_LibraryEntry__858 *const *t46; - struct environment_linked_libraries_root_LibraryEntry__858 *t47; - uintptr_t *t48; - nav__9646_42 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t40; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t52; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t57; - uint32_t t23; - uint32_t t49; - struct array_hash_map_IndexHeader__886 t32; - struct array_hash_map_Index_28u16_29__7101 t34; - struct array_hash_map_Index_28u16_29__7101 t33; - uint16_t t37; - uint16_t t53; - uint16_t t27; - uint16_t t56; - bool t30; - bool t50; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t7); - t11 = t10; - t12 = (nav__9646_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t7); - t14 = t13; - t15 = (nav__9646_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t7); - t17 = t16; - t18 = (nav__9646_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t19); - t21 = t20; - t22 = (nav__9646_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT16_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9651( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + nav__9651_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t9; + nav__9651_66 t10; + nav__9651_66 t11; + nav__9651_66 const *t12; + nav__9651_69 t13; + nav__9651_69 t14; + nav__9651_69 const *t15; + nav__9651_72 t16; + nav__9651_72 t17; + nav__9651_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__9651_77 t20; + nav__9651_77 t55; + nav__9651_77 t21; + nav__9651_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t54; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u16_29__7123 *t35; + uint16_t *t36; + uint32_t *const *t38; + uint32_t *t39; + bool *t41; + nav__9651_42 **t42; + nav__9651_42 *const *t43; + nav__9651_42 *t44; + struct environment_linked_libraries_root_LibraryEntry__858 **t45; + struct environment_linked_libraries_root_LibraryEntry__858 *const *t46; + struct environment_linked_libraries_root_LibraryEntry__858 *t47; + uintptr_t *t48; + nav__9651_42 t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t40; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t52; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t57; + uint32_t t23; + uint32_t t49; + struct array_hash_map_IndexHeader__886 t32; + struct array_hash_map_Index_28u16_29__7123 t34; + struct array_hash_map_Index_28u16_29__7123 t33; + uint16_t t37; + uint16_t t53; + uint16_t t27; + uint16_t t56; + bool t30; + bool t50; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t7); + t11 = t10; + t12 = (nav__9651_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t7); + t14 = t13; + t15 = (nav__9651_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t7); + t17 = t16; + t18 = (nav__9651_72 const *)&t17; t19 = (*t3); - t32 = (*t19); + t20 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t19); + t21 = t20; + t22 = (nav__9651_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT16_C(0); +zig_loop_55: t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u16_29_isEmpty__8825(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint16_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint16_t *)&t35->entry_index; - t37 = (uint16_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t25]; - (*t39) = t23; - t41 = (bool *)&t40.found_existing; - (*t41) = false; - t42 = (nav__9646_42 **)&t40.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__9646_42 *)&t44[t25]; - (*t42) = t44; - t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t40.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t47[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t40.index; - (*t48) = t25; - return t40; - } - goto zig_block_2; - - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t49 = t10.ptr[t24]; - t30 = t23 == t49; - if (t30) { - t24 = (uintptr_t)t37; - t51 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t51, t24); - t50 = t30; - goto zig_block_4; - } - t50 = false; - goto zig_block_4; - - zig_block_4:; - if (t50) { - t41 = (bool *)&t52.found_existing; - (*t41) = true; - t42 = (nav__9646_42 **)&t52.key_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t13 = (*t15); - t44 = &t13.ptr[t25]; - (*t42) = t44; - t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t52.value_ptr; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - t16 = (*t18); - t47 = &t16.ptr[t25]; - (*t45) = t47; - t48 = (uintptr_t *)&t52.index; - t34 = t33; - t37 = t34.entry_index; - t25 = (uintptr_t)t37; - (*t48) = t25; - return t52; - } - goto zig_block_3; - - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t53 = t27; - t30 = t37 < t53; + t28 = t24; + t29 = t25; + t30 = t28 != t29; if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t5); - t38 = &t12->ptr; - t39 = (*t38); - t39 = (uint32_t *)&t39[t24]; - (*t39) = t23; - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint16_t *)&t35->entry_index; - t53 = (uint16_t)t24; - (*t36) = t53; - t36 = (uint16_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t34 = t33; - t53 = t34.distance_from_start_index; - t27 = t53; - t34 = t33; - t53 = t34.entry_index; - t56 = t53; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - zig_loop_200: - t54 = t26; - t29 = t54; - t28 = t25; - t30 = t29 != t28; - if (t30) { t19 = (*t3); t32 = (*t19); - t54 = t26; - t54 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t54); - t31 = t54; - t54 = t31; - t34 = t20.ptr[t54]; + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; t33 = t34; t34 = t33; - t30 = array_hash_map_Index_28u16_29_isEmpty__8825(t34); + t30 = array_hash_map_Index_28u16_29_isEmpty__8830(t34); if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint16_t *)&t35->entry_index; - t53 = t56; - (*t36) = t53; - t36 = (uint16_t *)&t35->distance_from_start_index; - t53 = t27; - (*t36) = t53; - t41 = (bool *)&t57.found_existing; - (*t41) = false; - t42 = (nav__9646_42 **)&t57.key_ptr; - t43 = &t15->ptr; - t44 = (*t43); - t44 = (nav__9646_42 *)&t44[t24]; - (*t42) = t44; - t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t57.value_ptr; - t46 = &t18->ptr; - t47 = (*t46); - t47 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t47[t24]; - (*t45) = t47; - t48 = (uintptr_t *)&t57.index; - (*t48) = t24; - return t57; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint16_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint16_t *)&t35->entry_index; + t37 = (uint16_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t25]; + (*t39) = t23; + t41 = (bool *)&t40.found_existing; + (*t41) = false; + t42 = (nav__9651_42 **)&t40.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__9651_42 *)&t44[t25]; + (*t42) = t44; + t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t40 + .value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)&t47[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t40.index; + (*t48) = t25; + return t40; } - goto zig_block_8; + goto zig_block_2; - zig_block_8:; + zig_block_2:; t34 = t33; - t53 = t34.distance_from_start_index; - t37 = t27; - t30 = t53 < t37; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t49 = t10.ptr[t24]; + t30 = t23 == t49; if (t30) { - t54 = t31; - t55 = (*t22); - t35 = &t55.ptr[t54]; - t36 = (uint16_t *)&t35->entry_index; - t37 = t56; - (*t36) = t37; - t36 = (uint16_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t34 = t33; - t37 = t34.entry_index; - t56 = t37; - t34 = t33; - t37 = t34.distance_from_start_index; - t27 = t37; - goto zig_block_9; + t24 = (uintptr_t)t37; + t51 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t51, t24); + t50 = t30; + goto zig_block_4; } - goto zig_block_9; + t50 = false; + goto zig_block_4; + + zig_block_4:; + if (t50) { + t41 = (bool *)&t52.found_existing; + (*t41) = true; + t42 = (nav__9651_42 **)&t52.key_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t13 = (*t15); + t44 = &t13.ptr[t25]; + (*t42) = t44; + t45 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t52 + .value_ptr; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + t16 = (*t18); + t47 = &t16.ptr[t25]; + (*t45) = t47; + t48 = (uintptr_t *)&t52.index; + t34 = t33; + t37 = t34.entry_index; + t25 = (uintptr_t)t37; + (*t48) = t25; + return t52; + } + goto zig_block_3; + + zig_block_3:; + t34 = t33; + t37 = t34.distance_from_start_index; + t53 = t27; + t30 = t37 < t53; + if (t30) { + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t5); + t38 = &t12->ptr; + t39 = (*t38); + t39 = (uint32_t *)&t39[t24]; + (*t39) = t23; + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint16_t *)&t35->entry_index; + t53 = (uint16_t)t24; + (*t36) = t53; + t36 = (uint16_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t34 = t33; + t53 = t34.distance_from_start_index; + t27 = t53; + t34 = t33; + t53 = t34.entry_index; + t56 = t53; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + zig_loop_200: + t54 = t26; + t29 = t54; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t54 = t26; + t54 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t54); + t31 = t54; + t54 = t31; + t34 = t20.ptr[t54]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u16_29_isEmpty__8830(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint16_t *)&t35->entry_index; + t53 = t56; + (*t36) = t53; + t36 = (uint16_t *)&t35->distance_from_start_index; + t53 = t27; + (*t36) = t53; + t41 = (bool *)&t57.found_existing; + (*t41) = false; + t42 = (nav__9651_42 **)&t57.key_ptr; + t43 = &t15->ptr; + t44 = (*t43); + t44 = (nav__9651_42 *)&t44[t24]; + (*t42) = t44; + t45 = (struct environment_linked_libraries_root_LibraryEntry__858 * + *)&t57.value_ptr; + t46 = &t18->ptr; + t47 = (*t46); + t47 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)&t47[t24]; + (*t45) = t47; + t48 = (uintptr_t *)&t57.index; + (*t48) = t24; + return t57; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t53 = t34.distance_from_start_index; + t37 = t27; + t30 = t53 < t37; + if (t30) { + t54 = t31; + t55 = (*t22); + t35 = &t55.ptr[t54]; + t36 = (uint16_t *)&t35->entry_index; + t37 = t56; + (*t36) = t37; + t36 = (uint16_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t34 = t33; + t37 = t34.entry_index; + t56 = t37; + t34 = t33; + t37 = t34.distance_from_start_index; + t27 = t37; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t54 = t26; + t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); + t26 = t54; + t53 = t27; + t53 = t53 + UINT16_C(1); + t27 = t53; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); + } + goto zig_block_5; - zig_block_9:; + zig_block_5:; t54 = t26; t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); t26 = t54; t53 = t27; t53 = t53 + UINT16_C(1); t27 = t53; - goto zig_block_7; - } - goto zig_block_6; + goto zig_block_1; + } + goto zig_block_0; - zig_block_7:; - goto zig_loop_200; +zig_block_1:; + goto zig_loop_55; - zig_block_6:; - zig_unreachable(); - } - goto zig_block_5; +zig_block_0:; + zig_unreachable(); +} - zig_block_5:; - t54 = t26; - t54 = zig_addw_u64(t54, (uintptr_t)1ul, UINT8_C(64)); - t26 = t54; - t53 = t27; - t53 = t53 + UINT16_C(1); - t27 = t53; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9647(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, nav__9647_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t9; - nav__9647_66 t10; - nav__9647_66 t11; - nav__9647_66 const *t12; - nav__9647_69 t13; - nav__9647_69 t14; - nav__9647_69 const *t15; - nav__9647_72 t16; - nav__9647_72 t17; - nav__9647_72 const *t18; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - nav__9647_77 t20; - nav__9647_77 t53; - nav__9647_77 t21; - nav__9647_77 const *t22; - uintptr_t t24; - uintptr_t t25; - uintptr_t t52; - uintptr_t t26; - uintptr_t t31; - uint64_t t28; - uint64_t t29; - struct array_hash_map_Index_28u32_29__7105 *t35; - uint32_t *t36; - uint32_t *const *t38; - bool *t40; - nav__9647_42 **t41; - nav__9647_42 *const *t42; - nav__9647_42 *t43; - struct environment_linked_libraries_root_LibraryEntry__858 **t44; - struct environment_linked_libraries_root_LibraryEntry__858 *const *t45; - struct environment_linked_libraries_root_LibraryEntry__858 *t46; - uintptr_t *t47; - nav__9647_42 t50; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t39; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t51; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8426 t55; - uint32_t t23; - uint32_t t37; - uint32_t t48; - uint32_t t27; - uint32_t t54; - struct array_hash_map_IndexHeader__886 t32; - struct array_hash_map_Index_28u32_29__7105 t34; - struct array_hash_map_Index_28u32_29__7105 t33; - bool t30; - bool t49; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t7); - t11 = t10; - t12 = (nav__9647_66 const *)&t11; - t7 = (*t9); - t13 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t7); - t14 = t13; - t15 = (nav__9647_69 const *)&t14; - t7 = (*t9); - t16 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8740(t7); - t17 = t16; - t18 = (nav__9647_72 const *)&t17; - t19 = (*t3); - t20 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t19); - t21 = t20; - t22 = (nav__9647_77 const *)&t21; - t23 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t24 = array_hash_map_safeTruncate__anon_8132__8934(t23); - t25 = t20.len; - t25 = zig_addw_u64(t24, t25, UINT8_C(64)); - t26 = t24; - t27 = UINT32_C(0); - zig_loop_55: - t24 = t26; - t28 = t24; - t29 = t25; - t30 = t28 != t29; - if (t30) { +static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9652( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + nav__9652_42 const a1, struct array_hash_map_IndexHeader__886 *const a2) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t9; + nav__9652_66 t10; + nav__9652_66 t11; + nav__9652_66 const *t12; + nav__9652_69 t13; + nav__9652_69 t14; + nav__9652_69 const *t15; + nav__9652_72 t16; + nav__9652_72 t17; + nav__9652_72 const *t18; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + nav__9652_77 t20; + nav__9652_77 t53; + nav__9652_77 t21; + nav__9652_77 const *t22; + uintptr_t t24; + uintptr_t t25; + uintptr_t t52; + uintptr_t t26; + uintptr_t t31; + uint64_t t28; + uint64_t t29; + struct array_hash_map_Index_28u32_29__7127 *t35; + uint32_t *t36; + uint32_t *const *t38; + bool *t40; + nav__9652_42 **t41; + nav__9652_42 *const *t42; + nav__9652_42 *t43; + struct environment_linked_libraries_root_LibraryEntry__858 **t44; + struct environment_linked_libraries_root_LibraryEntry__858 *const *t45; + struct environment_linked_libraries_root_LibraryEntry__858 *t46; + uintptr_t *t47; + nav__9652_42 t50; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t39; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t51; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_GetOrPutResult__8453 + t55; + uint32_t t23; + uint32_t t37; + uint32_t t48; + uint32_t t27; + uint32_t t54; + struct array_hash_map_IndexHeader__886 t32; + struct array_hash_map_Index_28u32_29__7127 t34; + struct array_hash_map_Index_28u32_29__7127 t33; + bool t30; + bool t49; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t7); + t11 = t10; + t12 = (nav__9652_66 const *)&t11; + t7 = (*t9); + t13 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t7); + t14 = t13; + t15 = (nav__9652_69 const *)&t14; + t7 = (*t9); + t16 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8745( + t7); + t17 = t16; + t18 = (nav__9652_72 const *)&t17; t19 = (*t3); - t32 = (*t19); + t20 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t19); + t21 = t20; + t22 = (nav__9652_77 const *)&t21; + t23 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t24 = array_hash_map_safeTruncate__anon_8158__8939(t23); + t25 = t20.len; + t25 = zig_addw_u64(t24, t25, UINT8_C(64)); + t26 = t24; + t27 = UINT32_C(0); +zig_loop_55: t24 = t26; - t24 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t24); - t31 = t24; - t24 = t31; - t34 = t20.ptr[t24]; - t33 = t34; - t34 = t33; - t30 = array_hash_map_Index_28u32_29_isEmpty__8830(t34); - if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t25 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t5); - t24 = t31; - t20 = (*t22); - t35 = &t20.ptr[t24]; - t36 = (uint32_t *)&t35->distance_from_start_index; - t37 = t27; - (*t36) = t37; - t36 = (uint32_t *)&t35->entry_index; - t37 = (uint32_t)t25; - (*t36) = t37; - t38 = &t12->ptr; - t36 = (*t38); - t36 = (uint32_t *)&t36[t25]; - (*t36) = t23; - t40 = (bool *)&t39.found_existing; - (*t40) = false; - t41 = (nav__9647_42 **)&t39.key_ptr; - t42 = &t15->ptr; - t43 = (*t42); - t43 = (nav__9647_42 *)&t43[t25]; - (*t41) = t43; - t44 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t39.value_ptr; - t45 = &t18->ptr; - t46 = (*t45); - t46 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t46[t25]; - (*t44) = t46; - t47 = (uintptr_t *)&t39.index; - (*t47) = t25; - return t39; - } - goto zig_block_2; - - zig_block_2:; - t34 = t33; - t37 = t34.entry_index; - t24 = (uintptr_t)t37; - t48 = t10.ptr[t24]; - t30 = t23 == t48; - if (t30) { - t24 = (uintptr_t)t37; - t50 = t13.ptr[t24]; - t24 = (uintptr_t)t37; - t30 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t50, t24); - t49 = t30; - goto zig_block_4; - } - t49 = false; - goto zig_block_4; - - zig_block_4:; - if (t49) { - t40 = (bool *)&t51.found_existing; - (*t40) = true; - t41 = (nav__9647_42 **)&t51.key_ptr; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - t13 = (*t15); - t43 = &t13.ptr[t25]; - (*t41) = t43; - t44 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t51.value_ptr; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - t16 = (*t18); - t46 = &t16.ptr[t25]; - (*t44) = t46; - t47 = (uintptr_t *)&t51.index; - t34 = t33; - t23 = t34.entry_index; - t25 = (uintptr_t)t23; - (*t47) = t25; - return t51; - } - goto zig_block_3; - - zig_block_3:; - t34 = t33; - t37 = t34.distance_from_start_index; - t48 = t27; - t30 = t37 < t48; + t28 = t24; + t29 = t25; + t30 = t28 != t29; if (t30) { - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t24 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4303(t5); - t38 = &t12->ptr; - t36 = (*t38); - t36 = (uint32_t *)&t36[t24]; - (*t36) = t23; - t52 = t31; - t53 = (*t22); - t35 = &t53.ptr[t52]; - t36 = (uint32_t *)&t35->entry_index; - t23 = (uint32_t)t24; - (*t36) = t23; - t36 = (uint32_t *)&t35->distance_from_start_index; - t23 = t27; - (*t36) = t23; - t34 = t33; - t23 = t34.distance_from_start_index; - t27 = t23; - t34 = t33; - t23 = t34.entry_index; - t54 = t23; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t23 = t27; - t23 = t23 + UINT32_C(1); - t27 = t23; - zig_loop_200: - t52 = t26; - t29 = t52; - t28 = t25; - t30 = t29 != t28; - if (t30) { t19 = (*t3); t32 = (*t19); - t52 = t26; - t52 = array_hash_map_IndexHeader_constrainIndex__3957(t32, t52); - t31 = t52; - t52 = t31; - t34 = t20.ptr[t52]; + t24 = t26; + t24 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t24); + t31 = t24; + t24 = t31; + t34 = t20.ptr[t24]; t33 = t34; t34 = t33; - t30 = array_hash_map_Index_28u32_29_isEmpty__8830(t34); + t30 = array_hash_map_Index_28u32_29_isEmpty__8835(t34); if (t30) { - t25 = t31; - t20 = (*t22); - t35 = &t20.ptr[t25]; - t36 = (uint32_t *)&t35->entry_index; - t23 = t54; - (*t36) = t23; - t36 = (uint32_t *)&t35->distance_from_start_index; - t23 = t27; - (*t36) = t23; - t40 = (bool *)&t55.found_existing; - (*t40) = false; - t41 = (nav__9647_42 **)&t55.key_ptr; - t42 = &t15->ptr; - t43 = (*t42); - t43 = (nav__9647_42 *)&t43[t24]; - (*t41) = t43; - t44 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t55.value_ptr; - t45 = &t18->ptr; - t46 = (*t45); - t46 = (struct environment_linked_libraries_root_LibraryEntry__858 *)&t46[t24]; - (*t44) = t46; - t47 = (uintptr_t *)&t55.index; - (*t47) = t24; - return t55; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t25 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t5); + t24 = t31; + t20 = (*t22); + t35 = &t20.ptr[t24]; + t36 = (uint32_t *)&t35->distance_from_start_index; + t37 = t27; + (*t36) = t37; + t36 = (uint32_t *)&t35->entry_index; + t37 = (uint32_t)t25; + (*t36) = t37; + t38 = &t12->ptr; + t36 = (*t38); + t36 = (uint32_t *)&t36[t25]; + (*t36) = t23; + t40 = (bool *)&t39.found_existing; + (*t40) = false; + t41 = (nav__9652_42 **)&t39.key_ptr; + t42 = &t15->ptr; + t43 = (*t42); + t43 = (nav__9652_42 *)&t43[t25]; + (*t41) = t43; + t44 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t39 + .value_ptr; + t45 = &t18->ptr; + t46 = (*t45); + t46 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)&t46[t25]; + (*t44) = t46; + t47 = (uintptr_t *)&t39.index; + (*t47) = t25; + return t39; } - goto zig_block_8; + goto zig_block_2; + + zig_block_2:; + t34 = t33; + t37 = t34.entry_index; + t24 = (uintptr_t)t37; + t48 = t10.ptr[t24]; + t30 = t23 == t48; + if (t30) { + t24 = (uintptr_t)t37; + t50 = t13.ptr[t24]; + t24 = (uintptr_t)t37; + t30 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t50, t24); + t49 = t30; + goto zig_block_4; + } + t49 = false; + goto zig_block_4; - zig_block_8:; + zig_block_4:; + if (t49) { + t40 = (bool *)&t51.found_existing; + (*t40) = true; + t41 = (nav__9652_42 **)&t51.key_ptr; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + t13 = (*t15); + t43 = &t13.ptr[t25]; + (*t41) = t43; + t44 = (struct environment_linked_libraries_root_LibraryEntry__858 **)&t51 + .value_ptr; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + t16 = (*t18); + t46 = &t16.ptr[t25]; + (*t44) = t46; + t47 = (uintptr_t *)&t51.index; + t34 = t33; + t23 = t34.entry_index; + t25 = (uintptr_t)t23; + (*t47) = t25; + return t51; + } + goto zig_block_3; + + zig_block_3:; t34 = t33; - t23 = t34.distance_from_start_index; + t37 = t34.distance_from_start_index; t48 = t27; - t30 = t23 < t48; + t30 = t37 < t48; if (t30) { - t52 = t31; - t53 = (*t22); - t35 = &t53.ptr[t52]; - t36 = (uint32_t *)&t35->entry_index; - t48 = t54; - (*t36) = t48; - t36 = (uint32_t *)&t35->distance_from_start_index; - t48 = t27; - (*t36) = t48; - t34 = t33; - t48 = t34.entry_index; - t54 = t48; - t34 = t33; - t48 = t34.distance_from_start_index; - t27 = t48; - goto zig_block_9; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t24 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4304( + t5); + t38 = &t12->ptr; + t36 = (*t38); + t36 = (uint32_t *)&t36[t24]; + (*t36) = t23; + t52 = t31; + t53 = (*t22); + t35 = &t53.ptr[t52]; + t36 = (uint32_t *)&t35->entry_index; + t23 = (uint32_t)t24; + (*t36) = t23; + t36 = (uint32_t *)&t35->distance_from_start_index; + t23 = t27; + (*t36) = t23; + t34 = t33; + t23 = t34.distance_from_start_index; + t27 = t23; + t34 = t33; + t23 = t34.entry_index; + t54 = t23; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t23 = t27; + t23 = t23 + UINT32_C(1); + t27 = t23; + zig_loop_200: + t52 = t26; + t29 = t52; + t28 = t25; + t30 = t29 != t28; + if (t30) { + t19 = (*t3); + t32 = (*t19); + t52 = t26; + t52 = array_hash_map_IndexHeader_constrainIndex__3958(t32, t52); + t31 = t52; + t52 = t31; + t34 = t20.ptr[t52]; + t33 = t34; + t34 = t33; + t30 = array_hash_map_Index_28u32_29_isEmpty__8835(t34); + if (t30) { + t25 = t31; + t20 = (*t22); + t35 = &t20.ptr[t25]; + t36 = (uint32_t *)&t35->entry_index; + t23 = t54; + (*t36) = t23; + t36 = (uint32_t *)&t35->distance_from_start_index; + t23 = t27; + (*t36) = t23; + t40 = (bool *)&t55.found_existing; + (*t40) = false; + t41 = (nav__9652_42 **)&t55.key_ptr; + t42 = &t15->ptr; + t43 = (*t42); + t43 = (nav__9652_42 *)&t43[t24]; + (*t41) = t43; + t44 = (struct environment_linked_libraries_root_LibraryEntry__858 * + *)&t55.value_ptr; + t45 = &t18->ptr; + t46 = (*t45); + t46 = (struct environment_linked_libraries_root_LibraryEntry__858 + *)&t46[t24]; + (*t44) = t46; + t47 = (uintptr_t *)&t55.index; + (*t47) = t24; + return t55; + } + goto zig_block_8; + + zig_block_8:; + t34 = t33; + t23 = t34.distance_from_start_index; + t48 = t27; + t30 = t23 < t48; + if (t30) { + t52 = t31; + t53 = (*t22); + t35 = &t53.ptr[t52]; + t36 = (uint32_t *)&t35->entry_index; + t48 = t54; + (*t36) = t48; + t36 = (uint32_t *)&t35->distance_from_start_index; + t48 = t27; + (*t36) = t48; + t34 = t33; + t48 = t34.entry_index; + t54 = t48; + t34 = t33; + t48 = t34.distance_from_start_index; + t27 = t48; + goto zig_block_9; + } + goto zig_block_9; + + zig_block_9:; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t23 = t27; + t23 = t23 + UINT32_C(1); + t27 = t23; + goto zig_block_7; + } + goto zig_block_6; + + zig_block_7:; + goto zig_loop_200; + + zig_block_6:; + zig_unreachable(); } - goto zig_block_9; + goto zig_block_5; + + zig_block_5:; + t52 = t26; + t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); + t26 = t52; + t37 = t27; + t37 = t37 + UINT32_C(1); + t27 = t37; + goto zig_block_1; + } + goto zig_block_0; - zig_block_9:; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t23 = t27; - t23 = t23 + UINT32_C(1); - t27 = t23; - goto zig_block_7; - } - goto zig_block_6; +zig_block_1:; + goto zig_loop_55; - zig_block_7:; - goto zig_loop_200; +zig_block_0:; + zig_unreachable(); +} - zig_block_6:; - zig_unreachable(); +static nav__9554_38 +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const + *t0; + t0 = a0; + return (nav__9554_38){true, false}; +} + +static bool +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9555( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 const *const + a0) { + uintptr_t const *t0; + uintptr_t t1; + uint64_t t2; + uint8_t const *t5; + bool t3; + bool t4; + uint8_t t6; + t0 = (uintptr_t const *)&a0->indent_level; + t1 = (*t0); + t2 = t1; + t3 = t2 == UINT64_C(0); + if (t3) { + t5 = (uint8_t const *)&a0->next_punctuation; + t6 = (*t5); + t3 = t6 == UINT8_C(2); + t4 = t3; + goto zig_block_0; } - goto zig_block_5; - - zig_block_5:; - t52 = t26; - t52 = zig_addw_u64(t52, (uintptr_t)1ul, UINT8_C(64)); - t26 = t52; - t37 = t27; - t37 = t37 + UINT32_C(1); - t27 = t37; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_55; - - zig_block_0:; - zig_unreachable(); -} - -static nav__9549_38 json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *t0; - t0 = a0; - return (nav__9549_38){true,false}; -} - -static bool json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 const *const a0) { - uintptr_t const *t0; - uintptr_t t1; - uint64_t t2; - uint8_t const *t5; - bool t3; - bool t4; - uint8_t t6; - t0 = (uintptr_t const *)&a0->indent_level; - t1 = (*t0); - t2 = t1; - t3 = t2 == UINT64_C(0); - if (t3) { - t5 = (uint8_t const *)&a0->next_punctuation; - t6 = (*t5); - t3 = t6 == UINT8_C(2); - t4 = t3; + t4 = false; goto zig_block_0; - } - t4 = false; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static uint16_t io_Writer_writeByte__8276(struct io_Writer__4338 const a0, uint8_t const a1) { - struct io_Writer__4338 const *t1; - uint8_t const (*t4)[1]; - struct io_Writer__4338 t5; - struct io_Writer__4338 t0; - nav__8276_43 t6; - uint16_t t7; - uint8_t t2[1]; - uint8_t t3[1]; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t2[0] = a1; - memcpy((char *)&t3, t2, sizeof(uint8_t[1])); - t4 = (uint8_t const (*)[1])&t3; - t5 = (*t1); - t6.ptr = &(*t4)[(uintptr_t)0ul]; - t6.len = (uintptr_t)1ul; - t7 = io_Writer_writeAll__8274(t5, t6); - return t7; -} - -static uint16_t io_Writer_writeByteNTimes__8277(struct io_Writer__4338 const a0, uint8_t const a1, uintptr_t const a2) { - struct io_Writer__4338 const *t1; - uint8_t *t3; - uint8_t (*t4)[256]; - uintptr_t t6; - uintptr_t t14; - uintptr_t t5; - uint64_t t7; - struct io_Writer__4338 t10; - struct io_Writer__4338 t0; - nav__8277_52 t11; - nav__8277_43 t12; - uint16_t t9; - uint16_t t13; - bool t8; - uint8_t t2[256]; - t0 = a0; - t1 = (struct io_Writer__4338 const *)&t0; - t3 = (uint8_t *)&t2; - t3 = (uint8_t *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(uint8_t))); - t4 = (uint8_t (*)[256])t3; - memset(t4, a1, 256); - t5 = a2; - zig_loop_15: - t6 = t5; - t7 = t6; - t8 = t7 > UINT64_C(0); - if (t8) { - t6 = t5; - t6 = ((uintptr_t)256ul < t6) ? (uintptr_t)256ul : t6; - t9 = (uint16_t)t6; - t10 = (*t1); + +zig_block_0:; + return t4; +} + +static uint16_t io_Writer_writeByte__8279(struct io_Writer__4352 const a0, + uint8_t const a1) { + struct io_Writer__4352 const *t1; + uint8_t const(*t4)[1]; + struct io_Writer__4352 t5; + struct io_Writer__4352 t0; + nav__8279_43 t6; + uint16_t t7; + uint8_t t2[1]; + uint8_t t3[1]; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; + t2[0] = a1; + memcpy((char *)&t3, t2, sizeof(uint8_t[1])); + t4 = (uint8_t const(*)[1]) & t3; + t5 = (*t1); + t6.ptr = &(*t4)[(uintptr_t)0ul]; + t6.len = (uintptr_t)1ul; + t7 = io_Writer_writeAll__8277(t5, t6); + return t7; +} + +static uint16_t io_Writer_writeByteNTimes__8280(struct io_Writer__4352 const a0, + uint8_t const a1, + uintptr_t const a2) { + struct io_Writer__4352 const *t1; + uint8_t *t3; + uint8_t (*t4)[256]; + uintptr_t t6; + uintptr_t t14; + uintptr_t t5; + uint64_t t7; + struct io_Writer__4352 t10; + struct io_Writer__4352 t0; + nav__8280_52 t11; + nav__8280_43 t12; + uint16_t t9; + uint16_t t13; + bool t8; + uint8_t t2[256]; + t0 = a0; + t1 = (struct io_Writer__4352 const *)&t0; t3 = (uint8_t *)&t2; - t3 = (uint8_t *)(((uintptr_t)t3) + ((uintptr_t)0ul*sizeof(uint8_t))); - t6 = (uintptr_t)t9; - t11.ptr = t3; - t11.len = t6; - memcpy(&t12, &t11, sizeof(nav__8277_43)); - t13 = io_Writer_writeAll__8274(t10, t12); - if (t13) { - return t13; - } + t3 = (uint8_t *)(((uintptr_t)t3) + ((uintptr_t)0ul * sizeof(uint8_t))); + t4 = (uint8_t (*)[256])t3; + memset(t4, a1, 256); + t5 = a2; +zig_loop_15: t6 = t5; - t14 = (uintptr_t)t9; - t14 = t6 - t14; - t5 = t14; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_15; - - zig_block_0:; - return 0; -} - -static uint16_t json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_jsonStringify__anon_9708__9669(struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const a0, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a1) { - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t4; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *t7; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 t8; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 t9; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6539 t6; - nav__9669_65 t10; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6547 t12; - nav__9669_56 *t13; - nav__9669_56 t14; - struct environment_root_EnvironmentValue__850 *t15; - struct environment_root_EnvironmentValue__850 t16; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 t0; - uint16_t t5; - bool t11; - t0 = a0; - t1 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const *)&t0; - t2 = a1; - t3 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t2; - t4 = (*t3); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(t4); - if (t5) { - return t5; - } - t7 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const *)&t1->map; - t8 = (*t7); - t9 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3997(t8); - t6 = t9; - zig_loop_22: - t10 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8703(&t6); - t11 = t10.is_null != true; - if (t11) { - t12 = t10.payload; + t7 = t6; + t8 = t7 > UINT64_C(0); + if (t8) { + t6 = t5; + t6 = ((uintptr_t)256ul < t6) ? (uintptr_t)256ul : t6; + t9 = (uint16_t)t6; + t10 = (*t1); + t3 = (uint8_t *)&t2; + t3 = (uint8_t *)(((uintptr_t)t3) + ((uintptr_t)0ul * sizeof(uint8_t))); + t6 = (uintptr_t)t9; + t11.ptr = t3; + t11.len = t6; + memcpy(&t12, &t11, sizeof(nav__8280_43)); + t13 = io_Writer_writeAll__8277(t10, t12); + if (t13) { + return t13; + } + t6 = t5; + t14 = (uintptr_t)t9; + t14 = t6 - t14; + t5 = t14; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_15; + +zig_block_0:; + return 0; +} + +static uint16_t +json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_jsonStringify__anon_9735__9674( + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const + a0, + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a1) { + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t4; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *t7; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 + t8; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + t9; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Iterator__6561 + t6; + nav__9674_65 t10; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29_Entry__6569 + t12; + nav__9674_56 *t13; + nav__9674_56 t14; + struct environment_root_EnvironmentValue__850 *t15; + struct environment_root_EnvironmentValue__850 t16; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + t0; + uint16_t t5; + bool t11; + t0 = a0; + t1 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const + *)&t0; + t2 = a1; + t3 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t2; t4 = (*t3); - t13 = t12.key_ptr; - t14 = (*t13); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t4, t14); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + t4); if (t5) { - return t5; + return t5; + } + t7 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + *)&t1->map; + t8 = (*t7); + t9 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3998( + t8); + t6 = t9; +zig_loop_22: + t10 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__8708( + &t6); + t11 = t10.is_null != true; + if (t11) { + t12 = t10.payload; + t4 = (*t3); + t13 = t12.key_ptr; + t14 = (*t13); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t4, t14); + if (t5) { + return t5; + } + t4 = (*t3); + t15 = t12.value_ptr; + t16 = (*t15); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9675( + t4, t16); + if (t5) { + return t5; + } + goto zig_block_1; } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_22; + +zig_block_0:; t4 = (*t3); - t15 = t12.value_ptr; - t16 = (*t15); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9670(t4, t16); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + t4); if (t5) { - return t5; + return t5; } - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_22; + return 0; +} - zig_block_0:; - t4 = (*t3); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(t4); - if (t5) { +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9663( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const + a1) { + struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const + *t2; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + t3; + struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 + t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint16_t t4; + uint16_t t5; + t0 = a0; + t1 = a1; + t2 = + (struct + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const + *)&t1; + t3 = (*t2); + t4 = + json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_jsonStringify__anon_9735__9674( + t3, a0); + memcpy(&t5, &t4, sizeof(uint16_t)); return t5; - } - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9658(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const a1) { - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const *t2; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 t3; - struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint16_t t4; - uint16_t t5; - t0 = a0; - t1 = a1; - t2 = (struct json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29__852 const *)&t1; - t3 = (*t2); - t4 = json_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_jsonStringify__anon_9708__9669(t3, a0); - memcpy(&t5, &t4, sizeof(uint16_t)); - return t5; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9660(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, struct environment_linked_libraries_root_LibraryEntry__858 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - nav__9660_43 t7; - struct json_stringify_StringifyOptions__8484 *t9; - struct environment_linked_libraries_root_LibraryEntry__858 t2; - uint16_t t4; - bool t6; - bool t5; - bool t8; - struct json_stringify_StringifyOptions__8484 t10; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a1; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9539(t3); - if (t4) { - return t4; - } - t5 = true; - t6 = t5; - if (t6) { +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9665( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + struct environment_linked_libraries_root_LibraryEntry__858 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + nav__9665_43 t7; + struct json_stringify_StringifyOptions__8511 *t9; + struct environment_linked_libraries_root_LibraryEntry__858 t2; + uint16_t t4; + bool t6; + bool t5; + bool t8; + struct json_stringify_StringifyOptions__8511 t10; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a1; t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t3, (nav__9660_43){((uint8_t const *)&__anon_9716),(uintptr_t)4ul}); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544( + t3); if (t4) { - return t4; + return t4; } - t3 = (*t1); - t7 = a1.path; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9671(t3, t7); - if (t4) { - return t4; + t5 = true; + t6 = t5; + if (t6) { + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t3, + (nav__9665_43){((uint8_t const *)&__anon_9743), (uintptr_t)4ul}); + if (t4) { + return t4; + } + t3 = (*t1); + t7 = a1.path; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676( + t3, t7); + if (t4) { + return t4; + } + goto zig_block_0; } goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t8 = true; - t9 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t10 = (*t9); - t6 = t10.emit_null_optional_fields; - t6 = !t6; - if (t6) { - t7 = a1.build_id; - t6 = t7.ptr == NULL; + +zig_block_0:; + t8 = true; + t9 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t10 = (*t9); + t6 = t10.emit_null_optional_fields; + t6 = !t6; if (t6) { - t8 = false; - goto zig_block_2; - } - goto zig_block_2; + t7 = a1.build_id; + t6 = t7.ptr == NULL; + if (t6) { + t8 = false; + goto zig_block_2; + } + goto zig_block_2; zig_block_2:; + goto zig_block_1; + } goto zig_block_1; - } - goto zig_block_1; - zig_block_1:; - t6 = t8; - if (t6) { - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9554(t3, (nav__9660_43){((uint8_t const *)&__anon_9720),(uintptr_t)8ul}); - if (t4) { - return t4; +zig_block_1:; + t6 = t8; + if (t6) { + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559( + t3, + (nav__9665_43){((uint8_t const *)&__anon_9747), (uintptr_t)8ul}); + if (t4) { + return t4; + } + t3 = (*t1); + t7 = a1.build_id; + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9677( + t3, t7); + if (t4) { + return t4; + } + goto zig_block_3; } + goto zig_block_3; + +zig_block_3:; t3 = (*t1); - t7 = a1.build_id; - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9672(t3, t7); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9546( + t3); if (t4) { - return t4; + return t4; } - goto zig_block_3; - } - goto zig_block_3; + return 0; +} - zig_block_3:; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9541(t3); - if (t4) { - return t4; - } - return 0; -} - -static void json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, uint8_t const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uintptr_t *t3; - uintptr_t t4; - (void)a1; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = (uintptr_t *)&t2->indent_level; - t4 = (*t3); - t4 = t4 - (uintptr_t)1ul; - (*t3) = t4; - return; -} - -static void json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint8_t *t3; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = (uint8_t *)&t2->next_punctuation; - (*t3) = UINT8_C(2); - return; -} - -static nav__9661_40 mem_Allocator_remap__anon_9642__9661(struct mem_Allocator__599 const a0, nav__9661_40 const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - nav__9661_40 const *t3; - uint64_t t4; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t18; - nav__9661_40 t7; - nav__9661_40 t10; - nav__9661_40 t2; - struct environment_linked_libraries_root_LibraryInfo__940 *t8; - void *t9; - uintptr_t t11; - uintptr_t t14; - nav__9661_56 t12; - nav__9661_56 t16; - nav__9661_58 t13; - uint8_t *t15; - uint8_t *t23; - uint8_t *t24; - uint8_t *t25; - struct mem_Allocator_VTable__602 const *const *t19; - struct mem_Allocator_VTable__602 const *t20; - uint8_t *(*const *t21)(void *, nav__9661_56, uint8_t, uintptr_t, uintptr_t); - uint8_t *(*t22)(void *, nav__9661_56, uint8_t, uintptr_t, uintptr_t); - uint8_t *const *t26; - bool t5; - uint8_t t17; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = a1; - t3 = (nav__9661_40 const *)&t2; - t4 = a2; - t5 = t4 == UINT64_C(0); - if (t5) { +static void +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + uint8_t const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uintptr_t *t3; + uintptr_t t4; + (void)a1; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = (uintptr_t *)&t2->indent_level; + t4 = (*t3); + t4 = t4 - (uintptr_t)1ul; + (*t3) = t4; + return; +} + +static void +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint8_t *t3; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = (uint8_t *)&t2->next_punctuation; + (*t3) = UINT8_C(2); + return; +} + +static nav__9666_40 mem_Allocator_remap__anon_9669__9666( + struct mem_Allocator__599 const a0, nav__9666_40 const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + nav__9666_40 const *t3; + uint64_t t4; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t18; + nav__9666_40 t7; + nav__9666_40 t10; + nav__9666_40 t2; + struct environment_linked_libraries_root_LibraryInfo__940 *t8; + void *t9; + uintptr_t t11; + uintptr_t t14; + nav__9666_56 t12; + nav__9666_56 t16; + nav__9666_58 t13; + uint8_t *t15; + uint8_t *t23; + uint8_t *t24; + uint8_t *t25; + struct mem_Allocator_VTable__602 const *const *t19; + struct mem_Allocator_VTable__602 const *t20; + uint8_t *(*const *t21)(void *, nav__9666_56, uint8_t, uintptr_t, uintptr_t); + uint8_t *(*t22)(void *, nav__9666_56, uint8_t, uintptr_t, uintptr_t); + uint8_t *const *t26; + bool t5; + uint8_t t17; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = a1; + t3 = (nav__9666_40 const *)&t2; + t4 = a2; + t5 = t4 == UINT64_C(0); + if (t5) { + t6 = (*t1); + mem_Allocator_free__anon_7085__8820(t6, a1); + t7 = (*t3); + t8 = t7.ptr; + t8 = (struct environment_linked_libraries_root_LibraryInfo__940 + *)(((uintptr_t)t8) + + ((uintptr_t)0ul * + sizeof(struct + environment_linked_libraries_root_LibraryInfo__940))); + t9 = (void *)t8; + t7.ptr = (struct environment_linked_libraries_root_LibraryInfo__940 *)t9; + t7.len = (uintptr_t)0ul; + t10 = t7; + return t10; + } + goto zig_block_0; + +zig_block_0:; + t11 = a1.len; + t4 = t11; + t5 = t4 == UINT64_C(0); + if (t5) { + return (nav__9666_40){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + } + goto zig_block_1; + +zig_block_1:; + t12 = mem_sliceAsBytes__anon_7151__8838(a1); + t13 = math_mul__anon_3766__7989((uintptr_t)48ul, a2); + t5 = t13.error == UINT16_C(0); + if (t5) { + t14 = t13.payload; + t11 = t14; + goto zig_block_2; + } + return (nav__9666_40){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_2:; t6 = (*t1); - mem_Allocator_free__anon_7063__8815(t6, a1); - t7 = (*t3); - t8 = t7.ptr; - t8 = (struct environment_linked_libraries_root_LibraryInfo__940 *)(((uintptr_t)t8) + ((uintptr_t)0ul*sizeof(struct environment_linked_libraries_root_LibraryInfo__940))); - t9 = (void *)t8; - t7.ptr = (struct environment_linked_libraries_root_LibraryInfo__940 *)t9; - t7.len = (uintptr_t)0ul; - t10 = t7; - return t10; - } - goto zig_block_0; - - zig_block_0:; - t11 = a1.len; - t4 = t11; - t5 = t4 == UINT64_C(0); - if (t5) { - return (nav__9661_40){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - } - goto zig_block_1; - - zig_block_1:; - t12 = mem_sliceAsBytes__anon_7129__8833(a1); - t13 = math_mul__anon_3752__7986((uintptr_t)48ul, a2); - t5 = t13.error == UINT16_C(0); - if (t5) { - t14 = t13.payload; - t11 = t14; - goto zig_block_2; - } - return (nav__9661_40){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_2:; - t6 = (*t1); - memcpy(&t16, &t12, sizeof(nav__9661_56)); - t17 = mem_Alignment_fromByteUnits__1108((uintptr_t)8ul); - t14 = (uintptr_t)zig_return_address(); - t18 = t6; - t1 = (struct mem_Allocator__599 const *)&t18; - t19 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; - t20 = (*t19); - t21 = (uint8_t *(*const *)(void *, nav__9661_56, uint8_t, uintptr_t, uintptr_t))&t20->remap; - t22 = (*t21); - t9 = t6.ptr; - t23 = t22(t9, t16, t17, t11, t14); - t5 = t23 != NULL; - if (t5) { - t24 = t23; - t15 = t24; - goto zig_block_3; - } - return (nav__9661_40){NULL,(uintptr_t)0xaaaaaaaaaaaaaaaaul}; - - zig_block_3:; - t25 = t15; - t26 = (uint8_t *const *)&t25; - t15 = (*t26); - t15 = (uint8_t *)(((uintptr_t)t15) + ((uintptr_t)0ul*sizeof(uint8_t))); - t12.ptr = t15; - t12.len = t11; - memcpy(&t16, &t12, sizeof(nav__9661_56)); - t10 = mem_bytesAsSlice__anon_9751__9673(t16); - t7 = t10; - return t7; -} - -static nav__9662_41 mem_Allocator_alignedAlloc__anon_9646__9662(struct mem_Allocator__599 const a0, uintptr_t const a1) { - struct mem_Allocator__599 const *t1; - struct mem_Allocator__599 t2; - struct mem_Allocator__599 t0; - struct mem_Allocator__599 t5; - uintptr_t t3; - nav__9662_41 t4; - nav__9662_41 t8; - nav__9662_53 t6; - uint8_t *t9; - struct environment_linked_libraries_root_LibraryInfo__940 *t10; - struct environment_linked_libraries_root_LibraryInfo__940 *t11; - struct environment_linked_libraries_root_LibraryInfo__940 *const *t12; - nav__9662_40 t13; - uint16_t t7; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t2 = (*t1); - t3 = (uintptr_t)zig_return_address(); - t5 = t2; - t1 = (struct mem_Allocator__599 const *)&t5; - t2 = (*t1); - t6 = mem_Allocator_allocWithSizeAndAlignment__anon_9752__9674(t2, a1, t3); - if (t6.error) { - t7 = t6.error; - t8.payload = (nav__9662_40){(struct environment_linked_libraries_root_LibraryInfo__940 *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; - t8.error = t7; + memcpy(&t16, &t12, sizeof(nav__9666_56)); + t17 = mem_Alignment_fromByteUnits__1109((uintptr_t)8ul); + t14 = (uintptr_t)zig_return_address(); + t18 = t6; + t1 = (struct mem_Allocator__599 const *)&t18; + t19 = (struct mem_Allocator_VTable__602 const *const *)&t1->vtable; + t20 = (*t19); + t21 = (uint8_t *(*const *)(void *, nav__9666_56, uint8_t, uintptr_t, + uintptr_t)) & + t20->remap; + t22 = (*t21); + t9 = t6.ptr; + t23 = t22(t9, t16, t17, t11, t14); + t5 = t23 != NULL; + if (t5) { + t24 = t23; + t15 = t24; + goto zig_block_3; + } + return (nav__9666_40){NULL, (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + +zig_block_3:; + t25 = t15; + t26 = (uint8_t *const *)&t25; + t15 = (*t26); + t15 = (uint8_t *)(((uintptr_t)t15) + ((uintptr_t)0ul * sizeof(uint8_t))); + t12.ptr = t15; + t12.len = t11; + memcpy(&t16, &t12, sizeof(nav__9666_56)); + t10 = mem_bytesAsSlice__anon_9778__9678(t16); + t7 = t10; + return t7; +} + +static nav__9667_41 mem_Allocator_alignedAlloc__anon_9673__9667( + struct mem_Allocator__599 const a0, uintptr_t const a1) { + struct mem_Allocator__599 const *t1; + struct mem_Allocator__599 t2; + struct mem_Allocator__599 t0; + struct mem_Allocator__599 t5; + uintptr_t t3; + nav__9667_41 t4; + nav__9667_41 t8; + nav__9667_53 t6; + uint8_t *t9; + struct environment_linked_libraries_root_LibraryInfo__940 *t10; + struct environment_linked_libraries_root_LibraryInfo__940 *t11; + struct environment_linked_libraries_root_LibraryInfo__940 *const *t12; + nav__9667_40 t13; + uint16_t t7; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t2 = (*t1); + t3 = (uintptr_t)zig_return_address(); + t5 = t2; + t1 = (struct mem_Allocator__599 const *)&t5; + t2 = (*t1); + t6 = mem_Allocator_allocWithSizeAndAlignment__anon_9779__9679(t2, a1, t3); + if (t6.error) { + t7 = t6.error; + t8.payload = (nav__9667_40){ + (struct environment_linked_libraries_root_LibraryInfo__940 + *)(uintptr_t)0xaaaaaaaaaaaaaaaaul, + (uintptr_t)0xaaaaaaaaaaaaaaaaul}; + t8.error = t7; + t4 = t8; + goto zig_block_0; + } + t9 = t6.payload; + t10 = (struct environment_linked_libraries_root_LibraryInfo__940 *)t9; + t11 = t10; + t12 = + (struct environment_linked_libraries_root_LibraryInfo__940 *const *)&t11; + t10 = (*t12); + t10 = + (struct environment_linked_libraries_root_LibraryInfo__940 + *)(((uintptr_t)t10) + + ((uintptr_t)0ul * + sizeof( + struct environment_linked_libraries_root_LibraryInfo__940))); + t13.ptr = t10; + t13.len = a1; + t8.payload = t13; + t8.error = UINT16_C(0); t4 = t8; goto zig_block_0; - } - t9 = t6.payload; - t10 = (struct environment_linked_libraries_root_LibraryInfo__940 *)t9; - t11 = t10; - t12 = (struct environment_linked_libraries_root_LibraryInfo__940 *const *)&t11; - t10 = (*t12); - t10 = (struct environment_linked_libraries_root_LibraryInfo__940 *)(((uintptr_t)t10) + ((uintptr_t)0ul*sizeof(struct environment_linked_libraries_root_LibraryInfo__940))); - t13.ptr = t10; - t13.len = a1; - t8.payload = t13; - t8.error = UINT16_C(0); - t4 = t8; - goto zig_block_0; - - zig_block_0:; - return t4; -} - -static uintptr_t multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4316(uintptr_t const a0, uintptr_t const a1) { - uintptr_t t1; - uintptr_t t2; - uintptr_t t0; - uint64_t t3; - uint64_t t4; - bool t5; - t0 = a0; - zig_loop_6: - t1 = t0; - t2 = t0; - t2 = t2 / (uintptr_t)2ul; - t2 = t2 + (uintptr_t)4ul; - t2 = zig_adds_u64(t1, t2, UINT8_C(64)); - t0 = t2; - t2 = t0; - t3 = t2; - t4 = a1; - t5 = t3 >= t4; - if (t5) { + +zig_block_0:; + return t4; +} + +static uintptr_t +multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4317( + uintptr_t const a0, uintptr_t const a1) { + uintptr_t t1; + uintptr_t t2; + uintptr_t t0; + uint64_t t3; + uint64_t t4; + bool t5; + t0 = a0; +zig_loop_6: + t1 = t0; t2 = t0; - return t2; - } - goto zig_block_0; - - zig_block_0:; - goto zig_loop_6; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9663(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t9; - nav__9663_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__9663_60 t12; - nav__9663_60 t33; - nav__9663_60 t13; - nav__9663_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u8_29__7097 const *t31; - struct array_hash_map_Index_28u8_29__7097 *t34; - uint8_t *t35; - uint32_t t21; - struct array_hash_map_IndexHeader__886 t28; - bool t20; - uint8_t t26; - uint8_t t36; - uint8_t t25; - uint8_t t27; - struct array_hash_map_Index_28u8_29__7097 t29; - struct array_hash_map_Index_28u8_29__7097 t32; - struct array_hash_map_Index_28u8_29__7097 t30; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8108__8928(t11); - t13 = t12; - t14 = (nav__9663_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t26 = (uint8_t)t17; - t25 = t26; - t27 = UINT8_C(0); + t2 = t2 / (uintptr_t)2ul; + t2 = t2 + (uintptr_t)4ul; + t2 = zig_adds_u64(t1, t2, UINT8_C(64)); + t0 = t2; + t2 = t0; + t3 = t2; + t4 = a1; + t5 = t3 >= t4; + if (t5) { + t2 = t0; + return t2; + } + goto zig_block_0; + +zig_block_0:; + goto zig_loop_6; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9668( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t9; + nav__9668_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__9668_60 t12; + nav__9668_60 t33; + nav__9668_60 t13; + nav__9668_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u8_29__7119 const *t31; + struct array_hash_map_Index_28u8_29__7119 *t34; + uint8_t *t35; + uint32_t t21; + struct array_hash_map_IndexHeader__886 t28; + bool t20; + uint8_t t26; + uint8_t t36; + uint8_t t25; + uint8_t t27; + struct array_hash_map_Index_28u8_29__7119 t29; + struct array_hash_map_Index_28u8_29__7119 t32; + struct array_hash_map_Index_28u8_29__7119 t30; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8134__8933(t11); + t13 = t12; + t14 = (nav__9668_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t26 = (uint8_t)t17; + t25 = t26; + t27 = UINT8_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t28 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t28, t22); + t29 = t12.ptr[t22]; + t30 = t29; + t31 = (struct array_hash_map_Index_28u8_29__7119 const *)&t30; + t32 = (*t31); + t20 = array_hash_map_Index_28u8_29_isEmpty__8825(t32); + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint8_t *)&t34->distance_from_start_index; + t26 = t27; + (*t35) = t26; + t35 = (uint8_t *)&t34->entry_index; + t26 = t25; + (*t35) = t26; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t26 = t29.distance_from_start_index; + t36 = t27; + t20 = t26 < t36; + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint8_t *)&t34->distance_from_start_index; + t36 = t27; + (*t35) = t36; + t35 = (uint8_t *)&t34->entry_index; + t36 = t25; + (*t35) = t36; + t36 = t29.distance_from_start_index; + t27 = t36; + t36 = t29.entry_index; + t25 = t36; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t36 = t27; + t36 = t36 + UINT8_C(1); + t27 = t36; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); + } + goto zig_block_0; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9669( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t9; + nav__9669_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__9669_60 t12; + nav__9669_60 t33; + nav__9669_60 t13; + nav__9669_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u16_29__7123 const *t31; + struct array_hash_map_Index_28u16_29__7123 *t34; + uint16_t *t35; + uint32_t t21; + struct array_hash_map_IndexHeader__886 t28; + uint16_t t26; + uint16_t t36; + uint16_t t25; + uint16_t t27; + struct array_hash_map_Index_28u16_29__7123 t29; + struct array_hash_map_Index_28u16_29__7123 t32; + struct array_hash_map_Index_28u16_29__7123 t30; + bool t20; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8144__8935(t11); + t13 = t12; + t14 = (nav__9669_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; + if (t20) { + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t26 = (uint16_t)t17; + t25 = t26; + t27 = UINT16_C(0); zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t28 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t28, t22); + t29 = t12.ptr[t22]; + t30 = t29; + t31 = (struct array_hash_map_Index_28u16_29__7123 const *)&t30; + t32 = (*t31); + t20 = array_hash_map_Index_28u16_29_isEmpty__8830(t32); + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint16_t *)&t34->distance_from_start_index; + t26 = t27; + (*t35) = t26; + t35 = (uint16_t *)&t34->entry_index; + t26 = t25; + (*t35) = t26; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t26 = t29.distance_from_start_index; + t36 = t27; + t20 = t26 < t36; + if (t20) { + t33 = (*t14); + t34 = &t33.ptr[t22]; + t35 = (uint16_t *)&t34->distance_from_start_index; + t36 = t27; + (*t35) = t36; + t35 = (uint16_t *)&t34->entry_index; + t36 = t25; + (*t35) = t36; + t36 = t29.distance_from_start_index; + t27 = t36; + t36 = t29.entry_index; + t25 = t36; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t36 = t27; + t36 = t36 + UINT16_C(1); + t27 = t36; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); + } + goto zig_block_0; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static void +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9670( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + a0, + struct array_hash_map_IndexHeader__886 *const a1) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t4; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + *t0; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t8; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t9; + nav__9670_56 t10; + struct array_hash_map_IndexHeader__886 *t11; + struct array_hash_map_IndexHeader__886 *t2; + nav__9670_60 t12; + nav__9670_60 t32; + nav__9670_60 t13; + nav__9670_60 const *t14; + uintptr_t t16; + uintptr_t t17; + uintptr_t t22; + uintptr_t t23; + uintptr_t t15; + uintptr_t t24; + uint64_t t18; + uint64_t t19; + struct array_hash_map_Index_28u32_29__7127 const *t30; + struct array_hash_map_Index_28u32_29__7127 *t33; + uint32_t *t34; + uint32_t t21; + uint32_t t35; + uint32_t t25; + uint32_t t26; + struct array_hash_map_IndexHeader__886 t27; + struct array_hash_map_Index_28u32_29__7127 t28; + struct array_hash_map_Index_28u32_29__7127 t31; + struct array_hash_map_Index_28u32_29__7127 t29; + bool t20; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const + *)&t0; + t2 = a1; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = (*t1); + t5 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + *)&t4->entries; + t6 = (*t5); + t7 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t6); + t8 = t7; + t9 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t8; + t7 = (*t9); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t7); + t11 = (*t3); + t12 = array_hash_map_IndexHeader_indexes__anon_8150__8937(t11); + t13 = t12; + t14 = (nav__9670_60 const *)&t13; + t15 = (uintptr_t)0ul; + t16 = t10.len; +zig_loop_30: + t17 = t15; + t18 = t17; + t19 = t16; + t20 = t18 < t19; if (t20) { - t11 = (*t3); - t28 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t28, t22); - t29 = t12.ptr[t22]; - t30 = t29; - t31 = (struct array_hash_map_Index_28u8_29__7097 const *)&t30; - t32 = (*t31); - t20 = array_hash_map_Index_28u8_29_isEmpty__8820(t32); - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint8_t *)&t34->distance_from_start_index; - t26 = t27; - (*t35) = t26; - t35 = (uint8_t *)&t34->entry_index; - t26 = t25; - (*t35) = t26; - goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t26 = t29.distance_from_start_index; - t36 = t27; - t20 = t26 < t36; - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint8_t *)&t34->distance_from_start_index; - t36 = t27; - (*t35) = t36; - t35 = (uint8_t *)&t34->entry_index; - t36 = t25; - (*t35) = t36; - t36 = t29.distance_from_start_index; - t27 = t36; - t36 = t29.entry_index; - t25 = t36; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t36 = t27; - t36 = t36 + UINT8_C(1); - t27 = t36; - goto zig_block_3; + t21 = t10.ptr[t17]; + t22 = array_hash_map_safeTruncate__anon_8158__8939(t21); + t23 = t12.len; + t23 = zig_addw_u64(t22, t23, UINT8_C(64)); + t24 = t22; + t21 = (uint32_t)t17; + t25 = t21; + t26 = UINT32_C(0); + zig_loop_53: + t22 = t24; + t19 = t22; + t18 = t23; + t20 = t19 != t18; + if (t20) { + t11 = (*t3); + t27 = (*t11); + t22 = t24; + t22 = array_hash_map_IndexHeader_constrainIndex__3958(t27, t22); + t28 = t12.ptr[t22]; + t29 = t28; + t30 = (struct array_hash_map_Index_28u32_29__7127 const *)&t29; + t31 = (*t30); + t20 = array_hash_map_Index_28u32_29_isEmpty__8835(t31); + if (t20) { + t32 = (*t14); + t33 = &t32.ptr[t22]; + t34 = (uint32_t *)&t33->distance_from_start_index; + t21 = t26; + (*t34) = t21; + t34 = (uint32_t *)&t33->entry_index; + t21 = t25; + (*t34) = t21; + goto zig_block_1; + } + goto zig_block_4; + + zig_block_4:; + t21 = t28.distance_from_start_index; + t35 = t26; + t20 = t21 < t35; + if (t20) { + t32 = (*t14); + t33 = &t32.ptr[t22]; + t34 = (uint32_t *)&t33->distance_from_start_index; + t35 = t26; + (*t34) = t35; + t34 = (uint32_t *)&t33->entry_index; + t35 = t25; + (*t34) = t35; + t35 = t28.distance_from_start_index; + t26 = t35; + t35 = t28.entry_index; + t25 = t35; + goto zig_block_5; + } + goto zig_block_5; + + zig_block_5:; + t22 = t24; + t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); + t24 = t22; + t35 = t26; + t35 = t35 + UINT32_C(1); + t26 = t35; + goto zig_block_3; + } + goto zig_block_2; + + zig_block_3:; + goto zig_loop_53; + + zig_block_2:; + zig_unreachable(); } - goto zig_block_2; + goto zig_block_0; + +zig_block_1:; + t17 = t17 + (uintptr_t)1ul; + t15 = t17; + goto zig_loop_30; + +zig_block_0:; + return; +} + +static nav__9671_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9671( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9671_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__9671_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t8; + nav__9671_66 t9; + nav__9671_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u8_29__7119 const *t23; + nav__9671_41 t30; + nav__9671_38 t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + uint32_t t11; + uint32_t t29; + struct array_hash_map_IndexHeader__886 t20; + bool t18; + bool t25; + struct array_hash_map_Index_28u8_29__7119 t21; + struct array_hash_map_Index_28u8_29__7119 t24; + struct array_hash_map_Index_28u8_29__7119 t22; + uint8_t t26; + uint8_t t27; + uint8_t t15; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT8_C(0); +zig_loop_37: + t12 = t14; + t16 = t12; + t17 = t13; + t18 = t16 != t17; + if (t18) { + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u8_29__7119 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u8_29_isEmpty__8825(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; zig_block_3:; - goto zig_loop_53; + if (t25) { + return (nav__9671_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9664(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t9; - nav__9664_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__9664_60 t12; - nav__9664_60 t33; - nav__9664_60 t13; - nav__9664_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u16_29__7101 const *t31; - struct array_hash_map_Index_28u16_29__7101 *t34; - uint16_t *t35; - uint32_t t21; - struct array_hash_map_IndexHeader__886 t28; - uint16_t t26; - uint16_t t36; - uint16_t t25; - uint16_t t27; - struct array_hash_map_Index_28u16_29__7101 t29; - struct array_hash_map_Index_28u16_29__7101 t32; - struct array_hash_map_Index_28u16_29__7101 t30; - bool t20; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8118__8930(t11); - t13 = t12; - t14 = (nav__9664_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t26 = (uint16_t)t17; - t25 = t26; - t27 = UINT16_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t28 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t28, t22); - t29 = t12.ptr[t22]; - t30 = t29; - t31 = (struct array_hash_map_Index_28u16_29__7101 const *)&t30; - t32 = (*t31); - t20 = array_hash_map_Index_28u16_29_isEmpty__8825(t32); - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint16_t *)&t34->distance_from_start_index; - t26 = t27; - (*t35) = t26; - t35 = (uint16_t *)&t34->entry_index; - t26 = t25; - (*t35) = t26; - goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t26 = t29.distance_from_start_index; - t36 = t27; - t20 = t26 < t36; - if (t20) { - t33 = (*t14); - t34 = &t33.ptr[t22]; - t35 = (uint16_t *)&t34->distance_from_start_index; - t36 = t27; - (*t35) = t36; - t35 = (uint16_t *)&t34->entry_index; - t36 = t25; - (*t35) = t36; - t36 = t29.distance_from_start_index; - t27 = t36; - t36 = t29.entry_index; - t25 = t36; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t29 = t9.ptr[t28]; + t25 = t11 == t29; + if (t25) { + t28 = (uintptr_t)t27; + t30 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t30, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t36 = t27; - t36 = t36 + UINT16_C(1); - t27 = t36; - goto zig_block_3; - } - goto zig_block_2; - zig_block_3:; - goto zig_loop_53; + zig_block_5:; + if (t18) { + t31.is_null = false; + t31.payload = t12; + return t31; + } + goto zig_block_4; - zig_block_2:; - zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static void array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9665(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const a0, struct array_hash_map_IndexHeader__886 *const a1) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t4; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *t0; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t8; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t9; - nav__9665_56 t10; - struct array_hash_map_IndexHeader__886 *t11; - struct array_hash_map_IndexHeader__886 *t2; - nav__9665_60 t12; - nav__9665_60 t32; - nav__9665_60 t13; - nav__9665_60 const *t14; - uintptr_t t16; - uintptr_t t17; - uintptr_t t22; - uintptr_t t23; - uintptr_t t15; - uintptr_t t24; - uint64_t t18; - uint64_t t19; - struct array_hash_map_Index_28u32_29__7105 const *t30; - struct array_hash_map_Index_28u32_29__7105 *t33; - uint32_t *t34; - uint32_t t21; - uint32_t t35; - uint32_t t25; - uint32_t t26; - struct array_hash_map_IndexHeader__886 t27; - struct array_hash_map_Index_28u32_29__7105 t28; - struct array_hash_map_Index_28u32_29__7105 t31; - struct array_hash_map_Index_28u32_29__7105 t29; - bool t20; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 *const *)&t0; - t2 = a1; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (*t1); - t5 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 *)&t4->entries; - t6 = (*t5); - t7 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t6); - t8 = t7; - t9 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t8; - t7 = (*t9); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t7); - t11 = (*t3); - t12 = array_hash_map_IndexHeader_indexes__anon_8124__8932(t11); - t13 = t12; - t14 = (nav__9665_60 const *)&t13; - t15 = (uintptr_t)0ul; - t16 = t10.len; - zig_loop_30: - t17 = t15; - t18 = t17; - t19 = t16; - t20 = t18 < t19; - if (t20) { - t21 = t10.ptr[t17]; - t22 = array_hash_map_safeTruncate__anon_8132__8934(t21); - t23 = t12.len; - t23 = zig_addw_u64(t22, t23, UINT8_C(64)); - t24 = t22; - t21 = (uint32_t)t17; - t25 = t21; - t26 = UINT32_C(0); - zig_loop_53: - t22 = t24; - t19 = t22; - t18 = t23; - t20 = t19 != t18; - if (t20) { - t11 = (*t3); - t27 = (*t11); - t22 = t24; - t22 = array_hash_map_IndexHeader_constrainIndex__3957(t27, t22); - t28 = t12.ptr[t22]; - t29 = t28; - t30 = (struct array_hash_map_Index_28u32_29__7105 const *)&t29; - t31 = (*t30); - t20 = array_hash_map_Index_28u32_29_isEmpty__8830(t31); - if (t20) { - t32 = (*t14); - t33 = &t32.ptr[t22]; - t34 = (uint32_t *)&t33->distance_from_start_index; - t21 = t26; - (*t34) = t21; - t34 = (uint32_t *)&t33->entry_index; - t21 = t25; - (*t34) = t21; + zig_block_4:; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT8_C(1); + t15 = t27; goto zig_block_1; - } - goto zig_block_4; - - zig_block_4:; - t21 = t28.distance_from_start_index; - t35 = t26; - t20 = t21 < t35; - if (t20) { - t32 = (*t14); - t33 = &t32.ptr[t22]; - t34 = (uint32_t *)&t33->distance_from_start_index; - t35 = t26; - (*t34) = t35; - t34 = (uint32_t *)&t33->entry_index; - t35 = t25; - (*t34) = t35; - t35 = t28.distance_from_start_index; - t26 = t35; - t35 = t28.entry_index; - t25 = t35; - goto zig_block_5; - } - goto zig_block_5; - - zig_block_5:; - t22 = t24; - t22 = zig_addw_u64(t22, (uintptr_t)1ul, UINT8_C(64)); - t24 = t22; - t35 = t26; - t35 = t35 + UINT32_C(1); - t26 = t35; - goto zig_block_3; } - goto zig_block_2; + goto zig_block_0; - zig_block_3:; - goto zig_loop_53; +zig_block_1:; + goto zig_loop_37; - zig_block_2:; +zig_block_0:; zig_unreachable(); - } - goto zig_block_0; - - zig_block_1:; - t17 = t17 + (uintptr_t)1ul; - t15 = t17; - goto zig_loop_30; - - zig_block_0:; - return; -} - -static nav__9666_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9666(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9666_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__9666_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t8; - nav__9666_66 t9; - nav__9666_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u8_29__7097 const *t23; - nav__9666_41 t30; - nav__9666_38 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - uint32_t t11; - uint32_t t29; - struct array_hash_map_IndexHeader__886 t20; - bool t18; - bool t25; - struct array_hash_map_Index_28u8_29__7097 t21; - struct array_hash_map_Index_28u8_29__7097 t24; - struct array_hash_map_Index_28u8_29__7097 t22; - uint8_t t26; - uint8_t t27; - uint8_t t15; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT8_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); +} + +static nav__9672_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9672( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9672_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__9672_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t8; + nav__9672_66 t9; + nav__9672_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u16_29__7123 const *t23; + nav__9672_41 t30; + nav__9672_38 t31; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + uint32_t t11; + uint32_t t29; + struct array_hash_map_IndexHeader__886 t20; + struct array_hash_map_Index_28u16_29__7123 t21; + struct array_hash_map_Index_28u16_29__7123 t24; + struct array_hash_map_Index_28u16_29__7123 t22; + uint16_t t26; + uint16_t t27; + uint16_t t15; + bool t18; + bool t25; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); + t14 = t12; + t15 = UINT16_C(0); +zig_loop_37: t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u8_29__7097 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u8_29_isEmpty__8820(t24); + t16 = t12; + t17 = t13; + t18 = t16 != t17; if (t18) { - t25 = true; - goto zig_block_3; - } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u16_29__7123 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u16_29_isEmpty__8830(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; zig_block_3:; - if (t25) { - return (nav__9666_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - } - goto zig_block_2; + if (t25) { + return (nav__9672_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t29 = t9.ptr[t28]; - t25 = t11 == t29; - if (t25) { - t28 = (uintptr_t)t27; - t30 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t30, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t29 = t9.ptr[t28]; + t25 = t11 == t29; + if (t25) { + t28 = (uintptr_t)t27; + t30 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t30, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; zig_block_5:; - if (t18) { - t31.is_null = false; - t31.payload = t12; - return t31; - } - goto zig_block_4; + if (t18) { + t31.is_null = false; + t31.payload = t12; + return t31; + } + goto zig_block_4; zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT16_C(1); + t15 = t27; + goto zig_block_1; + } + goto zig_block_0; + +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static nav__9673_38 +array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9673( + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + a0, + nav__9673_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, + nav__9673_47 const a3) { + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *t1; + struct array_hash_map_IndexHeader__886 *const *t3; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *t4; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 + t5; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t6; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 + t7; + struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *t8; + nav__9673_66 t9; + nav__9673_69 t10; + uintptr_t t12; + uintptr_t t13; + uintptr_t t28; + uintptr_t t14; + uint64_t t16; + uint64_t t17; + struct array_hash_map_IndexHeader__886 *t19; + struct array_hash_map_IndexHeader__886 *t2; + struct array_hash_map_Index_28u32_29__7127 const *t23; + nav__9673_41 t29; + nav__9673_38 t30; + struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 + t0; + uint32_t t11; + uint32_t t26; + uint32_t t27; + uint32_t t15; + struct array_hash_map_IndexHeader__886 t20; + struct array_hash_map_Index_28u32_29__7127 t21; + struct array_hash_map_Index_28u32_29__7127 t24; + struct array_hash_map_Index_28u32_29__7127 t22; + bool t18; + bool t25; + t0 = a0; + t1 = + (struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + *)&t0; + t2 = a2; + t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; + t4 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const + *)&t1->entries; + t5 = (*t4); + t6 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4297( + t5); + t7 = t6; + t8 = + (struct + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6845 const + *)&t7; + t6 = (*t8); + t9 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9645( + t6); + t6 = (*t8); + t10 = + multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8744( + t6); + t11 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9644( + a1); + t12 = array_hash_map_safeTruncate__anon_8158__8939(t11); + t13 = a3.len; + t13 = zig_addw_u64(t12, t13, UINT8_C(64)); t14 = t12; - t27 = t15; - t27 = t27 + UINT8_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__9667_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9667(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9667_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__9667_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t8; - nav__9667_66 t9; - nav__9667_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u16_29__7101 const *t23; - nav__9667_41 t30; - nav__9667_38 t31; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - uint32_t t11; - uint32_t t29; - struct array_hash_map_IndexHeader__886 t20; - struct array_hash_map_Index_28u16_29__7101 t21; - struct array_hash_map_Index_28u16_29__7101 t24; - struct array_hash_map_Index_28u16_29__7101 t22; - uint16_t t26; - uint16_t t27; - uint16_t t15; - bool t18; - bool t25; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT16_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); + t15 = UINT32_C(0); +zig_loop_37: t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u16_29__7101 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u16_29_isEmpty__8825(t24); + t16 = t12; + t17 = t13; + t18 = t16 != t17; if (t18) { - t25 = true; - goto zig_block_3; - } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + t19 = (*t3); + t20 = (*t19); + t12 = t14; + t12 = array_hash_map_IndexHeader_constrainIndex__3958(t20, t12); + t21 = a3.ptr[t12]; + t22 = t21; + t23 = (struct array_hash_map_Index_28u32_29__7127 const *)&t22; + t24 = (*t23); + t18 = array_hash_map_Index_28u32_29_isEmpty__8835(t24); + if (t18) { + t25 = true; + goto zig_block_3; + } + t26 = t21.distance_from_start_index; + t27 = t15; + t18 = t26 < t27; + t25 = t18; + goto zig_block_3; zig_block_3:; - if (t25) { - return (nav__9667_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; - } - goto zig_block_2; + if (t25) { + return (nav__9673_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}; + } + goto zig_block_2; zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t29 = t9.ptr[t28]; - t25 = t11 == t29; - if (t25) { - t28 = (uintptr_t)t27; - t30 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t30, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; + t27 = t21.entry_index; + t28 = (uintptr_t)t27; + t26 = t9.ptr[t28]; + t25 = t11 == t26; + if (t25) { + t28 = (uintptr_t)t27; + t29 = t10.ptr[t28]; + t28 = (uintptr_t)t27; + t25 = + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9646( + a1, t29, t28); + t18 = t25; + goto zig_block_5; + } + t18 = false; + goto zig_block_5; zig_block_5:; - if (t18) { - t31.is_null = false; - t31.payload = t12; - return t31; - } - goto zig_block_4; + if (t18) { + t30.is_null = false; + t30.payload = t12; + return t30; + } + goto zig_block_4; zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT16_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static nav__9668_38 array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9668(struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const a0, nav__9668_41 const a1, struct array_hash_map_IndexHeader__886 *const a2, nav__9668_47 const a3) { - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *t1; - struct array_hash_map_IndexHeader__886 *const *t3; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *t4; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 t5; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t6; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 t7; - struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *t8; - nav__9668_66 t9; - nav__9668_69 t10; - uintptr_t t12; - uintptr_t t13; - uintptr_t t28; - uintptr_t t14; - uint64_t t16; - uint64_t t17; - struct array_hash_map_IndexHeader__886 *t19; - struct array_hash_map_IndexHeader__886 *t2; - struct array_hash_map_Index_28u32_29__7105 const *t23; - nav__9668_41 t29; - nav__9668_38 t30; - struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 t0; - uint32_t t11; - uint32_t t26; - uint32_t t27; - uint32_t t15; - struct array_hash_map_IndexHeader__886 t20; - struct array_hash_map_Index_28u32_29__7105 t21; - struct array_hash_map_Index_28u32_29__7105 t24; - struct array_hash_map_Index_28u32_29__7105 t22; - bool t18; - bool t25; - t0 = a0; - t1 = (struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const *)&t0; - t2 = a2; - t3 = (struct array_hash_map_IndexHeader__886 *const *)&t2; - t4 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29__933 const *)&t1->entries; - t5 = (*t4); - t6 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__4296(t5); - t7 = t6; - t8 = (struct multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29_Data_29_Slice__6823 const *)&t7; - t6 = (*t8); - t9 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__9640(t6); - t6 = (*t8); - t10 = multi_array_list_MultiArrayList_28array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_l__8739(t6); - t11 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9639(a1); - t12 = array_hash_map_safeTruncate__anon_8132__8934(t11); - t13 = a3.len; - t13 = zig_addw_u64(t12, t13, UINT8_C(64)); - t14 = t12; - t15 = UINT32_C(0); - zig_loop_37: - t12 = t14; - t16 = t12; - t17 = t13; - t18 = t16 != t17; - if (t18) { - t19 = (*t3); - t20 = (*t19); - t12 = t14; - t12 = array_hash_map_IndexHeader_constrainIndex__3957(t20, t12); - t21 = a3.ptr[t12]; - t22 = t21; - t23 = (struct array_hash_map_Index_28u32_29__7105 const *)&t22; - t24 = (*t23); - t18 = array_hash_map_Index_28u32_29_isEmpty__8830(t24); - if (t18) { - t25 = true; - goto zig_block_3; + t12 = t14; + t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); + t14 = t12; + t27 = t15; + t27 = t27 + UINT32_C(1); + t15 = t27; + goto zig_block_1; } - t26 = t21.distance_from_start_index; - t27 = t15; - t18 = t26 < t27; - t25 = t18; - goto zig_block_3; + goto zig_block_0; - zig_block_3:; - if (t25) { - return (nav__9668_38){(uintptr_t)0xaaaaaaaaaaaaaaaaul,true}; +zig_block_1:; + goto zig_loop_37; + +zig_block_0:; + zig_unreachable(); +} + +static uint16_t +environment_root_EnvironmentValue_jsonStringify__anon_9815__9680( + struct environment_root_EnvironmentValue__850 const a0, struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + nav__9680_43 t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t4; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + nav__9680_46 t6; + uint16_t t5; + uint8_t t2; + t0 = a1; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a0.tag; + switch (t2) { + case UINT8_C(0): { + t3 = a0.payload.string; + t4 = (*t1); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676( + t4, t3); + if (t5) { + return t5; + } + goto zig_block_0; + } + case UINT8_C(1): { + t6 = a0.payload.list; + t4 = (*t1); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9681( + t4, t6); + if (t5) { + return t5; + } + goto zig_block_0; + } + default: + zig_unreachable(); } - goto zig_block_2; - zig_block_2:; - t27 = t21.entry_index; - t28 = (uintptr_t)t27; - t26 = t9.ptr[t28]; - t25 = t11 == t26; - if (t25) { - t28 = (uintptr_t)t27; - t29 = t10.ptr[t28]; - t28 = (uintptr_t)t27; - t25 = array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__9641(a1, t29, t28); - t18 = t25; - goto zig_block_5; - } - t18 = false; - goto zig_block_5; +zig_block_0:; + return 0; +} - zig_block_5:; - if (t18) { - t30.is_null = false; - t30.payload = t12; - return t30; +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9675( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + struct environment_root_EnvironmentValue__850 const a1) { + struct environment_root_EnvironmentValue__850 const *t2; + struct environment_root_EnvironmentValue__850 t3; + struct environment_root_EnvironmentValue__850 t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint16_t t4; + uint16_t t5; + t0 = a0; + t1 = a1; + t2 = (struct environment_root_EnvironmentValue__850 const *)&t1; + t3 = (*t2); + t4 = environment_root_EnvironmentValue_jsonStringify__anon_9815__9680(t3, a0); + memcpy(&t5, &t4, sizeof(uint16_t)); + return t5; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9564( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + nav__9564_41 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct json_stringify_StringifyOptions__8511 *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t7; + uint16_t t3; + struct json_stringify_StringifyOptions__8511 t5; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + t2); + if (t3) { + return t3; } - goto zig_block_4; + t4 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t5 = (*t4); + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&a0->stream; + t7 = (*t6); + t3 = json_stringify_encodeJsonString__anon_9477__9653(a1, t5, t7); + if (t3) { + return t3; + } + t2 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + t2); + return 0; +} - zig_block_4:; - t12 = t14; - t12 = zig_addw_u64(t12, (uintptr_t)1ul, UINT8_C(64)); - t14 = t12; - t27 = t15; - t27 = t27 + UINT32_C(1); - t15 = t27; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_37; - - zig_block_0:; - zig_unreachable(); -} - -static uint16_t environment_root_EnvironmentValue_jsonStringify__anon_9788__9675(struct environment_root_EnvironmentValue__850 const a0, struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - nav__9675_43 t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t4; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - nav__9675_46 t6; - uint16_t t5; - uint8_t t2; - t0 = a1; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a0.tag; - switch (t2) { - case UINT8_C(0): { - t3 = a0.payload.string; - t4 = (*t1); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9671(t4, t3); - if (t5) { - return t5; - } - goto zig_block_0; - } - case UINT8_C(1): { - t6 = a0.payload.list; - t4 = (*t1); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676(t4, t6); - if (t5) { - return t5; - } - goto zig_block_0; - } - default: zig_unreachable(); - } - - zig_block_0:; - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9670(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, struct environment_root_EnvironmentValue__850 const a1) { - struct environment_root_EnvironmentValue__850 const *t2; - struct environment_root_EnvironmentValue__850 t3; - struct environment_root_EnvironmentValue__850 t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint16_t t4; - uint16_t t5; - t0 = a0; - t1 = a1; - t2 = (struct environment_root_EnvironmentValue__850 const *)&t1; - t3 = (*t2); - t4 = environment_root_EnvironmentValue_jsonStringify__anon_9788__9675(t3, a0); - memcpy(&t5, &t4, sizeof(uint16_t)); - return t5; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, nav__9559_41 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_stringify_StringifyOptions__8484 *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t7; - uint16_t t3; - struct json_stringify_StringifyOptions__8484 t5; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(t2); - if (t3) { - return t3; - } - t4 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t5 = (*t4); - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&a0->stream; - t7 = (*t6); - t3 = json_stringify_encodeJsonString__anon_9450__9648(a1, t5, t7); - if (t3) { - return t3; - } - t2 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(t2); - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9671(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, nav__9671_41 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_StringifyOptions__8484 *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t7; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uintptr_t t11; - uintptr_t t12; - uintptr_t t10; - uint64_t t13; - uint64_t t14; - nav__9671_41 t2; - uint16_t t8; - uint16_t t9; - struct json_stringify_StringifyOptions__8484 t4; - bool t5; - bool t6; - uint8_t t15; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a1; - t3 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t4 = (*t3); - t5 = t4.emit_strings_as_arrays; - t5 = !t5; - if (t5) { - t5 = unicode_utf8ValidateSlice__8312(a1); - t6 = t5; +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + nav__9676_41 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct json_stringify_StringifyOptions__8511 *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t7; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uintptr_t t11; + uintptr_t t12; + uintptr_t t10; + uint64_t t13; + uint64_t t14; + nav__9676_41 t2; + uint16_t t8; + uint16_t t9; + struct json_stringify_StringifyOptions__8511 t4; + bool t5; + bool t6; + uint8_t t15; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a1; + t3 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t4 = (*t3); + t5 = t4.emit_strings_as_arrays; + t5 = !t5; + if (t5) { + t5 = unicode_utf8ValidateSlice__8315(a1); + t6 = t5; + goto zig_block_1; + } + t6 = false; goto zig_block_1; - } - t6 = false; - goto zig_block_1; - zig_block_1:; - if (t6) { +zig_block_1:; + if (t6) { + t7 = (*t1); + t8 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9564( + t7, a1); + memcpy(&t9, &t8, sizeof(uint16_t)); + return t9; + } + goto zig_block_0; + +zig_block_0:; t7 = (*t1); - t8 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9559(t7, a1); - memcpy(&t9, &t8, sizeof(uint16_t)); - return t9; - } - goto zig_block_0; + t9 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543( + t7); + if (t9) { + return t9; + } + t10 = (uintptr_t)0ul; + t11 = a1.len; +zig_loop_44: + t12 = t10; + t13 = t12; + t14 = t11; + t6 = t13 < t14; + if (t6) { + t15 = a1.ptr[t12]; + t7 = (*t1); + t9 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9682( + t7, t15); + if (t9) { + return t9; + } + goto zig_block_3; + } + goto zig_block_2; - zig_block_0:; - t7 = (*t1); - t9 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9538(t7); - if (t9) { - return t9; - } - t10 = (uintptr_t)0ul; - t11 = a1.len; - zig_loop_44: - t12 = t10; - t13 = t12; - t14 = t11; - t6 = t13 < t14; - if (t6) { - t15 = a1.ptr[t12]; +zig_block_3:; + t12 = t12 + (uintptr_t)1ul; + t10 = t12; + goto zig_loop_44; + +zig_block_2:; t7 = (*t1); - t9 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9677(t7, t15); + t9 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545( + t7); if (t9) { - return t9; + return t9; + } + return 0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9677( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + nav__9677_41 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + nav__9677_41 t4; + nav__9677_41 t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t5; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint16_t t6; + bool t3; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a1; + t3 = a1.ptr != NULL; + if (t3) { + t4 = a1; + t5 = (*t1); + t6 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676( + t5, t4); + if (t6) { + return t6; + } + return 0; } - goto zig_block_3; - } - goto zig_block_2; - - zig_block_3:; - t12 = t12 + (uintptr_t)1ul; - t10 = t12; - goto zig_loop_44; - - zig_block_2:; - t7 = (*t1); - t9 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9540(t7); - if (t9) { - return t9; - } - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9672(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, nav__9672_41 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - nav__9672_41 t4; - nav__9672_41 t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t5; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint16_t t6; - bool t3; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a1; - t3 = a1.ptr != NULL; - if (t3) { - t4 = a1; t5 = (*t1); - t6 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9671(t5, t4); + t6 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9683( + t5); if (t6) { - return t6; + return t6; } return 0; - } - t5 = (*t1); - t6 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9678(t5); - if (t6) { - return t6; - } - return 0; -} - -static nav__9673_40 mem_bytesAsSlice__anon_9751__9673(nav__9673_42 const a0) { - uintptr_t t0; - uint64_t t1; - uint8_t *t4; - struct environment_linked_libraries_root_LibraryInfo__940 *t5; - struct environment_linked_libraries_root_LibraryInfo__940 *t6; - struct environment_linked_libraries_root_LibraryInfo__940 *const *t7; - nav__9673_40 t8; - bool t2; - bool t3; - t0 = a0.len; - t1 = t0; - t2 = t1 == UINT64_C(0); - if (t2) { - t3 = true; +} + +static nav__9678_40 mem_bytesAsSlice__anon_9778__9678(nav__9678_42 const a0) { + uintptr_t t0; + uint64_t t1; + uint8_t *t4; + struct environment_linked_libraries_root_LibraryInfo__940 *t5; + struct environment_linked_libraries_root_LibraryInfo__940 *t6; + struct environment_linked_libraries_root_LibraryInfo__940 *const *t7; + nav__9678_40 t8; + bool t2; + bool t3; + t0 = a0.len; + t1 = t0; + t2 = t1 == UINT64_C(0); + if (t2) { + t3 = true; + goto zig_block_1; + } + t3 = false; goto zig_block_1; - } - t3 = false; - goto zig_block_1; - - zig_block_1:; - if (t3) { - return (nav__9673_40){(struct environment_linked_libraries_root_LibraryInfo__940 *)((void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),(uintptr_t)0ul}; - } - goto zig_block_0; - - zig_block_0:; - t4 = a0.ptr; - t5 = (struct environment_linked_libraries_root_LibraryInfo__940 *)t4; - t6 = t5; - t7 = (struct environment_linked_libraries_root_LibraryInfo__940 *const *)&t6; - t0 = a0.len; - t0 = t0 / (uintptr_t)48ul; - t5 = (*t7); - t5 = (struct environment_linked_libraries_root_LibraryInfo__940 *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(struct environment_linked_libraries_root_LibraryInfo__940))); - t8.ptr = t5; - t8.len = t0; - return t8; -} - -static nav__9674_39 mem_Allocator_allocWithSizeAndAlignment__anon_9752__9674(struct mem_Allocator__599 const a0, uintptr_t const a1, uintptr_t const a2) { - struct mem_Allocator__599 const *t1; - uintptr_t t2; - uintptr_t t5; - nav__9674_49 t3; - struct mem_Allocator__599 t6; - struct mem_Allocator__599 t0; - nav__9674_39 t7; - bool t4; - t0 = a0; - t1 = (struct mem_Allocator__599 const *)&t0; - t3 = math_mul__anon_3752__7986((uintptr_t)48ul, a1); - t4 = t3.error == UINT16_C(0); - if (t4) { - t5 = t3.payload; - t2 = t5; + +zig_block_1:; + if (t3) { + return (nav__9678_40){ + (struct environment_linked_libraries_root_LibraryInfo__940 *)(( + void const *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + (uintptr_t)0ul}; + } goto zig_block_0; - } - return (nav__9674_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),zig_error_OutOfMemory}; - - zig_block_0:; - t6 = (*t1); - t7 = mem_Allocator_allocBytesWithAlignment__anon_3142__5091(t6, t2, a2); - return t7; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, nav__9676_43 const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uintptr_t t6; - uintptr_t t7; - uintptr_t t5; - uint64_t t8; - uint64_t t9; - nav__9676_41 t11; - nav__9676_43 t2; - uint16_t t4; - bool t10; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a1; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9538(t3); - if (t4) { - return t4; - } - t5 = (uintptr_t)0ul; - t6 = a1.len; - zig_loop_28: - t7 = t5; - t8 = t7; - t9 = t6; - t10 = t8 < t9; - if (t10) { - t11 = a1.ptr[t7]; + +zig_block_0:; + t4 = a0.ptr; + t5 = (struct environment_linked_libraries_root_LibraryInfo__940 *)t4; + t6 = t5; + t7 = (struct environment_linked_libraries_root_LibraryInfo__940 *const *)&t6; + t0 = a0.len; + t0 = t0 / (uintptr_t)48ul; + t5 = (*t7); + t5 = + (struct environment_linked_libraries_root_LibraryInfo__940 + *)(((uintptr_t)t5) + + ((uintptr_t)0ul * + sizeof( + struct environment_linked_libraries_root_LibraryInfo__940))); + t8.ptr = t5; + t8.len = t0; + return t8; +} + +static nav__9679_39 mem_Allocator_allocWithSizeAndAlignment__anon_9779__9679( + struct mem_Allocator__599 const a0, uintptr_t const a1, + uintptr_t const a2) { + struct mem_Allocator__599 const *t1; + uintptr_t t2; + uintptr_t t5; + nav__9679_49 t3; + struct mem_Allocator__599 t6; + struct mem_Allocator__599 t0; + nav__9679_39 t7; + bool t4; + t0 = a0; + t1 = (struct mem_Allocator__599 const *)&t0; + t3 = math_mul__anon_3766__7989((uintptr_t)48ul, a1); + t4 = t3.error == UINT16_C(0); + if (t4) { + t5 = t3.payload; + t2 = t5; + goto zig_block_0; + } + return (nav__9679_39){((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + zig_error_OutOfMemory}; + +zig_block_0:; + t6 = (*t1); + t7 = mem_Allocator_allocBytesWithAlignment__anon_3158__5094(t6, t2, a2); + return t7; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9681( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + nav__9681_43 const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uintptr_t t6; + uintptr_t t7; + uintptr_t t5; + uint64_t t8; + uint64_t t9; + nav__9681_41 t11; + nav__9681_43 t2; + uint16_t t4; + bool t10; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a1; t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9671(t3, t11); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543( + t3); if (t4) { - return t4; + return t4; + } + t5 = (uintptr_t)0ul; + t6 = a1.len; +zig_loop_28: + t7 = t5; + t8 = t7; + t9 = t6; + t10 = t8 < t9; + if (t10) { + t11 = a1.ptr[t7]; + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9676( + t3, t11); + if (t4) { + return t4; + } + goto zig_block_1; } - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - t7 = t7 + (uintptr_t)1ul; - t5 = t7; - goto zig_loop_28; - - zig_block_0:; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9540(t3); - if (t4) { - return t4; - } - return 0; -} - -static bool unicode_utf8ValidateSlice__8312(nav__8312_39 const a0) { - bool t0; - t0 = unicode_utf8ValidateSliceImpl__anon_9815__9679(a0); - return t0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9538(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t7; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t9; - void const **t11; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t12; - void const *t13; - nav__9538_54 (**t14)(void const *, nav__9538_56); - struct io_Writer__4338 t15; - struct io_Writer__4338 t10; - struct io_Writer__4338 t16; - struct io_Writer__4338 const *t17; - uint8_t *t19; - uint16_t t3; - uint16_t t18; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(t2); - if (t3) { - return t3; - } - t2 = (*t1); - t4 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t5 = (*t4); - t6 = t5; - t7 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t6; - t8 = t7; - t9 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t8; - t11 = (void const **)&t10.context; - t7 = (*t9); - t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t7->context; - t13 = (void const *)t12; - (*t11) = t13; - t14 = (nav__9538_54 (**)(void const *, nav__9538_56))&t10.writeFn; - (*t14) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t15 = t10; - t16 = t15; - t17 = (struct io_Writer__4338 const *)&t16; - t15 = (*t17); - t3 = io_Writer_writeByte__8276(t15, UINT8_C(91)); - memcpy(&t18, &t3, sizeof(uint16_t)); - if (t18) { - return t18; - } - t2 = (*t1); - (void)json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9542(t2, UINT8_C(1)); - t2 = (*t1); - t19 = (uint8_t *)&t2->next_punctuation; - (*t19) = UINT8_C(1); - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9677(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0, uint8_t const a1) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t3; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct json_stringify_StringifyOptions__8484 *t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t9; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t11; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t12; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t13; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t14; - void const **t16; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t17; - void const *t18; - nav__9677_57 (**t19)(void const *, nav__9677_59); - struct io_Writer__4338 t20; - struct io_Writer__4338 t15; - struct io_Writer__4338 t21; - struct io_Writer__4338 const *t22; - uint16_t t4; - uint16_t t23; - struct json_stringify_StringifyOptions__8484 t6; - bool t7; - nav__9677_51 t10; - uint8_t t2; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = a1; - t3 = (*t1); - t4 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(t3); - if (t4) { - return t4; - } - t5 = (struct json_stringify_StringifyOptions__8484 *)&a0->options; - t6 = (*t5); - t7 = t6.emit_nonportable_numbers_as_strings; - if (t7) { goto zig_block_0; - } - goto zig_block_0; - - zig_block_0:; - t3 = (*t1); - t8 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t3->stream; - t9 = (*t8); - t10.f0 = a1; - t11 = t9; - t12 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t11; - t13 = t12; - t14 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t13; - t16 = (void const **)&t15.context; - t12 = (*t14); - t17 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t12->context; - t18 = (void const *)t17; - (*t16) = t18; - t19 = (nav__9677_57 (**)(void const *, nav__9677_59))&t15.writeFn; - (*t19) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t20 = t15; - t21 = t20; - t22 = (struct io_Writer__4338 const *)&t21; - t20 = (*t22); - t4 = io_Writer_print__anon_9829__9680(t20, t10); - memcpy(&t23, &t4, sizeof(uint16_t)); - if (t23) { - return t23; - } - t3 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(t3); - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9540(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - uint8_t *t3; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t7; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t9; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t10; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t11; - void const **t13; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t14; - void const *t15; - nav__9540_55 (**t16)(void const *, nav__9540_57); - struct io_Writer__4338 t17; - struct io_Writer__4338 t12; - struct io_Writer__4338 t18; - struct io_Writer__4338 const *t19; - uint16_t t5; - uint16_t t20; - uint8_t t4; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543(t2, UINT8_C(1)); - t3 = (uint8_t *)&a0->next_punctuation; - t4 = (*t3); - switch (t4) { - case UINT8_C(1): { - goto zig_block_0; - } - case UINT8_C(2): { - t2 = (*t1); - t5 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9544(t2); - if (t5) { - return t5; - } - goto zig_block_0; - } - case UINT8_C(0): - case UINT8_C(3): { - zig_unreachable(); - } - default: zig_unreachable(); - } - - zig_block_0:; - t2 = (*t1); - t6 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t7 = (*t6); - t8 = t7; - t9 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t8; - t10 = t9; - t11 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t10; - t13 = (void const **)&t12.context; - t9 = (*t11); - t14 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t9->context; - t15 = (void const *)t14; - (*t13) = t15; - t16 = (nav__9540_55 (**)(void const *, nav__9540_57))&t12.writeFn; - (*t16) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t17 = t12; - t18 = t17; - t19 = (struct io_Writer__4338 const *)&t18; - t17 = (*t19); - t5 = io_Writer_writeByte__8276(t17, UINT8_C(93)); - memcpy(&t20, &t5, sizeof(uint16_t)); - if (t20) { - return t20; - } - t2 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(t2); - return 0; -} - -static uint16_t json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9678(struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const a0) { - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *t1; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t2; - struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *t0; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *t4; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t5; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 t6; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t7; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *t8; - struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *t9; - void const **t11; - struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t12; - void const *t13; - nav__9678_54 (**t14)(void const *, nav__9678_56); - struct io_Writer__4338 t15; - struct io_Writer__4338 t10; - struct io_Writer__4338 t16; - struct io_Writer__4338 const *t17; - uint16_t t3; - uint16_t t18; - t0 = a0; - t1 = (struct json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8641 *const *)&t0; - t2 = (*t1); - t3 = json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545(t2); - if (t3) { - return t3; - } - t2 = (*t1); - t4 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 *)&t2->stream; - t5 = (*t4); - t6 = t5; - t7 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *)&t6; - t8 = t7; - t9 = (struct io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const *)&t8; - t11 = (void const **)&t10.context; - t7 = (*t9); - t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t7->context; - t13 = (void const *)t12; - (*t11) = t13; - t14 = (nav__9678_54 (**)(void const *, nav__9678_56))&t10.writeFn; - (*t14) = &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4910; - t15 = t10; - t16 = t15; - t17 = (struct io_Writer__4338 const *)&t16; - t15 = (*t17); - t3 = io_Writer_writeAll__8274(t15, (nav__9678_56){(uint8_t const *)&__anon_9833,(uintptr_t)4ul}); - memcpy(&t18, &t3, sizeof(uint16_t)); - if (t18) { - return t18; - } - t2 = (*t1); - json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548(t2); - return 0; -} - -static bool unicode_utf8ValidateSliceImpl__anon_9815__9679(nav__9679_39 const a0) { - static uint8_t const t9[32] = "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"; - static uint8_t const t15[256] = "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\023\003\003\003\003\003\003\003\003\003\003\003\003#\003\0034\004\004\004D\361\361\361\361\361\361\361\361\361\361\361"; - nav__9679_39 t1; - nav__9679_39 t0; - uintptr_t t2; - uintptr_t t12; - uintptr_t t17; - uintptr_t t11; - uint64_t t3; - uint64_t t13; - uint8_t const *t5; - uint8_t const (*t6)[32]; - bool t4; - bool t21; - uint8_t t7[32]; - uint8_t t8[32]; - bool t10[32]; - uint8_t t14; - uint8_t t16; - uint8_t t20; - uint8_t t18; - uint8_t t19; - t0 = a0; - zig_loop_6: - t1 = t0; - t2 = t1.len; - t3 = t2; - t4 = t3 >= UINT64_C(32); - if (t4) { - t1 = t0; - t5 = t1.ptr; - t5 = (uint8_t const *)(((uintptr_t)t5) + ((uintptr_t)0ul*sizeof(uint8_t))); - t6 = (uint8_t const (*)[32])t5; - memcpy(t7, (const char *)t6, sizeof(uint8_t[32])); - memcpy(&t8, &t7, sizeof(uint8_t[32])); - for (t2 = (uintptr_t)0ul; t2 < (uintptr_t)32ul; t2 += (uintptr_t)1ul) { - t8[t2] = t8[t2] & t9[t2]; + +zig_block_1:; + t7 = t7 + (uintptr_t)1ul; + t5 = t7; + goto zig_loop_28; + +zig_block_0:; + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545( + t3); + if (t4) { + return t4; } - for (t2 = (uintptr_t)0ul; t2 < (uintptr_t)32ul; t2 += (uintptr_t)1ul) { - t10[t2] = t8[t2] == t9[t2]; + return 0; +} + +static bool unicode_utf8ValidateSlice__8315(nav__8315_39 const a0) { + bool t0; + t0 = unicode_utf8ValidateSliceImpl__anon_9842__9684(a0); + return t0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9543( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t7; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t9; + void const **t11; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t12; + void const *t13; + nav__9543_54 (**t14)(void const *, nav__9543_56); + struct io_Writer__4352 t15; + struct io_Writer__4352 t10; + struct io_Writer__4352 t16; + struct io_Writer__4352 const *t17; + uint8_t *t19; + uint16_t t3; + uint16_t t18; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + t2); + if (t3) { + return t3; } - t4 = false; - for (t2 = (uintptr_t)0ul; t2 < (uintptr_t)32ul; t2 += (uintptr_t)1ul) { - t4 |= t10[t2]; + t2 = (*t1); + t4 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t5 = (*t4); + t6 = t5; + t7 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t6; + t8 = t7; + t9 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t8; + t11 = (void const **)&t10.context; + t7 = (*t9); + t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t7 + ->context; + t13 = (void const *)t12; + (*t11) = t13; + t14 = (nav__9543_54(**)(void const *, nav__9543_56)) & t10.writeFn; + (*t14) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t15 = t10; + t16 = t15; + t17 = (struct io_Writer__4352 const *)&t16; + t15 = (*t17); + t3 = io_Writer_writeByte__8279(t15, UINT8_C(91)); + memcpy(&t18, &t3, sizeof(uint16_t)); + if (t18) { + return t18; } + t2 = (*t1); + (void) + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9547( + t2, UINT8_C(1)); + t2 = (*t1); + t19 = (uint8_t *)&t2->next_punctuation; + (*t19) = UINT8_C(1); + return 0; +} + +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9682( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0, + uint8_t const a1) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t3; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct json_stringify_StringifyOptions__8511 *t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t9; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t11; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t12; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t13; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t14; + void const **t16; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t17; + void const *t18; + nav__9682_57 (**t19)(void const *, nav__9682_59); + struct io_Writer__4352 t20; + struct io_Writer__4352 t15; + struct io_Writer__4352 t21; + struct io_Writer__4352 const *t22; + uint16_t t4; + uint16_t t23; + struct json_stringify_StringifyOptions__8511 t6; + bool t7; + nav__9682_51 t10; + uint8_t t2; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = a1; + t3 = (*t1); + t4 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + t3); if (t4) { - goto zig_block_0; + return t4; } - goto zig_block_2; + t5 = (struct json_stringify_StringifyOptions__8511 *)&a0->options; + t6 = (*t5); + t7 = t6.emit_nonportable_numbers_as_strings; + if (t7) { + goto zig_block_0; + } + goto zig_block_0; - zig_block_2:; - t1 = t0; - t5 = t1.ptr; - t5 = (uint8_t const *)(((uintptr_t)t5) + ((uintptr_t)32ul*sizeof(uint8_t))); - t2 = t1.len; - t2 = t2 - (uintptr_t)32ul; - t1.ptr = t5; - t1.len = t2; - t0 = t1; - goto zig_block_1; - } - goto zig_block_0; - - zig_block_1:; - goto zig_loop_6; - - zig_block_0:; - t1 = t0; - t2 = t1.len; - t11 = (uintptr_t)0ul; - zig_loop_52: - t12 = t11; - t3 = t12; - t13 = t2; - t4 = t3 < t13; - if (t4) { - t1 = t0; - t12 = t11; - t14 = t1.ptr[t12]; - t4 = t14 < UINT8_C(128); - if (t4) { - t12 = t11; - t12 = t12 + (uintptr_t)1ul; - t11 = t12; - goto zig_block_5; +zig_block_0:; + t3 = (*t1); + t8 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t3->stream; + t9 = (*t8); + t10.f0 = a1; + t11 = t9; + t12 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t11; + t13 = t12; + t14 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t13; + t16 = (void const **)&t15.context; + t12 = (*t14); + t17 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t12 + ->context; + t18 = (void const *)t17; + (*t16) = t18; + t19 = (nav__9682_57(**)(void const *, nav__9682_59)) & t15.writeFn; + (*t19) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t20 = t15; + t21 = t20; + t22 = (struct io_Writer__4352 const *)&t21; + t20 = (*t22); + t4 = io_Writer_print__anon_9856__9685(t20, t10); + memcpy(&t23, &t4, sizeof(uint16_t)); + if (t23) { + return t23; } - goto zig_block_6; + t3 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + t3); + return 0; +} - zig_block_6:; - t12 = (uintptr_t)t14; - t14 = t15[t12]; - t4 = t14 == UINT8_C(241); - if (t4) { - return false; +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9545( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + uint8_t *t3; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t7; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t9; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t10; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t11; + void const **t13; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t14; + void const *t15; + nav__9545_55 (**t16)(void const *, nav__9545_57); + struct io_Writer__4352 t17; + struct io_Writer__4352 t12; + struct io_Writer__4352 t18; + struct io_Writer__4352 const *t19; + uint16_t t5; + uint16_t t20; + uint8_t t4; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9548( + t2, UINT8_C(1)); + t3 = (uint8_t *)&a0->next_punctuation; + t4 = (*t3); + switch (t4) { + case UINT8_C(1): { + goto zig_block_0; + } + case UINT8_C(2): { + t2 = (*t1); + t5 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9549( + t2); + if (t5) { + return t5; + } + goto zig_block_0; + } + case UINT8_C(0): + case UINT8_C(3): { + zig_unreachable(); + } + default: + zig_unreachable(); } - goto zig_block_7; - zig_block_7:; - t16 = t14 & UINT8_C(7); - t12 = t11; - t17 = (uintptr_t)t16; - t17 = t12 + t17; - t13 = t17; - t3 = t2; - t4 = t13 > t3; - if (t4) { - return false; +zig_block_0:; + t2 = (*t1); + t6 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t7 = (*t6); + t8 = t7; + t9 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t8; + t10 = t9; + t11 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t10; + t13 = (void const **)&t12.context; + t9 = (*t11); + t14 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t9 + ->context; + t15 = (void const *)t14; + (*t13) = t15; + t16 = (nav__9545_55(**)(void const *, nav__9545_57)) & t12.writeFn; + (*t16) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t17 = t12; + t18 = t17; + t19 = (struct io_Writer__4352 const *)&t18; + t17 = (*t19); + t5 = io_Writer_writeByte__8279(t17, UINT8_C(93)); + memcpy(&t20, &t5, sizeof(uint16_t)); + if (t20) { + return t20; } - goto zig_block_8; + t2 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + t2); + return 0; +} - zig_block_8:; - t18 = UINT8_C(128); - t19 = UINT8_C(191); - t14 = zig_shr_u8(t14, UINT8_C(4)); - switch (t14) { - case UINT8_C(0): { - goto zig_block_9; - } - case UINT8_C(1): { - t18 = UINT8_C(160); - goto zig_block_9; - } - case UINT8_C(2): { - t19 = UINT8_C(159); - goto zig_block_9; - } - case UINT8_C(3): { - t18 = UINT8_C(144); - goto zig_block_9; - } - case UINT8_C(4): { - t19 = UINT8_C(143); - goto zig_block_9; - } - default: { - zig_unreachable(); - } +static uint16_t +json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9683( + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + a0) { + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *t1; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t2; + struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 + *t0; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *t4; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t5; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + t6; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t7; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *t8; + struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *t9; + void const **t11; + struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *t12; + void const *t13; + nav__9683_54 (**t14)(void const *, nav__9683_56); + struct io_Writer__4352 t15; + struct io_Writer__4352 t10; + struct io_Writer__4352 t16; + struct io_Writer__4352 const *t17; + uint16_t t3; + uint16_t t18; + t0 = a0; + t1 = + (struct + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29_2c__7b_20_checked_to_arbitrary_depth_20_3d_20_7b_7d_20_7d_29__8668 *const + *)&t0; + t2 = (*t1); + t3 = + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9550( + t2); + if (t3) { + return t3; + } + t2 = (*t1); + t4 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 + *)&t2->stream; + t5 = (*t4); + t6 = t5; + t7 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const + *)&t6; + t8 = t7; + t9 = + (struct + io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29__2237 const *const + *)&t8; + t11 = (void const **)&t10.context; + t7 = (*t9); + t12 = (struct array_list_ArrayListAligned_28u8_2cnull_29__658 *const *)&t7 + ->context; + t13 = (void const *)t12; + (*t11) = t13; + t14 = (nav__9683_54(**)(void const *, nav__9683_56)) & t10.writeFn; + (*t14) = + &io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d_2c_28function_20_27appendWrite_27_29_29___4911; + t15 = t10; + t16 = t15; + t17 = (struct io_Writer__4352 const *)&t16; + t15 = (*t17); + t3 = io_Writer_writeAll__8277( + t15, (nav__9683_56){(uint8_t const *)&__anon_9860, (uintptr_t)4ul}); + memcpy(&t18, &t3, sizeof(uint16_t)); + if (t18) { + return t18; } + t2 = (*t1); + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9553( + t2); + return 0; +} - zig_block_9:; +static bool unicode_utf8ValidateSliceImpl__anon_9842__9684( + nav__9684_39 const a0) { + static uint8_t const t9[32] = + "\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200" + "\200\200\200\200\200\200\200\200\200\200\200\200\200\200"; + static uint8_t const t15[256] = + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360\360" + "\360\360\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361" + "\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361" + "\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361\361" + "\361\361\361\361\361\361\361\361\361\361\361\361\361\361\002\002\002\002" + "\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002\002" + "\002\002\002\002\002\002\002\002\023\003\003\003\003\003\003\003\003\003" + "\003\003\003#" + "\003\0034\004\004\004D\361\361\361\361\361\361\361\361\361\361\361"; + nav__9684_39 t1; + nav__9684_39 t0; + uintptr_t t2; + uintptr_t t12; + uintptr_t t17; + uintptr_t t11; + uint64_t t3; + uint64_t t13; + uint8_t const *t5; + uint8_t const(*t6)[32]; + bool t4; + bool t21; + uint8_t t7[32]; + uint8_t t8[32]; + bool t10[32]; + uint8_t t14; + uint8_t t16; + uint8_t t20; + uint8_t t18; + uint8_t t19; + t0 = a0; +zig_loop_6: t1 = t0; - t17 = t11; - t17 = t17 + (uintptr_t)1ul; - t14 = t1.ptr[t17]; - t20 = t18; - t4 = t14 < t20; + t2 = t1.len; + t3 = t2; + t4 = t3 >= UINT64_C(32); if (t4) { - t21 = true; - goto zig_block_11; - } - t20 = t19; - t4 = t20 < t14; - t21 = t4; - goto zig_block_11; + t1 = t0; + t5 = t1.ptr; + t5 = + (uint8_t const *)(((uintptr_t)t5) + ((uintptr_t)0ul * sizeof(uint8_t))); + t6 = (uint8_t const(*)[32])t5; + memcpy(t7, (const char *)t6, sizeof(uint8_t[32])); + memcpy(&t8, &t7, sizeof(uint8_t[32])); + for (t2 = (uintptr_t)0ul; t2 < (uintptr_t)32ul; t2 += (uintptr_t)1ul) { + t8[t2] = t8[t2] & t9[t2]; + } + for (t2 = (uintptr_t)0ul; t2 < (uintptr_t)32ul; t2 += (uintptr_t)1ul) { + t10[t2] = t8[t2] == t9[t2]; + } + t4 = false; + for (t2 = (uintptr_t)0ul; t2 < (uintptr_t)32ul; t2 += (uintptr_t)1ul) { + t4 |= t10[t2]; + } + if (t4) { + goto zig_block_0; + } + goto zig_block_2; - zig_block_11:; - if (t21) { - return false; + zig_block_2:; + t1 = t0; + t5 = t1.ptr; + t5 = (uint8_t const *)(((uintptr_t)t5) + + ((uintptr_t)32ul * sizeof(uint8_t))); + t2 = t1.len; + t2 = t2 - (uintptr_t)32ul; + t1.ptr = t5; + t1.len = t2; + t0 = t1; + goto zig_block_1; } - goto zig_block_10; + goto zig_block_0; - zig_block_10:; - switch (t16) { - case UINT8_C(2): { - t17 = t11; - t17 = t17 + (uintptr_t)2ul; - t11 = t17; - goto zig_block_12; - } - case UINT8_C(3): { +zig_block_1:; + goto zig_loop_6; + +zig_block_0:; + t1 = t0; + t2 = t1.len; + t11 = (uintptr_t)0ul; +zig_loop_52: + t12 = t11; + t3 = t12; + t13 = t2; + t4 = t3 < t13; + if (t4) { t1 = t0; - t17 = t11; - t17 = t17 + (uintptr_t)2ul; - t16 = t1.ptr[t17]; - t21 = t16 < UINT8_C(128); - if (t21) { - t4 = true; - goto zig_block_14; + t12 = t11; + t14 = t1.ptr[t12]; + t4 = t14 < UINT8_C(128); + if (t4) { + t12 = t11; + t12 = t12 + (uintptr_t)1ul; + t11 = t12; + goto zig_block_5; } - t21 = UINT8_C(191) < t16; - t4 = t21; - goto zig_block_14; + goto zig_block_6; - zig_block_14:; + zig_block_6:; + t12 = (uintptr_t)t14; + t14 = t15[t12]; + t4 = t14 == UINT8_C(241); if (t4) { - return false; + return false; } - goto zig_block_13; + goto zig_block_7; - zig_block_13:; - t17 = t11; - t17 = t17 + (uintptr_t)3ul; - t11 = t17; - goto zig_block_12; - } - case UINT8_C(4): { - t1 = t0; - t17 = t11; - t17 = t17 + (uintptr_t)2ul; - t16 = t1.ptr[t17]; - t21 = t16 < UINT8_C(128); - if (t21) { - t4 = true; - goto zig_block_16; + zig_block_7:; + t16 = t14 & UINT8_C(7); + t12 = t11; + t17 = (uintptr_t)t16; + t17 = t12 + t17; + t13 = t17; + t3 = t2; + t4 = t13 > t3; + if (t4) { + return false; } - t21 = UINT8_C(191) < t16; - t4 = t21; - goto zig_block_16; + goto zig_block_8; - zig_block_16:; - if (t4) { - return false; + zig_block_8:; + t18 = UINT8_C(128); + t19 = UINT8_C(191); + t14 = zig_shr_u8(t14, UINT8_C(4)); + switch (t14) { + case UINT8_C(0): { + goto zig_block_9; + } + case UINT8_C(1): { + t18 = UINT8_C(160); + goto zig_block_9; + } + case UINT8_C(2): { + t19 = UINT8_C(159); + goto zig_block_9; + } + case UINT8_C(3): { + t18 = UINT8_C(144); + goto zig_block_9; + } + case UINT8_C(4): { + t19 = UINT8_C(143); + goto zig_block_9; + } + default: { + zig_unreachable(); + } } - goto zig_block_15; - zig_block_15:; + zig_block_9:; t1 = t0; t17 = t11; - t17 = t17 + (uintptr_t)3ul; - t16 = t1.ptr[t17]; - t21 = t16 < UINT8_C(128); - if (t21) { - t4 = true; - goto zig_block_18; + t17 = t17 + (uintptr_t)1ul; + t14 = t1.ptr[t17]; + t20 = t18; + t4 = t14 < t20; + if (t4) { + t21 = true; + goto zig_block_11; } - t21 = UINT8_C(191) < t16; - t4 = t21; - goto zig_block_18; + t20 = t19; + t4 = t20 < t14; + t21 = t4; + goto zig_block_11; - zig_block_18:; - if (t4) { - return false; + zig_block_11:; + if (t21) { + return false; } - goto zig_block_17; + goto zig_block_10; - zig_block_17:; - t17 = t11; - t17 = t17 + (uintptr_t)4ul; - t11 = t17; - goto zig_block_12; - } - default: { - zig_unreachable(); - } - } + zig_block_10:; + switch (t16) { + case UINT8_C(2): { + t17 = t11; + t17 = t17 + (uintptr_t)2ul; + t11 = t17; + goto zig_block_12; + } + case UINT8_C(3): { + t1 = t0; + t17 = t11; + t17 = t17 + (uintptr_t)2ul; + t16 = t1.ptr[t17]; + t21 = t16 < UINT8_C(128); + if (t21) { + t4 = true; + goto zig_block_14; + } + t21 = UINT8_C(191) < t16; + t4 = t21; + goto zig_block_14; + + zig_block_14:; + if (t4) { + return false; + } + goto zig_block_13; + + zig_block_13:; + t17 = t11; + t17 = t17 + (uintptr_t)3ul; + t11 = t17; + goto zig_block_12; + } + case UINT8_C(4): { + t1 = t0; + t17 = t11; + t17 = t17 + (uintptr_t)2ul; + t16 = t1.ptr[t17]; + t21 = t16 < UINT8_C(128); + if (t21) { + t4 = true; + goto zig_block_16; + } + t21 = UINT8_C(191) < t16; + t4 = t21; + goto zig_block_16; + + zig_block_16:; + if (t4) { + return false; + } + goto zig_block_15; + + zig_block_15:; + t1 = t0; + t17 = t11; + t17 = t17 + (uintptr_t)3ul; + t16 = t1.ptr[t17]; + t21 = t16 < UINT8_C(128); + if (t21) { + t4 = true; + goto zig_block_18; + } + t21 = UINT8_C(191) < t16; + t4 = t21; + goto zig_block_18; + + zig_block_18:; + if (t4) { + return false; + } + goto zig_block_17; + + zig_block_17:; + t17 = t11; + t17 = t17 + (uintptr_t)4ul; + t11 = t17; + goto zig_block_12; + } + default: { + zig_unreachable(); + } + } zig_block_12:; - goto zig_block_5; + goto zig_block_5; zig_block_5:; - goto zig_block_4; - } - goto zig_block_3; + goto zig_block_4; + } + goto zig_block_3; - zig_block_4:; - goto zig_loop_52; +zig_block_4:; + goto zig_loop_52; - zig_block_3:; - return true; +zig_block_3:; + return true; } -static uint16_t io_Writer_print__anon_9829__9680(struct io_Writer__4338 const a0, nav__9680_39 const a1) { - uint16_t t0; - uint16_t t1; - t0 = fmt_format__anon_9838__9681(a0, a1); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; +static uint16_t io_Writer_print__anon_9856__9685( + struct io_Writer__4352 const a0, nav__9685_39 const a1) { + uint16_t t0; + uint16_t t1; + t0 = fmt_format__anon_9865__9686(a0, a1); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; } -static uint16_t fmt_format__anon_9838__9681(struct io_Writer__4338 const a0, nav__9681_39 const a1) { - struct io_Writer__4338 t0; - uint16_t t2; - uint8_t t1; - t0 = a0; - t1 = a1.f0; - t2 = fmt_formatType__anon_9856__9682(t1, (struct fmt_FormatOptions__4745){{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},{(uintptr_t)0xaaaaaaaaaaaaaaaaul,true},UINT32_C(32),UINT8_C(2)}, a0, (uintptr_t)3ul); - if (t2) { - return t2; - } - return 0; -} - -static uint16_t fmt_formatType__anon_9856__9682(uint8_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2, uintptr_t const a3) { - struct io_Writer__4338 t1; - uint16_t t2; - uint16_t t3; - uint8_t t0; - (void)a3; - t0 = a0; - t1 = a2; - t2 = fmt_formatValue__anon_9861__9683(a0, a1, a2); - memcpy(&t3, &t2, sizeof(uint16_t)); - return t3; -} - -static uint16_t fmt_formatInt__anon_9869__9685(uint8_t const a0, uint8_t const a1, uint8_t const a2, struct fmt_FormatOptions__4745 const a3, struct io_Writer__4338 const a4) { - uintptr_t t5; - uintptr_t t3; - uint8_t *t6; - uint8_t (*t7)[2]; - nav__9685_58 t10; - nav__9685_47 t11; - uint16_t t12; - uint16_t t13; - bool t0; - uint8_t t4; - uint8_t t2; - nav__9685_56 t8; - uint8_t t9[2]; - uint8_t t1[9]; - t0 = a1 >= UINT8_C(2); - debug_assert__180(t0); - t2 = a0; - t3 = (uintptr_t)9ul; - t0 = a1 == UINT8_C(10); - if (t0) { - zig_loop_20: - t4 = t2; - t0 = t4 >= UINT8_C(100); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)2ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; - t4 = t2; - t4 = t4 % UINT8_C(100); - t8 = fmt_digits2__8050(t4); - memcpy(t9, t8.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t9, sizeof(uint8_t[2])); - t4 = t2; - t4 = t4 / UINT8_C(100); - t2 = t4; - goto zig_block_2; +static uint16_t fmt_format__anon_9865__9686(struct io_Writer__4352 const a0, + nav__9686_39 const a1) { + struct io_Writer__4352 t0; + uint16_t t2; + uint8_t t1; + t0 = a0; + t1 = a1.f0; + t2 = fmt_formatType__anon_9883__9687( + t1, + (struct fmt_FormatOptions__4759){{(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + {(uintptr_t)0xaaaaaaaaaaaaaaaaul, true}, + UINT32_C(32), + UINT8_C(2)}, + a0, (uintptr_t)3ul); + if (t2) { + return t2; } - goto zig_block_1; + return 0; +} + +static uint16_t fmt_formatType__anon_9883__9687( + uint8_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2, uintptr_t const a3) { + struct io_Writer__4352 t1; + uint16_t t2; + uint16_t t3; + uint8_t t0; + (void)a3; + t0 = a0; + t1 = a2; + t2 = fmt_formatValue__anon_9888__9688(a0, a1, a2); + memcpy(&t3, &t2, sizeof(uint16_t)); + return t3; +} + +static uint16_t fmt_formatInt__anon_9896__9690( + uint8_t const a0, uint8_t const a1, uint8_t const a2, + struct fmt_FormatOptions__4759 const a3, struct io_Writer__4352 const a4) { + uintptr_t t5; + uintptr_t t3; + uint8_t *t6; + uint8_t (*t7)[2]; + nav__9690_58 t10; + nav__9690_47 t11; + uint16_t t12; + uint16_t t13; + bool t0; + uint8_t t4; + uint8_t t2; + nav__9690_56 t8; + uint8_t t9[2]; + uint8_t t1[9]; + t0 = a1 >= UINT8_C(2); + debug_assert__180(t0); + t2 = a0; + t3 = (uintptr_t)9ul; + t0 = a1 == UINT8_C(10); + if (t0) { + zig_loop_20: + t4 = t2; + t0 = t4 >= UINT8_C(100); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t4 = t4 % UINT8_C(100); + t8 = fmt_digits2__8053(t4); + memcpy(t9, t8.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t9, sizeof(uint8_t[2])); + t4 = t2; + t4 = t4 / UINT8_C(100); + t2 = t4; + goto zig_block_2; + } + goto zig_block_1; zig_block_2:; - goto zig_loop_20; + goto zig_loop_20; zig_block_1:; - t4 = t2; - t0 = t4 < UINT8_C(10); - if (t0) { - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t4 = t2; - t4 = UINT8_C(48) + t4; - (*t6) = t4; - goto zig_block_3; + t4 = t2; + t0 = t4 < UINT8_C(10); + if (t0) { + t5 = t3; + t5 = t5 - (uintptr_t)1ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1[t5]; + t4 = t2; + t4 = UINT8_C(48) + t4; + (*t6) = t4; + goto zig_block_3; + } + t5 = t3; + t5 = t5 - (uintptr_t)2ul; + t3 = t5; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t7 = (uint8_t (*)[2])t6; + t4 = t2; + t8 = fmt_digits2__8053(t4); + memcpy(t9, t8.array, sizeof(uint8_t[2])); + memcpy((char *)t7, t9, sizeof(uint8_t[2])); + goto zig_block_3; + + zig_block_3:; + goto zig_block_0; } +zig_loop_75: + t4 = t2; + t4 = t4 % a1; t5 = t3; - t5 = t5 - (uintptr_t)2ul; + t5 = t5 - (uintptr_t)1ul; t3 = t5; t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t7 = (uint8_t (*)[2])t6; + t6 = (uint8_t *)&t1[t5]; + t4 = fmt_digitToChar__8069(t4, a2); + (*t6) = t4; t4 = t2; - t8 = fmt_digits2__8050(t4); - memcpy(t9, t8.array, sizeof(uint8_t[2])); - memcpy((char *)t7, t9, sizeof(uint8_t[2])); - goto zig_block_3; - - zig_block_3:; - goto zig_block_0; - } - zig_loop_75: - t4 = t2; - t4 = t4 % a1; - t5 = t3; - t5 = t5 - (uintptr_t)1ul; - t3 = t5; - t5 = t3; - t6 = (uint8_t *)&t1[t5]; - t4 = fmt_digitToChar__8066(t4, a2); - (*t6) = t4; - t4 = t2; - t4 = t4 / a1; - t2 = t4; - t4 = t2; - t0 = t4 == UINT8_C(0); - if (t0) { - goto zig_block_4; - } - goto zig_block_5; + t4 = t4 / a1; + t2 = t4; + t4 = t2; + t0 = t4 == UINT8_C(0); + if (t0) { + goto zig_block_4; + } + goto zig_block_5; - zig_block_5:; - goto zig_loop_75; +zig_block_5:; + goto zig_loop_75; - zig_block_4:; - goto zig_block_0; +zig_block_4:; + goto zig_block_0; - zig_block_0:; - t5 = t3; - t6 = (uint8_t *)&t1; - t6 = (uint8_t *)(((uintptr_t)t6) + (t5*sizeof(uint8_t))); - t5 = (uintptr_t)9ul - t5; - t10.ptr = t6; - t10.len = t5; - memcpy(&t11, &t10, sizeof(nav__9685_47)); - t12 = fmt_formatBuf__anon_5552__8670(t11, a3, a4); - memcpy(&t13, &t12, sizeof(uint16_t)); - return t13; +zig_block_0:; + t5 = t3; + t6 = (uint8_t *)&t1; + t6 = (uint8_t *)(((uintptr_t)t6) + (t5 * sizeof(uint8_t))); + t5 = (uintptr_t)9ul - t5; + t10.ptr = t6; + t10.len = t5; + memcpy(&t11, &t10, sizeof(nav__9690_47)); + t12 = fmt_formatBuf__anon_5568__8674(t11, a3, a4); + memcpy(&t13, &t12, sizeof(uint16_t)); + return t13; } -static uint16_t fmt_formatIntValue__anon_9865__9684(uint8_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatInt__anon_9869__9685(a0, UINT8_C(10), UINT8_C(0), a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; +static uint16_t fmt_formatIntValue__anon_9892__9689( + uint8_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatInt__anon_9896__9690(a0, UINT8_C(10), UINT8_C(0), a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; } -static uint16_t fmt_formatValue__anon_9861__9683(uint8_t const a0, struct fmt_FormatOptions__4745 const a1, struct io_Writer__4338 const a2) { - uint16_t t0; - uint16_t t1; - t0 = fmt_formatIntValue__anon_9865__9684(a0, a1, a2); - memcpy(&t1, &t0, sizeof(uint16_t)); - return t1; +static uint16_t fmt_formatValue__anon_9888__9688( + uint8_t const a0, struct fmt_FormatOptions__4759 const a1, + struct io_Writer__4352 const a2) { + uint16_t t0; + uint16_t t1; + t0 = fmt_formatIntValue__anon_9892__9689(a0, a1, a2); + memcpy(&t1, &t0, sizeof(uint16_t)); + return t1; } -static uint64_t const builtin_zig_backend__258 = UINT64_C(3); +static uint64_t const builtin_zig_backend__259 = UINT64_C(3); static bool const start_simplified_logic__109 = false; -static uint8_t const builtin_output_mode__259 = UINT8_C(1); +static uint8_t const builtin_output_mode__260 = UINT8_C(1); -static uint8_t const builtin_link_mode__260 = UINT8_C(0); +static uint8_t const builtin_link_mode__261 = UINT8_C(0); -static uint64_t features_features__325 = ((uint64_t)UINT64_C(0)); +static uint64_t features_features__326 = ((uint64_t)UINT64_C(0)); -static uintptr_t const bit_set_IntegerBitSet_2864_29_bit_length__356 = 64ul; +static uintptr_t const bit_set_IntegerBitSet_2864_29_bit_length__357 = 64ul; -static bool const builtin_link_libc__270 = true; +static bool const builtin_link_libc__271 = true; -static bool const posix_use_libc__1467 = true; +static bool const posix_use_libc__1468 = true; -static struct Target_Os__675 const builtin_os__266 = {{ .linux = {{{6ul,12ul,77ul,{NULL,0xaaaaaaaaaaaaaaaaul},{NULL,0xaaaaaaaaaaaaaaaaul}},{6ul,12ul,77ul,{NULL,0xaaaaaaaaaaaaaaaaul},{NULL,0xaaaaaaaaaaaaaaaaul}}},{2ul,39ul,0ul,{NULL,0xaaaaaaaaaaaaaaaaul},{NULL,0xaaaaaaaaaaaaaaaaul}},UINT32_C(14)} },UINT8_C(9)}; +static struct Target_Os__675 const builtin_os__267 = { + {.linux = {{{6ul, + 12ul, + 78ul, + {NULL, 0xaaaaaaaaaaaaaaaaul}, + {NULL, 0xaaaaaaaaaaaaaaaaul}}, + {6ul, + 12ul, + 78ul, + {NULL, 0xaaaaaaaaaaaaaaaaul}, + {NULL, 0xaaaaaaaaaaaaaaaaul}}}, + {2ul, + 39ul, + 0ul, + {NULL, 0xaaaaaaaaaaaaaaaaul}, + {NULL, 0xaaaaaaaaaaaaaaaaul}}, + UINT32_C(14)}}, + UINT8_C(9)}; -static uint8_t const c_native_os__1909 = UINT8_C(9); +static uint8_t const c_native_os__1910 = UINT8_C(9); -static uint8_t const builtin_mode__269 = UINT8_C(3); +static uint8_t const builtin_mode__270 = UINT8_C(3); static bool const debug_runtime_safety__159 = false; -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3761 = {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),0ul,0ul},NULL}; - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4151 = {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),0ul,0ul},NULL}; - -static struct Target_DynamicLinker__982 const Target_DynamicLinker_none__4399 = {"\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252",UINT8_C(0)}; - -static struct array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3972 = {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),0ul,0ul},NULL}; - -static bool const builtin_is_test__262 = false; - -static uint8_t *heap_CAllocator_alloc__4523(void *const a0, uintptr_t const a1, uint8_t const a2, uintptr_t const a3) { - uint64_t t0; - uint8_t *t2; - bool t1; - (void)a0; - (void)a3; - t0 = a1; - t1 = t0 > UINT64_C(0); - debug_assert__180(t1); - t2 = heap_CAllocator_alignedAlloc__4520(a1, a2); - return t2; -} - -static bool heap_CAllocator_resize__4524(void *const a0, nav__4524_40 const a1, uint8_t const a2, uintptr_t const a3, uintptr_t const a4) { - uintptr_t t0; - uint64_t t1; - uint64_t t2; - uint8_t *t4; - bool t3; - (void)a0; - (void)a2; - (void)a4; - t0 = a1.len; - t1 = a3; - t2 = t0; - t3 = t1 <= t2; - if (t3) { - return true; - } - goto zig_block_0; - - zig_block_0:; - t4 = a1.ptr; - t0 = heap_CAllocator_alignedAllocSize__4522(t4); - t2 = a3; - t1 = t0; - t3 = t2 <= t1; - if (t3) { - return true; - } - goto zig_block_1; - - zig_block_1:; - return false; -} - -static uint8_t *heap_CAllocator_remap__4525(void *const a0, nav__4525_40 const a1, uint8_t const a2, uintptr_t const a3, uintptr_t const a4) { - uint8_t *t0; - uint8_t *t2; - uint8_t *t3; - bool t1; - t1 = heap_CAllocator_resize__4524(a0, a1, a2, a3, a4); - if (t1) { - t2 = a1.ptr; - t3 = (uint8_t *)t2; - t0 = t3; +static struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_EnvironmentValue_29_2carray_hash_map_StringContext_2ctrue_29__874 const + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cjson_hashmap_ArrayHashMap_28environment_root_Environme__3762 = + {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), 0ul, 0ul}, NULL}; + +static struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray_hash_map_StringContext_2ctrue_29__928 const + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_linked_libraries_root_LibraryEntry_2carray__4152 = + {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), 0ul, 0ul}, NULL}; + +static struct Target_DynamicLinker__982 const Target_DynamicLinker_none__4400 = + {"\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252", + UINT8_C(0)}; + +static struct + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_StringContext_2ctrue_29__895 const + array_hash_map_ArrayHashMapUnmanaged_28_5b_5dconst_20u8_2cenvironment_root_EnvironmentValue_2carray_hash_map_Str__3973 = + {{((uint8_t *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), 0ul, 0ul}, NULL}; + +static bool const builtin_is_test__263 = false; + +static uint8_t *heap_CAllocator_alloc__4524(void *const a0, uintptr_t const a1, + uint8_t const a2, + uintptr_t const a3) { + uint64_t t0; + uint8_t *t2; + bool t1; + (void)a0; + (void)a3; + t0 = a1; + t1 = t0 > UINT64_C(0); + debug_assert__180(t1); + t2 = heap_CAllocator_alignedAlloc__4521(a1, a2); + return t2; +} + +static bool heap_CAllocator_resize__4525(void *const a0, nav__4525_40 const a1, + uint8_t const a2, uintptr_t const a3, + uintptr_t const a4) { + uintptr_t t0; + uint64_t t1; + uint64_t t2; + uint8_t *t4; + bool t3; + (void)a0; + (void)a2; + (void)a4; + t0 = a1.len; + t1 = a3; + t2 = t0; + t3 = t1 <= t2; + if (t3) { + return true; + } + goto zig_block_0; + +zig_block_0:; + t4 = a1.ptr; + t0 = heap_CAllocator_alignedAllocSize__4523(t4); + t2 = a3; + t1 = t0; + t3 = t2 <= t1; + if (t3) { + return true; + } + goto zig_block_1; + +zig_block_1:; + return false; +} + +static uint8_t *heap_CAllocator_remap__4526(void *const a0, + nav__4526_40 const a1, + uint8_t const a2, + uintptr_t const a3, + uintptr_t const a4) { + uint8_t *t0; + uint8_t *t2; + uint8_t *t3; + bool t1; + t1 = heap_CAllocator_resize__4525(a0, a1, a2, a3, a4); + if (t1) { + t2 = a1.ptr; + t3 = (uint8_t *)t2; + t0 = t3; + goto zig_block_0; + } + t0 = NULL; + goto zig_block_0; + +zig_block_0:; + return t0; +} + +static void heap_CAllocator_free__4527(void *const a0, nav__4527_40 const a1, + uint8_t const a2, uintptr_t const a3) { + uint8_t *t0; + (void)a0; + (void)a2; + (void)a3; + t0 = a1.ptr; + heap_CAllocator_alignedFree__4522(t0); + return; +} + +static uint8_t *heap_CAllocator_alignedAlloc__4521(uintptr_t const a0, + uint8_t const a1) { + uint8_t const *t1; + uintptr_t t3; + uint64_t t4; + void *t9; + void *t5; + uint8_t *t10; + int t6; + int32_t t7; + uint8_t t2; + uint8_t t0; + bool t8; + t0 = a1; + t1 = (uint8_t const *)&t0; + t2 = (*t1); + t3 = mem_Alignment_toByteUnits__1108(t2); + t3 = ((uintptr_t)8ul > t3) ? (uintptr_t)8ul : t3; + t4 = t3; + t3 = t4; + t6 = posix_memalign(&t5, t3, a0); + t7 = t6; + t8 = t7 != INT32_C(0); + if (t8) { + return NULL; + } goto zig_block_0; - } - t0 = NULL; - goto zig_block_0; - - zig_block_0:; - return t0; -} - -static void heap_CAllocator_free__4526(void *const a0, nav__4526_40 const a1, uint8_t const a2, uintptr_t const a3) { - uint8_t *t0; - (void)a0; - (void)a2; - (void)a3; - t0 = a1.ptr; - heap_CAllocator_alignedFree__4521(t0); - return; -} - -static uint8_t *heap_CAllocator_alignedAlloc__4520(uintptr_t const a0, uint8_t const a1) { - uint8_t const *t1; - uintptr_t t3; - uint64_t t4; - void *t9; - void *t5; - uint8_t *t10; - int t6; - int32_t t7; - uint8_t t2; - uint8_t t0; - bool t8; - t0 = a1; - t1 = (uint8_t const *)&t0; - t2 = (*t1); - t3 = mem_Alignment_toByteUnits__1107(t2); - t3 = ((uintptr_t)8ul > t3) ? (uintptr_t)8ul : t3; - t4 = t3; - t3 = t4; - t6 = posix_memalign(&t5, t3, a0); - t7 = t6; - t8 = t7 != INT32_C(0); - if (t8) { - return NULL; - } - goto zig_block_0; - zig_block_0:; - t9 = t5; - t10 = (uint8_t *)t9; - return t10; +zig_block_0:; + t9 = t5; + t10 = (uint8_t *)t9; + return t10; } -static uintptr_t heap_CAllocator_alignedAllocSize__4522(uint8_t *const a0) { - void const *t0; - void const *t1; - uintptr_t t2; - t0 = (void const *)a0; - t1 = t0; - t2 = malloc_usable_size(t1); - return t2; +static uintptr_t heap_CAllocator_alignedAllocSize__4523(uint8_t *const a0) { + void const *t0; + void const *t1; + uintptr_t t2; + t0 = (void const *)a0; + t1 = t0; + t2 = malloc_usable_size(t1); + return t2; } -static void heap_CAllocator_alignedFree__4521(uint8_t *const a0) { - void *t0; - void *t1; - t0 = (void *)a0; - t1 = t0; - free(t1); - return; +static void heap_CAllocator_alignedFree__4522(uint8_t *const a0) { + void *t0; + void *t1; + t0 = (void *)a0; + t1 = t0; + free(t1); + return; } -static uintptr_t mem_Alignment_toByteUnits__1107(uint8_t const a0) { - uintptr_t t1; - uint8_t t0; - t0 = a0; - t1 = zig_shlw_u64((uintptr_t)1ul, t0, UINT8_C(64)); - return t1; +static uintptr_t mem_Alignment_toByteUnits__1108(uint8_t const a0) { + uintptr_t t1; + uint8_t t0; + t0 = a0; + t1 = zig_shlw_u64((uintptr_t)1ul, t0, UINT8_C(64)); + return t1; } -static struct mem_Allocator__599 const heap_c_allocator__4488 = {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}; +static struct mem_Allocator__599 const heap_c_allocator__4489 = { + ((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4516)}; -static struct mem_Allocator__599 const c_allocator__235 = {((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul),((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4515)}; +static struct mem_Allocator__599 const c_allocator__235 = { + ((void *)(uintptr_t)0xaaaaaaaaaaaaaaaaul), + ((struct mem_Allocator_VTable__602 const *)&heap_CAllocator_vtable__4516)}; -static struct Target_Cpu_Feature_Set__999 const Target_Cpu_Feature_Set_empty__4444 = {{0ul,0ul,0ul,0ul,0ul}}; +static struct Target_Cpu_Feature_Set__999 const + Target_Cpu_Feature_Set_empty__4445 = {{0ul, 0ul, 0ul, 0ul, 0ul}}; -static struct Target_Cpu__967 const builtin_cpu__265 = {((struct Target_Cpu_Model__994 const *)&Target_x86_cpu_tigerlake__4630),{{520940646282633456ul,1395587583170564232ul,15691147860389201544ul,3ul,0ul}},UINT8_C(42)}; +static struct Target_Cpu__967 const builtin_cpu__266 = { + ((struct Target_Cpu_Model__994 const *)&Target_x86_cpu_tigerlake__4631), + {{520940646282633456ul, 1395587583170564232ul, 15691147860389201544ul, 3ul, + 0ul}}, + UINT8_C(42)}; -static uint8_t const builtin_abi__264 = UINT8_C(1); +static uint8_t const builtin_abi__265 = UINT8_C(1); -static uint8_t const builtin_object_format__268 = UINT8_C(0); +static uint8_t const builtin_object_format__269 = UINT8_C(0); -static struct Target__673 const builtin_target__267 = {{((struct Target_Cpu_Model__994 const *)&Target_x86_cpu_tigerlake__4630),{{520940646282633456ul,1395587583170564232ul,15691147860389201544ul,3ul,0ul}},UINT8_C(42)},{{ .linux = {{{6ul,12ul,77ul,{NULL,0xaaaaaaaaaaaaaaaaul},{NULL,0xaaaaaaaaaaaaaaaaul}},{6ul,12ul,77ul,{NULL,0xaaaaaaaaaaaaaaaaul},{NULL,0xaaaaaaaaaaaaaaaaul}}},{2ul,39ul,0ul,{NULL,0xaaaaaaaaaaaaaaaaul},{NULL,0xaaaaaaaaaaaaaaaaul}},UINT32_C(14)} },UINT8_C(9)},UINT8_C(1),UINT8_C(0),{"/nix/store/km4g87jxsqxvcq344ncyb8h1i6f3cqxh-glibc-2.40-218/lib/ld-linux-x86-64.so.2\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252",UINT8_C(83)}}; +static struct Target__673 const builtin_target__268 = { + {((struct Target_Cpu_Model__994 const *)&Target_x86_cpu_tigerlake__4631), + {{520940646282633456ul, 1395587583170564232ul, 15691147860389201544ul, 3ul, + 0ul}}, + UINT8_C(42)}, + {{.linux = {{{6ul, + 12ul, + 78ul, + {NULL, 0xaaaaaaaaaaaaaaaaul}, + {NULL, 0xaaaaaaaaaaaaaaaaul}}, + {6ul, + 12ul, + 78ul, + {NULL, 0xaaaaaaaaaaaaaaaaul}, + {NULL, 0xaaaaaaaaaaaaaaaaul}}}, + {2ul, + 39ul, + 0ul, + {NULL, 0xaaaaaaaaaaaaaaaaul}, + {NULL, 0xaaaaaaaaaaaaaaaaul}}, + UINT32_C(14)}}, + UINT8_C(9)}, + UINT8_C(1), + UINT8_C(0), + {"/nix/store/km4g87jxsqxvcq344ncyb8h1i6f3cqxh-glibc-2.40-218/lib/" + "ld-linux-x86-64.so." + "2\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252\252" + "\252\252\252\252\252\252\252\252\252\252", + UINT8_C(83)}}; -static struct builtin_CallingConvention__266 const builtin_CallingConvention_c__466 = {{ .x86_64_sysv = {{UINT64_C(0xaaaaaaaaaaaaaaaa),true}} },UINT8_C(4)}; +static struct builtin_CallingConvention__266 const + builtin_CallingConvention_c__467 = { + {.x86_64_sysv = {{UINT64_C(0xaaaaaaaaaaaaaaaa), true}}}, UINT8_C(4)}; -static uint8_t const (*const shared_RUNNER_CTL_FIFO__796)[21] = &__anon_2098; +static uint8_t const (*const shared_RUNNER_CTL_FIFO__797)[21] = &__anon_2098; -static uint8_t const (*const shared_RUNNER_ACK_FIFO__797)[21] = &__anon_2169; +static uint8_t const (*const shared_RUNNER_ACK_FIFO__798)[21] = &__anon_2169; -static uint64_t const runner_fifo_PROTOCOL_VERSION__1120 = UINT64_C(2); +static uint64_t const runner_fifo_PROTOCOL_VERSION__1121 = UINT64_C(2); -static uint8_t const mem_native_endian__831 = UINT8_C(1); +static uint8_t const mem_native_endian__832 = UINT8_C(1); -static int const cimport_F_GETFL__6002 = 3; +static int const cimport_F_GETFL__6005 = 3; -static int const cimport_O_NONBLOCK__5978 = 2048; +static int const cimport_O_NONBLOCK__5981 = 2048; -static int const cimport_F_SETFL__6003 = 4; +static int const cimport_F_SETFL__6006 = 4; -static uint8_t const os_linux_native_arch__2815 = UINT8_C(42); +static uint8_t const os_linux_native_arch__2816 = UINT8_C(42); -static int const cimport_EINTR__7703 = 4; +static int const cimport_EINTR__7706 = 4; -static uint8_t const fs_path_native_os__5105 = UINT8_C(9); +static uint8_t const fs_path_native_os__5108 = UINT8_C(9); -static uint8_t const fs_native_os__1180 = UINT8_C(9); +static uint8_t const fs_native_os__1181 = UINT8_C(9); -static uint8_t const fs_Dir_native_os__4770 = UINT8_C(9); +static uint8_t const fs_Dir_native_os__4771 = UINT8_C(9); -static bool const fs_File_is_windows__1356 = false; +static bool const fs_File_is_windows__1357 = false; -static uint8_t const posix_native_os__1465 = UINT8_C(9); +static uint8_t const posix_native_os__1466 = UINT8_C(9); -static uint8_t logger_max_level__5081 = UINT8_C(0); +static uint8_t logger_max_level__5084 = UINT8_C(0); -static bool const fs_Dir_have_flock__4771 = true; +static bool const fs_Dir_have_flock__4772 = true; -static uint8_t const c_native_abi__1907 = UINT8_C(1); +static uint8_t const c_native_abi__1908 = UINT8_C(1); -static bool const posix_unexpected_error_tracing__1896 = false; +static bool const posix_unexpected_error_tracing__1897 = false; -static uint16_t const fmt_max_format_args__8012 = UINT16_C(32); +static uint16_t const fmt_max_format_args__8015 = UINT16_C(32); static bool const debug_default_enable_segfault_handler__205 = false; -static uint8_t const log_default_level__8584 = UINT8_C(0); +static uint8_t const log_default_level__8587 = UINT8_C(0); -static struct std_Options__4758 const std_options__97 = {{0xaaaaaaaaaaaaaaaaul,true},{0xaaaaaaaaaaaaaaaaul,true},3ul,false,UINT8_C(0),false,true,false,false,false,UINT8_C(2)}; +static struct std_Options__4772 const std_options__97 = { + {0xaaaaaaaaaaaaaaaaul, true}, + {0xaaaaaaaaaaaaaaaaul, true}, + 3ul, + false, + UINT8_C(0), + false, + true, + false, + false, + false, + UINT8_C(2)}; -static bool const posix_lfs64_abi__1895 = true; +static bool const posix_lfs64_abi__1896 = true; -static uint8_t const (*const fmt_ANY__8015)[4] = &__anon_5396; +static uint8_t const (*const fmt_ANY__8018)[4] = &__anon_5412; -static uint8_t const unicode_native_endian__8292 = UINT8_C(1); +static uint8_t const unicode_native_endian__8295 = UINT8_C(1); -static uint32_t const unicode_replacement_character__8293 = UINT32_C(65533); +static uint32_t const unicode_replacement_character__8296 = UINT32_C(65533); -static bool const mem_backend_supports_vectors__859 = true; +static bool const mem_backend_supports_vectors__860 = true; -static bool const builtin_valgrind_support__273 = false; +static bool const builtin_valgrind_support__274 = false; -static nav__4504_38 const heap_page_size_min_default__4504 = {4096ul,false}; +static nav__4505_38 const heap_page_size_min_default__4505 = {4096ul, false}; -static uintptr_t const heap_page_size_min__4483 = 4096ul; +static uintptr_t const heap_page_size_min__4484 = 4096ul; -static uint8_t const c_MARKER_TYPE_SAMPLE_START__245 = UINT8_C(0); +static uint8_t const c_MARKER_TYPE_SAMPLE_START__246 = UINT8_C(0); -static uint8_t const c_MARKER_TYPE_SAMPLE_END__246 = UINT8_C(1); +static uint8_t const c_MARKER_TYPE_SAMPLE_END__247 = UINT8_C(1); -static uint8_t const c_MARKER_TYPE_BENCHMARK_START__247 = UINT8_C(2); +static uint8_t const c_MARKER_TYPE_BENCHMARK_START__248 = UINT8_C(2); -static uint8_t const c_MARKER_TYPE_BENCHMARK_END__248 = UINT8_C(3); +static uint8_t const c_MARKER_TYPE_BENCHMARK_END__249 = UINT8_C(3); -static uint32_t const array_hash_map_index_capacities__3735[33] = {UINT32_C(0),UINT32_C(1),UINT32_C(2),UINT32_C(4),UINT32_C(9),UINT32_C(19),UINT32_C(38),UINT32_C(76),UINT32_C(153),UINT32_C(307),UINT32_C(614),UINT32_C(1228),UINT32_C(2457),UINT32_C(4915),UINT32_C(9830),UINT32_C(19660),UINT32_C(39321),UINT32_C(78643),UINT32_C(157286),UINT32_C(314572),UINT32_C(629145),UINT32_C(1258291),UINT32_C(2516582),UINT32_C(5033164),UINT32_C(10066329),UINT32_C(20132659),UINT32_C(40265318),UINT32_C(80530636),UINT32_C(161061273),UINT32_C(322122547),UINT32_C(644245094),UINT32_C(1288490188),UINT32_MAX}; +static uint32_t const array_hash_map_index_capacities__3736[33] = { + UINT32_C(0), UINT32_C(1), UINT32_C(2), + UINT32_C(4), UINT32_C(9), UINT32_C(19), + UINT32_C(38), UINT32_C(76), UINT32_C(153), + UINT32_C(307), UINT32_C(614), UINT32_C(1228), + UINT32_C(2457), UINT32_C(4915), UINT32_C(9830), + UINT32_C(19660), UINT32_C(39321), UINT32_C(78643), + UINT32_C(157286), UINT32_C(314572), UINT32_C(629145), + UINT32_C(1258291), UINT32_C(2516582), UINT32_C(5033164), + UINT32_C(10066329), UINT32_C(20132659), UINT32_C(40265318), + UINT32_C(80530636), UINT32_C(161061273), UINT32_C(322122547), + UINT32_C(644245094), UINT32_C(1288490188), UINT32_MAX}; -static uint8_t const array_hash_map_Index_28u8_29_empty_sentinel__8818 = UINT8_MAX; +static uint8_t const array_hash_map_Index_28u8_29_empty_sentinel__8823 = + UINT8_MAX; -static uint16_t const array_hash_map_Index_28u16_29_empty_sentinel__8823 = UINT16_MAX; +static uint16_t const array_hash_map_Index_28u16_29_empty_sentinel__8828 = + UINT16_MAX; -static uint32_t const array_hash_map_Index_28u32_29_empty_sentinel__8828 = UINT32_MAX; +static uint32_t const array_hash_map_Index_28u32_29_empty_sentinel__8833 = + UINT32_MAX; -static uint64_t const hash_wyhash_Wyhash_secret__8991[4] = {UINT64_C(11562461410679940143),UINT64_C(16646288086500911323),UINT64_C(10285213230658275043),UINT64_C(6384245875588680899)}; +static uint64_t const hash_wyhash_Wyhash_secret__8996[4] = { + UINT64_C(11562461410679940143), UINT64_C(16646288086500911323), + UINT64_C(10285213230658275043), UINT64_C(6384245875588680899)}; -static bool const builtin_fuzz__275 = false; +static bool const builtin_fuzz__276 = false; -static bool const mem_eqlBytes_allowed__849 = true; +static bool const mem_eqlBytes_allowed__850 = true; -static struct array_hash_map_Index_28u8_29__7097 const array_hash_map_Index_28u8_29_empty__8819 = {UINT8_MAX,UINT8_C(0xaa)}; +static struct array_hash_map_Index_28u8_29__7119 const + array_hash_map_Index_28u8_29_empty__8824 = {UINT8_MAX, UINT8_C(0xaa)}; -static struct array_hash_map_Index_28u16_29__7101 const array_hash_map_Index_28u16_29_empty__8824 = {UINT16_MAX,UINT16_C(0xaaaa)}; +static struct array_hash_map_Index_28u16_29__7123 const + array_hash_map_Index_28u16_29_empty__8829 = {UINT16_MAX, UINT16_C(0xaaaa)}; -static struct array_hash_map_Index_28u32_29__7105 const array_hash_map_Index_28u32_29_empty__8829 = {UINT32_MAX,UINT32_C(0xaaaaaaaa)}; +static struct array_hash_map_Index_28u32_29__7127 const + array_hash_map_Index_28u32_29_empty__8834 = {UINT32_MAX, + UINT32_C(0xaaaaaaaa)}; -static bool const json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9532 = false; +static bool const + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9537 = + false; -static struct json_stringify_WriteStream__union_8633__8633 const json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9533 = {{0xaaaaaaaaaaaaaaaaul},UINT8_C(2)}; +static struct json_stringify_WriteStream__union_8660__8660 const + json_stringify_WriteStream_28io_GenericWriter_28_2aarray_list_ArrayListAligned_28u8_2cnull_29_2cerror_7bOutOfMemory_7d__9538 = + {{0xaaaaaaaaaaaaaaaaul}, UINT8_C(2)}; -static uint8_t const environment_linked_libraries_elf_view_native_endian__9503 = UINT8_C(1); +static uint8_t const environment_linked_libraries_elf_view_native_endian__9508 = + UINT8_C(1); -static struct mem_Allocator_VTable__602 const heap_CAllocator_vtable__4515 = {&heap_CAllocator_alloc__4523,&heap_CAllocator_resize__4524,&heap_CAllocator_remap__4525,&heap_CAllocator_free__4526}; +static struct mem_Allocator_VTable__602 const heap_CAllocator_vtable__4516 = { + &heap_CAllocator_alloc__4524, &heap_CAllocator_resize__4525, + &heap_CAllocator_remap__4526, &heap_CAllocator_free__4527}; -static bool const heap_CAllocator_supports_malloc_size__4516 = true; +static bool const heap_CAllocator_supports_malloc_size__4517 = true; -static bool const heap_CAllocator_supports_posix_memalign__4518 = true; +static bool const heap_CAllocator_supports_posix_memalign__4519 = true; -static struct Target_Cpu_Model__994 const Target_x86_cpu_tigerlake__4630 = {{(uint8_t const *)&__anon_9930,9ul},{(uint8_t const *)&__anon_9930,9ul},{{221451271053508784ul,1377573176070099080ul,10502957384071186056ul,3ul,0ul}}}; +static struct Target_Cpu_Model__994 const Target_x86_cpu_tigerlake__4631 = { + {(uint8_t const *)&__anon_9957, 9ul}, + {(uint8_t const *)&__anon_9957, 9ul}, + {{221451271053508784ul, 1377573176070099080ul, 10502957384071186056ul, 3ul, + 0ul}}}; #endif #ifndef WRAPPER_H @@ -30950,7 +40131,20 @@ static struct Target_Cpu_Model__994 const Target_x86_cpu_tigerlake__4630 = {{(ui #include -#ifndef _WIN32 +#if defined(_WIN32) || defined(__APPLE__) +// Windows and other platforms - provide no-op implementations +uint8_t running_on_valgrind() { return 0; } + +void callgrind_dump_stats() {} + +void callgrind_dump_stats_at(uint8_t const *pos_str) { (void)pos_str; } + +void callgrind_zero_stats() {} + +void callgrind_start_instrumentation() {} + +void callgrind_stop_instrumentation() {} +#else #include "callgrind.h" #include "valgrind.h" @@ -30958,7 +40152,7 @@ uint8_t running_on_valgrind() { return RUNNING_ON_VALGRIND > 0; } void callgrind_dump_stats() { CALLGRIND_DUMP_STATS; } -void callgrind_dump_stats_at(uint8_t const* pos_str) { +void callgrind_dump_stats_at(uint8_t const *pos_str) { CALLGRIND_DUMP_STATS_AT(pos_str); } @@ -30968,20 +40162,6 @@ void callgrind_start_instrumentation() { CALLGRIND_START_INSTRUMENTATION; } void callgrind_stop_instrumentation() { CALLGRIND_STOP_INSTRUMENTATION; } -#else -// Windows and other platforms - provide no-op implementations -uint8_t running_on_valgrind() { return 0; } - -void callgrind_dump_stats() {} - -void callgrind_dump_stats_at(uint8_t const* pos_str) {} - -void callgrind_zero_stats() {} - -void callgrind_start_instrumentation() {} - -void callgrind_stop_instrumentation() {} #endif #endif - diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 2494aeb..80ea610 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -19,7 +19,7 @@ target_include_directories( ) # Suppress warnings for the instrument_hooks library -if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") +if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang") target_compile_options( instrument_hooks PRIVATE @@ -28,8 +28,10 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-type-limits + -Wno-format + -Wno-format-security ) -elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") +elseif(CMAKE_C_COMPILER_ID STREQUAL "MSVC") target_compile_options( instrument_hooks PRIVATE diff --git a/includes/core.h b/includes/core.h index 4f65f81..beee60e 100644 --- a/includes/core.h +++ b/includes/core.h @@ -21,7 +21,7 @@ extern "C" { #define CALLGRIND_ZERO_STATS #endif -typedef uint64_t *InstrumentHooks; +typedef struct InstrumentHooks InstrumentHooks; InstrumentHooks *instrument_hooks_init(void); void instrument_hooks_deinit(InstrumentHooks *); @@ -42,7 +42,7 @@ uint8_t instrument_hooks_set_integration(InstrumentHooks *, const char *name, #define MARKER_TYPE_BENCHMARK_START 2 #define MARKER_TYPE_BENCHMARK_END 3 -uint8_t instrument_hooks_add_marker(InstrumentHooks *, uint32_t pid, +uint8_t instrument_hooks_add_marker(InstrumentHooks *, int32_t pid, uint8_t marker_type, uint64_t timestamp); uint64_t instrument_hooks_current_timestamp(void); @@ -55,8 +55,7 @@ typedef enum { FEATURE_DISABLE_CALLGRIND_MARKERS = 0, } instrument_hooks_feature_t; -void instrument_hooks_set_feature(instrument_hooks_feature_t feature, - bool enabled); +void instrument_hooks_set_feature(uint64_t feature, bool enabled); // Environment collection // Call set_environment to register key-value pairs grouped by section. @@ -71,7 +70,7 @@ uint8_t instrument_hooks_set_environment_list(InstrumentHooks *, const char *key, const char *const *values, uint32_t count); -uint8_t instrument_hooks_write_environment(InstrumentHooks *, uint32_t pid); +uint8_t instrument_hooks_write_environment(InstrumentHooks *, int32_t pid); // Header functions that will be inlined. This can be used by languages that // directly consume the headers such as C or C++. This will allow for more diff --git a/scripts/release.py b/scripts/release.py index 33e0b70..38915d1 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -1,12 +1,36 @@ +import re from pathlib import Path content = Path("zig-out/lib/core.c").read_text() -print("Size of core.c:", len(content.splitlines())) +print(f"Read zig-out/lib/core.c ({len(content.splitlines())} lines)") valgrind_wrapper = Path("src/helpers/valgrind_wrapper.c").read_text() - STUB = Path("scripts/stub.c").read_text() +# Zig's C backend mangles struct names (e.g. instrument_hooks_InstrumentHooks__547), +# and there's no way to control this from Zig source. Replace with the stable +# name from core.h so that core.c can be included alongside core.h without +# type conflicts. +REPLACEMENTS = [ + ( + re.compile(r"struct instrument_hooks_InstrumentHooks__\d+"), + "struct InstrumentHooks", + ), +] + +print("\nPost-processing replacements:") +for pattern, replacement in REPLACEMENTS: + match = pattern.search(content) + if not match: + raise RuntimeError(f"Pattern not found: {pattern.pattern}") + count = len(pattern.findall(content)) + print(f" {match.group(0):>50s} -> {replacement} ({count} occurrences)") + content = pattern.sub(replacement, content) + +# Add core.h include at the top of the Zig block so consumers get the +# constants (MARKER_TYPE_*) and inline helpers from core.h automatically. +content = '#include "core.h"\n' + content + TEMPLATE = f"""\ // This file is generated by scripts/release.py // Do not edit it manually. @@ -23,3 +47,4 @@ """ Path("dist/core.c").write_text(TEMPLATE) +print(f"\nWrote dist/core.c ({len(TEMPLATE.splitlines())} lines)") diff --git a/scripts/stub.c b/scripts/stub.c index 5b2f1e3..dccf5c7 100644 --- a/scripts/stub.c +++ b/scripts/stub.c @@ -1,54 +1,82 @@ // Stub implementations - instrumentation not supported on Windows/macOS -#include -#include +#include -typedef struct InstrumentHooks { - char reserved; -} InstrumentHooks; +#include "core.h" -InstrumentHooks *instrument_hooks_init() { - static InstrumentHooks instance = {}; - return &instance; -} +struct InstrumentHooks { + uint64_t _unused; +}; + +static struct InstrumentHooks stub_instance = {0}; -void instrument_hooks_deinit(InstrumentHooks *hooks) {} +InstrumentHooks *instrument_hooks_init(void) { return &stub_instance; } -bool instrument_hooks_is_instrumented(InstrumentHooks *hooks) { return false; } +void instrument_hooks_deinit(InstrumentHooks *hooks) { (void)hooks; } -uint8_t instrument_hooks_start_benchmark(InstrumentHooks *hooks) { return 0; } +bool instrument_hooks_is_instrumented(InstrumentHooks *hooks) { + (void)hooks; + return false; +} -uint8_t instrument_hooks_stop_benchmark(InstrumentHooks *hooks) { return 0; } +uint8_t instrument_hooks_start_benchmark(InstrumentHooks *hooks) { + (void)hooks; + return 0; +} + +uint8_t instrument_hooks_stop_benchmark(InstrumentHooks *hooks) { + (void)hooks; + return 0; +} uint8_t instrument_hooks_set_executed_benchmark(InstrumentHooks *hooks, - uint32_t pid, const char *uri) { + int32_t pid, const char *uri) { + (void)hooks; + (void)pid; + (void)uri; return 0; } // Deprecated: use instrument_hooks_set_executed_benchmark instead -uint8_t instrument_hooks_executed_benchmark(InstrumentHooks *hooks, - uint32_t pid, const char *uri) { +uint8_t instrument_hooks_executed_benchmark(InstrumentHooks *hooks, int32_t pid, + const char *uri) { + (void)hooks; + (void)pid; + (void)uri; return 0; } uint8_t instrument_hooks_set_integration(InstrumentHooks *hooks, const char *name, const char *version) { + (void)hooks; + (void)name; + (void)version; return 0; } -void instrument_hooks_set_feature(InstrumentHooks *hooks, uint64_t feature, - bool enabled) {} +void instrument_hooks_set_feature(uint64_t feature, bool enabled) { + (void)feature; + (void)enabled; +} -uint64_t instrument_hooks_current_timestamp() { return 0; } +uint64_t instrument_hooks_current_timestamp(void) { return 0; } -uint8_t instrument_hooks_add_marker(InstrumentHooks *hooks, uint32_t pid, +uint8_t instrument_hooks_add_marker(InstrumentHooks *hooks, int32_t pid, uint8_t marker_type, uint64_t timestamp) { + (void)hooks; + (void)pid; + (void)marker_type; + (void)timestamp; return 0; } uint8_t instrument_hooks_set_environment(InstrumentHooks *hooks, const char *section_name, const char *key, const char *value) { + (void)hooks; + (void)section_name; + (void)key; + (void)value; return 0; } @@ -57,10 +85,17 @@ uint8_t instrument_hooks_set_environment_list(InstrumentHooks *hooks, const char *key, const char *const *values, uint32_t count) { + (void)hooks; + (void)section_name; + (void)key; + (void)values; + (void)count; return 0; } uint8_t instrument_hooks_write_environment(InstrumentHooks *hooks, - uint32_t pid) { + int32_t pid) { + (void)hooks; + (void)pid; return 0; } diff --git a/src/c.zig b/src/c.zig index 4dffb9f..d478ab5 100644 --- a/src/c.zig +++ b/src/c.zig @@ -9,6 +9,11 @@ const utils = @import("./utils.zig"); pub const panic = if (builtin.is_test) std.debug.FullPanic(std.debug.defaultPanic) else std.debug.no_panic; const allocator = if (builtin.is_test) std.testing.allocator else std.heap.c_allocator; +/// Cast a C char pointer to a u8 pointer for internal Zig usage. +fn toU8(ptr: [*c]const c_char) [*c]const u8 { + return @ptrCast(ptr); +} + pub export fn instrument_hooks_set_feature(feature: u64, enabled: bool) void { const feature_enum = @as(features.Feature, @enumFromInt(feature)); features.set_feature(feature_enum, enabled); @@ -59,9 +64,9 @@ pub export fn instrument_hooks_stop_benchmark(hooks: ?*InstrumentHooks) u8 { return 0; } -pub export fn instrument_hooks_set_executed_benchmark(hooks: ?*InstrumentHooks, pid: u32, uri: [*c]const u8) u8 { +pub export fn instrument_hooks_set_executed_benchmark(hooks: ?*InstrumentHooks, pid: i32, uri: [*c]const c_char) u8 { if (hooks) |h| { - h.instrument.set_executed_benchmark(pid, uri) catch { + h.instrument.set_executed_benchmark(pid, toU8(uri)) catch { return 1; }; } @@ -69,13 +74,13 @@ pub export fn instrument_hooks_set_executed_benchmark(hooks: ?*InstrumentHooks, } // Deprecated: use instrument_hooks_set_executed_benchmark instead -pub export fn instrument_hooks_executed_benchmark(hooks: ?*InstrumentHooks, pid: u32, uri: [*c]const u8) u8 { +pub export fn instrument_hooks_executed_benchmark(hooks: ?*InstrumentHooks, pid: i32, uri: [*c]const c_char) u8 { return instrument_hooks_set_executed_benchmark(hooks, pid, uri); } -pub export fn instrument_hooks_set_integration(hooks: ?*InstrumentHooks, name: [*c]const u8, version: [*c]const u8) u8 { +pub export fn instrument_hooks_set_integration(hooks: ?*InstrumentHooks, name: [*c]const c_char, version: [*c]const c_char) u8 { if (hooks) |h| { - h.instrument.set_integration(name, version) catch { + h.instrument.set_integration(toU8(name), toU8(version)) catch { return 1; }; } @@ -87,7 +92,7 @@ pub const MARKER_TYPE_SAMPLE_END: u8 = 1; pub const MARKER_TYPE_BENCHMARK_START: u8 = 2; pub const MARKER_TYPE_BENCHMARK_END: u8 = 3; -pub export fn instrument_hooks_add_marker(hooks: ?*InstrumentHooks, pid: u32, marker_type: u8, timestamp: u64) u8 { +pub export fn instrument_hooks_add_marker(hooks: ?*InstrumentHooks, pid: i32, marker_type: u8, timestamp: u64) u8 { if (hooks) |h| { const marker_enum = switch (marker_type) { MARKER_TYPE_SAMPLE_START => shared.MarkerType{ .SampleStart = timestamp }, @@ -109,13 +114,13 @@ pub export fn instrument_hooks_current_timestamp() u64 { pub export fn instrument_hooks_set_environment( hooks: ?*InstrumentHooks, - section_name: [*c]const u8, - key: [*c]const u8, - value: [*c]const u8, + section_name: [*c]const c_char, + key: [*c]const c_char, + value: [*c]const c_char, ) u8 { if (section_name == null or key == null or value == null) return 1; if (hooks) |h| { - h.environment.setIntegrationEnvironment(std.mem.span(section_name), std.mem.span(key), std.mem.span(value)) catch return 1; + h.environment.setIntegrationEnvironment(std.mem.span(toU8(section_name)), std.mem.span(toU8(key)), std.mem.span(toU8(value))) catch return 1; return 0; } return 1; @@ -123,26 +128,27 @@ pub export fn instrument_hooks_set_environment( pub export fn instrument_hooks_set_environment_list( hooks: ?*InstrumentHooks, - section_name: [*c]const u8, - key: [*c]const u8, - values: [*c]const [*c]const u8, + section_name: [*c]const c_char, + key: [*c]const c_char, + values: [*c]const [*c]const c_char, count: u32, ) u8 { if (section_name == null or key == null or values == null) return 1; if (hooks) |h| { const slices = allocator.alloc([]const u8, count) catch return 1; defer allocator.free(slices); + const u8_values: [*c]const [*c]const u8 = @ptrCast(values); for (0..count) |i| { - if (values[i] == null) return 1; - slices[i] = std.mem.span(values[i]); + if (u8_values[i] == null) return 1; + slices[i] = std.mem.span(u8_values[i]); } - h.environment.setIntegrationEnvironmentList(std.mem.span(section_name), std.mem.span(key), slices) catch return 1; + h.environment.setIntegrationEnvironmentList(std.mem.span(toU8(section_name)), std.mem.span(toU8(key)), slices) catch return 1; return 0; } return 1; } -pub export fn instrument_hooks_write_environment(hooks: ?*InstrumentHooks, pid: u32) u8 { +pub export fn instrument_hooks_write_environment(hooks: ?*InstrumentHooks, pid: i32) u8 { if (hooks) |h| { return h.environment.writeEnvironment(pid); } @@ -157,6 +163,6 @@ test "no crash when not instrumented" { _ = instrument_hooks_set_feature(0, true); try std.testing.expectEqual(0, instrument_hooks_start_benchmark(instance)); try std.testing.expectEqual(0, instrument_hooks_stop_benchmark(instance)); - try std.testing.expectEqual(0, instrument_hooks_executed_benchmark(instance, 0, "test")); - try std.testing.expectEqual(0, instrument_hooks_set_integration(instance, "pytest-codspeed", "1.0")); + try std.testing.expectEqual(0, instrument_hooks_executed_benchmark(instance, 0, @ptrCast("test"))); + try std.testing.expectEqual(0, instrument_hooks_set_integration(instance, @ptrCast("pytest-codspeed"), @ptrCast("1.0"))); } diff --git a/src/environment/root.zig b/src/environment/root.zig index 29bcd5e..f55e901 100644 --- a/src/environment/root.zig +++ b/src/environment/root.zig @@ -127,7 +127,7 @@ pub const Environment = struct { } } - pub fn writeEnvironment(self: *Self, pid: u32) u8 { + pub fn writeEnvironment(self: *Self, pid: i32) u8 { self.libs.collect() catch { logger.err("instrument-hooks: failed to collect linked libraries\n", .{}); }; diff --git a/src/helpers/valgrind_wrapper.c b/src/helpers/valgrind_wrapper.c index c8f306f..a7716ac 100644 --- a/src/helpers/valgrind_wrapper.c +++ b/src/helpers/valgrind_wrapper.c @@ -3,7 +3,20 @@ #include -#ifndef _WIN32 +#if defined(_WIN32) || defined(__APPLE__) +// Windows and other platforms - provide no-op implementations +uint8_t running_on_valgrind() { return 0; } + +void callgrind_dump_stats() {} + +void callgrind_dump_stats_at(uint8_t const *pos_str) { (void)pos_str; } + +void callgrind_zero_stats() {} + +void callgrind_start_instrumentation() {} + +void callgrind_stop_instrumentation() {} +#else #include "callgrind.h" #include "valgrind.h" @@ -21,19 +34,6 @@ void callgrind_start_instrumentation() { CALLGRIND_START_INSTRUMENTATION; } void callgrind_stop_instrumentation() { CALLGRIND_STOP_INSTRUMENTATION; } -#else -// Windows and other platforms - provide no-op implementations -uint8_t running_on_valgrind() { return 0; } - -void callgrind_dump_stats() {} - -void callgrind_dump_stats_at(uint8_t const *pos_str) {} - -void callgrind_zero_stats() {} - -void callgrind_start_instrumentation() {} - -void callgrind_stop_instrumentation() {} #endif #endif diff --git a/src/instruments/fifo_instrument.zig b/src/instruments/fifo_instrument.zig index 4d74821..ff58275 100644 --- a/src/instruments/fifo_instrument.zig +++ b/src/instruments/fifo_instrument.zig @@ -46,7 +46,7 @@ pub fn FifoInstrument(comptime mode: shared.IntegrationMode, comptime error_type try self.fifo.stop_benchmark(); } - pub fn set_executed_benchmark(self: *Self, pid: u32, uri: [*c]const u8) !void { + pub fn set_executed_benchmark(self: *Self, pid: i32, uri: [*c]const u8) !void { try self.fifo.set_executed_benchmark(pid, uri); } @@ -54,7 +54,7 @@ pub fn FifoInstrument(comptime mode: shared.IntegrationMode, comptime error_type try self.fifo.set_integration(name, version); } - pub fn add_marker(self: *Self, pid: u32, marker: shared.MarkerType) !void { + pub fn add_marker(self: *Self, pid: i32, marker: shared.MarkerType) !void { try self.fifo.add_marker(pid, marker); } }; diff --git a/src/instruments/root.zig b/src/instruments/root.zig index 744be44..1379f27 100644 --- a/src/instruments/root.zig +++ b/src/instruments/root.zig @@ -69,7 +69,7 @@ pub const Instrument = union(enum) { } } - pub inline fn set_executed_benchmark(self: *Self, pid: u32, uri: [*c]const u8) !void { + pub inline fn set_executed_benchmark(self: *Self, pid: i32, uri: [*c]const u8) !void { switch (self.*) { .valgrind => ValgrindInstrument.set_executed_benchmark(pid, uri), .perf => try self.perf.set_executed_benchmark(pid, uri), @@ -87,7 +87,7 @@ pub const Instrument = union(enum) { } } - pub inline fn add_marker(self: *Self, pid: u32, marker: shared.MarkerType) !void { + pub inline fn add_marker(self: *Self, pid: i32, marker: shared.MarkerType) !void { if (self.* == .perf) { return self.perf.add_marker(pid, marker); } else if (self.* == .analysis) { diff --git a/src/instruments/valgrind.zig b/src/instruments/valgrind.zig index 37caf3a..08a46bd 100644 --- a/src/instruments/valgrind.zig +++ b/src/instruments/valgrind.zig @@ -44,7 +44,7 @@ pub const ValgrindInstrument = struct { } } - pub inline fn set_executed_benchmark(pid: u32, uri: [*c]const u8) void { + pub inline fn set_executed_benchmark(pid: i32, uri: [*c]const u8) void { _ = pid; valgrind.callgrind_dump_stats_at(uri); } diff --git a/src/runner_fifo.zig b/src/runner_fifo.zig index dfb8161..f7e7202 100644 --- a/src/runner_fifo.zig +++ b/src/runner_fifo.zig @@ -76,7 +76,7 @@ pub const RunnerFifo = struct { try self.reader.waitForAck(null); } - pub fn set_executed_benchmark(self: *Self, pid: u32, uri: [*c]const u8) !void { + pub fn set_executed_benchmark(self: *Self, pid: i32, uri: [*c]const u8) !void { try self.writer.sendCmd(fifo.Command{ .ExecutedBenchmark = .{ .pid = pid, .uri = std.mem.span(uri), @@ -92,7 +92,7 @@ pub const RunnerFifo = struct { try self.reader.waitForAck(null); } - pub fn add_marker(self: *Self, pid: u32, marker: shared.MarkerType) !void { + pub fn add_marker(self: *Self, pid: i32, marker: shared.MarkerType) !void { try self.writer.sendCmd(fifo.Command{ .AddMarker = .{ .pid = pid, .marker = marker, diff --git a/src/shared.zig b/src/shared.zig index 3ebea13..1b8811d 100644 --- a/src/shared.zig +++ b/src/shared.zig @@ -44,7 +44,7 @@ pub const IntegrationMode = enum { pub const Command = union(enum) { ExecutedBenchmark: struct { - pid: u32, + pid: i32, uri: []const u8, }, StartBenchmark, @@ -57,7 +57,7 @@ pub const Command = union(enum) { }, Err, AddMarker: struct { - pid: u32, + pid: i32, marker: MarkerType, }, SetVersion: u64, From ecdf31a3afd0fb879823e40df65129ec823d374b Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Mon, 13 Apr 2026 16:23:22 +0200 Subject: [PATCH 3/3] chore: add a minimal get_timestamp implementation to macos's stubs This is a band-aid, the real long term solution is to actually have a part of the zig code transpiled to c and usable on macos rather than just stubs. --- dist/core.c | 24 +++++++++++++++++++++++- scripts/stub.c | 24 +++++++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/dist/core.c b/dist/core.c index 5a44b73..b82007a 100644 --- a/dist/core.c +++ b/dist/core.c @@ -10,6 +10,22 @@ #include "core.h" +#if defined(__APPLE__) +#include + +static uint64_t get_timebase_numer(void) { + mach_timebase_info_data_t info; + mach_timebase_info(&info); + return info.numer; +} + +static uint64_t get_timebase_denom(void) { + mach_timebase_info_data_t info; + mach_timebase_info(&info); + return info.denom; +} +#endif + struct InstrumentHooks { uint64_t _unused; }; @@ -66,7 +82,13 @@ void instrument_hooks_set_feature(uint64_t feature, bool enabled) { (void)enabled; } -uint64_t instrument_hooks_current_timestamp(void) { return 0; } +uint64_t instrument_hooks_current_timestamp(void) { +#if defined(__APPLE__) + return mach_absolute_time() * get_timebase_numer() / get_timebase_denom(); +#else + return 0; +#endif +} uint8_t instrument_hooks_add_marker(InstrumentHooks *hooks, int32_t pid, uint8_t marker_type, uint64_t timestamp) { diff --git a/scripts/stub.c b/scripts/stub.c index dccf5c7..3ab09f6 100644 --- a/scripts/stub.c +++ b/scripts/stub.c @@ -3,6 +3,22 @@ #include "core.h" +#if defined(__APPLE__) +#include + +static uint64_t get_timebase_numer(void) { + mach_timebase_info_data_t info; + mach_timebase_info(&info); + return info.numer; +} + +static uint64_t get_timebase_denom(void) { + mach_timebase_info_data_t info; + mach_timebase_info(&info); + return info.denom; +} +#endif + struct InstrumentHooks { uint64_t _unused; }; @@ -59,7 +75,13 @@ void instrument_hooks_set_feature(uint64_t feature, bool enabled) { (void)enabled; } -uint64_t instrument_hooks_current_timestamp(void) { return 0; } +uint64_t instrument_hooks_current_timestamp(void) { +#if defined(__APPLE__) + return mach_absolute_time() * get_timebase_numer() / get_timebase_denom(); +#else + return 0; +#endif +} uint8_t instrument_hooks_add_marker(InstrumentHooks *hooks, int32_t pid, uint8_t marker_type, uint64_t timestamp) {