
    shh
                        S SK Jr  S SKJrJrJrJrJrJrJ	r	   " S S\R                  5      r " S S\R                  5      r\\/\R                  R                  l        \R                   \R                  R                  l        \R                   /\R                  R$                  l        \R                   /\R                  R&                  l        \R(                  \R                  R&                  l        \R(                  /\R                  R*                  l        \R(                  /\R                  R,                  l        \R                   \R(                  /\R                  R.                  l        \\R                  R.                  l        \R(                  /\R                  R0                  l        \\R                  R0                  l        \R(                  /\R                  R2                  l        \\R                  R2                  l        \R(                  /\R                  R4                  l        \\R                  R4                  l        \R(                  /\R                  R6                  l        \	" \5      \R                  R6                  l        \R(                  /\R                  R8                  l        \\R                  R8                  l        g)    )ffi)c_boolc_char_pc_charc_size_t	string_atc_uint64POINTERc                   D    \ rS rSrS rS rS rS rS rS r	S r
S	 rS
rg)SectionIteratorRef   c                 @    [         R                  R                  U 5      $ N)r   libLLVMPY_GetSectionNameselfs    p/Users/tiagomarins/Projetos/claudeai/copy_bank/venv/lib/python3.13/site-packages/llvmlite/binding/object_file.pynameSectionIteratorRef.name       ww,,T22    c                 @    [         R                  R                  U 5      $ r   )r   r   LLVMPY_IsSectionTextr   s    r   is_textSectionIteratorRef.is_text
   s    ww++D11r   c                 @    [         R                  R                  U 5      $ r   )r   r   LLVMPY_GetSectionSizer   s    r   sizeSectionIteratorRef.size   r   r   c                 @    [         R                  R                  U 5      $ r   )r   r   LLVMPY_GetSectionAddressr   s    r   addressSectionIteratorRef.address   s    ww//55r   c                 p    [        [        R                  R                  U 5      U R	                  5       5      $ r   )r   r   r   LLVMPY_GetSectionContentsr   r   s    r   dataSectionIteratorRef.data   s$    ::4@$))+NNr   c                 @    [         R                  R                  X5      $ r   )r   r   LLVMPY_IsSectionIteratorAtEnd)r   object_files     r   is_endSectionIteratorRef.is_end   s    ww44[GGr   c                 B    [         R                  R                  U 5        g r   )r   r   LLVMPY_MoveToNextSectionr   s    r   nextSectionIteratorRef.next       ((.r   c                 B    [         R                  R                  U 5        g r   )r   r   LLVMPY_DisposeSectionIteratorr   s    r   _disposeSectionIteratorRef._dispose   s    --d3r    N)__name__
__module____qualname____firstlineno__r   r   r   r#   r'   r,   r0   r5   __static_attributes__r7   r   r   r   r      s,    3236OH/4r   r   c                   @    \ rS rSr\S 5       r\S 5       rS rS rSr	g)ObjectFileRef    c                 `    U " [         R                  R                  U[        U5      5      5      $ r   )r   r   LLVMPY_CreateObjectFilelen)clsr'   s     r   	from_dataObjectFileRef.from_data!   s"    377224TCDDr   c                     [        US5       nUR                  5       nS S S 5        U " [        R                  R	                  W[        U5      5      5      $ ! , (       d  f       N== f)Nrb)openreadr   r   rA   rB   )rC   pathfr'   s       r   	from_pathObjectFileRef.from_path%   sG    $668D 377224TCDD s   A
A#c              #      #    [        [        R                  R                  U 5      5      nUR	                  U 5      (       d-  Uv   UR                  5         UR	                  U 5      (       d  M,  g g 7fr   )r   r   r   LLVMPY_GetSectionsr,   r0   )r   its     r   sectionsObjectFileRef.sections+   sH      : :4 @A))D//HGGI ))D//s   A)A/-A/c                 B    [         R                  R                  U 5        g r   )r   r   LLVMPY_DisposeObjectFiler   s    r   r5   ObjectFileRef._dispose1   r2   r   r7   N)
r8   r9   r:   r;   classmethodrD   rL   rQ   r5   r<   r7   r   r   r>   r>       s6    E E E E
/r   r>   N)llvmlite.bindingr   ctypesr   r   r   r   r   r	   r
   	ObjectRefr   r>   r   rA   argtypesLLVMObjectFileRefrestyperT   rO   LLVMSectionIteratorRefr4   r/   r*   r   r   r"   r&   r   r7   r   r   <module>r^      s
      4 44/CMM /* -5h+?   (*-*?*?   '-0-B-B,C     )'*'<'<&=   #%(%?%?   "252L2L1M % % .-0-G-G,H     ) 35527 % % .06 % % -*-*D*D)E   &(0   %*-*D*D)E   &(0   %-0-G-G,H     )+3     (.1.H.H-I ! ! *,3FO ! ! )),)C)C(D   %'-   $r   