/*
 * 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_RateMatchPattern.h"

static int
memb_ASN_RRC_oneSlot_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 14)) {
		/* 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_twoSlots_constraint_6(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 28)) {
		/* 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_n2_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 2)) {
		/* 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_n4_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 4)) {
		/* 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_n5_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 5)) {
		/* 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_n8_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 8)) {
		/* 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_n10_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 10)) {
		/* 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_n20_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 20)) {
		/* 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_n40_constraint_9(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 40)) {
		/* 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_resourceBlocks_constraint_4(const asn_TYPE_descriptor_t *td, const void *sptr,
			asn_app_constraint_failed_f *ctfailcb, void *app_key) {
	const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
	size_t size;
	
	if(!sptr) {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: value not given (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
	
	if(st->size > 0) {
		/* Size in bits */
		size = 8 * st->size - (st->bits_unused & 0x07);
	} else {
		size = 0;
	}
	
	if((size == 275)) {
		/* Constraint check succeeded */
		return 0;
	} else {
		ASN__CTFAIL(app_key, td, sptr,
			"%s: constraint failed (%s:%d)",
			td->name, __FILE__, __LINE__);
		return -1;
	}
}

/*
 * This type is implemented using NativeEnumerated,
 * so here we adjust the DEF accordingly.
 */
static asn_per_constraints_t asn_PER_memb_ASN_RRC_oneSlot_constr_7 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  14,  14 }	/* (SIZE(14..14)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_twoSlots_constr_8 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  28,  28 }	/* (SIZE(28..28)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_type_ASN_RRC_symbolsInResourceBlock_constr_6 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_n2_constr_10 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  2,  2 }	/* (SIZE(2..2)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_n4_constr_11 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  4,  4 }	/* (SIZE(4..4)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_n5_constr_12 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  5,  5 }	/* (SIZE(5..5)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_n8_constr_13 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  8,  8 }	/* (SIZE(8..8)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_n10_constr_14 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  10,  10 }	/* (SIZE(10..10)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_n20_constr_15 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  20,  20 }	/* (SIZE(20..20)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_n40_constr_16 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  40,  40 }	/* (SIZE(40..40)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_type_ASN_RRC_periodicityAndPattern_constr_9 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 3,  3,  0,  6 }	/* (0..6) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_memb_ASN_RRC_resourceBlocks_constr_5 CC_NOTUSED = {
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	{ APC_CONSTRAINED,	 0,  0,  275,  275 }	/* (SIZE(275..275)) */,
	0, 0	/* No PER value map */
};
static asn_per_constraints_t asn_PER_type_ASN_RRC_patternType_constr_3 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_type_ASN_RRC_dummy_constr_20 CC_NOTUSED = {
	{ APC_CONSTRAINED,	 1,  1,  0,  1 }	/* (0..1) */,
	{ APC_UNCONSTRAINED,	-1, -1,  0,  0 },
	0, 0	/* No PER value map */
};
static asn_TYPE_member_t asn_MBR_ASN_RRC_symbolsInResourceBlock_6[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, choice.oneSlot),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_oneSlot_constr_7,  memb_ASN_RRC_oneSlot_constraint_6 },
		0, 0, /* No default value */
		"oneSlot"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, choice.twoSlots),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_twoSlots_constr_8,  memb_ASN_RRC_twoSlots_constraint_6 },
		0, 0, /* No default value */
		"twoSlots"
		},
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_symbolsInResourceBlock_tag2el_6[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* oneSlot */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* twoSlots */
};
static asn_CHOICE_specifics_t asn_SPC_ASN_RRC_symbolsInResourceBlock_specs_6 = {
	sizeof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, _asn_ctx),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock, present),
	sizeof(((struct ASN_RRC_RateMatchPattern__patternType__bitmaps__symbolsInResourceBlock *)0)->present),
	asn_MAP_ASN_RRC_symbolsInResourceBlock_tag2el_6,
	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_symbolsInResourceBlock_6 = {
	"symbolsInResourceBlock",
	"symbolsInResourceBlock",
	&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_symbolsInResourceBlock_constr_6, CHOICE_constraint },
	asn_MBR_ASN_RRC_symbolsInResourceBlock_6,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_symbolsInResourceBlock_specs_6	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_periodicityAndPattern_9[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n2),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n2_constr_10,  memb_ASN_RRC_n2_constraint_9 },
		0, 0, /* No default value */
		"n2"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n4),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n4_constr_11,  memb_ASN_RRC_n4_constraint_9 },
		0, 0, /* No default value */
		"n4"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n5),
		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n5_constr_12,  memb_ASN_RRC_n5_constraint_9 },
		0, 0, /* No default value */
		"n5"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n8),
		(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n8_constr_13,  memb_ASN_RRC_n8_constraint_9 },
		0, 0, /* No default value */
		"n8"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n10),
		(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n10_constr_14,  memb_ASN_RRC_n10_constraint_9 },
		0, 0, /* No default value */
		"n10"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n20),
		(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n20_constr_15,  memb_ASN_RRC_n20_constraint_9 },
		0, 0, /* No default value */
		"n20"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, choice.n40),
		(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_n40_constr_16,  memb_ASN_RRC_n40_constraint_9 },
		0, 0, /* No default value */
		"n40"
		},
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_periodicityAndPattern_tag2el_9[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* n2 */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* n4 */
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* n5 */
    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* n8 */
    { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* n10 */
    { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* n20 */
    { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* n40 */
};
static asn_CHOICE_specifics_t asn_SPC_ASN_RRC_periodicityAndPattern_specs_9 = {
	sizeof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, _asn_ctx),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern, present),
	sizeof(((struct ASN_RRC_RateMatchPattern__patternType__bitmaps__periodicityAndPattern *)0)->present),
	asn_MAP_ASN_RRC_periodicityAndPattern_tag2el_9,
	7,	/* 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_periodicityAndPattern_9 = {
	"periodicityAndPattern",
	"periodicityAndPattern",
	&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_periodicityAndPattern_constr_9, CHOICE_constraint },
	asn_MBR_ASN_RRC_periodicityAndPattern_9,
	7,	/* Elements count */
	&asn_SPC_ASN_RRC_periodicityAndPattern_specs_9	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_bitmaps_4[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps, resourceBlocks),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_BIT_STRING,
		0,
		{ 0, &asn_PER_memb_ASN_RRC_resourceBlocks_constr_5,  memb_ASN_RRC_resourceBlocks_constraint_4 },
		0, 0, /* No default value */
		"resourceBlocks"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps, symbolsInResourceBlock),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		+1,	/* EXPLICIT tag at current level */
		&asn_DEF_ASN_RRC_symbolsInResourceBlock_6,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"symbolsInResourceBlock"
		},
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps, periodicityAndPattern),
		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
		+1,	/* EXPLICIT tag at current level */
		&asn_DEF_ASN_RRC_periodicityAndPattern_9,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"periodicityAndPattern"
		},
};
static const int asn_MAP_ASN_RRC_bitmaps_oms_4[] = { 2 };
static const ber_tlv_tag_t asn_DEF_ASN_RRC_bitmaps_tags_4[] = {
	(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_bitmaps_tag2el_4[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resourceBlocks */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* symbolsInResourceBlock */
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* periodicityAndPattern */
};
static asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_bitmaps_specs_4 = {
	sizeof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType__bitmaps, _asn_ctx),
	asn_MAP_ASN_RRC_bitmaps_tag2el_4,
	3,	/* Count of tags in the map */
	asn_MAP_ASN_RRC_bitmaps_oms_4,	/* Optional members */
	1, 0,	/* Root/Additions */
	3,	/* First extension addition */
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_bitmaps_4 = {
	"bitmaps",
	"bitmaps",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_bitmaps_tags_4,
	sizeof(asn_DEF_ASN_RRC_bitmaps_tags_4)
		/sizeof(asn_DEF_ASN_RRC_bitmaps_tags_4[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_bitmaps_tags_4,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_bitmaps_tags_4)
		/sizeof(asn_DEF_ASN_RRC_bitmaps_tags_4[0]), /* 2 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_bitmaps_4,
	3,	/* Elements count */
	&asn_SPC_ASN_RRC_bitmaps_specs_4	/* Additional specs */
};

static asn_TYPE_member_t asn_MBR_ASN_RRC_patternType_3[] = {
	{ ATF_POINTER, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType, choice.bitmaps),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		0,
		&asn_DEF_ASN_RRC_bitmaps_4,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"bitmaps"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern__patternType, choice.controlResourceSet),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_ControlResourceSetId,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"controlResourceSet"
		},
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_patternType_tag2el_3[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bitmaps */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* controlResourceSet */
};
static asn_CHOICE_specifics_t asn_SPC_ASN_RRC_patternType_specs_3 = {
	sizeof(struct ASN_RRC_RateMatchPattern__patternType),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType, _asn_ctx),
	offsetof(struct ASN_RRC_RateMatchPattern__patternType, present),
	sizeof(((struct ASN_RRC_RateMatchPattern__patternType *)0)->present),
	asn_MAP_ASN_RRC_patternType_tag2el_3,
	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_patternType_3 = {
	"patternType",
	"patternType",
	&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_patternType_constr_3, CHOICE_constraint },
	asn_MBR_ASN_RRC_patternType_3,
	2,	/* Elements count */
	&asn_SPC_ASN_RRC_patternType_specs_3	/* Additional specs */
};

static const asn_INTEGER_enum_map_t asn_MAP_ASN_RRC_dummy_value2enum_20[] = {
	{ 0,	7,	"dynamic" },
	{ 1,	10,	"semiStatic" }
};
static const unsigned int asn_MAP_ASN_RRC_dummy_enum2value_20[] = {
	0,	/* dynamic(0) */
	1	/* semiStatic(1) */
};
static const asn_INTEGER_specifics_t asn_SPC_ASN_RRC_dummy_specs_20 = {
	asn_MAP_ASN_RRC_dummy_value2enum_20,	/* "tag" => N; sorted by tag */
	asn_MAP_ASN_RRC_dummy_enum2value_20,	/* N => "tag"; sorted by N */
	2,	/* 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_dummy_tags_20[] = {
	(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
	(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_dummy_20 = {
	"dummy",
	"dummy",
	&asn_OP_NativeEnumerated,
	asn_DEF_ASN_RRC_dummy_tags_20,
	sizeof(asn_DEF_ASN_RRC_dummy_tags_20)
		/sizeof(asn_DEF_ASN_RRC_dummy_tags_20[0]) - 1, /* 1 */
	asn_DEF_ASN_RRC_dummy_tags_20,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_dummy_tags_20)
		/sizeof(asn_DEF_ASN_RRC_dummy_tags_20[0]), /* 2 */
	{ 0, &asn_PER_type_ASN_RRC_dummy_constr_20, NativeEnumerated_constraint },
	0, 0,	/* Defined elsewhere */
	&asn_SPC_ASN_RRC_dummy_specs_20	/* Additional specs */
};

asn_TYPE_member_t asn_MBR_ASN_RRC_RateMatchPattern_1[] = {
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern, rateMatchPatternId),
		(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_RateMatchPatternId,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"rateMatchPatternId"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern, patternType),
		(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
		+1,	/* EXPLICIT tag at current level */
		&asn_DEF_ASN_RRC_patternType_3,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"patternType"
		},
	{ ATF_POINTER, 1, offsetof(struct ASN_RRC_RateMatchPattern, subcarrierSpacing),
		(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_SubcarrierSpacing,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"subcarrierSpacing"
		},
	{ ATF_NOFLAGS, 0, offsetof(struct ASN_RRC_RateMatchPattern, dummy),
		(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
		-1,	/* IMPLICIT tag at current level */
		&asn_DEF_ASN_RRC_dummy_20,
		0,
		{ 0, 0, 0 },
		0, 0, /* No default value */
		"dummy"
		},
};
static const int asn_MAP_ASN_RRC_RateMatchPattern_oms_1[] = { 2 };
static const ber_tlv_tag_t asn_DEF_ASN_RRC_RateMatchPattern_tags_1[] = {
	(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static const asn_TYPE_tag2member_t asn_MAP_ASN_RRC_RateMatchPattern_tag2el_1[] = {
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* rateMatchPatternId */
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* patternType */
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* subcarrierSpacing */
    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* dummy */
};
asn_SEQUENCE_specifics_t asn_SPC_ASN_RRC_RateMatchPattern_specs_1 = {
	sizeof(struct ASN_RRC_RateMatchPattern),
	offsetof(struct ASN_RRC_RateMatchPattern, _asn_ctx),
	asn_MAP_ASN_RRC_RateMatchPattern_tag2el_1,
	4,	/* Count of tags in the map */
	asn_MAP_ASN_RRC_RateMatchPattern_oms_1,	/* Optional members */
	1, 0,	/* Root/Additions */
	4,	/* First extension addition */
};
asn_TYPE_descriptor_t asn_DEF_ASN_RRC_RateMatchPattern = {
	"RateMatchPattern",
	"RateMatchPattern",
	&asn_OP_SEQUENCE,
	asn_DEF_ASN_RRC_RateMatchPattern_tags_1,
	sizeof(asn_DEF_ASN_RRC_RateMatchPattern_tags_1)
		/sizeof(asn_DEF_ASN_RRC_RateMatchPattern_tags_1[0]), /* 1 */
	asn_DEF_ASN_RRC_RateMatchPattern_tags_1,	/* Same as above */
	sizeof(asn_DEF_ASN_RRC_RateMatchPattern_tags_1)
		/sizeof(asn_DEF_ASN_RRC_RateMatchPattern_tags_1[0]), /* 1 */
	{ 0, 0, SEQUENCE_constraint },
	asn_MBR_ASN_RRC_RateMatchPattern_1,
	4,	/* Elements count */
	&asn_SPC_ASN_RRC_RateMatchPattern_specs_1	/* Additional specs */
};

