<commit_before>#pragma once

#include "__Result.h"
#include "__noexcept.h"

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc99-extensions"
#pragma clang diagnostic ignored "-Wreserved-id-macro"

#if defined(__linux__)
#  if defined(__x86_64__)
#    define __syscall_CLOBBERS "rcx", "r11"
#    define __syscall_R0 "rax"
#    define __syscall_R1 "rdi"
#    define __syscall_R2 "rsi"
#    define __syscall_R3 "rdx"
#    define __syscall_R4 "r10"
#    define __syscall_R5 "r8"
#    define __syscall_R6 "r9"
#    define __syscall_TRAP "syscall"
#  elif defined(__arm__) && !defined(__thumb__)
#    define __syscall_CLOBBERS "memory"
#    define __syscall_R0 "r0"
#    define __syscall_R1 "r1"
#    define __syscall_R2 "r2"
#    define __syscall_R3 "r3"
#    define __syscall_R4 "r4"
#    define __syscall_R5 "r5"
#    define __syscall_R6 "r6"
#    define __syscall_TRAP "swi 0x0"
#  else
#    error
#  endif
#  define __syscall_SBB
#  define __syscall_SBB_OUTPUT
#  define __syscall_SBB_SETUP
#  define __syscall_SBB_VALUE
#elif defined(__FreeBSD__)
#  if defined(__x86_64__)
#    define __syscall_TRAP "syscall"
#    define __syscall_OUTPUTS "=r" (r0), "=r" (sbb_result)
#    define __syscall_CLOBBERS "memory"
#    define __syscall_R0 "rax"
#    define __syscall_R1 "rdi"
#    define __syscall_R2 "rsi"
#    define __syscall_R3 "rdx"
#    define __syscall_R4 "rcx"
#    define __syscall_R5 "r8"
#    define __syscall_R6 "r9"
#    define __syscall_SBB "\nsbb %1 %1"
#    define __syscall_SBB_OUTPUT , "=r" (sbb_result)
#    define __syscall_SBB_SETUP __Word sbb_result;
#    define __syscall_SBB_VALUE , (sbb_result != 0)
#  else
#    error
#  endif
#else
#  error
#endif

static inline
__Result
__syscall_0(__Word n) __noexcept
{
    __syscall_SBB_SETUP

    register __Word r0 __asm__ (__syscall_R0) = n;

    __asm__ __volatile__ (
        __syscall_TRAP
        __syscall_SBB<commit_msg>Assembly typo<commit_after>#pragma once

#include "__Result.h"
#include "__noexcept.h"

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wc99-extensions"
#pragma clang diagnostic ignored "-Wreserved-id-macro"

#if defined(__linux__)
#  if defined(__x86_64__)
#    define __syscall_CLOBBERS "rcx", "r11"
#    define __syscall_R0 "rax"
#    define __syscall_R1 "rdi"
#    define __syscall_R2 "rsi"
#    define __syscall_R3 "rdx"
#    define __syscall_R4 "r10"
#    define __syscall_R5 "r8"
#    define __syscall_R6 "r9"
#    define __syscall_TRAP "syscall"
#  elif defined(__arm__) && !defined(__thumb__)
#    define __syscall_CLOBBERS "memory"
#    define __syscall_R0 "r0"
#    define __syscall_R1 "r1"
#    define __syscall_R2 "r2"
#    define __syscall_R3 "r3"
#    define __syscall_R4 "r4"
#    define __syscall_R5 "r5"
#    define __syscall_R6 "r6"
#    define __syscall_TRAP "swi 0x0"
#  else
#    error
#  endif
#  define __syscall_SBB
#  define __syscall_SBB_OUTPUT
#  define __syscall_SBB_SETUP
#  define __syscall_SBB_VALUE
#elif defined(__FreeBSD__)
#  if defined(__x86_64__)
#    define __syscall_TRAP "syscall"
#    define __syscall_OUTPUTS "=r" (r0), "=r" (sbb_result)
#    define __syscall_CLOBBERS "memory"
#    define __syscall_R0 "rax"
#    define __syscall_R1 "rdi"
#    define __syscall_R2 "rsi"
#    define __syscall_R3 "rdx"
#    define __syscall_R4 "rcx"
#    define __syscall_R5 "r8"
#    define __syscall_R6 "r9"
#    define __syscall_SBB "\nsbb %1, %1"
#    define __syscall_SBB_OUTPUT , "=r" (sbb_result)
#    define __syscall_SBB_SETUP __Word sbb_result;
#    define __syscall_SBB_VALUE , (sbb_result != 0)
#  else
#    error
#  endif
#else
#  error
#endif

static inline
__Result
__syscall_0(__Word n) __noexcept
{
    __syscall_SBB_SETUP

    register __Word r0 __asm__ (__syscall_R0) = n;

    __asm__ __volatile__ (
        __syscall_TRAP
        __syscall_SBB
{'fraction_non_alphanumeric': 0.09572515079989509, 'fraction_numerical': 0.02884867558353003, 'mean_word_length': 4.018421052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4293807', 'n_tokens_mistral': 1670, 'n_tokens_neox': 1469, 'n_words': 342}