# This file is generated by objective.metadata
#
# Last update: Wed May 27 16:55:22 2026
#
# flake8: noqa

import objc, sys
from typing import NewType

if sys.maxsize > 2**32:

    def sel32or64(a, b):
        return b

else:

    def sel32or64(a, b):
        return a


if objc.arch == "arm64":

    def selAorI(a, b):
        return a

else:

    def selAorI(a, b):
        return b


misc = {}
misc.update(
    {
        "SizeResourceRec": objc.createStructType(
            "HIServices.SizeResourceRec",
            b"{SizeResourceRec=SII}",
            ["flags", "preferredHeapSize", "minimumHeapSize"],
        ),
        "ProcessInfoExtendedRec": objc.createStructType(
            "HIServices.ProcessInfoExtendedRec",
            b"{ProcessInfoExtendedRec=I^C{ProcessSerialNumber=II}III^cII{ProcessSerialNumber=II}II^{FSRef=[80C]}II}",
            [
                "processInfoLength",
                "processName",
                "processNumber",
                "processType",
                "processSignature",
                "processMode",
                "processLocation",
                "processSize",
                "processFreeMem",
                "processLauncher",
                "processLaunchDate",
                "processActiveTime",
                "processAppRef",
                "processTempMemTotal",
                "processPurgeableTempMemTotal",
            ],
        ),
        "ProcessInfoRec": objc.createStructType(
            "HIServices.ProcessInfoRec",
            b"{ProcessInfoRec=I^C{ProcessSerialNumber=II}III^cII{ProcessSerialNumber=II}II^{FSRef=[80C]}}",
            [
                "processInfoLength",
                "processName",
                "processNumber",
                "processType",
                "processSignature",
                "processMode",
                "processLocation",
                "processSize",
                "processFreeMem",
                "processLauncher",
                "processLaunchDate",
                "processActiveTime",
                "processAppRef",
            ],
        ),
        "ProcessSerialNumber": objc.createStructType(
            "HIServices.ProcessSerialNumber",
            b"{ProcessSerialNumber=II}",
            ["highLongOfPSN", "lowLongOfPSN"],
        ),
    }
)
constants = """$kAXAttachmentTextAttribute$kAXAutocorrectedTextAttribute$kAXBackgroundColorTextAttribute$kAXFontFamilyKey$kAXFontNameKey$kAXFontSizeKey$kAXFontTextAttribute$kAXForegoundColorTextAttribute$kAXForegroundColorTextAttribute$kAXLinkTextAttribute$kAXListItemIndexTextAttribute$kAXListItemLevelTextAttribute$kAXListItemPrefixTextAttribute$kAXMarkedMisspelledTextAttribute$kAXMisspelledTextAttribute$kAXNaturalLanguageTextAttribute$kAXReplacementStringTextAttribute$kAXShadowTextAttribute$kAXStrikethroughColorTextAttribute$kAXStrikethroughTextAttribute$kAXSuperscriptTextAttribute$kAXTrustedCheckOptionPrompt$kAXUnderlineColorTextAttribute$kAXUnderlineTextAttribute$kAXVisibleNameKey$"""
enums = """$activDev@5$atAbsoluteCenter@5$atBottom@3$atBottomLeft@11$atBottomRight@15$atCenterBottom@7$atCenterLeft@9$atCenterRight@13$atCenterTop@6$atHorizontalCenter@4$atLeft@8$atNone@0$atRight@12$atTop@2$atTopLeft@10$atTopRight@14$atVerticalCenter@1$badPasteboardFlavorErr@-25133$badPasteboardIndexErr@-25131$badPasteboardItemErr@-25132$badPasteboardSyncErr@-25130$badTranslationRefErr@-3031$cdevGenErr@-1$cdevMemErr@0$cdevResErr@1$cdevUnset@3$clearDev@13$closeDev@2$copyDev@11$cursorDev@14$cutDev@10$deactivDev@6$duplicatePasteboardFlavorErr@-25134$extendedBlock@19523$extendedBlockLen@40$hitDev@1$initDev@0$kAXCopyMultipleAttributeOptionStopOnError@1$kAXErrorAPIDisabled@-25211$kAXErrorActionUnsupported@-25206$kAXErrorAttributeUnsupported@-25205$kAXErrorCannotComplete@-25204$kAXErrorFailure@-25200$kAXErrorIllegalArgument@-25201$kAXErrorInvalidUIElement@-25202$kAXErrorInvalidUIElementObserver@-25203$kAXErrorNoValue@-25212$kAXErrorNotEnoughPrecision@-25214$kAXErrorNotImplemented@-25208$kAXErrorNotificationAlreadyRegistered@-25209$kAXErrorNotificationNotRegistered@-25210$kAXErrorNotificationUnsupported@-25207$kAXErrorParameterizedAttributeUnsupported@-25213$kAXErrorSuccess@0$kAXMenuItemModifierControl@4$kAXMenuItemModifierNoCommand@8$kAXMenuItemModifierNone@0$kAXMenuItemModifierOption@2$kAXMenuItemModifierShift@1$kAXPriorityHigh@90$kAXPriorityLow@10$kAXPriorityMedium@50$kAXUnderlineStyleDouble@9$kAXUnderlineStyleNone@0$kAXUnderlineStyleSingle@1$kAXUnderlineStyleThick@2$kAXValueAXErrorType@5$kAXValueCFRangeType@4$kAXValueCGPointType@1$kAXValueCGRectType@3$kAXValueCGSizeType@2$kAXValueIllegalType@0$kAXValueTypeAXError@5$kAXValueTypeCFRange@4$kAXValueTypeCGPoint@1$kAXValueTypeCGRect@3$kAXValueTypeCGSize@2$kAXValueTypeIllegal@0$kAlignAbsoluteCenter@5$kAlignBottom@3$kAlignBottomLeft@11$kAlignBottomRight@15$kAlignCenterBottom@7$kAlignCenterLeft@9$kAlignCenterRight@13$kAlignCenterTop@6$kAlignHorizontalCenter@4$kAlignLeft@8$kAlignNone@0$kAlignRight@12$kAlignTop@2$kAlignTopLeft@10$kAlignTopRight@14$kAlignVerticalCenter@1$kCurrentProcess@2$kHIShapeEnumerateInit@1$kHIShapeEnumerateRect@2$kHIShapeEnumerateTerminate@3$kHIShapeParseFromBottom@1$kHIShapeParseFromBottomRight@3$kHIShapeParseFromLeft@0$kHIShapeParseFromRight@2$kHIShapeParseFromTop@0$kHIShapeParseFromTopLeft@0$kNoProcess@0$kPasteboardClientIsOwner@2$kPasteboardFlavorNoFlags@0$kPasteboardFlavorNotSaved@4$kPasteboardFlavorPromised@512$kPasteboardFlavorRequestOnly@8$kPasteboardFlavorSenderOnly@1$kPasteboardFlavorSenderTranslated@2$kPasteboardFlavorSystemTranslated@256$kPasteboardModified@1$kPasteboardStandardLocationTrash@1953657704$kPasteboardStandardLocationUnknown@1970170734$kPlotIconRefNoImage@2$kPlotIconRefNoMask@4$kPlotIconRefNormalFlags@0$kProcessDictionaryIncludeAllInformationMask@-1$kProcessTransformToBackgroundApplication@2$kProcessTransformToForegroundApplication@1$kProcessTransformToUIElementApplication@4$kQuitAtNormalTimeMask@2$kQuitBeforeFBAsQuitMask@4$kQuitBeforeNormalTimeMask@1$kQuitBeforeShellQuitsMask@8$kQuitBeforeTerminatorAppQuitsMask@16$kQuitNeverMask@32$kQuitNotQuitDuringInstallMask@256$kQuitNotQuitDuringLogoutMask@512$kQuitOptionsMask@127$kSelectorAll1BitData@16843009$kSelectorAll32BitData@134219784$kSelectorAll4BitData@33686018$kSelectorAll8BitData@67372036$kSelectorAllAvailableData@4294967295$kSelectorAllHugeData@4278190080$kSelectorAllLargeData@255$kSelectorAllMiniData@16711680$kSelectorAllSmallData@65280$kSelectorHuge1Bit@16777216$kSelectorHuge32Bit@134217728$kSelectorHuge4Bit@33554432$kSelectorHuge8Bit@67108864$kSelectorHuge8BitMask@268435456$kSelectorLarge1Bit@1$kSelectorLarge32Bit@8$kSelectorLarge4Bit@2$kSelectorLarge8Bit@4$kSelectorLarge8BitMask@16$kSelectorMini1Bit@65536$kSelectorMini4Bit@131072$kSelectorMini8Bit@262144$kSelectorSmall1Bit@256$kSelectorSmall32Bit@2048$kSelectorSmall4Bit@512$kSelectorSmall8Bit@1024$kSelectorSmall8BitMask@4096$kSetFrontProcessCausedByUser@2$kSetFrontProcessFrontWindowOnly@1$kSystemProcess@1$kTransformDisabled@1$kTransformLabel1@256$kTransformLabel2@512$kTransformLabel3@768$kTransformLabel4@1024$kTransformLabel5@1280$kTransformLabel6@1536$kTransformLabel7@1792$kTransformNone@0$kTransformOffline@2$kTransformOpen@3$kTransformSelected@16384$kTransformSelectedDisabled@16385$kTransformSelectedOffline@16386$kTransformSelectedOpen@16387$kTranslationDataTranslation@1$kTranslationFileTranslation@2$kUAZoomFocusTypeInsertionPoint@1$kUAZoomFocusTypeOther@0$keyEvtDev@7$launchAllow24Bit@256$launchContinue@16384$launchDontSwitch@512$launchInhibitDaemon@128$launchNoFileFlags@2048$launchUseMinimum@1024$macDev@8$mode32BitCompatible@128$modeCanBackground@4096$modeControlPanel@524288$modeDeskAccessory@131072$modeDisplayManagerAware@4$modeDoesActivateOnFGSwitch@2048$modeGetAppDiedMsg@256$modeGetFrontClicks@512$modeHighLevelEventAware@64$modeLaunchDontSwitch@262144$modeLocalAndRemoteHLEvents@32$modeMultiLaunch@65536$modeNeedSuspendResume@16384$modeOnlyBackground@1024$modeReserved@16777216$modeStationeryAware@16$modeUseTextEditServices@8$noPasteboardPromiseKeeperErr@-25136$notPasteboardOwnerErr@-25135$nulDev@3$pasteDev@12$svAll1BitData@16843009$svAll4BitData@33686018$svAll8BitData@67372036$svAllAvailableData@4294967295$svAllLargeData@255$svAllMiniData@16711680$svAllSmallData@65280$svLarge1Bit@1$svLarge4Bit@2$svLarge8Bit@4$svMini1Bit@65536$svMini4Bit@131072$svMini8Bit@262144$svSmall1Bit@256$svSmall4Bit@512$svSmall8Bit@1024$ttDisabled@1$ttLabel1@256$ttLabel2@512$ttLabel3@768$ttLabel4@1024$ttLabel5@1280$ttLabel6@1536$ttLabel7@1792$ttNone@0$ttOffline@2$ttOpen@3$ttSelected@16384$ttSelectedDisabled@16385$ttSelectedOffline@16386$ttSelectedOpen@16387$undoDev@9$updateDev@4$"""
misc.update(
    {
        "AXError": NewType("AXError", int),
        "AXValueType": NewType("AXValueType", int),
        "PasteboardSyncFlags": NewType("PasteboardSyncFlags", int),
        "PasteboardFlavorFlags": NewType("PasteboardFlavorFlags", int),
        "PasteboardStandardLocation": NewType("PasteboardStandardLocation", int),
        "AXMenuItemModifiers": NewType("AXMenuItemModifiers", int),
        "AXUnderlineStyle": NewType("AXUnderlineStyle", int),
        "AXCopyMultipleAttributeOptions": NewType(
            "AXCopyMultipleAttributeOptions", int
        ),
        "AXPriority": NewType("AXPriority", int),
    }
)
misc.update({})
misc.update(
    {
        "kAXMathFenceOperatorSubrole": "AXMathFenceOperator",
        "kAXResizedNotification": "AXResized",
        "kAXLoadingProgressAttribute": "AXLoadingProgress",
        "kAXDockItemRole": "AXDockItem",
        "kAXEditableAncestorAttribute": "AXEditableAncestor",
        "kAXPopUpButtonRole": "AXPopUpButton",
        "kAXMinimizedWindowDockItemSubrole": "AXMinimizedWindowDockItem",
        "kAXGrowAreaAttribute": "AXGrowArea",
        "kAXMenuItemCmdCharAttribute": "AXMenuItemCmdChar",
        "kAXRowRole": "AXRow",
        "kAXTitleUIElementAttribute": "AXTitleUIElement",
        "kAXSelectedAttribute": "AXSelected",
        "kAXWindowAttribute": "AXWindow",
        "kAXUnitsChangedNotification": "AXUnitsChanged",
        "kAXSelectedTextRangesAttribute": "AXSelectedTextRanges",
        "kAXRangeForIndexParameterizedAttribute": "AXRangeForIndex",
        "kAXMathIdentifierSubrole": "AXMathIdentifier",
        "kAXDecrementButtonAttribute": "AXDecrementButton",
        "kAXBoundsForRangeParameterizedAttribute": "AXBoundsForRange",
        "kAXOutlineRole": "AXOutline",
        "kAXRulerRole": "AXRuler",
        "kAXLeftLineTextMarkerRangeForTextMarkerParameterizedAttribute": "AXLeftLineTextMarkerRangeForTextMarker",
        "kAXNextContentsAttribute": "AXNextContents",
        "kAXFrontmostAttribute": "AXFrontmost",
        "kAXShownMenuUIElementAttribute": "AXShownMenuUIElement",
        "kAXRangeForLineParameterizedAttribute": "AXRangeForLine",
        "kAXMathFractionSubrole": "AXMathFraction",
        "kAXMathUnderAttribute": "AXMathUnder",
        "kAXColumnRole": "AXColumn",
        "kAXTextMarkerForPositionParameterizedAttribute": "AXTextMarkerForPosition",
        "kAXDialogSubrole": "AXDialog",
        "kAXAudioSubrole": "AXAudio",
        "kAXDisclosureLevelAttribute": "AXDisclosureLevel",
        "kAXBrailleLabelAttribute": "AXBrailleLabel",
        "kAXMinimizedAttribute": "AXMinimized",
        "kAXFocusedAttribute": "AXFocused",
        "kAXMarkerUIElementsAttribute": "AXMarkerUIElements",
        "kAXHorizontalUnitsAttribute": "AXHorizontalUnits",
        "kAXToggleSubrole": "AXToggle",
        "kAXFocusedWindowAttribute": "AXFocusedWindow",
        "kAXSelectedTextAttribute": "AXSelectedText",
        "kAXMathPrescriptsAttribute": "AXMathPrescripts",
        "kAXHourFieldAttribute": "AXHourField",
        "kAXStandardWindowSubrole": "AXStandardWindow",
        "kAXEnabledAttribute": "AXEnabled",
        "kAXRoleAttribute": "AXRole",
        "kAXTitleAttribute": "AXTitle",
        "kAXUnknownOrientationValue": "AXUnknownOrientation",
        "kAXMathFencedOpenAttribute": "AXMathFencedOpen",
        "kAXDockExtraDockItemSubrole": "AXDockExtraDockItem",
        "kAXSystemFloatingWindowSubrole": "AXSystemFloatingWindow",
        "kAXTableRowSubrole": "AXTableRow",
        "kAXLeftWordTextMarkerRangeForTextMarkerParameterizedAttribute": "AXLeftWordTextMarkerRangeForTextMarker",
        "kAXApplicationGroupSubrole": "AXApplicationGroup",
        "kAXTabPanelSubrole": "AXTabPanel",
        "kAXExtrasMenuBarAttribute": "AXExtrasMenuBar",
        "kAXLandmarkMainSubrole": "AXLandmarkMain",
        "kAXRulerMarkerRole": "AXRulerMarker",
        "kAXSystemWideRole": "AXSystemWide",
        "kAXHandlesAttribute": "AXHandles",
        "kAXIsApplicationRunningAttribute": "AXIsApplicationRunning",
        "kAXShowAlternateUIAction": "AXShowAlternateUI",
        "kAXFieldsetSubrole": "AXFieldset",
        "kAXRowHeaderUIElementsAttribute": "AXRowHeaderUIElements",
        "kAXLabelUIElementsAttribute": "AXLabelUIElements",
        "kAXMathTableSubrole": "AXMathTable",
        "kAXScreenSizeForLayoutSizeParameterizedAttribute": "AXScreenSizeForLayoutSize",
        "kAXMathSuperscriptAttribute": "AXMathSuperscript",
        "kAXCheckBoxRole": "AXCheckBox",
        "kAXMarkerTypeDescriptionAttribute": "AXMarkerTypeDescription",
        "kAXAnnouncementKey": "AXAnnouncementKey",
        "kAXSelectedTextChangedNotification": "AXSelectedTextChanged",
        "kAXTextFieldRole": "AXTextField",
        "kAXLiveRegionCreatedNotification": "AXLiveRegionCreated",
        "kAXRubyInlineSubrole": "AXRubyInline",
        "kAXIsSuggestionStringAttribute": "AXIsSuggestion",
        "kAXToolbarRole": "AXToolbar",
        "kAXTextMarkerIsValidParameterizedAttribute": "AXTextMarkerIsValid",
        "kAXDocumentDockItemSubrole": "AXDocumentDockItem",
        "kAXSearchFieldSubrole": "AXSearchField",
        "kAXVisibleTextAttribute": "AXVisibleText",
        "kAXMathFractionDenominatorAttribute": "AXMathFractionDenominator",
        "kAXSeparatorDockItemSubrole": "AXSeparatorDockItem",
        "kAXVerticalUnitDescriptionAttribute": "AXVerticalUnitDescription",
        "kAXARIASetSizeAttribute": "AXARIASetSize",
        "kAXHighlightStringAttribute": "AXHighlight",
        "kAXShowDefaultUIAction": "AXShowDefaultUI",
        "kAXTextMarkerRangeForUIElementParameterizedAttribute": "AXTextMarkerRangeForUIElement",
        "kAXTabGroupRole": "AXTabGroup",
        "kAXDateFieldRole": "AXDateField",
        "kAXTimelineSubrole": "AXTimeline",
        "kAXHorizontalScrollBarAttribute": "AXHorizontalScrollBar",
        "kAXSheetCreatedNotification": "AXSheetCreated",
        "kAXMathLineThicknessAttribute": "AXMathLineThickness",
        "kAXWarningValueAttribute": "AXWarningValue",
        "kAXDisclosureTriangleRole": "AXDisclosureTriangle",
        "kAXAllowedValuesAttribute": "AXAllowedValues",
        "kAXLiveRegionChangedNotification": "AXLiveRegionChanged",
        "kAXSharedCharacterRangeAttribute": "AXSharedCharacterRange",
        "kAXSelectedCellsChangedNotification": "AXSelectedCellsChanged",
        "kAXRangeForPositionParameterizedAttribute": "AXRangeForPosition",
        "kAXTitleChangedNotification": "AXTitleChanged",
        "kAXHeaderAttribute": "AXHeader",
        "kAXApplicationAlertSubrole": "AXApplicationAlert",
        "kAXUIElementsKey": "AXUIElementsKey",
        "kAXMenuItemPrimaryUIElementAttribute": "AXMenuItemPrimaryUIElement",
        "kAXGridRole": "AXGrid",
        "kAXMathRowSubrole": "AXMathRow",
        "kAXOrientationAttribute": "AXOrientation",
        "kAXMathUnderOverSubrole": "AXMathUnderOver",
        "kAXDocumentNoteSubrole": "AXDocumentNote",
        "kAXMathFencedSubrole": "AXMathFenced",
        "kAXSystemDialogSubrole": "AXSystemDialog",
        "kAXCellRole": "AXCell",
        "kAXTimeFieldRole": "AXTimeField",
        "kAXApplicationShownNotification": "AXApplicationShown",
        "kPasteboardClipboard": "com.apple.pasteboard.clipboard",
        "kAXProgressIndicatorRole": "AXProgressIndicator",
        "kAXBrailleRoleDescriptionAttribute": "AXBrailleRoleDescription",
        "kAXTextMarkerRangeForUnorderedTextMarkersParameterizedAttribute": "AXTextMarkerRangeForUnorderedTextMarkers",
        "kAXMeterSubrole": "AXMeter",
        "kAXHelpAttribute": "AXHelp",
        "kAXDocumentAttribute": "AXDocument",
        "kAXTableRole": "AXTable",
        "kAXVerticalScrollBarAttribute": "AXVerticalScrollBar",
        "kAXMinValueAttribute": "AXMinValue",
        "kAXEndTextMarkerAttribute": "AXEndTextMarker",
        "kAXSplitGroupRole": "AXSplitGroup",
        "kAXWindowMovedNotification": "AXWindowMoved",
        "kAXErrorMessageElementsAttribute": "AXErrorMessageElements",
        "kAXPopoverRole": "AXPopover",
        "kAXMathSubscriptAttribute": "AXMathSubscript",
        "kAXDecrementAction": "AXDecrement",
        "kAXExpandedTextValueAttribute": "AXExpandedTextValue",
        "kAXHelpTagRole": "AXHelpTag",
        "kAXAttributedStringForRangeParameterizedAttribute": "AXAttributedStringForRange",
        "kAXApplicationDialogSubrole": "AXApplicationDialog",
        "kAXIncrementPageSubrole": "AXIncrementPage",
        "kAXDescriptionListSubrole": "AXDescriptionList",
        "kAXModalAttribute": "AXModal",
        "kAXMathBaseAttribute": "AXMathBase",
        "kAXIncrementButtonAttribute": "AXIncrementButton",
        "kAXMathNumberSubrole": "AXMathNumber",
        "kAXOrderedByRowAttribute": "AXOrderedByRow",
        "kAXHelpTagCreatedNotification": "AXHelpTagCreated",
        "kAXStaticTextRole": "AXStaticText",
        "kAXValueChangedNotification": "AXValueChanged",
        "kAXContentsAttribute": "AXContents",
        "kAXRadioGroupRole": "AXRadioGroup",
        "kAXVisibleChildrenAttribute": "AXVisibleChildren",
        "kAXElementBusyAttribute": "AXElementBusy",
        "kAXUserInterfaceTooltipSubrole": "AXUserInterfaceTooltip",
        "kAXLayoutItemRole": "AXLayoutItem",
        "kAXPickAction": "AXPick",
        "kAXMinimizeButtonSubrole": "AXMinimizeButton",
        "kAXSelectedTextMarkerRangeAttribute": "AXSelectedTextMarkerRange",
        "kAXDecorativeSubrole": "AXDecorative",
        "kAXMenuRole": "AXMenu",
        "kAXIncrementorRole": "AXIncrementor",
        "kAXDefaultButtonAttribute": "AXDefaultButton",
        "kAXARIAAtomicAttribute": "AXARIAAtomic",
        "kAXIncrementAction": "AXIncrement",
        "kPasteboardFind": "com.apple.pasteboard.find",
        "kAXLineForTextMarkerParameterizedAttribute": "AXLineForTextMarker",
        "kAXWindowMiniaturizedNotification": "AXWindowMiniaturized",
        "kAXWebApplicationSubrole": "AXWebApplication",
        "kAXUnitDescriptionAttribute": "AXUnitDescription",
        "kAXPreventKeyboardDOMEventDispatchAttribute": "AXPreventKeyboardDOMEventDispatch",
        "kAXDecrementArrowSubrole": "AXDecrementArrow",
        "kAXLineTextMarkerRangeForTextMarkerParameterizedAttribute": "AXLineTextMarkerRangeForTextMarker",
        "kAXLandmarkNavigationSubrole": "AXLandmarkNavigation",
        "kAXMenuButtonRole": "AXMenuButton",
        "kAXUnknownSubrole": "AXUnknown",
        "kAXSelectedChildrenMovedNotification": "AXSelectedChildrenMoved",
        "kAXValueIndicatorRole": "AXValueIndicator",
        "kAXApplicationRole": "AXApplication",
        "kAXColumnHeaderUIElementsAttribute": "AXColumnHeaderUIElements",
        "kAXVisibleCharacterRangeAttribute": "AXVisibleCharacterRange",
        "kAXGrowAreaRole": "AXGrowArea",
        "kAXNextTextMarkerForTextMarkerParameterizedAttribute": "AXNextTextMarkerForTextMarker",
        "kAXHorizontalOrientationValue": "AXHorizontalOrientation",
        "kAXMainWindowAttribute": "AXMainWindow",
        "kAXBoundsForTextMarkerRangeParameterizedAttribute": "AXBoundsForTextMarkerRange",
        "kAXRadioButtonRole": "AXRadioButton",
        "kAXValueAttribute": "AXValue",
        "kAXApplicationHiddenNotification": "AXApplicationHidden",
        "kAXLayoutAreaRole": "AXLayoutArea",
        "kPasteboardTypeFilePromiseContent": "com.apple.pasteboard.promised-file-content-type",
        "kAXDrawerRole": "AXDrawer",
        "kAXSecondFieldAttribute": "AXSecondField",
        "kAXPressAction": "AXPress",
        "kAXCloseButtonAttribute": "AXCloseButton",
        "kAXSortButtonSubrole": "AXSortButton",
        "kAXDOMClassListAttribute": "AXDOMClassList",
        "kAXSliderRole": "AXSlider",
        "kAXRaiseAction": "AXRaise",
        "kAXLandmarkComplementarySubrole": "AXLandmarkComplementary",
        "kAXSubscriptStyleGroupSubrole": "AXSubscriptStyleGroup",
        "kAXContentListSubrole": "AXContentList",
        "kAXURLDockItemSubrole": "AXURLDockItem",
        "kAXARIAColumnIndexAttribute": "AXARIAColumnIndex",
        "kAXARIAPosInSetAttribute": "AXARIAPosInSet",
        "kAXFullScreenButtonAttribute": "AXFullScreenButton",
        "kAXDatetimeValueAttribute": "AXDateTimeValue",
        "kAXInsertionPointLineNumberAttribute": "AXInsertionPointLineNumber",
        "kAXWindowResizedNotification": "AXWindowResized",
        "kAXApplicationDockItemSubrole": "AXApplicationDockItem",
        "kAXImageMapRole": "AXImageMap",
        "kAXRubyTextSubrole": "AXRubyText",
        "kAXMenuItemCmdVirtualKeyAttribute": "AXMenuItemCmdVirtualKey",
        "kAXStyleTextMarkerRangeForTextMarkerParameterizedAttribute": "AXStyleTextMarkerRangeForTextMarker",
        "kAXMenuItemCmdModifiersAttribute": "AXMenuItemCmdModifiers",
        "kAXPositionAttribute": "AXPosition",
        "kAXApplicationMarqueeSubrole": "AXApplicationMarquee",
        "kAXActiveElementChangedNotification": "AXActiveElementChanged",
        "kAXPlaceholderValueAttribute": "AXPlaceholderValue",
        "kAXSearchButtonAttribute": "AXSearchButton",
        "kAXFilenameAttribute": "AXFilename",
        "kAXSelectedTextRangeAttribute": "AXSelectedTextRange",
        "kAXTextInputMarkedTextMarkerRangeAttribute": "AXTextInputMarkedTextMarkerRange",
        "kAXScreenPointForLayoutPointParameterizedAttribute": "AXScreenPointForLayoutPoint",
        "kAXMathRootIndexAttribute": "AXMathRootIndex",
        "kAXSwitchSubrole": "AXSwitch",
        "kAXColorWellRole": "AXColorWell",
        "kAXValueDescriptionAttribute": "AXValueDescription",
        "kAXSelectedRowsAttribute": "AXSelectedRows",
        "kAXMathMultiscriptSubrole": "AXMathMultiscript",
        "kAXProcessSwitcherListSubrole": "AXProcessSwitcherList",
        "kAXZoomButtonSubrole": "AXZoomButton",
        "kAXDOMIdentifierAttribute": "AXDOMIdentifier",
        "kAXPreviousContentsAttribute": "AXPreviousContents",
        "kAXFocusedWindowChangedNotification": "AXFocusedWindowChanged",
        "kAXOverflowButtonAttribute": "AXOverflowButton",
        "kAXPopupValueAttribute": "AXPopupValue",
        "kAXDescendingSortDirectionValue": "AXDescendingSortDirection",
        "kAXTextMarkerRangeForLineParameterizedAttribute": "AXTextMarkerRangeForLine",
        "kAXLevelIndicatorRole": "AXLevelIndicator",
        "kAXCurrentStateChangedNotification": "AXCurrentStateChanged",
        "kAXSentenceTextMarkerRangeForTextMarkerParameterizedAttribute": "AXSentenceTextMarkerRangeForTextMarker",
        "kAXMatteHoleAttribute": "AXMatteHole",
        "kAXIncrementorAttribute": "AXIncrementor",
        "kAXIndexAttribute": "AXIndex",
        "kAXMathPostscriptsAttribute": "AXMathPostscripts",
        "kAXInlineTextAttribute": "AXInlineText",
        "kAXParentAttribute": "AXParent",
        "kAXMathSquareRootSubrole": "AXMathSquareRoot",
        "kAXFocusedApplicationAttribute": "AXFocusedApplication",
        "kAXMovedNotification": "AXMoved",
        "kAXEmptyGroupSubrole": "AXEmptyGroup",
        "kAXDefinitionSubrole": "AXDefinition",
        "kAXHeadingRole": "AXHeading",
        "kAXAccessKeyAttribute": "AXAccessKey",
        "kAXMenuBarAttribute": "AXMenuBar",
        "kAXApplicationStatusSubrole": "AXApplicationStatus",
        "kAXNextSentenceEndTextMarkerForTextMarkerParameterizedAttribute": "AXNextSentenceEndTextMarkerForTextMarker",
        "kAXExpandedChangedNotification": "AXExpandedChanged",
        "kAXColumnTitleAttribute": "AXColumnTitles",
        "kAXTimeGroupSubrole": "AXTimeGroup",
        "kAXURLAttribute": "AXURL",
        "kAXMathOverAttribute": "AXMathOver",
        "kAXMenuOpenedNotification": "AXMenuOpened",
        "kAXLoadCompleteNotification": "AXLoadComplete",
        "kAXDrawerCreatedNotification": "AXDrawerCreated",
        "kAXStringForRangeParameterizedAttribute": "AXStringForRange",
        "kAXDocumentMathSubrole": "AXDocumentMath",
        "kAXMathTextSubrole": "AXMathText",
        "kAXTermSubrole": "AXTerm",
        "kAXDocumentArticleSubrole": "AXDocumentArticle",
        "kAXApplicationTimerSubrole": "AXApplicationTimer",
        "kAXInvalidAttribute": "AXInvalid",
        "kAXCancelButtonAttribute": "AXCancelButton",
        "kAXLayoutPointForScreenPointParameterizedAttribute": "AXLayoutPointForScreenPoint",
        "kAXVisibleRowsAttribute": "AXVisibleRows",
        "kAXLinkedUIElementsAttribute": "AXLinkedUIElements",
        "kAXVisibleColumnsAttribute": "AXVisibleColumns",
        "kAXUIElementTitleKey": "AXUIElementTitleKey",
        "kAXUIElementForTextMarkerParameterizedAttribute": "AXUIElementForTextMarker",
        "kAXFolderDockItemSubrole": "AXFolderDockItem",
        "kAXMenuBarItemRole": "AXMenuBarItem",
        "kAXLayoutChangedNotification": "AXLayoutChanged",
        "kAXARIARowIndexAttribute": "AXARIARowIndex",
        "kAXFocusableAncestorAttribute": "AXFocusableAncestor",
        "kAXSubroleAttribute": "AXSubrole",
        "kAXSelectedChildrenAttribute": "AXSelectedChildren",
        "kAXParagraphTextMarkerRangeForTextMarkerParameterizedAttribute": "AXParagraphTextMarkerRangeForTextMarker",
        "kAXSecureTextFieldSubrole": "AXSecureTextField",
        "kAXHandleRole": "AXHandle",
        "kAXDefinitionListSubrole": "AXDefinitionList",
        "kAXMathRootSubrole": "AXMathRoot",
        "kAXSharedFocusElementsAttribute": "AXSharedFocusElements",
        "kAXLandmarkContentInfoSubrole": "AXLandmarkContentInfo",
        "kAXLandmarkRegionSubrole": "AXLandmarkRegion",
        "kAXIsSuggestedDeletionStringAttribute": "AXIsSuggestedDeletion",
        "kAXBusyIndicatorRole": "AXBusyIndicator",
        "kAXMenuItemSelectedNotification": "AXMenuItemSelected",
        "kAXHighestEditableAncestorAttribute": "AXHighestEditableAncestor",
        "kAXTrashDockItemSubrole": "AXTrashDockItem",
        "kAXUnitsAttribute": "AXUnits",
        "kAXMenuBarRole": "AXMenuBar",
        "kAXAttributedStringForTextMarkerRangeParameterizedAttribute": "AXAttributedStringForTextMarkerRange",
        "kAXMathOperatorSubrole": "AXMathOperator",
        "kAXColumnTitlesAttribute": "AXColumnTitles",
        "kAXAMPMFieldAttribute": "AXAMPMField",
        "kAXRightLineTextMarkerRangeForTextMarkerParameterizedAttribute": "AXRightLineTextMarkerRangeForTextMarker",
        "kAXRightWordTextMarkerRangeForTextMarkerParameterizedAttribute": "AXRightWordTextMarkerRangeForTextMarker",
        "kAXSelectedColumnsChangedNotification": "AXSelectedColumnsChanged",
        "kAXRowsAttribute": "AXRows",
        "kAXFullScreenButtonSubrole": "AXFullScreenButton",
        "kAXLandmarkSearchSubrole": "AXLandmarkSearch",
        "kAXMatteRole": "AXMatte",
        "kAXElementBusyChangedNotification": "AXElementBusyChanged",
        "kAXConvertRelativeFrameParameterizedAttribute": "AXConvertRelativeFrame",
        "kAXToolbarButtonAttribute": "AXToolbarButton",
        "kAXARIALiveAttribute": "AXARIALive",
        "kAXUIElementDestroyedNotification": "AXUIElementDestroyed",
        "kAXTopLevelUIElementAttribute": "AXTopLevelUIElement",
        "kAXMenuItemMarkCharAttribute": "AXMenuItemMarkChar",
        "kAXDayFieldAttribute": "AXDayField",
        "kAXSplittersAttribute": "AXSplitters",
        "kAXRTFForRangeParameterizedAttribute": "AXRTFForRange",
        "kAXDetailsSubrole": "AXDetails",
        "kAXMathTableCellSubrole": "AXMathTableCell",
        "kAXRatingIndicatorSubrole": "AXRatingIndicator",
        "kAXEditedAttribute": "AXEdited",
        "kAXColumnsAttribute": "AXColumns",
        "kAXAscendingSortDirectionValue": "AXAscendingSortDirection",
        "kAXARIAColumnCountAttribute": "AXARIAColumnCount",
        "kAXDecrementPageSubrole": "AXDecrementPage",
        "kAXGrabbedAttribute": "AXGrabbed",
        "kAXMenuClosedNotification": "AXMenuClosed",
        "kAXUnknownSortDirectionValue": "AXUnknownSortDirection",
        "kAXARIARowCountAttribute": "AXARIARowCount",
        "kAXFocusedUIElementAttribute": "AXFocusedUIElement",
        "kAXLinkUIElementsAttribute": "AXLinkUIElements",
        "kAXMathFencedCloseAttribute": "AXMathFencedClose",
        "kAXIdentifierAttribute": "AXIdentifier",
        "kAXHasWebApplicationAncestorAttribute": "AXHasWebApplicationAncestor",
        "kAXMathTableRowSubrole": "AXMathTableRow",
        "kAXSelectedChildrenChangedNotification": "AXSelectedChildrenChanged",
        "kAXRowCountAttribute": "AXRowCount",
        "kAXOwnsAttribute": "AXOwns",
        "kAXLandmarkBannerSubrole": "AXLandmarkBanner",
        "kAXCodeStyleGroupSubrole": "AXCodeStyleGroup",
        "kAXFloatingWindowSubrole": "AXFloatingWindow",
        "kAXIsEditableAttribute": "AXIsEditable",
        "kAXMathRootRadicandAttribute": "AXMathRootRadicand",
        "kAXCancelAction": "AXCancel",
        "kAXARIACurrentAttribute": "AXARIACurrent",
        "kAXConfirmAction": "AXConfirm",
        "kAXRowCollapsedNotification": "AXRowCollapsed",
        "kAXPriorityKey": "AXPriorityKey",
        "kAXIncrementArrowSubrole": "AXIncrementArrow",
        "kAXBrowserRole": "AXBrowser",
        "kAXInvalidStatusChangedNotification": "AXInvalidStatusChanged",
        "kAXRoleDescriptionAttribute": "AXRoleDescription",
        "kAXDescribedByAttribute": "AXDescribedBy",
        "kAXLabelValueAttribute": "AXLabelValue",
        "kAXScrollBarRole": "AXScrollBar",
        "kAXShowMenuAction": "AXShowMenu",
        "kAXColumnCountAttribute": "AXColumnCount",
        "kAXSelectedRowsChangedNotification": "AXSelectedRowsChanged",
        "kAXHasPopupAttribute": "AXHasPopup",
        "kAXCellForColumnAndRowParameterizedAttribute": "AXCellForColumnAndRow",
        "kAXWindowsAttribute": "AXWindows",
        "kAXTextAreaRole": "AXTextArea",
        "kAXSuperscriptStyleGroupSubrole": "AXSuperscriptStyleGroup",
        "kAXLoadedAttribute": "AXLoaded",
        "kAXAlternateUIVisibleAttribute": "AXAlternateUIVisible",
        "kAXValueWrapsAttribute": "AXValueWraps",
        "kAXSizeAttribute": "AXSize",
        "kAXDisclosedByRowAttribute": "AXDisclosedByRow",
        "kAXMenuItemRole": "AXMenuItem",
        "kAXComboBoxRole": "AXComboBox",
        "kAXHasDocumentRoleAncestorAttribute": "AXHasDocumentRoleAncestor",
        "kAXNextParagraphEndTextMarkerForTextMarkerParameterizedAttribute": "AXNextParagraphEndTextMarkerForTextMarker",
        "kAXMainWindowChangedNotification": "AXMainWindowChanged",
        "kAXMathSubscriptSuperscriptSubrole": "AXMathSubscriptSuperscript",
        "kAXHiddenAttribute": "AXHidden",
        "kAXIntersectionWithSelectionRangeAttribute": "AXIntersectionWithSelectionRange",
        "kAXMinimizeButtonAttribute": "AXMinimizeButton",
        "kAXLengthForTextMarkerRangeParameterizedAttribute": "AXLengthForTextMarkerRange",
        "kAXLayoutCompleteNotification": "AXLayoutComplete",
        "kAXSelectedCellsAttribute": "AXSelectedCells",
        "kAXStringForTextMarkerRangeParameterizedAttribute": "AXStringForTextMarkerRange",
        "kAXServesAsTitleForUIElementsAttribute": "AXServesAsTitleForUIElements",
        "kAXARIARelevantAttribute": "AXARIARelevant",
        "kAXDescription": "AXDescription",
        "kAXNumberOfCharactersAttribute": "AXNumberOfCharacters",
        "kAXImageRole": "AXImage",
        "kAXInsertStyleGroupSubrole": "AXInsertStyleGroup",
        "kAXTextAttribute": "AXText",
        "kAXDidSpellCheckStringAttribute": "AXDidSpellCheck",
        "kAXKeyShortcutsAttribute": "AXKeyShortcutsValue",
        "kAXWindowRole": "AXWindow",
        "kAXExpandedAttribute": "AXExpanded",
        "kAXVerticalUnitsAttribute": "AXVerticalUnits",
        "kAXDropEffectsAttribute": "AXDropEffects",
        "kAXCreatedNotification": "AXCreated",
        "kAXDisclosedRowsAttribute": "AXDisclosedRows",
        "kAXTabsAttribute": "AXTabs",
        "kAXChildrenAttribute": "AXChildren",
        "kAXToolbarButtonSubrole": "AXToolbarButton",
        "kAXStyleRangeForIndexParameterizedAttribute": "AXStyleRangeForIndex",
        "kAXSheetRole": "AXSheet",
        "kAXMatteContentUIElementAttribute": "AXMatteContentUIElement",
        "kAXYearFieldAttribute": "AXYearField",
        "kAXRowExpandedNotification": "AXRowExpanded",
        "kAXScrollAreaRole": "AXScrollArea",
        "kAXVisibleCellsAttribute": "AXVisibleCells",
        "kAXRowIndexRangeAttribute": "AXRowIndexRange",
        "kAXApplicationActivatedNotification": "AXApplicationActivated",
        "kAXMaxValueAttribute": "AXMaxValue",
        "kAXPreviousParagraphStartTextMarkerForTextMarkerParameterizedAttribute": "AXPreviousParagraphStartTextMarkerForTextMarker",
        "kAXCloseButtonSubrole": "AXCloseButton",
        "kAXPreviousLineStartTextMarkerForTextMarkerParameterizedAttribute": "AXPreviousLineStartTextMarkerForTextMarker",
        "kAXCaretBrowsingEnabledAttribute": "AXCaretBrowsingEnabled",
        "kAXValueIncrementAttribute": "AXValueIncrement",
        "kAXSplitterRole": "AXSplitter",
        "kAXGroupRole": "AXGroup",
        "kAXZoomButtonAttribute": "AXZoomButton",
        "kAXFileUploadButtonSubrole": "AXFileUploadButton",
        "kAXVideoSubrole": "AXVideo",
        "kAXNextWordEndTextMarkerForTextMarkerParameterizedAttribute": "AXNextWordEndTextMarkerForTextMarker",
        "kAXIsSuggestedInsertionStringAttribute": "AXIsSuggestedInsertion",
        "kAXRelevanceIndicatorRole": "AXRelevanceIndicator",
        "kAXMonthFieldAttribute": "AXMonthField",
        "kAXCriticalValueAttribute": "AXCriticalValue",
        "kAXButtonRole": "AXButton",
        "kAXProxyAttribute": "AXProxy",
        "kAXActiveElementAttribute": "AXActiveElement",
        "kAXPreviousSentenceStartTextMarkerForTextMarkerParameterizedAttribute": "AXPreviousSentenceStartTextMarkerForTextMarker",
        "kAXMathSeparatorOperatorSubrole": "AXMathSeparatorOperator",
        "kAXSelectedColumnsAttribute": "AXSelectedColumns",
        "kAXApplicationLogSubrole": "AXApplicationLog",
        "kAXValueAutofillAvailableAttribute": "AXValueAutofillAvailable",
        "kAXListRole": "AXList",
        "kAXHorizontalUnitDescriptionAttribute": "AXHorizontalUnitDescription",
        "kAXPreviousTextMarkerForTextMarkerParameterizedAttribute": "AXPreviousTextMarkerForTextMarker",
        "kAXApplicationDeactivatedNotification": "AXApplicationDeactivated",
        "kAXDescriptionAttribute": "AXDescription",
        "kAXStartTextMarkerAttribute": "AXStartTextMarker",
        "kAXOutlineRowSubrole": "AXOutlineRow",
        "kAXAnnouncementRequestedNotification": "AXAnnouncementRequested",
        "kAXClearButtonAttribute": "AXClearButton",
        "kAXDeleteStyleGroupSubrole": "AXDeleteStyleGroup",
        "kAXMinuteFieldAttribute": "AXMinuteField",
        "kAXUnknownRole": "AXUnknown",
        "kAXMarkerTypeAttribute": "AXMarkerType",
        "kPasteboardTypeFileURLPromise": "com.apple.pasteboard.promised-file-url",
        "kAXLineForIndexParameterizedAttribute": "AXLineForIndex",
        "kAXMathFractionNumeratorAttribute": "AXMathFractionNumerator",
        "kAXLayoutSizeForScreenSizeParameterizedAttribute": "AXLayoutSizeForScreenSize",
        "kAXMainAttribute": "AXMain",
        "kAXFocusedUIElementChangedNotification": "AXFocusedUIElementChanged",
        "kAXApplicationAlertDialogSubrole": "AXApplicationAlertDialog",
        "kAXWindowCreatedNotification": "AXWindowCreated",
        "kAXVerticalOrientationValue": "AXVerticalOrientation",
        "kAXRowCountChangedNotification": "AXRowCountChanged",
        "kAXTextMarkerForIndexParameterizedAttribute": "AXTextMarkerForIndex",
        "kAXDisclosingAttribute": "AXDisclosing",
        "kAXSharedTextUIElementsAttribute": "AXSharedTextUIElements",
        "kAXSummarySubrole": "AXSummary",
        "kAXWindowDeminiaturizedNotification": "AXWindowDeminiaturized",
        "kAXIndexForTextMarkerParameterizedAttribute": "AXIndexForTextMarker",
        "kAXPreviousWordStartTextMarkerForTextMarkerParameterizedAttribute": "AXPreviousWordStartTextMarkerForTextMarker",
        "kAXSortDirectionAttribute": "AXSortDirection",
        "kAXNextLineEndTextMarkerForTextMarkerParameterizedAttribute": "AXNextLineEndTextMarkerForTextMarker",
        "kAXMenuItemCmdGlyphAttribute": "AXMenuItemCmdGlyph",
        "kAXColumnIndexRangeAttribute": "AXColumnIndexRange",
    }
)
functions = {
    "HIShapeUnion": (b"i^{__HIShape=}^{__HIShape=}^{__HIShape=}",),
    "AXObserverCreateWithInfoCallback": (
        b"ii^?^^{__AXObserver=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                1: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__AXObserver=}"},
                            1: {"type": b"^{__AXUIElement=}"},
                            2: {"type": b"^{__CFString=}"},
                            3: {"type": b"^{__CFDictionary=}"},
                            4: {"type": b"^v"},
                        },
                    },
                    "callable_retained": True,
                },
                2: {"already_cfretained": True, "type_modifier": "o"},
            },
        },
    ),
    "TranslationCopySourceType": (
        b"i^{OpaqueTranslationRef=}^^{__CFString=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "HIShapeCreateMutableWithRect": (
        b"^{__HIShape=}^{CGRect={CGPoint=dd}{CGSize=dd}}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {0: {"type_modifier": "n"}},
        },
    ),
    "PlotIconRefInContext": (
        b"i^{CGContext=}^{CGRect={CGPoint=dd}{CGSize=dd}}ss^{RGBColor=SSS}I^{OpaqueIconRef=}",
        "",
        {"arguments": {1: {"type_modifier": "n"}, 4: {"type_modifier": "n"}}},
    ),
    "AXUIElementPerformAction": (b"i^{__AXUIElement=}^{__CFString=}",),
    "AXUIElementPostKeyboardEvent": (b"i^{__AXUIElement=}SSZ",),
    "AXUIElementIsAttributeSettable": (
        b"i^{__AXUIElement=}^{__CFString=}^Z",
        "",
        {"arguments": {2: {"type_modifier": "o"}}},
    ),
    "AXTextMarkerRangeCreate": (
        b"^{__AXTextMarkerRange=}^{__CFAllocator=}^{__AXTextMarker=}^{__AXTextMarker=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "GetCurrentProcess": (
        b"s^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "o"}}},
    ),
    "HIShapeCreateCopy": (
        b"^{__HIShape=}^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "AXTextMarkerRangeCopyEndMarker": (
        b"^{__AXTextMarker=}^{__AXTextMarkerRange=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "AXUIElementCopyParameterizedAttributeValue": (
        b"i^{__AXUIElement=}^{__CFString=}@^@",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "PasteboardResolvePromises": (b"i^{OpaquePasteboardRef=}",),
    "NewIconActionUPP": (
        b"^?^?",
        "",
        {
            "arguments": {
                0: {
                    "callable": {
                        "retval": {"type": b"s"},
                        "arguments": {
                            0: {"type": b"I"},
                            1: {"type": b"^^^c"},
                            2: {"type": b"^v"},
                        },
                    }
                }
            }
        },
    ),
    "AXUIElementCreateSystemWide": (
        b"^{__AXUIElement=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "HIShapeIntersectsRect": (
        b"Z^{__HIShape=}^{CGRect={CGPoint=dd}{CGSize=dd}}",
        "",
        {
            "retval": {"c_array_of_fixed_length": 1},
            "arguments": {1: {"type_modifier": "n"}},
        },
    ),
    "AXUIElementSetAttributeValue": (b"i^{__AXUIElement=}^{__CFString=}@",),
    "NewIconGetterUPP": (
        b"^?^?",
        "",
        {
            "arguments": {
                0: {
                    "callable": {
                        "retval": {"type": b"^^c"},
                        "arguments": {0: {"type": b"I"}, 1: {"type": b"^v"}},
                    }
                }
            }
        },
    ),
    "GetProcessInformation": (
        b"s^{ProcessSerialNumber=II}^{ProcessInfoRec=I^C{ProcessSerialNumber=II}III^cII{ProcessSerialNumber=II}II^{FSRef=[80C]}}",
        "",
        {"arguments": {0: {"type_modifier": "n"}, 1: {"type_modifier": "o"}}},
    ),
    "AXMakeProcessTrusted": (b"i^{__CFString=}",),
    "ProcessInformationCopyDictionary": (
        b"^{__CFDictionary=}^{ProcessSerialNumber=II}I",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {0: {"type_modifier": "n"}},
        },
    ),
    "AXTextMarkerCreate": (
        b"^{__AXTextMarker=}^{__CFAllocator=}^Cq",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"c_array_length_in_arg": 2, "type_modifier": "n"}},
        },
    ),
    "HIShapeInset": (b"i^{__HIShape=}dd",),
    "AXUIElementCopyActionNames": (
        b"i^{__AXUIElement=}^^{__CFArray=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "PasteboardCopyItemFlavors": (
        b"i^{OpaquePasteboardRef=}^v^^{__CFArray=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "HIShapeEnumerate": (
        b"i^{__HIShape=}I^?^v",
        "",
        {
            "arguments": {
                2: {
                    "callable": {
                        "retval": {"type": b"i"},
                        "arguments": {
                            0: {"type": b"i"},
                            1: {"type": b"^{__HIShape=}"},
                            2: {
                                "type": b"^{CGRect={CGPoint=dd}{CGSize=dd}}",
                                "type_modifier": "n",
                            },
                            3: {"type": b"^v"},
                        },
                    },
                    "callable_retained": False,
                }
            }
        },
    ),
    "SameProcess": (
        b"s^{ProcessSerialNumber=II}^{ProcessSerialNumber=II}^Z",
        "",
        {
            "arguments": {
                0: {"type_modifier": "n"},
                1: {"type_modifier": "n"},
                2: {"type_modifier": "o"},
            }
        },
    ),
    "WakeUpProcess": (
        b"s^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "PasteboardSynchronize": (b"I^{OpaquePasteboardRef=}",),
    "TranslationCopyDestinationType": (
        b"i^{OpaqueTranslationRef=}^^{__CFString=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "AXUIElementCopyParameterizedAttributeNames": (
        b"i^{__AXUIElement=}^^{__CFArray=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "PasteboardCreate": (
        b"i^{__CFString=}^^{OpaquePasteboardRef=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "SetFrontProcessWithOptions": (
        b"i^{ProcessSerialNumber=II}I",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "CopyProcessName": (
        b"i^{ProcessSerialNumber=II}^^{__CFString=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                0: {"type_modifier": "n"},
                1: {"already_cfretained": True, "type_modifier": "o"},
            },
        },
    ),
    "PasteboardGetItemCount": (
        b"i^{OpaquePasteboardRef=}^Q",
        "",
        {"arguments": {1: {"type_modifier": "o"}}},
    ),
    "PasteboardGetItemIdentifier": (
        b"i^{OpaquePasteboardRef=}q^^v",
        "",
        {"arguments": {2: {"type_modifier": "o"}}},
    ),
    "IsProcessVisible": (
        b"Z^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "HIShapeIsRectangular": (b"Z^{__HIShape=}",),
    "AXTextMarkerGetBytePtr": (
        b"^C^{__AXTextMarker=}",
        "",
        {"retval": {"c_array_of_variable_length": True}},
    ),
    "HIShapeCreateWithRect": (
        b"^{__HIShape=}^{CGRect={CGPoint=dd}{CGSize=dd}}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {0: {"type_modifier": "n"}},
        },
    ),
    "AXUIElementCopyActionDescription": (
        b"i^{__AXUIElement=}^{__CFString=}^^{__CFString=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "AXObserverGetRunLoopSource": (b"^{__CFRunLoopSource=}^{__AXObserver=}",),
    "GetNextProcess": (
        b"s^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "o"}}},
    ),
    "AXUIElementGetAttributeValueCount": (
        b"i^{__AXUIElement=}^{__CFString=}^q",
        "",
        {"arguments": {2: {"type_modifier": "o"}}},
    ),
    "TranslationPerformForURL": (
        b"i^{OpaqueTranslationRef=}^{__CFURL=}^{__CFURL=}^^{__CFURL=}",
        "",
        {"arguments": {3: {"already_cfretained": True, "type_modifier": "o"}}},
    ),
    "AXValueGetType": (b"I^{__AXValue=}",),
    "UAZoomEnabled": (b"Z",),
    "GetProcessPID": (
        b"i^{ProcessSerialNumber=II}^i",
        "",
        {"arguments": {0: {"type_modifier": "n"}, 1: {"type_modifier": "o"}}},
    ),
    "AXUIElementGetPid": (
        b"i^{__AXUIElement=}^i",
        "",
        {"arguments": {1: {"type_modifier": "o"}}},
    ),
    "GetProcessForPID": (
        b"ii^{ProcessSerialNumber=II}",
        "",
        {"arguments": {1: {"type_modifier": "o"}}},
    ),
    "TranslationCreate": (
        b"i^{__CFString=}^{__CFString=}I^^{OpaqueTranslationRef=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "HIShapeUnionWithRect": (
        b"i^{__HIShape=}^{CGRect={CGPoint=dd}{CGSize=dd}}",
        "",
        {"arguments": {1: {"type_modifier": "n"}}},
    ),
    "PasteboardGetItemFlavorFlags": (
        b"i^{OpaquePasteboardRef=}^v^{__CFString=}^I",
        "",
        {"arguments": {3: {"type_modifier": "o"}}},
    ),
    "PasteboardCopyPasteLocation": (
        b"i^{OpaquePasteboardRef=}^^{__CFURL=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "PasteboardSetPromiseKeeper": (
        b"i^{OpaquePasteboardRef=}^?^v",
        "",
        {
            "arguments": {
                1: {
                    "callable": {
                        "retval": {"type": b"i"},
                        "arguments": {
                            0: {"type": b"^{OpaquePasteboardRef=}"},
                            1: {"type": b"^v"},
                            2: {"type": b"^{__CFString=}"},
                            3: {"type": b"^v"},
                        },
                    }
                }
            }
        },
    ),
    "UAZoomChangeFocus": (
        b"i^{CGRect={CGPoint=dd}{CGSize=dd}}^{CGRect={CGPoint=dd}{CGSize=dd}}I",
        "",
        {"arguments": {0: {"type_modifier": "n"}, 1: {"type_modifier": "n"}}},
    ),
    "HIShapeCreateUnion": (
        b"^{__HIShape=}^{__HIShape=}^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "TranslationPerformForData": (
        b"i^{OpaqueTranslationRef=}^{__CFData=}^^{__CFData=}",
        "",
        {"arguments": {2: {"already_cfretained": True, "type_modifier": "o"}}},
    ),
    "AXTextMarkerGetLength": (b"q^{__AXTextMarker=}",),
    "AXIsProcessTrustedWithOptions": (b"Z^{__CFDictionary=}",),
    "HIShapeOffset": (b"i^{__HIShape=}dd",),
    "TranslationGetTranslationFlags": (
        b"i^{OpaqueTranslationRef=}^I",
        "",
        {"arguments": {1: {"type_modifier": "o"}}},
    ),
    "AXUIElementCopyAttributeValues": (
        b"i^{__AXUIElement=}^{__CFString=}qq^^{__CFArray=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {4: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "SetIconFamilyData": (
        b"s^^{IconFamilyResource=Ii[1{IconFamilyElement=Ii[1C]}]}I^^c",
    ),
    "HIShapeIntersect": (b"i^{__HIShape=}^{__HIShape=}^{__HIShape=}",),
    "TranslationCreateWithSourceArray": (
        b"i^{__CFArray=}I^^{__CFArray=}^^{__CFDictionary=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                2: {"already_cfretained": True, "type_modifier": "o"},
                3: {"already_cfretained": True, "type_modifier": "o"},
            },
        },
    ),
    "KillProcess": (
        b"s^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "SetFrontProcess": (
        b"s^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "PasteboardCopyItemFlavorData": (
        b"i^{OpaquePasteboardRef=}^v^{__CFString=}^^{__CFData=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "AXUIElementCreateApplication": (
        b"^{__AXUIElement=}i",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "PasteboardGetTypeID": (b"Q",),
    "AXUIElementCopyAttributeNames": (
        b"i^{__AXUIElement=}^^{__CFArray=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "HIShapeContainsPoint": (
        b"Z^{__HIShape=}^{CGPoint=dd}",
        "",
        {"arguments": {1: {"type_modifier": "n"}}},
    ),
    "HIShapeGetBounds": (
        b"^{CGRect={CGPoint=dd}{CGSize=dd}}^{__HIShape=}^{CGRect={CGPoint=dd}{CGSize=dd}}",
        "",
        {
            "retval": {"deref_result_pointer": True},
            "arguments": {1: {"type_modifier": "o"}},
        },
    ),
    "AXObserverAddNotification": (
        b"i^{__AXObserver=}^{__AXUIElement=}^{__CFString=}^v",
    ),
    "TransformProcessType": (
        b"i^{ProcessSerialNumber=II}I",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "GetProcessBundleLocation": (
        b"i^{ProcessSerialNumber=II}^{FSRef=[80C]}",
        "",
        {"arguments": {0: {"type_modifier": "n"}, 1: {"type_modifier": "o"}}},
    ),
    "HIShapeCreateIntersection": (
        b"^{__HIShape=}^{__HIShape=}^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "HIShapeCreateMutableCopy": (
        b"^{__HIShape=}^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "AXUIElementCopyAttributeValue": (
        b"i^{__AXUIElement=}^{__CFString=}^@",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {2: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "GetFrontProcess": (
        b"s^{ProcessSerialNumber=II}",
        "",
        {"arguments": {0: {"type_modifier": "o"}}},
    ),
    "HIShapeCreateEmpty": (
        b"^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "AXObserverGetTypeID": (b"Q",),
    "AXTextMarkerRangeCopyStartMarker": (
        b"^{__AXTextMarker=}^{__AXTextMarkerRange=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "HIShapeGetTypeID": (b"Q",),
    "AXObserverCreate": (
        b"ii^?^^{__AXObserver=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                1: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^{__AXObserver=}"},
                            1: {"type": b"^{__AXUIElement=}"},
                            2: {"type": b"^{__CFString=}"},
                            3: {"type": b"^v"},
                        },
                    },
                    "callable_retained": True,
                },
                2: {"already_cfretained": True, "type_modifier": "o"},
            },
        },
    ),
    "AXTextMarkerRangeGetTypeID": (b"Q",),
    "PasteboardPutItemFlavor": (
        b"i^{OpaquePasteboardRef=}^v^{__CFString=}^{__CFData=}I",
    ),
    "AXAPIEnabled": (b"Z",),
    "AXObserverRemoveNotification": (
        b"i^{__AXObserver=}^{__AXUIElement=}^{__CFString=}",
    ),
    "PasteboardClear": (b"i^{OpaquePasteboardRef=}",),
    "TranslationPerformForFile": (
        b"i^{OpaqueTranslationRef=}^{FSRef=[80C]}^{FSRef=[80C]}^{__CFString=}^{FSRef=[80C]}",
        "",
        {
            "arguments": {
                1: {"type_modifier": "n"},
                2: {"type_modifier": "n"},
                4: {"type_modifier": "o"},
            }
        },
    ),
    "IsIconRefMaskEmpty": (b"Z^{OpaqueIconRef=}",),
    "AXTextMarkerGetTypeID": (b"Q",),
    "TranslationGetTypeID": (b"Q",),
    "HIShapeSetWithShape": (b"i^{__HIShape=}^{__HIShape=}",),
    "PasteboardSetPasteLocation": (b"i^{OpaquePasteboardRef=}^{__CFURL=}",),
    "AXTextMarkerRangeCreateWithBytes": (
        b"^{__AXTextMarkerRange=}^{__CFAllocator=}^Cq^Cq",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {
                1: {"c_array_length_in_arg": 2, "type_modifier": "n"},
                3: {"c_array_length_in_arg": 4, "type_modifier": "n"},
            },
        },
    ),
    "HIShapeXor": (b"i^{__HIShape=}^{__HIShape=}^{__HIShape=}",),
    "HIShapeCreateMutable": (
        b"^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "ShowHideProcess": (
        b"s^{ProcessSerialNumber=II}Z",
        "",
        {"arguments": {0: {"type_modifier": "n"}}},
    ),
    "HIShapeIsEmpty": (b"Z^{__HIShape=}",),
    "AXUIElementSetMessagingTimeout": (b"i^{__AXUIElement=}f",),
    "ExitToShell": (b"v",),
    "AXIsProcessTrusted": (b"Z",),
    "AXUIElementGetTypeID": (b"Q",),
    "PasteboardCopyName": (
        b"i^{OpaquePasteboardRef=}^^{__CFString=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {1: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "HIShapeDifference": (b"i^{__HIShape=}^{__HIShape=}^{__HIShape=}",),
    "AXValueGetTypeID": (b"Q", "", {"variadic": False}),
    "AXUIElementCopyElementAtPosition": (
        b"i^{__AXUIElement=}ff^^{__AXUIElement=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "AXUIElementCopyMultipleAttributeValues": (
        b"i^{__AXUIElement=}^{__CFArray=}I^^{__CFArray=}",
        "",
        {
            "retval": {"already_cfretained": True},
            "arguments": {3: {"already_cfretained": True, "type_modifier": "o"}},
        },
    ),
    "HIShapeSetEmpty": (b"i^{__HIShape=}",),
    "HIShapeReplacePathInCGContext": (b"i^{__HIShape=}^{CGContext=}",),
    "HIShapeCreateDifference": (
        b"^{__HIShape=}^{__HIShape=}^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
    "HIShapeCreateXor": (
        b"^{__HIShape=}^{__HIShape=}^{__HIShape=}",
        "",
        {"retval": {"already_cfretained": True}},
    ),
}
aliases = {
    "atTopLeft": "kAlignTopLeft",
    "ttDisabled": "kTransformDisabled",
    "svAllAvailableData": "kSelectorAllAvailableData",
    "ttSelected": "kTransformSelected",
    "atBottomRight": "kAlignBottomRight",
    "atAbsoluteCenter": "kAlignAbsoluteCenter",
    "ttLabel6": "kTransformLabel6",
    "ttLabel7": "kTransformLabel7",
    "atVerticalCenter": "kAlignVerticalCenter",
    "ttLabel5": "kTransformLabel5",
    "ttLabel2": "kTransformLabel2",
    "ttLabel3": "kTransformLabel3",
    "ttLabel1": "kTransformLabel1",
    "atLeft": "kAlignLeft",
    "atCenterRight": "kAlignCenterRight",
    "ttSelectedDisabled": "kTransformSelectedDisabled",
    "atHorizontalCenter": "kAlignHorizontalCenter",
    "atRight": "kAlignRight",
    "ttSelectedOpen": "kTransformSelectedOpen",
    "atCenterLeft": "kAlignCenterLeft",
    "MacGetCurrentProcess": "GetCurrentProcess",
    "ttLabel4": "kTransformLabel4",
    "kPasteboardUniqueName": "NULL",
    "atCenterTop": "kAlignCenterTop",
    "ttSelectedOffline": "kTransformSelectedOffline",
    "atTop": "kAlignTop",
    "ttOpen": "kTransformOpen",
    "atBottom": "kAlignBottom",
    "atTopRight": "kAlignTopRight",
    "kICComponentInterfaceVersion": "kICComponentInterfaceVersion4",
    "atNone": "kAlignNone",
    "atBottomLeft": "kAlignBottomLeft",
    "kPasteboardPromisedData": "NULL",
    "ttNone": "kTransformNone",
    "atCenterBottom": "kAlignCenterBottom",
    "ttOffline": "kTransformOffline",
    "kPasteboardResolveAllPromises": "NULL",
}
cftypes = [
    ("AXObserverRef", b"^{__AXObserver=}", "AXObserverGetTypeID", None),
    (
        "AXTextMarkerRangeRef",
        b"^{__AXTextMarkerRange=}",
        "AXTextMarkerRangeGetTypeID",
        None,
    ),
    ("AXTextMarkerRef", b"^{__AXTextMarker=}", "AXTextMarkerGetTypeID", None),
    ("AXUIElementRef", b"^{__AXUIElement=}", "AXUIElementGetTypeID", None),
    ("AXValueRef", b"^{__AXValue=}", "AXValueGetTypeID", None),
    ("HIMutableShapeRef", b"^{__HIShape=}", None, None),
    ("HIShapeRef", b"^{__HIShape=}", "HIShapeGetTypeID", None),
    ("TranslationRef", b"^{OpaqueTranslationRef=}", "TranslationGetTypeID", None),
]
expressions = {}

# END OF FILE
