/*
 * Generated by asn1c-v1.4-43-gb7926896-2026-05-03 (https://github.com/mouse07410/asn1c)
 * From ASN.1 module "NGAP-IEs"
 * 	found in "../support/ngap-r19.2.0/38413-j20.asn"
 * 	`asn1c -pdu=all -fprefix=NGAP_ -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-CBOR -no-gen-OER -no-gen-UPER`
 */

#include "NGAP_CauseRadioNetwork.h"

/*
 * This type is implemented using NativeEnumerated,
 * so here we adjust the DEF accordingly.
 */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
asn_per_constraints_t asn_PER_type_NGAP_CauseRadioNetwork_constr_1 CC_NOTUSED = {
	{ APC_CONSTRAINED | APC_EXTENSIBLE,  6,  6,  0,  44 }	/* (0..44,...) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
#endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
static const asn_INTEGER_enum_map_t asn_MAP_NGAP_CauseRadioNetwork_value2enum_1[] = {
	{ 0,	11,	"unspecified" },
	{ 1,	22,	"txnrelocoverall-expiry" },
	{ 2,	19,	"successful-handover" },
	{ 3,	37,	"release-due-to-ngran-generated-reason" },
	{ 4,	35,	"release-due-to-5gc-generated-reason" },
	{ 5,	18,	"handover-cancelled" },
	{ 6,	16,	"partial-handover" },
	{ 7,	52,	"ho-failure-in-target-5GC-ngran-node-or-target-system" },
	{ 8,	21,	"ho-target-not-allowed" },
	{ 9,	22,	"tngrelocoverall-expiry" },
	{ 10,	19,	"tngrelocprep-expiry" },
	{ 11,	18,	"cell-not-available" },
	{ 12,	16,	"unknown-targetID" },
	{ 13,	43,	"no-radio-resources-available-in-target-cell" },
	{ 14,	24,	"unknown-local-UE-NGAP-ID" },
	{ 15,	30,	"inconsistent-remote-UE-NGAP-ID" },
	{ 16,	35,	"handover-desirable-for-radio-reason" },
	{ 17,	22,	"time-critical-handover" },
	{ 18,	30,	"resource-optimisation-handover" },
	{ 19,	27,	"reduce-load-in-serving-cell" },
	{ 20,	15,	"user-inactivity" },
	{ 21,	29,	"radio-connection-with-ue-lost" },
	{ 22,	29,	"radio-resources-not-available" },
	{ 23,	23,	"invalid-qos-combination" },
	{ 24,	36,	"failure-in-radio-interface-procedure" },
	{ 25,	32,	"interaction-with-other-procedure" },
	{ 26,	22,	"unknown-PDU-session-ID" },
	{ 27,	18,	"unkown-qos-flow-ID" },
	{ 28,	33,	"multiple-PDU-session-ID-instances" },
	{ 29,	30,	"multiple-qos-flow-ID-instances" },
	{ 30,	63,	"encryption-and-or-integrity-protection-algorithms-not-supported" },
	{ 31,	34,	"ng-intra-system-handover-triggered" },
	{ 32,	34,	"ng-inter-system-handover-triggered" },
	{ 33,	21,	"xn-handover-triggered" },
	{ 34,	23,	"not-supported-5QI-value" },
	{ 35,	19,	"ue-context-transfer" },
	{ 36,	48,	"ims-voice-eps-fallback-or-rat-fallback-triggered" },
	{ 37,	36,	"up-integrity-protection-not-possible" },
	{ 38,	42,	"up-confidentiality-protection-not-possible" },
	{ 39,	19,	"slice-not-supported" },
	{ 40,	38,	"ue-in-rrc-inactive-state-not-reachable" },
	{ 41,	11,	"redirection" },
	{ 42,	37,	"resources-not-available-for-the-slice" },
	{ 43,	43,	"ue-max-integrity-protected-data-rate-reason" },
	{ 44,	35,	"release-due-to-cn-detected-mobility" },
	{ 45,	27,	"n26-interface-not-available" },
	{ 46,	26,	"release-due-to-pre-emption" },
	{ 47,	50,	"multiple-location-reporting-reference-ID-instances" },
	{ 48,	28,	"rsn-not-available-for-the-up" },
	{ 49,	17,	"npn-access-denied" },
	{ 50,	22,	"cag-only-access-denied" },
	{ 51,	28,	"insufficient-ue-capabilities" },
	{ 52,	23,	"redcap-ue-not-supported" },
	{ 53,	22,	"unknown-MBS-Session-ID" },
	{ 54,	60,	"indicated-MBS-session-area-information-not-served-by-the-gNB" },
	{ 55,	39,	"inconsistent-slice-info-for-the-session" },
	{ 56,	44,	"misaligned-association-for-multicast-unicast" },
	{ 57,	24,	"eredcap-ue-not-supported" },
	{ 58,	26,	"two-rx-xr-ue-not-supported" },
	{ 59,	57,	"aerial-ue-flight-information-reporting-initiation-failure" },
	{ 60,	31,	"unknown-RAN-AIoT-Device-NGAP-ID" },
	{ 61,	61,	"requested-AIoT-service-area-information-not-served-by-the-gNB" },
	{ 62,	20,	"unknown-AIoT-session" },
	{ 63,	25,	"aiot-device-not-reachable" },
	{ 64,	34,	"multiple-AIoT-session-ID-instances" }
	/* This list is extensible */
};
static int asn_validate_NGAP_CauseRadioNetwork_1(const asn_TYPE_descriptor_t *td,
                       const void *sptr,
                       asn_app_constraint_failed_f *ctfailcb,
                       void* app_key) {
    if(! sptr) { return -1; }
    e_NGAP_CauseRadioNetwork value = *(e_NGAP_CauseRadioNetwork*)sptr;
    switch(value) {
    case NGAP_CauseRadioNetwork_unspecified:
    case NGAP_CauseRadioNetwork_txnrelocoverall_expiry:
    case NGAP_CauseRadioNetwork_successful_handover:
    case NGAP_CauseRadioNetwork_release_due_to_ngran_generated_reason:
    case NGAP_CauseRadioNetwork_release_due_to_5gc_generated_reason:
    case NGAP_CauseRadioNetwork_handover_cancelled:
    case NGAP_CauseRadioNetwork_partial_handover:
    case NGAP_CauseRadioNetwork_ho_failure_in_target_5GC_ngran_node_or_target_system:
    case NGAP_CauseRadioNetwork_ho_target_not_allowed:
    case NGAP_CauseRadioNetwork_tngrelocoverall_expiry:
    case NGAP_CauseRadioNetwork_tngrelocprep_expiry:
    case NGAP_CauseRadioNetwork_cell_not_available:
    case NGAP_CauseRadioNetwork_unknown_targetID:
    case NGAP_CauseRadioNetwork_no_radio_resources_available_in_target_cell:
    case NGAP_CauseRadioNetwork_unknown_local_UE_NGAP_ID:
    case NGAP_CauseRadioNetwork_inconsistent_remote_UE_NGAP_ID:
    case NGAP_CauseRadioNetwork_handover_desirable_for_radio_reason:
    case NGAP_CauseRadioNetwork_time_critical_handover:
    case NGAP_CauseRadioNetwork_resource_optimisation_handover:
    case NGAP_CauseRadioNetwork_reduce_load_in_serving_cell:
    case NGAP_CauseRadioNetwork_user_inactivity:
    case NGAP_CauseRadioNetwork_radio_connection_with_ue_lost:
    case NGAP_CauseRadioNetwork_radio_resources_not_available:
    case NGAP_CauseRadioNetwork_invalid_qos_combination:
    case NGAP_CauseRadioNetwork_failure_in_radio_interface_procedure:
    case NGAP_CauseRadioNetwork_interaction_with_other_procedure:
    case NGAP_CauseRadioNetwork_unknown_PDU_session_ID:
    case NGAP_CauseRadioNetwork_unkown_qos_flow_ID:
    case NGAP_CauseRadioNetwork_multiple_PDU_session_ID_instances:
    case NGAP_CauseRadioNetwork_multiple_qos_flow_ID_instances:
    case NGAP_CauseRadioNetwork_encryption_and_or_integrity_protection_algorithms_not_supported:
    case NGAP_CauseRadioNetwork_ng_intra_system_handover_triggered:
    case NGAP_CauseRadioNetwork_ng_inter_system_handover_triggered:
    case NGAP_CauseRadioNetwork_xn_handover_triggered:
    case NGAP_CauseRadioNetwork_not_supported_5QI_value:
    case NGAP_CauseRadioNetwork_ue_context_transfer:
    case NGAP_CauseRadioNetwork_ims_voice_eps_fallback_or_rat_fallback_triggered:
    case NGAP_CauseRadioNetwork_up_integrity_protection_not_possible:
    case NGAP_CauseRadioNetwork_up_confidentiality_protection_not_possible:
    case NGAP_CauseRadioNetwork_slice_not_supported:
    case NGAP_CauseRadioNetwork_ue_in_rrc_inactive_state_not_reachable:
    case NGAP_CauseRadioNetwork_redirection:
    case NGAP_CauseRadioNetwork_resources_not_available_for_the_slice:
    case NGAP_CauseRadioNetwork_ue_max_integrity_protected_data_rate_reason:
    case NGAP_CauseRadioNetwork_release_due_to_cn_detected_mobility:
    case NGAP_CauseRadioNetwork_n26_interface_not_available:
    case NGAP_CauseRadioNetwork_release_due_to_pre_emption:
    case NGAP_CauseRadioNetwork_multiple_location_reporting_reference_ID_instances:
    case NGAP_CauseRadioNetwork_rsn_not_available_for_the_up:
    case NGAP_CauseRadioNetwork_npn_access_denied:
    case NGAP_CauseRadioNetwork_cag_only_access_denied:
    case NGAP_CauseRadioNetwork_insufficient_ue_capabilities:
    case NGAP_CauseRadioNetwork_redcap_ue_not_supported:
    case NGAP_CauseRadioNetwork_unknown_MBS_Session_ID:
    case NGAP_CauseRadioNetwork_indicated_MBS_session_area_information_not_served_by_the_gNB:
    case NGAP_CauseRadioNetwork_inconsistent_slice_info_for_the_session:
    case NGAP_CauseRadioNetwork_misaligned_association_for_multicast_unicast:
    case NGAP_CauseRadioNetwork_eredcap_ue_not_supported:
    case NGAP_CauseRadioNetwork_two_rx_xr_ue_not_supported:
    case NGAP_CauseRadioNetwork_aerial_ue_flight_information_reporting_initiation_failure:
    case NGAP_CauseRadioNetwork_unknown_RAN_AIoT_Device_NGAP_ID:
    case NGAP_CauseRadioNetwork_requested_AIoT_service_area_information_not_served_by_the_gNB:
    case NGAP_CauseRadioNetwork_unknown_AIoT_session:
    case NGAP_CauseRadioNetwork_aiot_device_not_reachable:
    case NGAP_CauseRadioNetwork_multiple_AIoT_session_ID_instances:
        return 0;
    }
    return -1;
}
static const unsigned int asn_MAP_NGAP_CauseRadioNetwork_enum2value_1[] = {
	59,	/* aerial-ue-flight-information-reporting-initiation-failure(59) */
	63,	/* aiot-device-not-reachable(63) */
	50,	/* cag-only-access-denied(50) */
	11,	/* cell-not-available(11) */
	30,	/* encryption-and-or-integrity-protection-algorithms-not-supported(30) */
	57,	/* eredcap-ue-not-supported(57) */
	24,	/* failure-in-radio-interface-procedure(24) */
	5,	/* handover-cancelled(5) */
	16,	/* handover-desirable-for-radio-reason(16) */
	7,	/* ho-failure-in-target-5GC-ngran-node-or-target-system(7) */
	8,	/* ho-target-not-allowed(8) */
	36,	/* ims-voice-eps-fallback-or-rat-fallback-triggered(36) */
	15,	/* inconsistent-remote-UE-NGAP-ID(15) */
	55,	/* inconsistent-slice-info-for-the-session(55) */
	54,	/* indicated-MBS-session-area-information-not-served-by-the-gNB(54) */
	51,	/* insufficient-ue-capabilities(51) */
	25,	/* interaction-with-other-procedure(25) */
	23,	/* invalid-qos-combination(23) */
	56,	/* misaligned-association-for-multicast-unicast(56) */
	64,	/* multiple-AIoT-session-ID-instances(64) */
	28,	/* multiple-PDU-session-ID-instances(28) */
	47,	/* multiple-location-reporting-reference-ID-instances(47) */
	29,	/* multiple-qos-flow-ID-instances(29) */
	45,	/* n26-interface-not-available(45) */
	32,	/* ng-inter-system-handover-triggered(32) */
	31,	/* ng-intra-system-handover-triggered(31) */
	13,	/* no-radio-resources-available-in-target-cell(13) */
	34,	/* not-supported-5QI-value(34) */
	49,	/* npn-access-denied(49) */
	6,	/* partial-handover(6) */
	21,	/* radio-connection-with-ue-lost(21) */
	22,	/* radio-resources-not-available(22) */
	52,	/* redcap-ue-not-supported(52) */
	41,	/* redirection(41) */
	19,	/* reduce-load-in-serving-cell(19) */
	4,	/* release-due-to-5gc-generated-reason(4) */
	44,	/* release-due-to-cn-detected-mobility(44) */
	3,	/* release-due-to-ngran-generated-reason(3) */
	46,	/* release-due-to-pre-emption(46) */
	61,	/* requested-AIoT-service-area-information-not-served-by-the-gNB(61) */
	18,	/* resource-optimisation-handover(18) */
	42,	/* resources-not-available-for-the-slice(42) */
	48,	/* rsn-not-available-for-the-up(48) */
	39,	/* slice-not-supported(39) */
	2,	/* successful-handover(2) */
	17,	/* time-critical-handover(17) */
	9,	/* tngrelocoverall-expiry(9) */
	10,	/* tngrelocprep-expiry(10) */
	58,	/* two-rx-xr-ue-not-supported(58) */
	1,	/* txnrelocoverall-expiry(1) */
	35,	/* ue-context-transfer(35) */
	40,	/* ue-in-rrc-inactive-state-not-reachable(40) */
	43,	/* ue-max-integrity-protected-data-rate-reason(43) */
	62,	/* unknown-AIoT-session(62) */
	53,	/* unknown-MBS-Session-ID(53) */
	26,	/* unknown-PDU-session-ID(26) */
	60,	/* unknown-RAN-AIoT-Device-NGAP-ID(60) */
	14,	/* unknown-local-UE-NGAP-ID(14) */
	12,	/* unknown-targetID(12) */
	27,	/* unkown-qos-flow-ID(27) */
	0,	/* unspecified(0) */
	38,	/* up-confidentiality-protection-not-possible(38) */
	37,	/* up-integrity-protection-not-possible(37) */
	20,	/* user-inactivity(20) */
	33	/* xn-handover-triggered(33) */
	/* This list is extensible */
};
const asn_INTEGER_specifics_t asn_SPC_NGAP_CauseRadioNetwork_specs_1 = {
	asn_MAP_NGAP_CauseRadioNetwork_value2enum_1,	/* "tag" => N; sorted by tag */
	asn_MAP_NGAP_CauseRadioNetwork_enum2value_1,	/* N => "tag"; sorted by N */
	65,	/* Number of elements in the maps */
	46,	/* Extensions before this member */
	1,	/* Strict enumeration */
	0,	/* Native long size */
	0
};
static const ber_tlv_tag_t asn_DEF_NGAP_CauseRadioNetwork_tags_1[] = {
	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NGAP_CauseRadioNetwork = {
	"CauseRadioNetwork",
	"CauseRadioNetwork",
	&asn_OP_NativeEnumerated,
	asn_DEF_NGAP_CauseRadioNetwork_tags_1,
	sizeof(asn_DEF_NGAP_CauseRadioNetwork_tags_1)
		/sizeof(asn_DEF_NGAP_CauseRadioNetwork_tags_1[0]), /* 1 */
	asn_DEF_NGAP_CauseRadioNetwork_tags_1,	/* Same as above */
	sizeof(asn_DEF_NGAP_CauseRadioNetwork_tags_1)
		/sizeof(asn_DEF_NGAP_CauseRadioNetwork_tags_1[0]), /* 1 */
	{
#if !defined(ASN_DISABLE_OER_SUPPORT)
		0,
#endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
		&asn_PER_type_NGAP_CauseRadioNetwork_constr_1,
#endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
#if !defined(ASN_DISABLE_JER_SUPPORT)
		0,
#endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
		asn_validate_NGAP_CauseRadioNetwork_1
	},
	0, 0,	/* Defined elsewhere */
	&asn_SPC_NGAP_CauseRadioNetwork_specs_1	/* Additional specs */
};

