/*
 * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
 * From ASN.1 module "NR-RRC-Definitions"
 * 	found in "asn/nr-rrc-15.6.0.asn1"
 * 	`asn1c -fcompound-names -pdu=all -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D rrc`
 */

#include "ASN_RRC_CFRA.h"

#include "ASN_RRC_CFRA-SSB-Resource.h"
#include "ASN_RRC_CFRA-CSIRS-Resource.h"
/*
 * This type is implemented using NativeEnumerated,
 * so here we adjust the DEF accordingly.
 */
static int
memb_ASN_RRC_ssb_ResourceList_constraint_14(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	/* Determine the number of elements */
	size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
	
	if((size >= 1 && size <= 64)) {
		/* Perform validation of the inner elements */
		return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
	} else {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: constraint failed (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
}

static int
memb_ASN_RRC_ra_ssb_OccasionMaskIndex_constraint_14(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	long value;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	value = *(const long *)sptr;
	
	if((value >= 0 && value <= 15)) {
		/* Constraint check succeeded */
		return 0;
	} else {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: constraint failed (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
}

static int
memb_ASN_RRC_csirs_ResourceList_constraint_18(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	/* Determine the number of elements */
	size = _A_CSEQUENCE_FROM_VOID(sptr)->count;
	
	if((size >= 1 && size <= 96)) {
		/* Perform validation of the inner elements */
		return td->encoding_constraints.general_constraints(td, sptr, ctfailcb, app_key);
	} else {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: constraint failed (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
}

static int
memb_ASN_RRC_totalNumberOfRA_Preambles_v1530_constraint_23(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	long value;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	value = *(const long *)sptr;
	
	if((value >= 1 && value <= 63)) {
		/* Constraint check succeeded */
		return 0;
	} else {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: constraint failed (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
}

static asn_per_constraints_t asn_PER_type_ASN_RRC_ssb_perRACH_Occasion_constr_4 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 3,  3,  0,  7 }	/* (0..7) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_type_ASN_RRC_ssb_ResourceList_constr_15 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 6,  6,  1,  64 }	/* (SIZE(1..64)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_ssb_ResourceList_constr_15 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 6,  6,  1,  64 }	/* (SIZE(1..64)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_ra_ssb_OccasionMaskIndex_constr_17 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 4,  4,  0,  15 }	/* (0..15) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_type_ASN_RRC_csirs_ResourceList_constr_19 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 7,  7,  1,  96 }	/* (SIZE(1..96)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_csirs_ResourceList_constr_19 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 7,  7,  1,  96 }	/* (SIZE(1..96)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_type_ASN_RRC_resources_constr_13 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 1,  1,  0,  1 }	/* (0..1) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_totalNumberOfRA_Preambles_v1530_constr_24 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 6,  6,  1,  63 }	/* (1..63) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static const asn_INTEGER_enum_map_t asn_MAP_ASN_RRC_ssb_perRACH_Occasion_value2enum_4[] = {
	{ 0,	9,	"oneEighth" },
	{ 1,	9,	"oneFourth" },
	{ 2,	7,	"oneHalf" },
	{ 3,	3,	"one" },
	{ 4,	3,	"two" },
	{ 5,	4,	"four" },
	{ 6,	5,	"eight" },
	{ 7,	7,	"sixteen" }
};
static const unsigned int asn_MAP_ASN_RRC_ssb_perRACH_Occasion_enum2value_4[] = {
	6,	/* eight(6) */
	5,	/* four(5) */
	3,	/* one(3) */
	0,	/* oneEighth(0) */
	1,	/* oneFourth(1) */
	2,	/* oneHalf(2) */
	7,	/* sixteen(7) */
	4	/* two(4) */
};
static const asn_INTEGER_specifics_t asn_SPC_ASN_RRC_ssb_perRACH_Occasion_specs_4 = {
	asn_MAP_ASN_RRC_ssb_perRACH_Occasion_value2enum_4,	/* "tag" => N; sorted by tag */
	asn_MAP_ASN_RRC_ssb_perRACH_Occasion_enum2value_4,	/* N => "tag"; sorted by N */
	8,	/* Number of elements in the maps */
	0,	/* Enumeration is not extensible */
	1,	/* Strict enumeration */
	0,	/* Native long size */
	0
};
static const ber_tlv_tag_t asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4[] = {
	(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ssb_perRACH_Occasion_4 = {
	"ssb-perRACH-Occasion",
	"ssb-perRACH-Occasion",
	&asn_OP_NativeEnumerated,
	asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4,
	sizeof(asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4)
		/sizeof(asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4)
		/sizeof(asn_DEF_ASN_RRC_ssb_perRACH_Occasion_tags_4[0]), /* 2 */
	{ 0, &asn_PER_type_ASN_RRC_ssb_perRACH_Occasion_constr_4, NativeEnumerated_constraint },
	0, 0,	/* Defined elsewhere */
	&asn_SPC_ASN_RRC_ssb_perRACH_Occasion_specs_4	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_occasions_2[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_CFRA__occasions, rach_ConfigGeneric),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_RACH_ConfigGeneric,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"rach-ConfigGeneric"
		},
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_CFRA__occasions, ssb_perRACH_Occasion),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_ssb_perRACH_Occasion_4,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"ssb-perRACH-Occasion"
		},
};
static const int asn_MAP_ASN_RRC_occasions_oms_2[] = { 1 };
static const ber_tlv_tag_t asn_DEF_ASN_RRC_occasions_tags_2[] = {
	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_occasions_tag2el_2[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rach-ConfigGeneric */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ssb-perRACH-Occasion */
};
static asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_occasions_specs_2 = {
	sizeof(struct ASN_RRC_CFRA__occasions),
	offsetof(struct ASN_RRC_CFRA__occasions, _asn_ctx),
	asn_MAP_ASN_RRC_occasions_tag2el_2,
	2,	/* Count of tags in the map */
	asn_MAP_ASN_RRC_occasions_oms_2,	/* Optional members */
	1, 0,	/* Root/Additions */
	-1,	/* First extension addition */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_occasions_2 = {
	"occasions",
	"occasions",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_occasions_tags_2,
	sizeof(asn_DEF_ASN_RRC_occasions_tags_2)
		/sizeof(asn_DEF_ASN_RRC_occasions_tags_2[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_occasions_tags_2,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_occasions_tags_2)
		/sizeof(asn_DEF_ASN_RRC_occasions_tags_2[0]), /* 2 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_occasions_2,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_occasions_specs_2	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_ssb_ResourceList_15[] = {
	{ ATF_POINTER, 0, 0,
		(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
		0,
		&asn_DEF_ASN_RRC_CFRA_SSB_Resource,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		""
		},
};
static const ber_tlv_tag_t asn_DEF_ASN_RRC_ssb_ResourceList_tags_15[] = {
	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_ASN_RRC_ssb_ResourceList_specs_15 = {
	sizeof(struct ASN_RRC_CFRA__resources__ssb__ssb_ResourceList),
	offsetof(struct ASN_RRC_CFRA__resources__ssb__ssb_ResourceList, _asn_ctx),
	0,	/* XER encoding is XMLDelimitedItemList */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ssb_ResourceList_15 = {
	"ssb-ResourceList",
	"ssb-ResourceList",
	&asn_OP_SEQUENCE_OF,
	asn_DEF_ASN_RRC_ssb_ResourceList_tags_15,
	sizeof(asn_DEF_ASN_RRC_ssb_ResourceList_tags_15)
		/sizeof(asn_DEF_ASN_RRC_ssb_ResourceList_tags_15[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_ssb_ResourceList_tags_15,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_ssb_ResourceList_tags_15)
		/sizeof(asn_DEF_ASN_RRC_ssb_ResourceList_tags_15[0]), /* 2 */
	{ 0, &asn_PER_type_ASN_RRC_ssb_ResourceList_constr_15, SEQUENCE_OF_constraint },
	asn_MBR_ASN_RRC_ssb_ResourceList_15,
	1,	/* Single element */
	&asn_SPC_ASN_RRC_ssb_ResourceList_specs_15	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_ssb_14[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_CFRA__resources__ssb, ssb_ResourceList),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		0,
		&asn_DEF_ASN_RRC_ssb_ResourceList_15,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_ssb_ResourceList_constr_15,  memb_ASN_RRC_ssb_ResourceList_constraint_14 },
		0, 0, /* No default value */
		"ssb-ResourceList"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_CFRA__resources__ssb, ra_ssb_OccasionMaskIndex),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_NativeInteger,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_ra_ssb_OccasionMaskIndex_constr_17,  memb_ASN_RRC_ra_ssb_OccasionMaskIndex_constraint_14 },
		0, 0, /* No default value */
		"ra-ssb-OccasionMaskIndex"
		},
};
static const ber_tlv_tag_t asn_DEF_ASN_RRC_ssb_tags_14[] = {
	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_ssb_tag2el_14[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb-ResourceList */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* ra-ssb-OccasionMaskIndex */
};
static asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_ssb_specs_14 = {
	sizeof(struct ASN_RRC_CFRA__resources__ssb),
	offsetof(struct ASN_RRC_CFRA__resources__ssb, _asn_ctx),
	asn_MAP_ASN_RRC_ssb_tag2el_14,
	2,	/* Count of tags in the map */
	0, 0, 0,	/* Optional elements (not needed) */
	-1,	/* First extension addition */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ssb_14 = {
	"ssb",
	"ssb",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_ssb_tags_14,
	sizeof(asn_DEF_ASN_RRC_ssb_tags_14)
		/sizeof(asn_DEF_ASN_RRC_ssb_tags_14[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_ssb_tags_14,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_ssb_tags_14)
		/sizeof(asn_DEF_ASN_RRC_ssb_tags_14[0]), /* 2 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_ssb_14,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_ssb_specs_14	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_csirs_ResourceList_19[] = {
	{ ATF_POINTER, 0, 0,
		(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
		0,
		&asn_DEF_ASN_RRC_CFRA_CSIRS_Resource,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		""
		},
};
static const ber_tlv_tag_t asn_DEF_ASN_RRC_csirs_ResourceList_tags_19[] = {
	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_ASN_RRC_csirs_ResourceList_specs_19 = {
	sizeof(struct ASN_RRC_CFRA__resources__csirs__csirs_ResourceList),
	offsetof(struct ASN_RRC_CFRA__resources__csirs__csirs_ResourceList, _asn_ctx),
	0,	/* XER encoding is XMLDelimitedItemList */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_csirs_ResourceList_19 = {
	"csirs-ResourceList",
	"csirs-ResourceList",
	&asn_OP_SEQUENCE_OF,
	asn_DEF_ASN_RRC_csirs_ResourceList_tags_19,
	sizeof(asn_DEF_ASN_RRC_csirs_ResourceList_tags_19)
		/sizeof(asn_DEF_ASN_RRC_csirs_ResourceList_tags_19[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_csirs_ResourceList_tags_19,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_csirs_ResourceList_tags_19)
		/sizeof(asn_DEF_ASN_RRC_csirs_ResourceList_tags_19[0]), /* 2 */
	{ 0, &asn_PER_type_ASN_RRC_csirs_ResourceList_constr_19, SEQUENCE_OF_constraint },
	asn_MBR_ASN_RRC_csirs_ResourceList_19,
	1,	/* Single element */
	&asn_SPC_ASN_RRC_csirs_ResourceList_specs_19	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_csirs_18[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_CFRA__resources__csirs, csirs_ResourceList),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		0,
		&asn_DEF_ASN_RRC_csirs_ResourceList_19,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_csirs_ResourceList_constr_19,  memb_ASN_RRC_csirs_ResourceList_constraint_18 },
		0, 0, /* No default value */
		"csirs-ResourceList"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_CFRA__resources__csirs, rsrp_ThresholdCSI_RS),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_RSRP_Range,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"rsrp-ThresholdCSI-RS"
		},
};
static const ber_tlv_tag_t asn_DEF_ASN_RRC_csirs_tags_18[] = {
	(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_csirs_tag2el_18[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* csirs-ResourceList */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* rsrp-ThresholdCSI-RS */
};
static asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_csirs_specs_18 = {
	sizeof(struct ASN_RRC_CFRA__resources__csirs),
	offsetof(struct ASN_RRC_CFRA__resources__csirs, _asn_ctx),
	asn_MAP_ASN_RRC_csirs_tag2el_18,
	2,	/* Count of tags in the map */
	0, 0, 0,	/* Optional elements (not needed) */
	-1,	/* First extension addition */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_csirs_18 = {
	"csirs",
	"csirs",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_csirs_tags_18,
	sizeof(asn_DEF_ASN_RRC_csirs_tags_18)
		/sizeof(asn_DEF_ASN_RRC_csirs_tags_18[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_csirs_tags_18,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_csirs_tags_18)
		/sizeof(asn_DEF_ASN_RRC_csirs_tags_18[0]), /* 2 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_csirs_18,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_csirs_specs_18	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_resources_13[] = {
	{ ATF_POINTER, 0, offsetof(struct ASN_RRC_CFRA__resources, choice.ssb),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		0,
		&asn_DEF_ASN_RRC_ssb_14,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"ssb"
		},
	{ ATF_POINTER, 0, offsetof(struct ASN_RRC_CFRA__resources, choice.csirs),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		0,
		&asn_DEF_ASN_RRC_csirs_18,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"csirs"
		},
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_resources_tag2el_13[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ssb */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* csirs */
};
static asn_CHOICE_specifics_t asn_SPC_ASN_RRC_resources_specs_13 = {
	sizeof(struct ASN_RRC_CFRA__resources),
	offsetof(struct ASN_RRC_CFRA__resources, _asn_ctx),
	offsetof(struct ASN_RRC_CFRA__resources, present),
	sizeof(((struct ASN_RRC_CFRA__resources *)0)->present),
	asn_MAP_ASN_RRC_resources_tag2el_13,
	2,	/* Count of tags in the map */
	0, 0,
	-1	/* Extensions start */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_resources_13 = {
	"resources",
	"resources",
	&asn_OP_CHOICE,
	0,	/* No effective tags (pointer) */
	0,	/* No effective tags (count) */
	0,	/* No tags (pointer) */
	0,	/* No tags (count) */
	{ 0, &asn_PER_type_ASN_RRC_resources_constr_13, CHOICE_constraint },
	asn_MBR_ASN_RRC_resources_13,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_resources_specs_13	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_ext1_23[] = {
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_CFRA__ext1, totalNumberOfRA_Preambles_v1530),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_NativeInteger,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_totalNumberOfRA_Preambles_v1530_constr_24,  memb_ASN_RRC_totalNumberOfRA_Preambles_v1530_constraint_23 },
		0, 0, /* No default value */
		"totalNumberOfRA-Preambles-v1530"
		},
};
static const int asn_MAP_ASN_RRC_ext1_oms_23[] = { 0 };
static const ber_tlv_tag_t asn_DEF_ASN_RRC_ext1_tags_23[] = {
	(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_ext1_tag2el_23[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* totalNumberOfRA-Preambles-v1530 */
};
static asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_ext1_specs_23 = {
	sizeof(struct ASN_RRC_CFRA__ext1),
	offsetof(struct ASN_RRC_CFRA__ext1, _asn_ctx),
	asn_MAP_ASN_RRC_ext1_tag2el_23,
	1,	/* Count of tags in the map */
	asn_MAP_ASN_RRC_ext1_oms_23,	/* Optional members */
	1, 0,	/* Root/Additions */
	-1,	/* First extension addition */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_ext1_23 = {
	"ext1",
	"ext1",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_ext1_tags_23,
	sizeof(asn_DEF_ASN_RRC_ext1_tags_23)
		/sizeof(asn_DEF_ASN_RRC_ext1_tags_23[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_ext1_tags_23,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_ext1_tags_23)
		/sizeof(asn_DEF_ASN_RRC_ext1_tags_23[0]), /* 2 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_ext1_23,
	1,	/* Elements count */
	&asn_SPC_ASN_RRC_ext1_specs_23	/* Additional specs */
};

asn_TYPE_member_t asn_MBR_ASN_RRC_CFRA_1[] = {
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_CFRA, occasions),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		0,
		&asn_DEF_ASN_RRC_occasions_2,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"occasions"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_CFRA, resources),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		+1,	/* EXPLICIT tag at current level */
		&asn_DEF_ASN_RRC_resources_13,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"resources"
		},
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_CFRA, ext1),
		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
		0,
		&asn_DEF_ASN_RRC_ext1_23,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"ext1"
		},
};
static const int asn_MAP_ASN_RRC_CFRA_oms_1[] = { 0, 2 };
static const ber_tlv_tag_t asn_DEF_ASN_RRC_CFRA_tags_1[] = {
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_CFRA_tag2el_1[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* occasions */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* resources */
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ext1 */
};
asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_CFRA_specs_1 = {
	sizeof(struct ASN_RRC_CFRA),
	offsetof(struct ASN_RRC_CFRA, _asn_ctx),
	asn_MAP_ASN_RRC_CFRA_tag2el_1,
	3,	/* Count of tags in the map */
	asn_MAP_ASN_RRC_CFRA_oms_1,	/* Optional members */
	1, 1,	/* Root/Additions */
	2,	/* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_CFRA = {
	"CFRA",
	"CFRA",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_CFRA_tags_1,
	sizeof(asn_DEF_ASN_RRC_CFRA_tags_1)
		/sizeof(asn_DEF_ASN_RRC_CFRA_tags_1[0]), /* 1 */
	asn_DEF_ASN_RRC_CFRA_tags_1,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_CFRA_tags_1)
		/sizeof(asn_DEF_ASN_RRC_CFRA_tags_1[0]), /* 1 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_CFRA_1,
	3,	/* Elements count */
	&asn_SPC_ASN_RRC_CFRA_specs_1	/* Additional specs */
};

