void SUB_APPENDUDTFILEBOUNDSCHECK(qbs*_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR,int32*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_MEMBER_ID,qbs*_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data37.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(16641);}while(r);
do{
if(!qbevent)break;evnt(16642);}while(r);
do{
if(!qbevent)break;evnt(16643);}while(r);
do{
if(!qbevent)break;evnt(16644);}while(r);
do{
if(!qbevent)break;evnt(16645);}while(r);
do{
if(!qbevent)break;evnt(16646);}while(r);
do{
if(!qbevent)break;evnt(16647);}while(r);
do{
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR,qbs_add(func_chr( 13 ),func_chr( 10 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16649);}while(r);
do{
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT=((int32*)(__ARRAY_LONG_UDTEARRAYDIMS[0]))[array_check((*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_MEMBER_ID)-__ARRAY_LONG_UDTEARRAYDIMS[4],__ARRAY_LONG_UDTEARRAYDIMS[5])];
if(!qbevent)break;evnt(16650);}while(r);
do{
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR),qbs_new_txt_len("if ((!",6)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len(")||(",4)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[3]!=",5)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT),NULL,0)),qbs_new_txt_len(")) error(9);",12)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16651);}while(r);
do{
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DESC_SCAN= 1 ;
if(!qbevent)break;evnt(16652);}while(r);
S_19131:;
fornext_value2875= 1 ;
fornext_finalvalue2875=*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT;
fornext_step2875= 1 ;
if (fornext_step2875<0) fornext_step_negative2875=1; else fornext_step_negative2875=0;
if (is_error_pending()) goto fornext_error2875;
goto fornext_entrylabel2875;
while(1){
fornext_value2875=fornext_step2875+(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_INDEX);
fornext_entrylabel2875:
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_INDEX=fornext_value2875;
if (fornext_step_negative2875){
if (fornext_value2875<fornext_finalvalue2875) break;
}else{
if (fornext_value2875>fornext_finalvalue2875) break;
}
fornext_error2875:;
if(qbevent){evnt(16653);if(r)goto S_19131;}
S_19132:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_PARSENEXTUDTARRAYDESCRIPTORDIM(((qbs*)(((uint64*)(__ARRAY_STRING_UDTEARRAYDESC[0]))[array_check((*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_MEMBER_ID)-__ARRAY_STRING_UDTEARRAYDESC[4],__ARRAY_STRING_UDTEARRAYDESC[5])])),_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DESC_SCAN,_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_LOWER,_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_ELEM_COUNT)== 0 )))||is_error_pending()){
if(qbevent){evnt(16654);if(r)goto S_19132;}
do{
SUB_GIVE_ERROR(qbs_new_txt_len("Cannot process the declared bounds of this TYPE member array",60));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16655);}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(16656);}while(r);
}
do{
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_SLOT_INDEX=((*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT-*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_INDEX)* 4 )+( 4 );
if(!qbevent)break;evnt(16658);}while(r);
do{
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR),qbs_new_txt_len("if ((",5)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[",1)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_SLOT_INDEX),NULL,0)),qbs_new_txt_len("]!=",3)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_LOWER),NULL,0)),qbs_new_txt_len(")||(",4)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[",1)),qbs__tostr((int64)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_SLOT_INDEX+ 1 ),NULL,0)),qbs_new_txt_len("]!=",3)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_ELEM_COUNT),NULL,0)),qbs_new_txt_len(")) error(9);",12)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16659);}while(r);
fornext_continue_2874:;
}
fornext_exit_2874:;
do{
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR),qbs_new_txt_len("if ((!",6)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[0])||(",7)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[0]==(ptrszint)nothingvalue)) error(9);",39)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(16661);}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free37.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
}
