+
     þÎjC  ã                   óf   € R t ^ RIHtHtHt ^ RIHt ^ RIHt ]R 4       t	]R 4       t
]R 4       tR# )z™
This file provides internal compiler utilities that support certain special
operations with tuple and workarounds for limitations enforced in userland.
)ÚtypesÚtypingÚerrors)Úalloca_once)Ú	intrinsicc                ó4   € R pV! WVP                   4      pWT3# )a  Return a copy of the tuple with item at *idx* replaced with *val*.

Operation: ``out = tup[:idx] + (val,) + tup[idx + 1:]

**Warning**

- No boundchecking.
- The dtype of the tuple cannot be changed.
  *val* is always cast to the existing dtype of the tuple.
c                 óä   € Vw  rEp\        WP                  4      pVP                  WG4       VP                  WuP                  ^ 4      V.RR7      pVP                  Wh4       VP	                  V4      # )é    T)Úinbounds)r   ÚtypeÚstoreÚgepÚload)	ÚcontextÚbuilderÚ	signatureÚargsÚtupÚidxÚvalÚstackÚoffptrs	   &&&&     ÚP/opt/data/home/.local/lib/python3.14/site-packages/numba/cpython/unsafe/tuple.pyÚcodegenÚtuple_setitem.<locals>.codegen   s_   € Ø‰ˆ�#Ü˜G§X¡XÓ.ˆØ�‰�cÔ!à—‘˜U§X¡X¨a£[°#Ð$6À�ÓFˆØ�‰�cÔ"Ø�|‰|˜EÓ"Ð"ó    )Údtype)Ú	typingctxr   r   r   r   Úsigs   &&&&  r   Útuple_setitemr      s!   € ò#ñ ˆc˜Ÿ	™	Ó
"€CØˆ<Ðr   c                ó  aa€ \        V\        P                  4      '       g   \        P                  ! V4      h\        VP                  4      o\        P                  ! \        P                  SR7      oS! V4      pVV3R lpW#3# )z"Creates a sz-tuple of full slices.)r   Úcountc                 óú   <€ R  p\         P                  S.p\        P                  ! S.VO5!  pV P	                  \         P                  4      pV P                  S4      pV! S4      V.p	V P                  WWi4      p
V
# )c           	      óZ   € Tp\        V 4       F  p\        W#\        R R 4      4      pK  	  V# )N)Úranger   Úslice)ÚlengthÚempty_tupleÚoutÚis   &&  r   ÚimplÚ5build_full_slice_tuple.<locals>.codegen.<locals>.impl/   s-   € ØˆCÜ˜6–]�Ü# C¬E°$¸Ó,=Ó>’ñ #àˆJr   )r   Úintpr   r   Úget_value_typeÚget_constant_undefÚcompile_internal)r   r   r   r   r*   Úinner_argtypesÚ	inner_sigÚll_idx_typer'   Ú
inner_argsÚresÚsizeÚ
tuple_types   &&&&       €€r   r   Ú'build_full_slice_tuple.<locals>.codegen.   sw   ø€ ò	ô  Ÿ*™* jÐ1ˆÜ×$Ò$ ZÐA°.ÓAˆ	Ø×,Ñ,¬U¯Z©ZÓ8ˆà×0Ñ0°Ó<ˆÙ! $Ó'¨Ð5ˆ
à×&Ñ& w°iÓLˆØˆ
r   )	Ú
isinstancer   ÚIntegerLiteralr   ÚRequireLiteralValueÚintÚliteral_valueÚUniTupleÚslice2_type)ÚtyctxÚszr   r   r5   r6   s   &&  @@r   Úbuild_full_slice_tuplerA   $   sg   ù€ ô �bœ%×.Ñ.×/Ò/Ü×(Ò(¨Ó,Ð,äˆr×ÑÓ €DÜ—’¤e×&7Ñ&7¸tÔD€JÙ
�R‹.€Cöð" ˆ<Ðr   c                ó”   € \        V\        P                  4      '       g   RV 2p\        P                  ! V4      hV! V4      pR pW43# )a>  This exists to handle the situation y = (*x,), the interpreter injects a
call to it in the case of a single value unpack. It's not possible at
interpreting time to differentiate between an unpack on a variable sized
container e.g. list and a fixed one, e.g. tuple. This function handles the
situation should it arise.
zBOnly tuples are supported when unpacking a single item, got type: c                 ó   € V^ ,          # )r	   © )r   r   r   r   s   &&&&r   r   Ú$unpack_single_tuple.<locals>.codegenR   s   € Ø�A�wˆr   )r8   r   Ú	BaseTupler   ÚUnsupportedError)r?   r   Úmsgr   r   s   &&   r   Úunpack_single_tuplerI   B   sM   € ô �cœ5Ÿ?™?×+Ò+ðØ˜5ð"ˆä×%Ò% cÓ*Ð*á
ˆc‹(€Còàˆ<Ðr   N)Ú__doc__Ú
numba.corer   r   r   Únumba.core.cgutilsr   Únumba.core.extendingr   r   rA   rI   rD   r   r   Ú<module>rN      sT   ðñ÷
 -Ñ ,Ý *Ý *ð ñó ðð0 ñó ðð: ñó òr   